Resolve Bugs in Java Programs

I can resolve Alternativepositiveandnegativenumbers, Palindrome and Commonelements bugs in Java Programs.

can you state the bugs here. Everyone would like to know the bugs

BUG1:

The calling of the rearrange method that does not exist, the public method syntax is wrong.
BUG2:

the  Palindrome class closing bracket is in the wrong place                                                                                BUG3:

the code here is not enclosed in any method

@extinctsion Kindly assign me to solve these bugs

ok

i can solve the palindrome question easily by finding issuein it or by another method

I think this issue is now resolved. Hence, I'm closing this issue.


ROS version on arm64

please add the ROS version of the library for arm64
also would be good windows and M1

I also get
/usr/bin/ld: CMakeFiles/z1_ctrl.dir/main.cpp.o: in function main': main.cpp:(.text.startup+0xf5c): undefined reference to ARMSDK::ARMSDK(std::vector<KeyAction*, std::allocator<KeyAction*> >, EmptyAction, char const*, unsigned int, double)'


Add core spelling highlight groups

Related to #5
This is what I'm using locally to address this issue. Figured I'd put it up for review if useful.

Fixed in 6b811e619110b4a51dd243a4818c514fe75d84d1

@Lokaltog  - Could I see a screenshot of what that looks like for you? Locally your commit using the ALE settings isn't very readable.
Example:

Huh, that's strange. I'll take a look at it. In supported terminal emulators it should display a curly underline but it should fallback to something that looks a bit better than this. :)


Add unit tests

The approach taken looks strange to me. I guess it is technically ok, but not sure the way we understand tests:

Segregating tests through maven profiles is nice, but may entangle the build tool with test dimensions. I recall using test tags with Jaime.
Construction parameters instead of injections. Some people defend constructor injection is more clear, but not sure it is the standard approach in Quarkus.

Thanks for yours comments, Jordi

I've struggled splitting unit and integration tests with Maven, so if there's a better way totally up for it
I think it's also a standard way in Quarkus (I've read about it here: https://quarkus.io/guides/cdi-reference#native-executables-and-private-members)
I personally prefer constructor injection as I think is a straightforward way of exposing dependencies and it makes testing much easier. If we use the @Inject annotation, I guess we'll have to inject testing doubles with some sort of reflection.

Thanks again!


Rendering dynamic colors

Current Behavior

	{#each colors as color}

{color}

		{#each shades as shade, index}

{shade}-{shades[shades.length - index - 1]}

		{/each}

	{/each}

Above is a "ColorPalette" component it uses a some each loops to go through and list each color with the dynamic dark/light mode tags. The code applies the correct classes but the colors do not show up.
But,
if I add the shade statically inside of the component or in the page/layout the component is loaded in then it will load that color,
so for example if I added this line to my layout or page or ColorPalette component

It will then render the colors for [primary-600-400] and [bg-primary-300-700] inside of the color palette.
Expected Behavior
Running the code above I expected to generate a color palette that shows all the colors dynamically based on dark/light mode.
Steps To Reproduce
No response
Link to Reproduction / Stackblitz
No response
More Information
I am a jr. dev and this is my first time ever reporting an issue like this, ever.
Please let me know if I could have done anything better.

Hey @ryanott01, this is a common issue folks run into when they are new to Tailwind. But Tailwind does not support dynamically constructed classes. See here:
https://tailwindcss.com/docs/content-configuration#dynamic-class-names
Think of it like this, Tailwind's config file content denotes what files Tailwind should check through. It scans each file and looks for class names it's aware of - but they must be verbatim. Tailwind of course comes with it's own set of utility classes built in, so it's aware of those, you can extend Tailwind's utilities using the config, and of course through plugins (like Skeleton).
If you wish to do something like this, you'll need to create the whole class names. I handle this for our color palette previews like so:

https://github.com/skeletonlabs/skeleton/blob/next/sites/themes.skeleton.dev/src/lib/components/generator/Preview/PreviewPalette.svelte#L6
https://github.com/skeletonlabs/skeleton/blob/next/sites/themes.skeleton.dev/src/lib/components/generator/Preview/PreviewPalette.svelte#L125

Hope that helps!


fix: Claim  Supercharge rewards with stablecoins

Description
There's a bug in the Supercharge claim feature that is causing it to only claim using CELO. Switched to use any token that the user has
Other changes
N/A
Tested
Manually with a manual distribution.
How others should test
Related issues

Fixes #2219

Backwards compatibility
N/A

This should also fix: #2176.


Invisible colors on some colorschemes

Reproduce scenario:

install some theme, e.g. tokyonight
create test.js file
enter // View in the file
Problem:
Text View is not visible
Neovim version: NVIM v0.11.0-dev-903+gab98c5b5a
Goneovim: build of e882616

I know, it seems like colorscheme problem, but neovide and nvim-qt have no problem, text shown properly.

@damanis
Thanks for the report!
I will determine that this is not a color scheme issue, but a goneovim issue.
By the way, does this problem occur in previous builds?
I just checked the same conditions at hand and could not reproduce it. There may be some other condition.

@akiyosi
I run with --noconfig -- issue not reproduced.
Now I found that the issue caused by two configuration options:
FontFamily = "GoMono Nerd Font"
CachedDrawing = true

Set cached drawing to false or change font solves the problem.
P.S.
This font has best rendering in all applications I use (all use Go font) , but, seems, it does no compatible with CachedDrawing.
What font you use on screenshot? Could you provide config for it in Goneovim? I tried different fonts, but always get ugly rendering, excluding Go fonts.

@damanis
I have identified and corrected the cause of this issue.
Could you please try the fixed version below?
https://github.com/akiyosi/goneovim/actions/runs/11238062020

@akiyosi
The fixed version works properly. Checked configuration:
FontFamily = "GoMono Nerd Font"
CachedDrawing = true

@damanis
Thank you for your confirmation.
Yes, Goneovim internally writes text to a rectangular image of the minimum required size, caches it and draws it to the screen at the same time, but we noticed a problem where the text is not displayed if the rectangle size is not large enough.


added redis and passport dependencies to package.json for github login

Should not have opened the pull request on master.

:+1:


GLIBC and AWS Lambda

We just tried to use libvips generated by ./build.sh 8.7.4 linux-x64 in AWS lambda and Sharp is failing with the following error:
Something went wrong installing the "sharp" module

/lib64/libc.so.6: version `GLIBC_2.18' not found (required by /opt/sharp/build/Release/../../vendor/lib/librsvg-2.so.2)

- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues

Looks like commit https://github.com/lovell/sharp-libvips/commit/acd9d57952969001143fd84b329c122a93513ce9 introduces a dependency on GLIBC 2.19. However, AWS Lambda environment has v2.17.

Hi, is this with Node 8 only or both Node 8 and 10 (Amazon Linux 2)?
https://aws.amazon.com/blogs/compute/upcoming-updates-to-the-aws-lambda-execution-environment/

"Amazon Linux 2 comes with GCC 7.3, Glibc 2.26, and Binutils 2.29.1"
https://aws.amazon.com/amazon-linux-2/release-notes/

It looks like this problem is only going to occur on the deprecated Lambda runtime environment that reaches end-of-life on the 29th July.

We are using node 8 lambdas. Not sure about v10

Anyway, I didn't know that AWS already supports v10. Thank you for letting me know. I'm going to try it with v10. 😉

This error can also be seen on RHEL 7 and its derivatives e.g. CentOS 7, which use glibc 2.17.
It looks like the rust toolchain used by librsvg takes advantage of features of glibc 2.18 - see https://github.com/rust-lang/rust/issues/36826
This means the prebuilt binaries will drop support for RHEL 7 from sharp v0.23.0+.
RHEL 8, upon which Amazon Linux 2 is based, works correctly.

Isn't Amazon Linux 2 based on RHEL 7? Also note that CentOS 8 has not yet been released (I noticed that it was mentioned in this commit).
Perhaps we could try to build the Linux binaries on CentOS 7 (glibc 2.17) to make sure they are compatible on RHEL 7, Amazon Linux 2 and possibly on Debian 7 as well.

Also, could the musl docker image be based on Alpine 3.10 (musl libc 1.1.22)? I guess musl libc 1.1.20 and 1.1.22 are binary compatible.
The latest versions of musl libc have several threads and stack size improvements (for e.g. the default thread stack size has been increased from 80k to 128k, which may help https://github.com/libvips/libvips/issues/1287).
As a side note,
If you are going to update Fontconfig to 2.13.91, you can also remove the UUID dependency (which was added with commit https://github.com/lovell/sharp-libvips/commit/e67bfd601fb20afbcae301fc7942608cbb3caed9), see:
https://cgit.freedesktop.org/fontconfig/commit/?id=c4324f54ee16e648ba91f3e9c66af13ab3b1754c
Hopefully Fontconfig will soon be updated within Homebrew as well to fix https://github.com/lovell/package-libvips-darwin/pull/3#issuecomment-490858840.

Amazon Linux 2 provides glibc 2.26, which makes it more like Fedora 27 in that respect.
I didn't realise CentOS 8 was still being built. If we can create a CentOS 7 based container able to run the existing lin.sh script then that would provide support for glibc 2.17+.
Thanks for the tip about removing uuid - I've done this in ca94439

I tried a CentOS 7 based container and it seems to build (I still have to test the binaries). See commit https://github.com/kleisauke/libvips-packaging/commit/e2f98194fd57f15c766ca43bfe440aa0d9051cd6.
Also, it seems Fontconfig 2.13.91 is a preview release (Homebrew didn't want to update to this version), perhaps we need to pinpoint it to 2.13.1.

@kleisauke Thank you! I borrowed most of your CentOS 7 work in commit https://github.com/lovell/sharp-libvips/commit/40807628dcf379753585f202a895bbd33a6fbeb3 and used it to create the binaries for libvips v8.8.1 (as used by sharp v0.23.0).


[1.40] screen "grant leave to hero" bugged?

I'm on endless 16 right now, and for the first time asked to grant leave to a hero. The selection menu in the center of the screen doesn't immediately show up. When I then "minimize" the application and then "maximize" it again, the selection menu shows up correctly. (I don't know the technical terms for these. Minimize = tapping the circle on the bottom center, Maximize = tapping the square on the bottom right to see the app again)
I'm using a Google Pixel 6a with the standard Android 14. Let me know if there is more information needed.

Thanks @torbium for the trick! I was stuck to this step and I was going to open an issue right now.

Thanks for the report. I'll have a look ...

Let me know if there is more information needed.

Perhaps just how you got there in the first place. I assume you finished level 15 and then just continued to 16?

Perhaps just how you got there in the first place. I assume you finished level 15 and then just continued to 16?

Yes, it's my case.

I have the same issue at level 20. When starting the level from the "select level" menu and also coming from the previous level.
"Minimizing" and "maximizing" the app shows the heroes correctly.

It doesn't matter which way I use to start the level. From the main menu, from the "select level" menu, or from finishing level 15. The screenshot in my original post was from the main menu or from the "select level" menu. When finishing level 15, I do get the green text at the bottom "Stage cleared. Next stage: 16", like I would from defeating other levels. So everything seems to be fine, just the selection menu is not showing up.

I am facing the same issue, and it doesn't matter how you start the level. I'm guessing this might have something to do with window redraw?
I've tested a few method to fix this:

minimise the app and reopen: work✅
Switching to a different window and back: work✅
enter "Recent apps" view, and back (do not switch to a different window): work ✅
switch to "Split Screen" mode and back: looks like the window get redrawed, but it doesn't work ❌
switch to "picture-in-picture" mode: heros showed up✅ but will break the layout like a missing CSS
scroll down notification center and back: doesn't work❌

v 1.40 running on Android 14

Hi there,
I am facing the same issue on version 1.41 on android 8 (I know, old version...).
On version 1.40 I could use the workarounds described around to bypass the issue, but since the upgrade it stays stuck.
Maybe it has to do with the "Fixed some problems when returning after switching apps" bug fix from version 1.41
Anyway, I just saw in the release note for version 1.42 that there is a bug fix that might be related to that issue, so I'll wait for the update to be available in F-Droid
Thanks for the great game!

Indeed solved with version 1.42!

thanks for the feedback!
Closing the issue. Please open a new one it there are still problems.


support needed for v.10.0.18362.267

v.10.0.18362.267

https://github.com/stascorp/rdpwrap/pull/859

tried everyting here, including reg fix in #954. nothing. termserv just dies (((

#859

It's working, thank you for support.

Duplicate of https://github.com/stascorp/rdpwrap/issues/871


Keep a React component mounted in Split

Hi, I have use Split with 2 heavy components with conditional rendering. Something like:
const entryContainer = (<EntryContainer key="EntryContainerID" />);
const folderContainer = (<FolderContainer key="FolderContainerID" />);

// There is only entryContainer displayed here (its not need split)
      if (props.isEntryInFullWidth) {
        return entryContainer;
      }

   return (
        <Split
          initialPrimarySize={mainSplitSize}
          minPrimarySize="250px"
          minSecondarySize="250px"
        >
{folderContainer}
{entryContainer}
      </Split>

In this case if props.isEntryInFullWidth is changed React will unmount entryContainer component: https://medium.com/@cowi4030/optimizing-conditional-rendering-in-react-3fee6b197a20
The only way to optimize rendering is to have on Split props: displayPrimary and displaySecondary in my case:
return (
        <Split
          initialPrimarySize={mainSplitSize}
          minPrimarySize="250px"
          minSecondarySize="250px"
         displayPrimary={!props.isEntryInFullWidth}
        >
{folderContainer}
{entryContainer}
      </Split>

This will render the same like this:
if (props.isEntryInFullWidth) {
        return entryContainer;
}

here: https://github.com/GeoffCox/react-splitter/blob/master/package/src/Split.tsx#L201
The main goal is to skip double entryContainer in JSX in order to not unmount this component on next rerendering.

You should be able to manage the mount/unmount of components using the onSplitChanged event.  When primary or secondary are 100% you would know it is in full width.


Missing bitcode support

With the Xcode 7 GM being released, I wanted to enable bitcode for my project.
When I archive my project, I now get these warning.
ld: warning: full bitcode bundle could not be generated because '/Users/craig/app/Pods/Flurry-iOS-SDK/Flurry/libFlurry_7.1.0.a(PLCrashProcessInfo.o)' was built only with bitcode marker. The library must be generated from Xcode archive build with bitcode enabled (Xcode setting ENABLE_BITCODE)

ld: warning: full bitcode bundle could not be generated because '/Users/craig/app/Pods/Flurry-iOS-SDK/Flurry/libFlurry_7.1.0.a(libFlurry.a-armv7-master.o)' was built only with bitcode marker. The library must be generated from Xcode archive build with bitcode enabled (Xcode setting ENABLE_BITCODE)

Thanks for the update Craig, we are aware of the issue and will release a fix either tonight or tomorrow.
Regards,
Mike
 On Tuesday, September 15, 2015 3:21 PM, Craig Siemens<EMAIL_ADDRESS>wrote:

With the Xcode 7 GM being released, I wanted to enable bitcode for my project.When I archive my project, I now get these warning.ld: warning: full bitcode bundle could not be generated because '/Users/craig/app/Pods/Flurry-iOS-SDK/Flurry/libFlurry_7.1.0.a(PLCrashProcessInfo.o)' was built only with bitcode marker. The library must be generated from Xcode archive build with bitcode enabled (Xcode setting ENABLE_BITCODE)
ld: warning: full bitcode bundle could not be generated because '/Users/craig/app/Pods/Flurry-iOS-SDK/Flurry/libFlurry_7.1.0.a(libFlurry.a-armv7-master.o)' was built only with bitcode marker. The library must be generated from Xcode archive build with bitcode enabled (Xcode setting ENABLE_BITCODE)
—
Reply to this email directly or view it on GitHub.

I'm also after bitcode support. Can you please update when this is released? I've seen no reference to it in the release notes so far.

This has been released.  Please try Flurry iOS SDK 7.1.1 for bitcode support.
Regards,
Mike

Thanks Mike. It works for me


fix(logs): adding more debug logs

:tada: This PR is included in version 1.25.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix empty points layer with color cycle

Description
Fixes the bug described by @andy-sweet and @quantumjot in #3039 where adding Points to an empty layer would cause an indexing error.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

References
Closes #3039, https://github.com/napari/napari.github.io/issues/133
How has this been tested?

[x] added a test
[x] all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Thanks for the thorough review, @andy-sweet ! Also, sorry for the slightly premature PR - I was trying to squeeze it in between meetings.
I believe I have addressed your comments. Let me know what you think about the fix. I am definitely open to considering other options.

Looks good! Thanks for the fix @kevinyamauchi and review @andy-sweet


Random code for reading out?

I've looked at zget a few times, and I think it's a really neat idea. But it's always struck me as a bit awkward to read out filenames:

Hey Tom, I am zgetting you my underscore holiday underscore pictures dot zip!

It's also not obvious whether it's case sensitive, and if you have a filename with spaces in, the recipient has to mess around with quoting/escaping it, with no help from tab completion.
How about producing a short random token instead? E.g.
$ zput my_holiday_pictures.zip
my_holiday_pictures.zip is now available on the network
Ask your friend to 'zget 3FL6'

Or, with the receiver initiating:
$ zget
Ready to receive a file
Ask your friend to 'zput <filename> QNT8'

Using one of the base 32 alphabets, you can avoid similar looking characters like O/0 or I/1. With 4 characters, that gives you ~1 million possible codes.
To preserve the security model, I imagine that half the token would be advertised on the network, and the other half would be the authentication token that the second party (whichever didn't advertise) needs to send.
I think this would also reduce the risk of collisions - although the space of possible filenames is large, people don't sample that space at random, and in a busy office it's possible that two people could be zput-ing the same filename at the same time. With random codes, the risk of collisions is a function of the number of transfers being advertised. Advertising 2 base 32 digits as I propose means collisions are expected when 38 files are being advertised at once (if I've understood the birthday paradox correctly). If that's insufficient in large networks, the number of digits advertised could easily be increased by a config setting.
Thanks for creating zget :-)

I agree that using filenames without tab completion can be really awkward in some situations and thought of using tokens, too. I went with only filenames for now because

it adheres to the UNIX principle nicely: there is no unneccessary output when there was no error and it can be scripted nicely (parsing the Ask your friend line might be annoying)
It makes it clear what you're actually requesting and if you may be overwriting local files
Has a simple, cp/wget-like command line interface
When given the choice users might always pick tokens like aaaa, potentially compromising security
it was simple to implement :-)

However I would definitely be willing to implement a token system if it played nicely with these principes and were an optional additional feature.
My first idea was to allow a second zput argument: zput my_pics.zip AFGD which would then be used with zget AFGD or zget AFGD foo.zip. That would have a nice CLI API (both commands work like cp) but it could be a bit nasty because

The recipient may receive any filename, unexpectedly overwriting local files (even when requesting tokens you want to have the original filename)
The sender may be lazy and always pick AAAA

Just to give you a broad overview over how the Zeroconf peer finding works: There is no initiator. Both parties initiate their part of the procedure, no matter if the other already did theirs. After both did the Zeroconf procedure, the recipient will at some point pick up the broadcast from the sender.
From this broadcast the recipient will extract the peers IP address and port and simply do a http://<ip>:<port>/<filename> request.
This means that when you give either party the possibility to create a transfer token, you will potentially have a filename and two tokens to deal with (no problem, just sth to be aware of).
I agree that four characters (32 Base, case insensitive) should be sufficiently safe and seem a pretty good fit for our usecase. Generally though, I would prefer to advocate the SHA1 of filenames and tokens on the network. When a match was found the recipient may then have the choice to request either a token (like http://<ip>:<port>/<token>) or a filename (like http://<ip>:<port>/<filename>) from the sender and then be handed the file.

Thanks, that makes sense. A couple of refinements to the idea:

For scripting, add an option to produce some kind of machine readable output. Git has --porcelain, for instance, and Jupyter has --json for some commands.
Alternatively, you could produce machine readable output if stdout is a pipe rather than a tty. This is a de facto Unix tradition (even ls does it) , though I prefer having an explicit flag for machine readable output.
Never automatically overwrite local files. I would do it like browser downloads - if a file with that name already exists, add a suffix with a number, incrementing the number until it's unique - e.g. my_holiday_pics_1.zip
I totally agree that people will be lazy if they pick the token, and it's extra cognitive load to do so. So I'd stick to having the token autogenerated. It's not exactly like any other command line tool I can think of, but I think it's a simple enough model that people shouldn't have any trouble understanding it.

My mistake on the implementation - looking at the examples, I assumed that whichever one you started first was creating an 'advertisement' of some kind which the second one responded to. On looking at the code some more, I realise that it's always the sender that advertises and the recipient that responds (by making an HTTP request). I like this design better than what I thought was going on :-).
I'm not convinced about using sha1 hashes as a security measure. A malicious actor on the network could easily generate a mapping of sha1 hashes to possible tokens or common filenames. When they see a broadcast of a sha1 hash, they could then quickly look up the corresponding token/filename and make a request for that. Security probably isn't a major design goal, as it's for trusted networks, but if there's a shared secret in the architecture, I'd rather it had no relationship to the advertised data at all.
Would you be happy for me to have a go at implementing tokens, and make a pull request for it?

I've started working on a first draft that does

zput file.jpeg asd will allow you to download using zget file.jpeg or zget asd. In case of zget asd it will still create a file file.jpeg (or file_n.jpeg if file.jpeg or file_n-1.jpeg already exist).
zget file.jpeg will not overwrite an existing file.jpeg, however zget file.jpeg file.jpeg will.

What do

I still think it's much more useful for the system to generate the alias, rather than requiring it from the user. As you said, users will be lazy, especially as it looks like there's no lower limit on length, so you could just zput file.jpeg a.
I think the principle is good, though I'd do the interface with either an explicit option zget file.jpeg -o file.jpeg, or by writing to stdout zget file.jpeg > file.jpeg.

I'll have a go at implementing my idea, so we can have a play with it.

In case of a simple/short token I thought about showing a warning "insecure upload token, your transfer may be highjacked" but still allowing them. When the user didn't set one we can provide one for them.
I was playing with the idea to allow zget file.txt - to print the contents to stdout. I guess the -o option is more curl-style syntax, the second filename more cp style

I have implemented a simple version of this in the latest release, you can upgrade it using pip install -U zget.
We will think about security in a later release and a separate, issue.

I just saw a talk about a similar tool called magic wormhole - it creates a code made of randomly selected words from a list, and then it uses a neat algorithm called PAKE to turn that weak code into a strong encryption key which it can use to transfer data.

Very interesting, and not infeasible to implement here.


embedings  error                    python -m vllm.entrypoints.openai.api_server --trust-remote-code --model gte_Qwen2-7B-instruct --seed 48 --max-model-len 1000 --tensor-parallel-size 2 --gpu-memory-utilization 1 --dtype float16

Your current environment
The output of `python collect_env.py`

🐛 Describe the bug
ERROR 07-01 08:12:10 async_llm_engine.py:52] Engine background task failed
ERROR 07-01 08:12:10 async_llm_engine.py:52] Traceback (most recent call last):
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 42, in _log_task_completion
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return_value = task.result()
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 532, in run_engine_loop
ERROR 07-01 08:12:10 async_llm_engine.py:52]     has_requests_in_progress = await asyncio.wait_for(
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return fut.result()
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 506, in engine_step
ERROR 07-01 08:12:10 async_llm_engine.py:52]     request_outputs = await self.engine.step_async()
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 235, in step_async
ERROR 07-01 08:12:10 async_llm_engine.py:52]     output = await self.model_executor.execute_model_async(
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/executor/distributed_gpu_executor.py", line 166, in execute_model_async
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return await self._driver_execute_model_async(execute_model_req)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/executor/multiproc_gpu_executor.py", line 149, in _driver_execute_model_async
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return await self.driver_exec_model(execute_model_req)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 58, in run
ERROR 07-01 08:12:10 async_llm_engine.py:52]     result = self.fn(*self.args, **self.kwargs)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return func(*args, **kwargs)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/worker/worker.py", line 280, in execute_model
ERROR 07-01 08:12:10 async_llm_engine.py:52]     output = self.model_runner.execute_model(seq_group_metadata_list,
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
ERROR 07-01 08:12:10 async_llm_engine.py:52]     return func(*args, **kwargs)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 735, in execute_model
ERROR 07-01 08:12:10 async_llm_engine.py:52]     ) = self.prepare_input_tensors(seq_group_metadata_list)
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 682, in prepare_input_tensors
ERROR 07-01 08:12:10 async_llm_engine.py:52]     sampling_metadata = SamplingMetadata.prepare(
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 116, in prepare
ERROR 07-01 08:12:10 async_llm_engine.py:52]     ) = _prepare_seq_groups(seq_group_metadata_list, seq_lens, query_lens,
ERROR 07-01 08:12:10 async_llm_engine.py:52]   File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 208, in _prepare_seq_groups
ERROR 07-01 08:12:10 async_llm_engine.py:52]     if sampling_params.seed is not None:
ERROR 07-01 08:12:10 async_llm_engine.py:52] AttributeError: 'NoneType' object has no attribute 'seed'
Exception in callback functools.partial(<function _log_task_completion at 0x7f40f9a39630>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7f40b87a3160>>)
handle: <Handle functools.partial(<function _log_task_completion at 0x7f40f9a39630>, error_callback=<bound method AsyncLLMEngine._error_callback of <vllm.engine.async_llm_engine.AsyncLLMEngine object at 0x7f40b87a3160>>)>
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 42, in _log_task_completion
return_value = task.result()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 532, in run_engine_loop
has_requests_in_progress = await asyncio.wait_for(
File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 506, in engine_step
request_outputs = await self.engine.step_async()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 235, in step_async
output = await self.model_executor.execute_model_async(
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/distributed_gpu_executor.py", line 166, in execute_model_async
return await self._driver_execute_model_async(execute_model_req)
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/multiproc_gpu_executor.py", line 149, in _driver_execute_model_async
return await self.driver_exec_model(execute_model_req)
File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/worker.py", line 280, in execute_model
output = self.model_runner.execute_model(seq_group_metadata_list,
File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 735, in execute_model
) = self.prepare_input_tensors(seq_group_metadata_list)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 682, in prepare_input_tensors
sampling_metadata = SamplingMetadata.prepare(
File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 116, in prepare
) = _prepare_seq_groups(seq_group_metadata_list, seq_lens, query_lens,
File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 208, in _prepare_seq_groups
if sampling_params.seed is not None:
AttributeError: 'NoneType' object has no attribute 'seed'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 54, in _log_task_completion
raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on Github. See stack trace above for theactual cause.
INFO 07-01 08:12:10 async_llm_engine.py:167] Aborted request cmpl-13a5e1f614ab4afe99ca9ccc99097603-0.
INFO:     <IP_ADDRESS>:63180 - "POST /v1/embeddings HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/opt/conda/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 70, in call
return await self.app(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/opt/conda/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/opt/conda/lib/python3.10/site-packages/starlette/middleware/cors.py", line 85, in call
await self.app(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 65, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/opt/conda/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/opt/conda/lib/python3.10/site-packages/starlette/routing.py", line 756, in call
await self.middleware_stack(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/routing.py", line 776, in app
await route.handle(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/opt/conda/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/opt/conda/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/opt/conda/lib/python3.10/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
File "/opt/conda/lib/python3.10/site-packages/fastapi/routing.py", line 278, in app
raw_response = await run_endpoint_function(
File "/opt/conda/lib/python3.10/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/api_server.py", line 132, in create_embedding
generator = await openai_serving_embedding.create_embedding(
File "/opt/conda/lib/python3.10/site-packages/vllm/entrypoints/openai/serving_embedding.py", line 124, in create_embedding
async for i, res in result_generator:
File "/opt/conda/lib/python3.10/site-packages/vllm/utils.py", line 250, in consumer
raise e
File "/opt/conda/lib/python3.10/site-packages/vllm/utils.py", line 241, in consumer
raise item
File "/opt/conda/lib/python3.10/site-packages/vllm/utils.py", line 225, in producer
async for item in iterator:
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 747, in encode
async for output in self._process_request(
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 780, in _process_request
raise e
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 776, in _process_request
async for request_output in stream:
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 89, in anext
raise result
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 42, in _log_task_completion
return_value = task.result()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 532, in run_engine_loop
has_requests_in_progress = await asyncio.wait_for(
File "/opt/conda/lib/python3.10/asyncio/tasks.py", line 445, in wait_for
return fut.result()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 506, in engine_step
request_outputs = await self.engine.step_async()
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 235, in step_async
output = await self.model_executor.execute_model_async(
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/distributed_gpu_executor.py", line 166, in execute_model_async
return await self._driver_execute_model_async(execute_model_req)
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/multiproc_gpu_executor.py", line 149, in _driver_execute_model_async
return await self.driver_exec_model(execute_model_req)
File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/worker.py", line 280, in execute_model
output = self.model_runner.execute_model(seq_group_metadata_list,
File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 735, in execute_model
) = self.prepare_input_tensors(seq_group_metadata_list)
File "/opt/conda/lib/python3.10/site-packages/vllm/worker/model_runner.py", line 682, in prepare_input_tensors
sampling_metadata = SamplingMetadata.prepare(
File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 116, in prepare
) = _prepare_seq_groups(seq_group_metadata_list, seq_lens, query_lens,
File "/opt/conda/lib/python3.10/site-packages/vllm/model_executor/sampling_metadata.py", line 208, in _prepare_seq_groups
if sampling_params.seed is not None:
AttributeError: 'NoneType' object has no attribute 'seed'

please provide more details, following the issue template to report your environment, and show how you use vllm.

same error here.

@2679326161or If you want to use an embedding model, try: https://huggingface.co/intfloat/e5-mistral-7b-instruct.
The models, such as Llama-3-8b, Mistral-7B-Instruct-v0.3, are generation models rather than an embedding model

我也遇到了同样的问题，当请求embedding的时候服务就报错了，后面即使是chat请求也无法正常返回

same error occurs when using the embedding model gte-Qwen2-7B-instruct .

Related to #7502 and fixed by #7504.


PC style Ctrl+Shift+(Left or Right Arrow) to highlight words

Just like in this previous issue , this particular setting still doesn't work for me for highlighting individual workds.
In every app (text editor, browser, Finder, etc), Shift+Ctrl+Left or Ctrl+Shift+Left selects to the start/end of the line instead of just one word.
If it helps, I'm on OSX 10.11.4 with Karabiner 10.18.0 and here are the only things I have turned on:

Your settings works well on my machine.
I guess you are using Shift+Command+Left.
Please confirm your input in EventViewer.
https://pqrs.org/osx/karabiner/document.html.en#eventviewer

@tekezo you're right - it is Command+Shift+Left, according to EventViewer. so then is there any way to remap this behavior to Command+Shift+Left/Right? or remap Alt+Shift+Left/Right (which right now works for that behavior) to Command+Shift+Left/Right?

Ctrl = Command due to this system setting in Keyboard > Modifier Keys (which i needed to enable to get the majority of other pc style shortcuts working properly, before i set up Karabiner for some of the final tweaks).

OK.
Please use new setting by this private.xml:
(And disable prepared one)
https://github.com/tekezo/Files/blob/master/Karabiner/private.pclikecontrolarrow_except_vm/private.xml
How to use private.xml:
https://pqrs.org/osx/karabiner/document.html#privatexml


Fdiv

Fdiv

These additions are looking great!
Unfortunately disent has diverged significantly since these changes have been made and I see that there are additional files that should not be included.
If you are interested, we can work on integrating some of these datasets and frameworks in a new branch?


[observer] changed the api of observers, to a more writable and reada…

…ble approach

Pull Request Test Coverage Report for Build 652

14 of 14 (100.0%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 648:
0.0%

Covered Lines:
609

Relevant Lines:
609

💛  - Coveralls


add rule no-deprecated

Adding support no-deprecated rule to make migration to newer version easier

Hey, and thanks for contributing!
This rule could help a lot with migration once Lodash v5 comes out, but I think it's a bit too specific.
Since the plugin already contains a curated list of Lodash functions (or close enough that changing them is a feasible goal), I think a better rule would be something like no-deprecated, that reports for every method that doesn't exist in a specified version.
(e.g. your declared version in the plugin could be version 4, but you could set the rule to version 5)

@ganimomer thanks for advice, i will make appropriate changes

@ganimomer i updated the rule to no-deprecated

@abhirathore2006 Sounds good, but why the _?


Add ldap user to project member test

Add ldap user to project member test

Coverage decreased (-0.008%) to 57.8% when pulling eb2cfc8e8e98f9cdd325f89222415566ad61dc83 on stonezdj:ldap_add_member_test into 583ce589f16e5d34c60e090b39405a24021c3f44 on vmware:master.

Coverage decreased (-0.008%) to 57.8% when pulling 6e4d90aaeaa83486a6c4725aea83b112153f0de1 on stonezdj:ldap_add_member_test into 583ce589f16e5d34c60e090b39405a24021c3f44 on vmware:master.

Coverage increased (+0.02%) to 58.099% when pulling bd7ff3d656fd2ba8433f1e10ef61a1d2ea68b360 on stonezdj:ldap_add_member_test into 944fd1d97a4a7cd13356fc680f22641757530a08 on vmware:master.

Coverage remained the same at 58.076% when pulling bd7ff3d656fd2ba8433f1e10ef61a1d2ea68b360 on stonezdj:ldap_add_member_test into 944fd1d97a4a7cd13356fc680f22641757530a08 on vmware:master.

Coverage increased (+0.02%) to 58.099% when pulling b7670a39b330b6cfb067876fef96fd18aa171ce8 on stonezdj:ldap_add_member_test into 944fd1d97a4a7cd13356fc680f22641757530a08 on vmware:master.


Can't generate code for enum with similar name as struct member

It is possible to create a valid capnproto schema that will result in invalid generated Java code.
Example schema
@0xd9beba3d746ee890;

using Java = import "java.capnp";
$Java.package("com.amidvidy.test");
$Java.outerClassname("Test");

struct Test {
  enum MyType {
    foo @0;
    bar @1;
  }

  myType :union {
    none @0 :Void;
    value @1 :MyType;
  }
}

generated Java code has both an enum MyType and a static class MyType:
// many lines omitted
  public enum MyType {
      FOO,
      BAR,
      _NOT_IN_SCHEMA,
    }

    public static class MyType {
      public static final org.capnproto.StructSize STRUCT_SIZE = new org.capnproto.StructSize((short)1,(short)0);
      public static final class Factory extends org.capnproto.StructFactory<Builder, Reader> {
        public Factory() {
        }
// many lines omitted

Compilation yields an error as expected:
Test.java:63: error: enum MyType is already defined in class TestStruct
    public static class MyType {
                  ^

This is fairly easy to work around (just give the enum or union a different name) but it still seems like this should be fixed by namespacing the generated enums separately from the classes, or mangling their names somehow.

Hi!
There was some discussion about this issue in capnproto-c++ a while back: https://github.com/sandstorm-io/capnproto/issues/19
The suggestion there is that would should define a $name annotation that could be used to work around this kind of name clash.


[F] Implement a method to convert a sheet to json

🚀 Feature Proposal
It would be nice to get a handle to a sheet and then extract the data as json.
Motivation
To make it easy to get an array of objects where each cell becomes a property with data.
Example
I've written a method I'm using in my code in a gist: https://gist.github.com/marcolarosa/f95e7873b747f1f051ee05daca97584d

This is nice. I've tested it and worked ✅
Why we don't have this yet?

it is easy-peasy:
JSON.stringify(workbook.worksheets[0].model)

Also for the whole workbook:
JSON.stringify(workbook.model)

Hi - as the original author I think you should explain this further. Firstly, JSON.stringify returns a string - not a JSON
object. Secondly, is that documented? Is it a recent feature addition? When I wrote the gist mid last year I couldn't
find any way to get the sheet as a JSON object; hence the gist.

it is easy-peasy:
JSON.stringify(workbook.worksheets[0].model)

Also for the whole workbook:
JSON.stringify(workbook.model)

@Siemienik Can you comment on that please? Especially for the cases when data modification is required


All panels are not aggregated with multi-account configuration

Describe the bug
AWS Service Monthly Cost Spend dashboard panel & all other default panels after deployment are not aggregated with multi-account configuration, displays service spend legend per account.
To Reproduce
Steps to reproduce the behavior. For example:

Configure multiaccount according to the steps in the Readme.
Launch Grafana UI.

Expected behavior
AWS Service Monthly Cost Spend (and other panels) will display the data aggregated by AWS service name, legend per service name that aggregates all information from all accounts, and not legend per service per account.
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version: Not applicable

Fix:
Alter the query from:
sum(ce_aws_service_monthly_spend{account_id=~'$account_id', month='$month', year='$year'}) by (aws_service, account_id) - (sum(ce_aws_service_monthly_spend{account_id=~'$account_id', year='$year', month='$month'}) by (aws_service, account_id)/100 * $discount)

to:
sum(ce_aws_service_monthly_spend{account_id=~'$account_id', month='$month', year='$year'}) by (aws_service) - (sum(ce_aws_service_monthly_spend{account_id=~'$account_id', year='$year', month='$month'}) by (aws_service)/100 * $discount)

I created PR #11 to handle this

Thanks @avishayil , We will review the PR.


Amplify-generated js code snippet doesn't work for manyToMany-relationship.

Before opening, please confirm:

[X] I have searched for duplicate or closed issues and discussions.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

JavaScript Framework
Vue, Not applicable
Amplify APIs
GraphQL API
Amplify Categories
api
Environment information

System:
    OS: macOS 13.0.1
    CPU: (8) x64 Apple M1
    Memory: 131.01 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.17.4 - /usr/local/bin/node
    npm: 9.1.1 - /usr/local/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 108.0.5359.94
    Safari: 16.1
  npmGlobalPackages:
    @aws-amplify/cli: 10.4.1
    generator-code: 1.4.2
    http-server: 14.1.1
    npm: 9.1.1
    serverless: 2.53.1
    yo: 3.1.1

Describe the bug
Amplify-generated code snippet doesn't work for manyToMany-relationship.

I created models Product and Order via the UI. Following schema was used:
type Product @model @auth(rules: [{allow: public}]) {
  id: ID!
  price: Int
  name: String
  Orders: [Order] @manyToMany(relationName: "ProductOrder")
}

type Order @model @auth(rules: [{allow: public}]) {
  id: ID!
  totalprice: Int
  products: [Product] @manyToMany(relationName: "ProductOrder")
}

3 tables get created on Dynamodb: Product, Order and ProductOrder.
When I try creating a new order (passing a previously created productID in the field products) with the js code snippet provided by AWS, it fails with the error message:

The variables input contains a field name 'products' that is not defined for input object type 'CreateOrderInput'

'CreateOrderInput' looks like this:
input CreateOrderInput { id: ID totalprice: Int! }

Regarding 'CreateOrderInput' it seems logical that the mutation fails. However, what's the alternative here? To manually create a new record in 'ProductOrder' ?
Expected behavior
I would expect that the snippet provided by AWS works when creating a new Order and passing a productID in products. I expect this call to create a new item in the dynamodb table Order and in the join table ProductOrder.
const newOrder = await API.graphql({
    query: createOrder,
    variables: {
        input: {
		"totalprice": 1020,
		"products": []
	}
    }
});

Given the provided snippet, I would not expect that I have to create an item in 'ProductOrder' manually by calling createProductOrder.
Reproduction steps

Create models Product and Order both with manyToMany-relationship via the UI.
Amplify pull the project
Amplify codegen
Create a new item in Product
Attempt to create a new item in Order by using aws-provided snippet and by passing previously created productID in 'products'

Code Snippet
// Put your code below this line.

Log output

// Put your logs below this line

aws-exports.js
No response
Manual configuration
No response
Additional configuration
Mutations.js
export const createProduct = /* GraphQL */ `
  mutation CreateProduct(
    $input: CreateProductInput!
    $condition: ModelProductConditionInput
  ) {
    createProduct(input: $input, condition: $condition) {
      id
      price
      name
      Orders {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const updateProduct = /* GraphQL */ `
  mutation UpdateProduct(
    $input: UpdateProductInput!
    $condition: ModelProductConditionInput
  ) {
    updateProduct(input: $input, condition: $condition) {
      id
      price
      name
      Orders {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const deleteProduct = /* GraphQL */ `
  mutation DeleteProduct(
    $input: DeleteProductInput!
    $condition: ModelProductConditionInput
  ) {
    deleteProduct(input: $input, condition: $condition) {
      id
      price
      name
      Orders {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const createOrder = /* GraphQL */ `
  mutation CreateOrder(
    $input: CreateOrderInput!
    $condition: ModelOrderConditionInput
  ) {
    createOrder(input: $input, condition: $condition) {
      id
      totalprice
      products {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const updateOrder = /* GraphQL */ `
  mutation UpdateOrder(
    $input: UpdateOrderInput!
    $condition: ModelOrderConditionInput
  ) {
    updateOrder(input: $input, condition: $condition) {
      id
      totalprice
      products {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const deleteOrder = /* GraphQL */ `
  mutation DeleteOrder(
    $input: DeleteOrderInput!
    $condition: ModelOrderConditionInput
  ) {
    deleteOrder(input: $input, condition: $condition) {
      id
      totalprice
      products {
        items {
          id
          productId
          orderId
          product {
            id
            price
            name
            Orders {
              nextToken
            }
            createdAt
            updatedAt
          }
          order {
            id
            totalprice
            products {
              nextToken
            }
            createdAt
            updatedAt
          }
          createdAt
          updatedAt
        }
        nextToken
      }
      createdAt
      updatedAt
    }
  }
`;
export const createProductOrder = /* GraphQL */ `
  mutation CreateProductOrder(
    $input: CreateProductOrderInput!
    $condition: ModelProductOrderConditionInput
  ) {
    createProductOrder(input: $input, condition: $condition) {
      id
      productId
      orderId
      product {
        id
        price
        name
        Orders {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      order {
        id
        totalprice
        products {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      createdAt
      updatedAt
    }
  }
`;
export const updateProductOrder = /* GraphQL */ `
  mutation UpdateProductOrder(
    $input: UpdateProductOrderInput!
    $condition: ModelProductOrderConditionInput
  ) {
    updateProductOrder(input: $input, condition: $condition) {
      id
      productId
      orderId
      product {
        id
        price
        name
        Orders {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      order {
        id
        totalprice
        products {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      createdAt
      updatedAt
    }
  }
`;
export const deleteProductOrder = /* GraphQL */ `
  mutation DeleteProductOrder(
    $input: DeleteProductOrderInput!
    $condition: ModelProductOrderConditionInput
  ) {
    deleteProductOrder(input: $input, condition: $condition) {
      id
      productId
      orderId
      product {
        id
        price
        name
        Orders {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      order {
        id
        totalprice
        products {
          items {
            id
            productId
            orderId
            product {
              id
              price
              name
              createdAt
              updatedAt
            }
            order {
              id
              totalprice
              createdAt
              updatedAt
            }
            createdAt
            updatedAt
          }
          nextToken
        }
        createdAt
        updatedAt
      }
      createdAt
      updatedAt
    }
  }
`;

Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response

Hi @belfortf - thank you for raising this issue. As you've pointed out, the code snippet is incorrect because of the way @manyToMany records are joined via the Join Table.
In order to correctly create a relationship, you would need to run a series of queries similar to the following.
const newOrder = await API.graphql({
    query: createOrder,
    variables: {
        input: {
		"totalprice": 1020,
	},
    },
});

const newProduct = await API.graphql({
    query: createProduct,
    variables: {
        input: {
		"price": 500,
	},
    },
});

const connection = await API.graphql({
    query: createProductOrder,
    variables: {
        input: {
		"productId": <Id from newProduct>,
		"orderId": <Id from newOrder>,
	},
    },

For subsequent queries you can join through as you're describing.
I'll transfer this issue to the studio team to update their code samples provided.


Sudu

This is Support

Hi @ruka250 I think u have raised another 2 issues with the same title and without any clear explanation
issues #40104 #40105

Just an assumption: If you're new in GitHub and trying to play with k8s/website to see what lies where this is not the ideal place to do that. I'd suggest you go through Kubernetes/community to understand better rather than raising absurd issues.
In case, I'm wrong Please let me know under this conversation & update the issue description to make it clear what is the issue you're facing.
Thanks!

/close


Fix compilation issue on Visual C

This fixes the
src/python/splitstream_py.c(106): error C2099: initializer is not a constant
error when compiling wth Visual C 2019 (14.2) on Windows

CFR issue #8

Thank you! This was also fixed in #9, which had green Travis checks so I picked that one. The fix was identical


navigation changes are not reflected in Swiper instance

Swiper Version: 6.4.15
Platform/Target and Browser Versions: web

What You Did
Navigation changes are not recognized by swiper component. If you set navigation: false and later change to specific HTML element refs, it will not work, even after calling update on swiper instance.
Expected Behavior
When I change props, component does update accordingly.
Actual Behavior
I change navigation and nothing happens, even with forced update.

navigation nextEl, prevEl doesn't support refs, it accepts HTMLElements or string with CSS selector of elements.

@nolimits4web
I did not mean react Ref objects. Anyway, it does not matter what you pass to navigation, it is not the concern of this issue.

Check this thread https://github.com/nolimits4web/swiper/issues/3855 maybe it has solution for you?

Sadly, it doesn't. Firstly, it contains workarounds. Anway, I cannot call sliderInstance?.navigation?.update() when navigation is initially set to false.

As you didn't provide live example, I have no idea what you are doing, but navigation.update() is for updating existing navigation, to create it navigation.init() should be called instead

I thought the bug is clear, but as you ask, I've added example.

👆fixed, will be available with next update on a days


turn string the default way to set textContent for tags

garantee that every time a tag has a string value, the value will be set to the textContent of the tag.

resolved by https://github.com/createmeal/createmeal/commit/38c2d9178cd6069bcdfe7c51ff542028f7155527 on develop


Upgrade Node to 20.x

Thanks @Arnold-Nkamdem!

You're welcome Mark Hobson!
On Sat, Feb 17, 2024, 11:58 Mark Hobson @.***> wrote:

Thanks @Arnold-Nkamdem https://github.com/Arnold-Nkamdem!
—
Reply to this email directly, view it on GitHub
https://github.com/markhobson/docker-node-chrome/pull/15#issuecomment-1949936051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZJYONZ6W6FFAAF6TORFJHDYUCEPDAVCNFSM6AAAAABDKLVRZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEZTMMBVGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @Arnold-Nkamdem!

@markhobson can you push it on Docker Hub, please?

I tried running the demo against the new image and it fails due to Chrome/ChromeDriver version mismatch. That really needs addressing first before pushing to Docker Hub. Unfortunately that problem is due to Protractor now being unsupported, and I ran out of time investigating how best to replace it.

Ahh, okay. I understood.
Please let me know when you resolved it.

I've raised #16 for the Protractor issue. Not sure how much time I'll have to look at this, so thoughts welcome!

Okay

@Arnold-Nkamdem Fixed and deployed to DockerHub :)

@Arnold-Nkamdem Fixed and pushed to DockerHub :)

Okay, thank you @markhobson


Selection tool lags behind

Describe the bug
Using the selection tool only tracks a few points (not the entire mouse/pen movement) and lags behind up to multiple seconds
To Reproduce
Steps to reproduce the behavior:

select selection tool
make selection

Expected behavior
Selection tool should not lag behind and follow the entire user movement
Desktop (please complete the following information):

OS: Windows 10
Version e2ca7fe1

Additional context
Commenting out line 504 in EditorScreen.xaml.cs "fixes" the issue

Seems caused by not being able to access the position of a pointer event twice.
Potential fix is laid out in here: https://github.com/ainotes-team/UWP/blob/e2ca7fe1b4a6e30e9199dea48a46d9271cbc0a32/AINotes/Screens/EditorScreen.xaml.cs#L37


feat: add support for macos aarch64

This PR fixes #913 for MacOS (aarch64) and will download x86_64-apple-darwin. Ideally, binaryen would release a native build but until then we can just use the x86 version which works fine on Apple Sillicon.

[x] You have the latest version of rustfmt installed

$ rustup component add rustfmt

[x] You ran cargo fmt on the code base before submitting
[x] You reference which issue is being closed in the PR text

Hi,
It would be good to also update the NPM package with this pull request by adding something like:
if (type === "Darwin" && arch === "arm64") {
    return "x86_64-apple-darwin";
}

@pauldorehill I think that's not strictly needed, because wasm-pack can be installed with cargo without issues if this PR was merged. Or maybe I am missing something?

@d3lm the issue is that the package runs a postinstall script which throws and means none of your other node packages get installed. It's easy enough to just remove it from any of your own packages and just call your local cargo installation, but the problem arises if any of your other node packages take it as a dependancy.

Oh gotcha. So if it got installed via a package manager you mean? Yep sure, I can change that too 👍

@drager Do you want me to address this in another PR or include it in this PR?

@drager Do you want me to address this in another PR or include it in this PR?

Include it in this PR if possible

Ok, I have updated the PR and added support for arm64 when using npm too.

Hi, @drager, could you make a new release of wasm-pack after this PR is merged? It blocks myself and my team, and I'd love to see this fix.

Hi, @drager, could you make a new release of wasm-pack after this PR is merged? It blocks myself and my team, and I'd love to see this fix.

Absolutely! I will try to get this merged tomorrow.

Yay! Thanks for merging 🥳

Are you going to publish a new version today too?

@drager Are you going to publish a new version today too?

On it. See https://github.com/rustwasm/wasm-pack/pull/1095

Can confirm that it works now 🙌 Thanks for getting out a new release <3

I'm using mac m1 and I updated version 0.10.2 but this issue is not fixed. It's still "Error: no prebuilt wasm-opt binaries are available for this platform: Unrecognized target!". I have no ideal about this problem. Could anyone help me, please?

@Sotatek-NguyenNguyen4 are you sure you have an updated version of the wasm-pack? What's the output of wasm-pack --version? It certainly works for me.

@vitvakatu Yes, it's exactly version 0.10.2. I don't understand why it doesn't work for me. Have I miss any step by step?

It's certainly fixed for me too. Did you install wasm-pack via cargo -> cargo install wasm-pack?

@Sotatek-NguyenNguyen4 I think something is not right with your installation, perhaps two different versions of wasm-pack are available in the system. Your code seems to call /usr/local/cargo/bin/wasm-pack, while cargo usually uses $HOME/.cargo/bin directory for binaries.
I recommend avoiding using system package managers (homebrew in your case) and using rustup from https://rustup.rs to install and manage the Rust compiler and other tools.


Tibetan overrides induce a dotted circle in ⟨ཧྲཱིཿ࿆⟩

IndicSyllabicCategory-Additional.txt overrides U+0F7F TIBETAN SIGN RNAM BCAD to Consonant_Dead and U+0FC6 TIBETAN SYMBOL PADMA GDAN to Consonant_Final. That means that ⟨ཧྲཱིཿ࿆⟩ gets a dotted circle. Why are these overrides necessary?

@dscorbett, the override for U+0F7F is needed to allow the Tibetan visarga to appear as an independent sign without a preceding syllable. This occurs not infrequently, sometimes after a line break, so visarga starts a new line, and sometimes it functions as a quasi-punctuation sign.
You're right, the override for U+0FC6 is unnecessary. It may date from a time when this sign was not included in ISC. However, this won't make a difference in the case of U+0F7F. The problem there is that the visarga is acting as a separate syllable. One can put the Padma before the visarga, but that is merely an ordering hack. I think this needs to go to SAH to be discussed.
In the meantime, I'll remove the redundant overrides for U+0F35, U+0F37, and U+0FC6.


Aimbot not working

Rage and legit don't work. There is no difference in activating or deactivating them

Maybe because there aren't legit or rage functions?

This is a base not a complete cheat


Unable to loop through files in a directory

I am currently looking for a way to loop through files and folders in a directory recursively but am unable to do so. I tried looking at the docs for how to do that and I thought that using 'readDir' in the fs module might be a good idea. I tried copy/pasting the code from the docs:
import { readDir, BaseDirectory } from '@tauri-apps/api/fs';
// Reads the `$APPDATA/users` directory recursively
const entries = await readDir('users', { dir: BaseDirectory.AppData, recursive: true });

function processEntries(entries) {
  for (const entry of entries) {
    console.log(`Entry: ${entry.path}`);
    if (entry.children) {
      processEntries(entry.children)
    }
  }
}

But found that it didn't work and it was giving me some strange errors. I decided to try writing some logic of my own but it was only giving me the names of the directories in the directory passed in and wasn't giving me the files, subfolders, etc:
async function ting(){
        const list = await readDir("Compressed", {dir: BaseDirectory.Download});
        console.log(list);
    }

Is there any way I could accomplish this?
Also I could accomplish this quite easily with the node js fs module. Is there a way to include node js modules in tauri?

You can use walkdir crate and write yourself backend command. This is what I do.

By the way I'm using Sveltekit with Tauri
Anyways, running the first code doesn't even run and I get this error:

import { readDir, BaseDirectory } from '@tauri-apps/api/fs';
// Reads the `$APPDATA/users` directory recursively
const entries = await readDir('users', { dir: BaseDirectory.AppData, recursive: true });

function processEntries(entries) {
  for (const entry of entries) {
    console.log(`Entry: ${entry.path}`);
    if (entry.children) {
      processEntries(entry.children)
    }
  }
}

It tells me I can't use the await keyword. This is how I implemented it in Svelte:
So I rearrange the code like this:

And it now works!!!
It gives the correct output:

I don't mean to be tooting my own horn, but I feel like the example in the docs should be updated

Any thoughts?

Or rather than a recursive function, something like this can be achieved:

I don't know

The documentation is correct, you were just using await in a non-async function.

If you have any suggestion to improve it, please let me or better open a PR. We appreciate your feedback.


[GUI - v2]  Graph line is off the graph [Using true and false]

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?

What is the current behavior?
The graph line comes out when publishing an integer using False (0) and True (1), GUI - v1 accepts the values as 0 and 1.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

1° v1 - Create device with integer attribute.
2° v1 - Publish:

3° v2 - Configure a Line chart widget
v1 - Accepting True and False values

v2

v2

v2

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Version: 0.7.0-rc.1
Environment: [Docker-compose]
Operating system: [Ubuntu 16.08]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

It won't be fixed.


Implement touch manipulation for Blazor

The problem
At the moment touch is not implemented at all in Blazor. A Mapsui map Blazor opened in a mobile browser does not respond at all.
Describe the solution you'd like
This should be implemented. It is work to do. I don't expect something is blocking this solution.

This was of 4.0.0.


mc support for existing objects

Routing:

fader~
autofade~
autofade2~
balance
pan2~
pan4~
pan8~
spread~
rotate~
xfade~
xgate~
xgate2~
xselect~
xselect2~
mtx~

Cloud Granulators:

grain.synth~
grain.sampler~
grain.live~

GUI:

mix2~
mix4~
meter2~
meter4~
meter8~

already ok without doing anything...

gain~
samps2ms~ / ms2samps~

wait for expr~ support (or don't use expr~ or make it a compiled external)

lin2db~
pol2car~ / car2pol~

db2lin~ OK

[rand.i~]

[rand.f~]

[imp.mc~]

[pulse.mc~]

[dust.mc~]

[dust2.mc~]

[randpulse.mc~]

[randpulse2.mc~]

lfnoise.mc~?

glide~ / lag~ / slew~

bpbank~
resonbank~
resonbank2~

oscbank~ and oscbank2

Cloud Granulators???

grain.synth.mc~
grain.sampler.mc~
grain.live.mc~

adsr~ asr~ envgen~


Add code fix for MSTEST0017

@Evangelink  you were asking for some inputs, a code fix for this rule would be welcome ! We have 600 of this issue in our code base, it will be good to have a code fix to allow us to quickly fix it instead of manually fixing it !
Originally posted by @fforjan in https://github.com/microsoft/testfx/issues/2371#issuecomment-2129471032
AB#2079031

awesome !


Python wheel build failure in windows 11 x64 (main branch)

What version of OR-Tools and what language are you using?
Version: main/v9.6/v9.5 etc.
Language: Python
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
All
What operating system (Linux, Windows, ...) and version?
Windows
What did you do?
Steps to reproduce the behavior:
Build ortools python wheel from source
What did you expect to see
Successful build
What did you see instead?
Failed build
trace.txt
Make sure you include information that can help us debug (full error message, model Proto).
Anything else we should know about your project / environment
VS2022 latest, all python libs updated.

Internal compiler error.

closing it as duplicate of:

#3807


Why can embedding be splited into anchor、positive、negative？

I can't understand the principle of why can embedding be splited into anchor、positive、negative?
I know the embedding is from the network, but I want to know the structure of the data set.
Thanks.

Hi, @JasonChenhx , I saw that in file train_tripletloss.py, line 271, Author implemented function select_triplets, which split embeddings into anchor, positive, and negative. From the code, I guest the structure of embeddings are [A_embed1, A_embed2, ..., A_embedN, B_embed1, B_embed2, ...., B_embedM, C_embed1, C_embed2, ... C_embedL].


No external screen detected in balenablocks/fbcp causing pihole container to exit

Starting a new issue as per @klutchell request. The new implementation of fbcp seems to be causing the pihole container to KILL all processes and exit because no display is detected by fbcp.
OS Version:

ID="balena-os"
NAME="balenaOS"
VERSION="2.65.0+rev1"
VERSION_ID="2.65.0+rev1"
PRETTY_NAME="balenaOS 2.65.0+rev1"
MACHINE="raspberrypi3-64"
VARIANT="Development"
VARIANT_ID="dev"
META_BALENA_VERSION="2.65.0"
RESIN_BOARD_REV="7105b35"
META_RESIN_REV="88025c4"
SLUG="raspberrypi3-64"

Here are the logs of what is happening during startup:

20.01.21 11:38:55 (-0600) Downloading delta for image 'registry2.balena-cloud.com/v2/cadbb7fd82bca3b0d30fb510e2db7481@sha256:d0556bf4f6fd18ac832635c1d4b3be12fcf04f6fe71554ee5456f8a4b3764b18'
20.01.21 11:39:46 (-0600) Downloaded image 'registry2.balena-cloud.com/v2/cadbb7fd82bca3b0d30fb510e2db7481@sha256:d0556bf4f6fd18ac832635c1d4b3be12fcf04f6fe71554ee5456f8a4b3764b18'
20.01.21 11:39:47 (-0600) Installing service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 11:39:47 (-0600) Killing service 'pihole sha256:bc413244e6892e904f1255585a45a179e695184e7a8e27a562a0088b6f66295b'
20.01.21 11:39:47 (-0600) Installed service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 11:39:47 (-0600) Starting service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 11:39:47 (-0600)  pihole  Stopping lighttpd
20.01.21 11:39:47 (-0600)  pihole  Stopping pihole-FTL
20.01.21 11:39:47 (-0600)  pihole  Stopping cron
20.01.21 11:39:47 (-0600)  pihole  [cont-finish.d] executing container finish scripts...
20.01.21 11:39:47 (-0600)  pihole  [cont-finish.d] done.
20.01.21 11:39:47 (-0600)  pihole  [s6-finish] waiting for services.
20.01.21 11:39:48 (-0600)  pihole  [s6-finish] sending all processes the TERM signal.
20.01.21 11:39:49 (-0600) Started service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 11:39:49 (-0600)  fbcp  Display not detected, exiting...
20.01.21 11:39:49 (-0600)  fbcp  Display not detected, exiting...
20.01.21 11:39:51 (-0600) Service exited 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 11:39:51 (-0600)  pihole  [s6-finish] sending all processes the KILL signal and exiting.
20.01.21 11:39:52 (-0600) Service exited 'pihole sha256:bc413244e6892e904f1255585a45a179e695184e7a8e27a562a0088b6f66295b'
20.01.21 11:39:52 (-0600) Killed service 'pihole sha256:bc413244e6892e904f1255585a45a179e695184e7a8e27a562a0088b6f66295b'
20.01.21 11:39:53 (-0600) Deleting image 'registry2.balena-cloud.com/v2/10aeed7798b9e8488e20e83d28b5ecdb@sha256:a955e2efd8e5fa08e9a221514fa6760d44ea48e50a5284fd70daefc5d2579636'
20.01.21 11:39:53 (-0600) Deleted image 'registry2.balena-cloud.com/v2/10aeed7798b9e8488e20e83d28b5ecdb@sha256:a955e2efd8e5fa08e9a221514fa6760d44ea48e50a5284fd70daefc5d2579636'

@toastyghost710 thanks for the details! For some reason I can't reproduce on my slightly older OS, so would you be willing to help me troubleshoot this?
Does the behaviour change if you remove the following line from docker-compose.yml?
https://github.com/klutchell/balena-pihole/blob/ee2d4bff3b58736e7b28a0e067aa35d7655f552b/docker-compose.yml#L26
Worst case if we can't figure it out, we can change the fbcp container to sleep rather than exit when a screen isn't detected. But the current behaviour should be working so I'd like to do a bit of digging if you don't mind.

@toastyghost710 thanks for the details! For some reason I can't reproduce on my slightly older OS, so would you be willing to help me troubleshoot this?
Does the behaviour change if you remove the following line from docker-compose.yml?
https://github.com/klutchell/balena-pihole/blob/ee2d4bff3b58736e7b28a0e067aa35d7655f552b/docker-compose.yml#L26
Worst case if we can't figure it out, we can change the fbcp container to sleep rather than exit when a screen isn't detected. But the current behaviour should be working so I'd like to do a bit of digging if you don't mind.

@klutchell that appears to have done the trick. Pi-Hole was able to update gravity and start up and then once no display was detected the fbcp container exited.

20.01.21 12:53:56 (-0600)  pihole    [â] Pi-hole blocking is enabled
20.01.21 12:53:56 (-0600)  pihole    Pi-hole version is v5.2.4 (Latest: v5.2.4)
20.01.21 12:53:56 (-0600)  pihole    AdminLTE version is v5.3.1 (Latest: v5.3.1)
20.01.21 12:53:56 (-0600)  pihole    FTL version is v5.5.1 (Latest: v5.5.1)
20.01.21 12:53:56 (-0600)  pihole  [cont-init.d] 20-start.sh: exited 0.
20.01.21 12:53:56 (-0600)  pihole  [cont-init.d] done.
20.01.21 12:53:56 (-0600)  pihole  [services.d] starting services
20.01.21 12:53:56 (-0600)  pihole  Starting pihole-FTL (no-daemon) as root
20.01.21 12:53:56 (-0600)  pihole  Starting crond
20.01.21 12:53:56 (-0600)  pihole  Starting lighttpd
20.01.21 12:53:56 (-0600)  pihole  Starting PADD
20.01.21 12:53:56 (-0600)  pihole  [services.d] done.
20.01.21 12:53:59 (-0600) Downloaded image 'registry2.balena-cloud.com/v2/2842525dacddf2227d42be4fdfe358fb@sha256:d0556bf4f6fd18ac832635c1d4b3be12fcf04f6fe71554ee5456f8a4b3764b18'
20.01.21 12:53:59 (-0600) Installing service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:53:59 (-0600) Installed service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:53:59 (-0600) Starting service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:54:02 (-0600) Started service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:54:02 (-0600)  fbcp  Display not detected, exiting...
20.01.21 12:54:02 (-0600)  fbcp  Display not detected, exiting...
20.01.21 12:54:03 (-0600) Service exited 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'

@klutchell that appears to have done the trick. Pi-Hole was able to update gravity and start up and then once no display was detected the fbcp container exited.

20.01.21 12:53:56 (-0600)  pihole    [â] Pi-hole blocking is enabled
20.01.21 12:53:56 (-0600)  pihole    Pi-hole version is v5.2.4 (Latest: v5.2.4)
20.01.21 12:53:56 (-0600)  pihole    AdminLTE version is v5.3.1 (Latest: v5.3.1)
20.01.21 12:53:56 (-0600)  pihole    FTL version is v5.5.1 (Latest: v5.5.1)
20.01.21 12:53:56 (-0600)  pihole  [cont-init.d] 20-start.sh: exited 0.
20.01.21 12:53:56 (-0600)  pihole  [cont-init.d] done.
20.01.21 12:53:56 (-0600)  pihole  [services.d] starting services
20.01.21 12:53:56 (-0600)  pihole  Starting pihole-FTL (no-daemon) as root
20.01.21 12:53:56 (-0600)  pihole  Starting crond
20.01.21 12:53:56 (-0600)  pihole  Starting lighttpd
20.01.21 12:53:56 (-0600)  pihole  Starting PADD
20.01.21 12:53:56 (-0600)  pihole  [services.d] done.
20.01.21 12:53:59 (-0600) Downloaded image 'registry2.balena-cloud.com/v2/2842525dacddf2227d42be4fdfe358fb@sha256:d0556bf4f6fd18ac832635c1d4b3be12fcf04f6fe71554ee5456f8a4b3764b18'
20.01.21 12:53:59 (-0600) Installing service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:53:59 (-0600) Installed service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:53:59 (-0600) Starting service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:54:02 (-0600) Started service 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'
20.01.21 12:54:02 (-0600)  fbcp  Display not detected, exiting...
20.01.21 12:54:02 (-0600)  fbcp  Display not detected, exiting...
20.01.21 12:54:03 (-0600) Service exited 'fbcp sha256:44ce3640dff23af0aa9f0f87c0bce59950fe226f540bf4da51bd01addd04e0b9'

@toastyghost710 thanks for the help! I pushed the fix to main.

@toastyghost710 thanks for the help! I pushed the fix to main.