added relevant guides to help menus of service machines

The guidebooks opened by the help button on items and machines in the bar, hydroponics and the kitchen now also include the guides they link to. Fixes #30459 .
About the PR
Modified the yml of multiple items to expand the GuideHelp with relevant items.
Why / Balance
Having broken links is bad UX.
Technical details
Only yml.
Media
https://github.com/user-attachments/assets/f9553384-8502-4818-9ee7-11d11a5644a4
https://github.com/user-attachments/assets/0367733b-a760-4bd7-9db9-4423617c5382

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
None
Changelog
:cl:

fix: The help menus in service now include the linked guides.

Just noticed that other guides have the same issue, see #30379 . Ill search the code for links and attempt to fix em all, then re-open.


Invoke-MTBuild > "Failed to create Manifest" after update from 0.0.6 to 0.0.8

After updating from 0.0.6 to 0.0.8 and executing "Invoke-MTBuild" this error comes:
Write-Error: Failed to create Manifest: Cannot validate argument on parameter 'Tags'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again.
Uninstalling 0.0.8 and installing 0.0.6 makes it working again. 😄
This is my project file:
{
  "ProjectName": "Example",
  "Description": "Description",
  "Version": "0.0.1",
  "Manifest": {
    "Author": "Author",
    "PowerShellHostVersion": "1.0",
    "GUID": "3944b711-ac04-4823-ba37-1ca2eeab6f4d",
    "Tags": [],
    "ProjecUri": ""
  }
}

Same with the GitHub-action:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install ModuleTools from PSGallery
        run: Install-PSResource -Repository PSGallery -Name ModuleTools -TrustRepository
        shell: pwsh

      - name: Build Module
        run: Set-Location -Path ./Test; Invoke-MTBuild -Verbose
        shell: pwsh

      - name: List files
        run: Get-ChildItem ./Test/dist -Recurse
        shell: pwsh

Oopsie. I should have been accounted for empty Tags. For now you can just remove that tags section in project.json for 0.0.8. Will release 0.0.9 will bug fix soon.

Don't mention. 😁 I know to handle it and wait for the next version. 👍 Thanks

0.0.9 is out and should handle empty tags gracefully.

Now something less and new with 0.0.9:
WARNING: Unknown parameter ProjecUri in Manifest

Yes, that was the issue that I mentioned in changeLog.
There is typo in that name ProjecUri , change it to ProjectUri

OK, working. 👍 Thanks for quick response.
I'm new to many procedures in GitHub - and also testing (especially with Pester). Let me know what kind of help you need. 😄


.NET 6 support?

MBB works with .NET 5, but when I upgrade to .NET 6 rc 2, I get the following exception:

will MBB work with .NET 6 when it's released?

@BenMakesGames good to know. Interested to know the limitations (haven't tried). Was direct "Add Link" code sharing of components an alternative option?

I want blazor mobile bindings.
If it means running blazor without a browser, we can finally embrace one UI but entirely on .NET.
Nowadays I have problems with blazor being single threaded and is slow to evolved due to it being blocked on webassembly and browser developments, my product doesn't need the browser and it shouldn't, what I wanted was cross platform in the first place I mean heck even if you say web has links and navigations and how great webassembly is I can still make my application working by publishing a nerfed version of my app to the web and have users to download my actual ones and in my application I can still have my own CMS without the web.

@dcuccia I didn't try that option; I haven't even heard of it until now :P I'll look into it and try it out today as soon as I get into work!
@Xyncgas what I'm about to say is probably a matter of opinion: I don't see an issue with requiring the browser. it's being used as a rendering engine, which for me feels like a perfect use of an available tool. browsers have been around for longer than many other rendering engines, and have matured a lot. CSS is also very powerful, and when it's still not good enough, we have SCSS. finally, from a business point of view, it's much easier to come by a web designer than a Xamarin or WPF designer.
I agree that the single-threaded architecture of Blazor is a little awkward to work with, but it's only technically required by WASM, which Blazor Desktop doesn't use. I've been using Reactive.NET and Tasks to do some parallelization, but I haven't actually tested that these are truly running on separate threads; I merely assume they are... something else I can look into today at work, perhaps :P

Blazor, like most UI technologies (WPF, WinForms, native Windows UI, browser UI, and most other UI platforms), is single-threaded for UI operations. That is, changing the UI itself must be done on the UI thread. But you can have other threads for doing other work, as well as using async patterns (that doesn't necessarily cost you any threads).

thanks for the clarification. I assumed the UI was single-threaded because it made working with WASM easier (I had read something to that effect, I thought). but I guess it doesn't matter either way: other logic is free to be multi-threaded!

@dcuccia I'm not sure I know what you mean by direct/"add link" sharing of components. are you referring to adding file links to a project, instead of adding another project to the solution?

@BenMakesGames yes, was referring to referencing/building the components themselves in multiple projects vs a lshared library dependency (may not fit your req's)

@dcuccia I played around with it a little more, creating a minimal project demonstrating the issue, and I believe it actually has to do with using Microsoft.AspNetCore.Components.Web 5.x, instead of Microsoft.AspNetCore.Components.Web 3.x.
it's my understanding (from instructions online) that a component library must explicitly reference Microsoft.AspNetCore.Components.Web. I had probably tried using 5.x at first, since I was generally using .NET 5.
in my minimal project, I happened to link 3.1.20 (since that's what the application I'm developing is now using), and everything was working. when I upgraded it to 5.x is when I had issues.
I think there's some deeper understanding about these various packages that I lack, but which would allow me to easily see what's going on here if only I understood them :P but from this intermittent "just playing around" that I've been doing, I now believe (but need to test more) that you can generally use .NET 5 with MBB, as long as you use Microsoft.AspNetCore.Components.Web 3.x. I won't be able to do any more investigation today, but I'll continue to play with this throughout the week, and let you know if I find anything new :P

wanted to post to say that I successfully re-upgraded my MBB project to .NET 5, and then to .NET 6, with the following caveats:

Microsoft.AspNetCore.Components.Web must be 3.x
OpenTK seems to have some conflicts with certain .NET 6 packages, which I am not sure the nature of, but it doesn't bother me to currently be stuck to some 5.x packages:

[NU1107] Version conflict detected for System.Runtime.CompilerServices.Unsafe. Install/reference System.Runtime.CompilerServices.Unsafe 6.0.0 directly to project FMS6DatabaseConfigTool to resolve this issue.
 [my project name here] -> DatabaseConfigTool -> Configuration -> Microsoft.Extensions.Configuration 6.0.0 -> Microsoft.Extensions.Primitives 6.0.0 -> System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
 [my other project name here] -> OpenTK 4.6.7 -> OpenTK.Mathematics 4.6.7 -> System.Runtime.CompilerServices.Unsafe (>= 5.0.0 && < 5.1.0).


First version of "transcribe" is ready

The documentation for "transcribe" is almost complete (Fix #11) .
However, I need help for the "Virtual Keyboard" and "Text normalization" parts (#39), because I am not familiar with it.
The text also need some proofreading and I hope the style I used is correct and follows what we want.
It is also possible that the gifs will have to be changed because they are not really great.

Hello, sorry for the many reviews! I'll add a pull request for the missing section (text normalization)

Note that with #42, if you agree with the proposition, you will have to remove the section on the virtual keyboard and just make sure to add link to that other page when necessary.

As discussed, I just rebased the branch to make it catch up with main

Sorry, I merged the latest updates instead of rebasing...

So I still have the issue with the GIF, but since the branch is overall ready to be merged, I suggest we just make a new issue to fix the GIFs on this page.

Since I have made the modifications proposed by Hugo and that we say we will deal with the GIFs in another branch, can this branch be merged ?

Congratulation @FloChiff for your patience! The PR is finally ready to be merged! Thank you!


Reference not found

When running, git trim --dry-run --no-update, on my company's main repo git-trim shows the error:
Error: Error { code: -3, klass: 4, message: "reference \'refs/remotes/origin/wezm/abort-on-panic\' not found" }

Not sure what other debugging information is useful, but happy to get anything you need.

You can print logs RUST_LOG=trace git trim --dry-run --no-update. Can you attach the some of the logs?

Here's log output:
[2020-02-13T21:47:10Z INFO  git_trim] SEMVER: 0.1.3
[2020-02-13T21:47:10Z INFO  git_trim] SHA: HEAD
[2020-02-13T21:47:10Z INFO  git_trim] COMMIT_DATE:
[2020-02-13T21:47:10Z INFO  git_trim] TARGET_TRIPLE: x86_64-unknown-linux-gnu
[2020-02-13T21:47:10Z INFO  git_trim] base: Implicit("master")
[2020-02-13T21:47:10Z INFO  git_trim] update: Explicit { value: false, source: "cli" }
[2020-02-13T21:47:10Z INFO  git_trim] confirm: Implicit(true)
[2020-02-13T21:47:10Z INFO  git_trim] detach: Implicit(true)
[2020-02-13T21:47:10Z INFO  git_trim] filter: Implicit(DeleteFilter({MergedLocal, MergedRemote}))
[2020-02-13T21:47:10Z TRACE git_trim] Found fetch remote ref for: master, refs/remotes/origin/master
[2020-02-13T21:47:10Z DEBUG git_trim] Branch: Some("allsorts")
[2020-02-13T21:47:10Z DEBUG git_trim] Skip: the branch doesn't have a tracking remote: "allsorts"
[2020-02-13T21:47:10Z DEBUG git_trim] Branch: Some("font-system-shared")
[2020-02-13T21:47:10Z DEBUG git_trim] Skip: the branch doesn't have a tracking remote: "font-system-shared"
[2020-02-13T21:47:10Z DEBUG git_trim] Branch: Some("master")
[2020-02-13T21:47:10Z DEBUG git_trim] Skip: the branch is the base: "master"
[2020-02-13T21:47:10Z DEBUG git_trim] Branch: Some("wezm/abort-on-panic")
[2020-02-13T21:47:10Z INFO  git_trim] > git rev-list --cherry-pick --right-only --no-merges -n1 refs/remotes/origin/master...wezm/abort-on-panic
Error: Error { code: -3, klass: 4, message: "reference \'refs/remotes/origin/wezm/abort-on-panic\' not found" }

Here's the backtrace:
Error: TracedError { boxed: Error { code: -3, klass: 4, message: "reference \'refs/remotes/origin/wezm/abort-on-panic\' not found" }, backtrace:    0: <git_trim::error::TracedError as core::convert::From<git2::error::Error>>::from
             at src/error.rs:80
   1: git_trim::get_push_ref_on_remote
             at src/lib.rs:337
   2: git_trim::get_push_remote_ref
             at src/lib.rs:366
   3: git_trim::get_merged_or_gone
             at src/lib.rs:446
   4: git_trim::main
             at src/main.rs:49
   5: std::rt::lang_start::{{closure}}
             at /rustc/a1912f2e89b77cfe2a0e64b96f444848fe4e2d49/src/libstd/rt.rs:67
   6: std::rt::lang_start_internal::{{closure}}
             at src/libstd/rt.rs:52
      std::panicking::try::do_call
             at src/libstd/panicking.rs:303
   7: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:86
   8: std::panicking::try
             at src/libstd/panicking.rs:281
      std::panic::catch_unwind
             at src/libstd/panic.rs:394
      std::rt::lang_start_internal
             at src/libstd/rt.rs:51
   9: std::rt::lang_start
             at /rustc/a1912f2e89b77cfe2a0e64b96f444848fe4e2d49/src/libstd/rt.rs:67
  10: main
  11: __libc_start_main
  12: _start
 }

Thank you for your reply.
I think just deciding with the existence of config branch.<branch>.remote isn't enough to decide whether it has tracking remote branch's remote ref on your local repo. Can you confirm that you don't have origin/wezm/abort-on-panic on git branch --remote?
I'll come up with the fix and better error tracing with https://docs.rs/anyhow/1.0.26/anyhow/ (I hadn't known this exists)

Can you confirm that you don't have origin/wezm/abort-on-panic on git branch --remote?

Yep no result. I think that's because when the PR are merged on GitHub the delete branch button is pressed, so the remote branch goes away.

Yep no result. I think that's because when the PR are merged on GitHub the delete branch button is pressed, so the remote branch goes away.
This case is covered by this test. https://github.com/foriequal0/git-trim/blob/master/tests/simple_pr_workflow.rs#L45
wezm/abort-on-panic should be classified as "merged local branch" and it should be deleted by default.

Okay. I can reproduce the error. I'm using git config push.default current, and you are using git config push.default simple or else. I tried to be smart on that option, but it failed. I'll fix that soon.

Great, glad you can reproduce. You're right about push.default. I have it set to tracking.

@wezm I've released 0.1.4. I hope that it is fixed.

Yep no errors now! Thanks for looking into it. Not a huge issue, but it takes a long time to run the dry run (more than 2 minutes).
On Sun, 16 Feb 2020, at 2:14 PM, SeongChan Lee wrote:

@wezm https://github.com/wezm I've released 0.1.4. I hope that it is fixed.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/foriequal0/git-trim/issues/15?email_source=notifications&email_token=AAAFKG4O2V3THI4D4APZC2TRDCVTBA5CNFSM4KUOOJ3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL34QDY#issuecomment-586663951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAFKGYVYSMDRHXFBOHZD3LRDCVTBANCNFSM4KUOOJ3A.

I've tested this only for the very small repository, and usually on Linux.
It uses commit-tree to check whether the branch is squash-merged or not, and it'll launch a subprocess using std::process::Command for every branch in the repository so it'll be slower on windows.
Would you let me know how big is your repository and how many branches do your repository have? What is your OS?
 It possibly reads config many times currently. I'm trying to reduce it to once for a session with git_config_snapshot in libgit2.


Move macOS provisioning into docker container

Pyinfra is used to provision the workstation running macOS (https://github.com/mvgijssel/setup/issues/95). Because pyinfra (and dependencies) potentially depend on installed host software
for compiling python packages (for example https://github.com/bazelbuild/rules_python/issues/775#issuecomment-1230405569) let's try to run the workstation provisioning software inside a docker container.
A requirement is that the docker container is able to communicate with the macOS host and one way of doing this is to use SSH between the docker container and the macOS host!
From an connectivity perspective this requires

Enable Remote Login in System Preferences on macOS
Update ~/.ssh/authorized_keys with public key from container on macOS for password-less logins
Update /etc/ssh/sshd_config to only allow SSH connections from the docker-for-mac VM for additional security

From a build-system perspective there are three potential paths:

Run Bazel on the macOS host to build a docker container which runs Pyinfra provisioning
Run Bazel inside docker and run Pyinfra from the Bazel container
Run Bazel inside docker and build a docker container which runs Pyinfra provisioning (docker-in-docker)

Let's try an figure out which setup is the most stable/requires the least amount of code.

Today trying to run bazel run //workstation:provision showed why this is a very good idea, because now Bazel is timing out on macOS because it takes too long to compile gevent
Analyzing: target //workstation:provision (13 packages loaded, 31 targets conf\
igured)
    Fetching @hypervisor_deps_gevent; fetching 223s

As an improvement, instead of creating separate docker images for each service to run why not create a single devcontainer image in which we run bazel! Means that everything will run inside of Bazel. The initial devcontainer image can be pulled from dockerhub / github container registry and also be created using Bazel.

This also makes it easier / more stable to work with VSCode as within the same devcontainer we can setup VSCode extensions and their associated configs.


[menu button] Discuss the need for "single" and "multiple" select variants

in storybook there are "single" and "multiple" select stories. This is not an option in Figma (yet) we don't really know what the use case for these is, how it differs from a regular select / combobox.
We need to have some background info such as use cases/ usages/ patterns to be able to write proper documentation if we actually need those variants.
https://storybook.sanomalearning.design/?path=/story/components-menu-button--single-select
https://storybook.sanomalearning.design/?path=/story/components-menu-button--multi-select
### Tasks
- [ ] remove multi and single select property menu button
- [ ] Review documentation, is there anything to update?
- [ ] https://github.com/sl-design-system/components/issues/1466

Remove properties for now, we need to work on a pattern in a later stage (see #1466 )


Adjust records

Solves #128

We're going to make one PR with all changes to match the changes on the frontend


AttributeError: 'NoneType' object has no attribute 'origin'

📚 Installation

Traceback (most recent call last):
File "/home/shelly/bourne/reimp_paper/MTAG-main/test/t1.py", line 24, in
import torch_sparse
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch_sparse/init.py", line 15, in
f'{library}_{suffix}', [osp.dirname(file)]).origin)
AttributeError: 'NoneType' object has no attribute 'origin'
Environment

OS: Ubuntu20.04

Python version:3.6.3

PyTorch version:1.8.0

CUDA/cuDNN version:11.1

GCC version:

How did you try to install PyTorch Geometric and its extensions (wheel, source):
follow  https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html    。。 Installation via Binaries

Any other relevant information:

Checklist

[1 ] I followed the installation guide.
[1 ] I cannot find my error message in the FAQ.
[1] I set up CUDA correctly and can compile CUDA code via nvcc.
[0 ] I do have multiple CUDA versions on my machine.

Additional context

Same problem

This problem usually refers to having a faulty torch-* package installed. I suggest to remove all versions of this package by running
pip uninstall torch-sparse

repeatedly, and install again using our provided wheels.

Same issue. Tried also uninstalling and installing again, but no effect. Pytorch 1.8.1+cu102.

This problem usually refers to having a faulty torch-* package installed. I suggest to remove all versions of this package by running
pip uninstall torch-sparse

repeatedly, and install again using our provided wheels.

I have try this method but also encounter the same issue

Can you show me the installation log via pip install --verbose?

Can you show me the installation log via pip install --verbose?

yep,here is log
Using pip 21.0.1 from /home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-dtyo1ddx
Created temporary directory: /tmp/pip-req-tracker-j06vdpuz
Initialized build tracking at /tmp/pip-req-tracker-j06vdpuz
Created build tracker: /tmp/pip-req-tracker-j06vdpuz
Entered build tracker: /tmp/pip-req-tracker-j06vdpuz
Created temporary directory: /tmp/pip-install-9nz2y9sn
ERROR: You must give at least one requirement to install (see "pip help install")
Exception information:
Traceback (most recent call last):
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
status = self.run(options, args)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
return func(self, options, args)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 287, in run
reqs = self.get_requirements(args, options, finder, session)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 383, in get_requirements
'(see "pip help {name}")'.format(**opts))
pip._internal.exceptions.CommandError: You must give at least one requirement to install (see "pip help install")
Removed build tracker: '/tmp/pip-req-tracker-j06vdpuz'

I solved the problem by replacing
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.7.1+cu110.html
with
pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.7.0+cu110.html
(My PyTorch version is 1.7.1)

@bourne-3 Sorry for the confusion: I meant to post the log for pip install --verbose torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html
@ZZy979 Yes, sorry for the confusion as well. We do not provide wheels for PyTorch 1.7.1 or 1.8.1 as the 1.7.0 and 1.8.0 wheels work as well.

@bourne-3 Sorry for the confusion: I meant to post the log for pip install --verbose torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html
@ZZy979 Yes, sorry for the confusion as well. We do not provide wheels for PyTorch 1.7.1 or 1.8.1 as the 1.7.0 and 1.8.0 wheels work as well.

ok：
pyt) shelly@shelly-B550M-AORUS-ELITE:~$ pip install --verbose torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html
Using pip 21.0.1 from /home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-6fsmrngh
Created temporary directory: /tmp/pip-req-tracker-mbon080f
Initialized build tracking at /tmp/pip-req-tracker-mbon080f
Created build tracker: /tmp/pip-req-tracker-mbon080f
Entered build tracker: /tmp/pip-req-tracker-mbon080f
Created temporary directory: /tmp/pip-install-nxktznnn
Looking in links: https://pytorch-geometric.com/whl/torch-1.8.1+cu111.html
Requirement already satisfied: torch-sparse in ./anaconda3/envs/pyt/lib/python3.6/site-packages (0.6.9)
Requirement already satisfied: scipy in ./anaconda3/envs/pyt/lib/python3.6/site-packages (from torch-sparse) (1.5.4)
Requirement already satisfied: numpy>=1.14.5 in ./.local/lib/python3.6/site-packages (from scipy->torch-sparse) (1.19.5)
Created temporary directory: /tmp/pip-unpack-h8eboi_k
Removed build tracker: '/tmp/pip-req-tracker-mbon080f'
.
and here is the version 1.8.0 which i install
(pyt) shelly@shelly-B550M-AORUS-ELITE:~$ pip install --verbose torch-sparse -f https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
Using pip 21.0.1 from /home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-s3va99u0
Created temporary directory: /tmp/pip-req-tracker-xqu0b95p
Initialized build tracking at /tmp/pip-req-tracker-xqu0b95p
Created build tracker: /tmp/pip-req-tracker-xqu0b95p
Entered build tracker: /tmp/pip-req-tracker-xqu0b95p
Created temporary directory: /tmp/pip-install-nqe0axyi
Looking in links: https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
Requirement already satisfied: torch-sparse in ./anaconda3/envs/pyt/lib/python3.6/site-packages (0.6.9)
Requirement already satisfied: scipy in ./anaconda3/envs/pyt/lib/python3.6/site-packages (from torch-sparse) (1.5.4)
Requirement already satisfied: numpy>=1.14.5 in ./.local/lib/python3.6/site-packages (from scipy->torch-sparse) (1.19.5)
Created temporary directory: /tmp/pip-unpack-rfmqi6_f
Removed build tracker: '/tmp/pip-req-tracker-xqu0b95p'

Please uninstall the installed version, so that the requirements are not already satisfied.

Please uninstall the installed version first, so that the requirements are not already satisfied.

Using pip 21.0.1 from /home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/pip (python 3.6)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-q32wuo81
Created temporary directory: /tmp/pip-req-tracker-ot_vvis1
Initialized build tracking at /tmp/pip-req-tracker-ot_vvis1
Created build tracker: /tmp/pip-req-tracker-ot_vvis1
Entered build tracker: /tmp/pip-req-tracker-ot_vvis1
Created temporary directory: /tmp/pip-install-_j89v2b4
Looking in links: https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
2 location(s) to search for versions of torch-sparse:

https://pypi.org/simple/torch-sparse/
https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
Skipping link: unsupported archive format: .html: https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html (from -f)
Fetching project page and analyzing links: https://pypi.org/simple/torch-sparse/
Getting page https://pypi.org/simple/torch-sparse/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/torch-sparse/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/torch-sparse/ HTTP/1.1" 304 0
Found link https://files.pythonhosted.org/packages/21/a6/af5865f7bc2dc45ea789ebb35bdf5d84c05e140d7d2ec7e5823d24db176f/torch_sparse-0.1.0.tar.gz#sha256=d774c4b05a96bf09e3c3becd2f48c65ed66b03195a2cfc4992ef57c9a8c6b399 (from https://pypi.org/simple/torch-sparse/), version: 0.1.0
Found link https://files.pythonhosted.org/packages/02/4f/89bcb156022a3960c4db852915c64ea78b4e993e0f8d7a83e60e6819fc11/torch_sparse-0.2.0.tar.gz#sha256=578fdc3522b06c948d43fbc360d0dcde8a89d9a2496ac468592bf3493baedd33 (from https://pypi.org/simple/torch-sparse/), version: 0.2.0
Found link https://files.pythonhosted.org/packages/8f/41/98db80cc9d9345c76445393661ce4dd3e08fc46fb17028e7706612063e4d/torch_sparse-0.2.1.tar.gz#sha256=01346234f0e76103304f8aa1099f22c0904d2fff8b36c5ec0230335149f526bc (from https://pypi.org/simple/torch-sparse/), version: 0.2.1
Found link https://files.pythonhosted.org/packages/73/5b/5b7b6c66148afaa5e2ed8a3e18e109361957d28e67032d92cb282d173f32/torch_sparse-0.2.2.tar.gz#sha256=11e87c0214a4491168f15726ddda6c771b5f34be728f3edbb4add203e46d924d (from https://pypi.org/simple/torch-sparse/), version: 0.2.2
Found link https://files.pythonhosted.org/packages/43/2a/bb2ead5b33c6932937c6c74199ebecd72bd4b3ab224842a50366e5b2af4a/torch_sparse-0.2.3.tar.gz#sha256=47b3f85b0c243d0c98798db722b0f066830f6b8ff9d298a6e2aed0662598e356 (from https://pypi.org/simple/torch-sparse/), version: 0.2.3
Found link https://files.pythonhosted.org/packages/73/72/e374662f6f47d9ac0e082a6d5c18d14e15c52863e89c6bc6957a0d2ed026/torch_sparse-0.2.4.tar.gz#sha256=5cae8b40a5d11b8917e0f4b95034b5842b052f42a089ce59f8c02f2cff00ca55 (from https://pypi.org/simple/torch-sparse/), version: 0.2.4
Found link https://files.pythonhosted.org/packages/b0/0a/2ff678e0d04e524dd2cf990a6202ced8c0ffe3fe6b08e02f25cc9fd27da0/torch_sparse-0.4.0.tar.gz#sha256=bf217539b4f714a1d6fac4d39ace3ad8033871717f44f8f365a2746056b9d805 (from https://pypi.org/simple/torch-sparse/), version: 0.4.0
Found link https://files.pythonhosted.org/packages/c7/3e/aa5449787910283d846a7c739899ccf8c53c914f8a7aee7bc500a32dc091/torch_sparse-0.4.1.tar.gz#sha256=4831fe4b78b86d4dff948d50fec042ef99b98e850495b400189456380ec397d4 (from https://pypi.org/simple/torch-sparse/), version: 0.4.1
Found link https://files.pythonhosted.org/packages/7d/c5/1f73917168aa9816f41e0696f266fa07d0ebfe8d25c3e63a0f08440534b9/torch_sparse-0.4.2.tar.gz#sha256=a652feb1b945995fb863dcbfdaa01de9096d5ed7230380ebf6d262e649eb4123 (from https://pypi.org/simple/torch-sparse/), version: 0.4.2
Found link https://files.pythonhosted.org/packages/08/4e/a268613fa6a92ffbc65b89e66fc8be5590801937185007f0f7bcb75ea21f/torch_sparse-0.4.3.tar.gz#sha256=87b63cb21f091b450271e75d42280c9ef165d61e6ae6dcb983ad2caedfd6eb0f (from https://pypi.org/simple/torch-sparse/), version: 0.4.3
Found link https://files.pythonhosted.org/packages/0e/bf/6242893c898621e7e4756e1ad298e903df6dfae208aec1c32adf8cfd1f7f/torch_sparse-0.4.4.tar.gz#sha256=0c71a15444c56a1117ec200b60aef64121ee5dc8f6f97fbc1ca4c289579d8eb2 (from https://pypi.org/simple/torch-sparse/), version: 0.4.4
Found link https://files.pythonhosted.org/packages/92/80/7137d14dac46d515373d8b3eb47e2565ecfd646ba8658a6a6a1c24e49a2c/torch_sparse-0.5.1.tar.gz#sha256=ab62ffff2c97c5769cdd4aa348ad9b4ed9c4f1f174e155f3845a1864e8771f11 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.5.1
Found link https://files.pythonhosted.org/packages/11/17/03bd3a1f056d971e498bd1ad818bbde3dd5409c845ed2ce76186fec65dd2/torch_sparse-0.6.0.tar.gz#sha256=b5c0edc380e51b33e60a97d7580212a7672e5fab11daece50a905deb8e91dfa7 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.0
Found link https://files.pythonhosted.org/packages/12/9e/66247cbc250e746d06de35c6eb226ec39f4cb4be46adf6ee27527915910b/torch_sparse-0.6.1.tar.gz#sha256=41de6bb39450fc59917c582caa353505d443809af3601c67e4fbaa2284fd1899 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.1
Found link https://files.pythonhosted.org/packages/dc/65/ee198eae5c517cfc6d05473bf4ec8593830dc61446ffd65fdb7cd3b469ce/torch_sparse-0.6.3.tar.gz#sha256=2d2bb488e14207187f9856d2a9349851e7a3cc37d0f5cf7c7ed930d0fc8c7531 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.3
Found link https://files.pythonhosted.org/packages/92/d4/7261b5ee3ff529ac3652fda2ad9757c0fb3cde514014a9c26fe71bad38e9/torch_sparse-0.6.4.tar.gz#sha256=8698ef4bb3f9a51b278b5fdd2ed1b2f4389e871c135f6cdf38355f3c96709457 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.4
Found link https://files.pythonhosted.org/packages/18/0d/a0ab465c6fd30318e8ce2c121424fb09573e46eb16231e6fedb6ddd953f5/torch_sparse-0.6.5.tar.gz#sha256=e457718abdafb65a683a374f17e4bd84bb5d51cdeaa3a1dc364d514f67eaa834 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.5
Found link https://files.pythonhosted.org/packages/db/d1/968436c29959c321740ee95f781c961f12b2d23f0ecdbdaaf3ccf64ddc94/torch_sparse-0.6.6.tar.gz#sha256=9ee9e76eb2ef144afb82ae512ee768e652c436a38f92e7b90e7d0aa3c6c2814e (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.6
Found link https://files.pythonhosted.org/packages/ce/c0/f5ccc280629765cf1e97b601426cad6170d00603cf9836ba52f85d44ac27/torch_sparse-0.6.7.tar.gz#sha256=f69b2ed35baf2a9853234756a2b19e6f7ce88d2c1f029d1c7ca166d91e1adbd0 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.7
Found link https://files.pythonhosted.org/packages/3c/dd/f34dce6512a3922948c3ac0cf50cceb2eeafeedd34a278d502eb77d07dc0/torch_sparse-0.6.8.tar.gz#sha256=312fb5ae6e4e575fca4bbc0bd092af85e7679d5b8e53459f24492fc2a073c7b6 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.8
Found link https://files.pythonhosted.org/packages/9a/86/699eb78ea7ce259da7f9953858ec2a064e4e5f5e6bf7de53aa6c8bb8b9a8/torch_sparse-0.6.9.tar.gz#sha256=089a3200044d0d392a4d0d84803f926da28a44532fe30f4c8d6c34f567680db3 (from https://pypi.org/simple/torch-sparse/) (requires-python:>=3.6), version: 0.6.9
Fetching project page and analyzing links: https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
Getting page https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html
Looking up "https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pytorch-geometric.com:443
https://pytorch-geometric.com:443 "GET /whl/torch-1.8.0+cu111.html HTTP/1.1" 304 0
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp36-cp36m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp36-cp36m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp37-cp37m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp37-cp37m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp38-cp38-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_cluster-1.5.9-cp38-cp38-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp36-cp36m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp36-cp36m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp37-cp37m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp37-cp37m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp38-cp38-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.6-cp38-cp38-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Found link https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html), version: 0.6.9
Skipping link: none of the wheel's tags match: cp36-cp36m-win_amd64: https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: none of the wheel's tags match: cp37-cp37m-linux_x86_64: https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp37-cp37m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: none of the wheel's tags match: cp37-cp37m-win_amd64: https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp37-cp37m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: none of the wheel's tags match: cp38-cp38-linux_x86_64: https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp38-cp38-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: none of the wheel's tags match: cp38-cp38-win_amd64: https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp38-cp38-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp36-cp36m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp36-cp36m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp37-cp37m-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp37-cp37m-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp38-cp38-linux_x86_64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Skipping link: wrong project name (not torch-sparse): https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_spline_conv-1.2.1-cp38-cp38-win_amd64.whl (from https://pytorch-geometric.com/whl/torch-1.8.0+cu111.html)
Given no hashes to check 22 links for project 'torch-sparse': discarding no candidates
Collecting torch-sparse
Created temporary directory: /tmp/pip-unpack-hah02eus
Looking up "https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl" in the cache
Current age based on date: 85824
https://pytorch-geometric.com:443 "GET /whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl HTTP/1.1" 304 0
Using cached https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl (1.6 MB)
Added torch-sparse from https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl to build tracker '/tmp/pip-req-tracker-ot_vvis1'
Removed torch-sparse from https://pytorch-geometric.com/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.9-cp36-cp36m-linux_x86_64.whl from build tracker '/tmp/pip-req-tracker-ot_vvis1'
Requirement already satisfied: scipy in ./anaconda3/envs/pyt/lib/python3.6/site-packages (from torch-sparse) (1.5.4)
Requirement already satisfied: numpy>=1.14.5 in ./.local/lib/python3.6/site-packages (from scipy->torch-sparse) (1.19.5)
Created temporary directory: /tmp/pip-unpack-cswyzz6p
Installing collected packages: torch-sparse

Successfully installed torch-sparse-0.6.9
Removed build tracker: '/tmp/pip-req-tracker-ot_vvis1'

I had the same problem and error statement. The problem in my situation was because I had multiple versions of the CUDA toolkit installed. I fixed this by setting the directory in PATH to point directly to the cuda-11.1 folder:
$ export PATH=/usr/local/cuda-11.1/bin:$PATH

And the same for CPATH and LD_LIBRARY_PATH:
$ export CPATH=/usr/local/cuda-11.1/include:$CPATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH

Then, uninstall torch-sparse, and install with the --no-cache-dir flag, so it doesn't use the cached wheel.

I had the same problem and error statement. The problem in my situation was because I had multiple versions of the CUDA toolkit installed. I fixed this by setting the directory in PATH to point directly to the cuda-11.1 folder:
$ export PATH=/usr/local/cuda-11.1/bin:$PATH

And the same for CPATH and LD_LIBRARY_PATH:
$ export CPATH=/usr/local/cuda-11.1/include:$CPATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH

Then, uninstall torch-sparse, and install with the --no-cache-dir flag, so it doesn't use the cached wheel.

problem solved, thank you!

I had the same problem and error statement. The problem in my situation was because I had multiple versions of the CUDA toolkit installed. I fixed this by setting the directory in PATH to point directly to the cuda-11.1 folder:
$ export PATH=/usr/local/cuda-11.1/bin:$PATH

And the same for CPATH and LD_LIBRARY_PATH:
$ export CPATH=/usr/local/cuda-11.1/include:$CPATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH

Then, uninstall torch-sparse, and install with the --no-cache-dir flag, so it doesn't use the cached wheel.

I follow the command you show.Unfortunately, I still show the same error.
By the way, i found that there is not directory cuda-11.1 in this path /usr/local/ in my system.

@bourne-3 I'm sorry it didn't work for you! What cuda-related folders are there in your /usr/local/? Only cuda?

I had the same problem and error statement. The problem in my situation was because I had multiple versions of the CUDA toolkit installed. I fixed this by setting the directory in PATH to point directly to the cuda-11.1 folder:
$ export PATH=/usr/local/cuda-11.1/bin:$PATH

And the same for CPATH and LD_LIBRARY_PATH:
$ export CPATH=/usr/local/cuda-11.1/include:$CPATH
$ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH

Then, uninstall torch-sparse, and install with the --no-cache-dir flag, so it doesn't use the cached wheel.

I follow the command you show.Unfortunately, I still show the same error.
By the way, i found that there is not directory cuda-11.1 in this path /usr/local/ in my system.

Hi, you don't have a cuda folder means you didn't install cuda by yourself.

@bourne-3 I'm sorry it didn't work for you! What cuda-related folders are there in your /usr/local/? Only cuda?

Actually, there are two folders. cuda and cuda-10.1.

Note that you can also link to your user-wide CUDA installation by conda, e.g., in {miniconda_path}/lib.

Hi. I check the folder /usr/local/. I found there is three cuda-related folders,named: cuda-11 , cuda and cuda-11.2
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2021年4月23日(星期五) 晚上11:45
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [rusty1s/pytorch_geometric] AttributeError: 'NoneType' object has no attribute 'origin' (#2429)
@bourne-3 I'm sorry it didn't work for you! What cuda-related folders are there in your /usr/local/? Only cuda?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hello, after see you reply. I install the cuda. and now there is three cuda-related folder,named:cuda-11, cuda and cuda-11.2
------------------ 原始邮件 ------------------
发件人: @.>;
发送时间: 2021年4月24日(星期六) 凌晨1:36
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [rusty1s/pytorch_geometric] AttributeError: 'NoneType' object has no attribute 'origin' (#2429)
I had the same problem and error statement. The problem in my situation was because I had multiple versions of the CUDA toolkit installed. I fixed this by setting the directory in PATH to point directly to the cuda-11.1 folder:
$ export PATH=/usr/local/cuda-11.1/bin:$PATH
And the same for CPATH and LD_LIBRARY_PATH:
$ export CPATH=/usr/local/cuda-11.1/include:$CPATH $ export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64:$LD_LIBRARY_PATH
Then, uninstall torch-sparse, and install with the --no-cache-dir flag, so it doesn't use the cached wheel.
I follow the command you show.Unfortunately, I still show the same error.
By the way, i found that there is not directory cuda-11.1 in this path /usr/local/ in my system.
Hi, you don't have a cuda folder means you didn't install cuda by yourself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry, i am a little confuse the description .Can you show a complete command？
------------------ 原始邮件 ------------------
发件人: "Matthias @.>;
发送时间: 2021年4月24日(星期六) 凌晨3:48
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [rusty1s/pytorch_geometric] AttributeError: 'NoneType' object has no attribute 'origin' (#2429)
Note that you can also link to your user-wide CUDA installation by conda, e.g., in {miniconda_path}/lib.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

After i instal the CUDA.The Error log seems to change? Here is the log .
Traceback (most recent call last):
File "/home/shelly/bourne/reimp_paper/MTAG-main/test/t1.py", line 29, in
import torch_sparse
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch_sparse/init.py", line 15, in
f'{library}_{suffix}', [osp.dirname(file)]).origin)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch/_ops.py", line 105, in load_library
ctypes.CDLL(path)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/ctypes/init.py", line 349, in init
self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.11: cannot open shared object file: No such file or directory
Process finished with exit code 1

After i instal the CUDA.The Error log seems to change? Here is the log .
Traceback (most recent call last):
File "/home/shelly/bourne/reimp_paper/MTAG-main/test/t1.py", line 29, in
import torch_sparse
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch_sparse/init.py", line 15, in
f'{library}_{suffix}', [osp.dirname(file)]).origin)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch/_ops.py", line 105, in load_library
ctypes.CDLL(path)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/ctypes/init.py", line 349, in init
self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.11: cannot open shared object file: No such file or directory
Process finished with exit code 1

@bourne-3 Hi, since you didn't at anyone. I don't know if you are actually talking to me.
But I will tell you how I fixed this problem anyway.

when i find out I don't have any cuda folder under /usr/local/, i install cuda and cudnn from the official website.
then I removed all of the preinstalled pytorch geometric related stuff via

pip uninstall torch-scatter
pip uninstall torch-sparse
pip uninstall torch-cluster
pip uninstall torch-spline-conv
pip uninstall torch-geometric

then I followed the instruction here https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html and installed pytorch-geometric from source. Note, when I install those five packages as instruction, I added --no-cache-dir. It will take a long time to install them (more than an hour I think, but i works).

If it takes a long time to install then that means that you are somehow not downloading the wheels but are installing from source instead. There seems to be an issue with pip where it cannot determine the wheel links on some machines. You can force to download the wheels via the
pip install --no-index torch-scatter -f ...`

option though.

After i instal the CUDA.The Error log seems to change? Here is the log .
Traceback (most recent call last):
File "/home/shelly/bourne/reimp_paper/MTAG-main/test/t1.py", line 29, in
import torch_sparse
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch_sparse/init.py", line 15, in
f'{library}_{suffix}', [osp.dirname(file)]).origin)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/site-packages/torch/_ops.py", line 105, in load_library
ctypes.CDLL(path)
File "/home/shelly/anaconda3/envs/pyt/lib/python3.6/ctypes/init.py", line 349, in init
self._handle = _dlopen(self._name, mode)
OSError: libcusparse.so.11: cannot open shared object file: No such file or directory
Process finished with exit code 1

@bourne-3 Hi, since you didn't at anyone. I don't know if you are actually talking to me.
But I will tell you how I fixed this problem anyway.

when i find out I don't have any cuda folder under /usr/local/, i install cuda and cudnn from the official website.
then I removed all of the preinstalled pytorch geometric related stuff via

pip uninstall torch-scatter
pip uninstall torch-sparse
pip uninstall torch-cluster
pip uninstall torch-spline-conv
pip uninstall torch-geometric

then I followed the instruction here https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html and installed pytorch-geometric from source. Note, when I install those five packages as instruction, I added --no-cache-dir. It will take a long time to install them (more than an hour I think, but i works).

@rusty1s  @RocStone @rubenwiersma  Thank you very very very very ~~ much. Issue had been solve. Thanks for your kind help

I got this on 3 out of 5 of our supercomputers here in Julich, which then clicked.
The error is on the compilation of torch_sparse, as noted by others. I realized that this problem happened only on the supercomputers where the login nodes (which is where compilation is done) has no GPUs.
The problem is that even when forcing the use of CUDA and exporting TORCH_CUDA_ARCH_LIST, torch_sparse seems to ignore those (it does mention cuda at the beginning, but simply doesn't use it).
Right now, our fix is to run the install on compute nodes, which have GPUs, but this is far from ideal. I didn't dive in the source code enough to understand why torch_sparse ignores cuda when it doesn't find a gpu.

If you are installing from source, you will need a working CUDA installation with nvcc support to compile CUDA kernels. This does not necessarily require a GPU, but it at least needs a proper CUDA installation (similar to what we do when building wheels ourselves, see here. An alternative is to make use of our wheels directly, which does not require building from source at all.

Can you verify that these env variables are set?

You are correct and I am wrong, and for that I apologize. Easybuild (the software we use to manage the installs of scientific software) needed some help to push those variables through.
I am sorry for the noise. With
export TORCH_CUDA_ARCH_LIST=$EASYBUILD_CUDA_COMPUTE_CAPABILITIES;
export WITH_METIS=1;
export FORCE_CUDA=1;
export CUDA_HOME=$EBROOTCUDA;
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH};
export PATH=${CUDA_HOME}/bin:${PATH};

It works.


WIP: Refactor all the git

This PR is a working branch for refactoring the entirety of modules/git to allow for a decision between using a native git backend and a go-git backend at runtime rather than build time.
THIS IS VERY MUCH WIP AND IS INCOMPLETE. THERE WILL BE FORCE PUSHES AT POINT AND IS NOT EXPECTED TO WORK AT PRESENT.

Very cool!

I think this will need a rebase ;)

Is this PR still maintained?
I don't think so.
Feel free to reopen if you're still wanting to work on it.


Please allow setting MAX_EXECUTION_TIME in /usr/local/etc/poudriere.d/{vm_name}-make.conf on a per-port basis

Prerequisites

[x] Have you checked for an existing issue describing your problem?
[x] Are you running the latest version?
[x] Is your ports tree recent?
[x] Is your FreeBSD Host on a supported release?

Describe the bug
www/chromium fails with build/timeout for a very long time now.
This is because it legitimately requires more time to build due to its size.
We need to be able to set MAX_EXECUTION_TIME_chromium=120000 (or higher) for this build to be able to complete.
Additional context
Please look at consistent failures for www/chromium here: http://beefy12.nyi.freebsd.org/jail.html?mastername=140amd64-default

PR: https://github.com/freebsd/poudriere/pull/1155


Example use of LoginInformation fails on Count()

While the library itself seems to work with PHP 7.2, the use of count() on an instantiation of LoginInformation fails.  The fix is to implement the Countable interface on LoginInformation:
      class LoginInformation implements ArrayAccess, \Countable

And then add a count method in the class to access container:
      public function count()
     {
            return count($this->container);
      }

Hi @plweller3,
Did you know that the LoginInformation SDK method cannot be used with OAuth authentication methods? And that only OAuth authentication should be used for new integrations with DocuSign?
Unfortunately the LoginInformation method is poorly named.
We have PHP code examples for both OAuth Authorization Code Grant (when the user is present) and OAuth JWT Grant.
Both of those examples also show how to use the OAuth::getUserInfo method instead of the obsolete LoginInformation method.
Thanks,
Larry

I have created internal ticket DCM-3190 for this request.

Since LoginInformation (and the related legacy authentication techniques) have been deprecated for a couple of years now, I'm closing this issue as won't fix.


Dao Core v1. Add Voting placeholder

Add Voting section placeholder on DAO Core screen
https://zpl.io/boJJRgm

Checked


Add support for iframe key capture.

Usage:
ikey = keymaster(
  document.getElementById('#iframe').contentWindow
);

ikey('ctrl+a', iframe_handler);

// Still compatible with the previous api.
key('ctrl+b', host_window_handler);

I'm also interested in having this sort of thing supported, how difficult would it be to get this merged?

Any activity on this?

If anyone needed I’ve rewrited keymaster https://github.com/elv1n/keybuddy and it supports creating a new instance with custom DOM element.


update to controller-runtime 0.10 and k8s 1.22, remove compat with k8s <1.19

What this PR does / why we need it:
This does a long overdue dependency bump for the controller-runtime. This also required bumping the kubevirt.io/containerized-data-importer, which in turn required a whole bunch of new replacements.
I also merged the two different semver modules into a single one, because I could not find out why we import both v2 and v3.
Optional Release Note:
update Kubernetes dependencies to 1.22 and controller-runtime 0.10.1
support for machines running Kubernetes <1.19 has been removed

/retest

/retest

/retest

/retest

/test pull-machine-controller-e2e-azure-custom-image-reference

/retest

/override pull-machine-controller-e2e-openstack
Flatcar image is missing.
/override pull-machine-controller-e2e-vsphere
/override pull-machine-controller-e2e-vsphere-resource-pool
vCenter is offline


File system watching is not supported on Android

Can you please elaborate what problem you are trying to solve.
Did you check https://pub.dartlang.org/packages/watcher (with https://pub.dartlang.org/packages/path_provider)


Crawler files

This is what I've done so far. We need to discuss more later.

@Daized, I manually merged your PR.


fix typos - AIDA roadmap

Fix typos in AIDA Roadmap
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screenshot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e0a617792eea16b6374dc1--harness-developer.netlify.app


ARTEMIS-91 Improvements to the ServiceRegistry interface

I will review this tomorrow if you could leave it for me

@johnament  / @andytaylor I didn't think it was a good idea to have adds / removes as part of the interface. The implementation can deal with it anyway it wants. For instance I know an application server may have the information somewhere already so it wouldn't need the adds / removes at all..
How the implementation adds / removes would be up to that implementation.

@jmesnil Can you check this?
I believe it would be up to the implementation to decide to how to set the data, so I removed the setters from the interface...
If you are just dealing with the same instance coming from Artemis, why would you need this abstract? you could then just use the instance itself?
Can you check this pr please?

@jmesnil @johnament @andytaylor @jbertram  apologies.. I"m an idiot..
I thought Jeff wanted to provide an implementation for the ServiceRegistry on which case it wouldn't make much sense to have the setters...
Reading back from John's comments it seems what we have now is exactly what was needed.
I will just close this PR for now.

this service registry is used by WildFly to pass instance of user-defined classes (such as transformers, interceptors) to Artemis.
WildFly uses a modular class loader so it's its responsibility to instantiate these classes from the correct module. The ServiceRegistry is really just an object repository since Artemis configuration does not allow to pass instances but only class names


Request for additional metadata: Capture Kit

Hi,
Just wondering about feasibility of adding additional sample metadata, for example which capture kit was used?
Reason we care about capture kit:
Capture kit biases have led to false negative mutation calls in multiple TCGA cohorts. Variability in the capture kits used can contribute to inter-cohort TMB variation. More importantly, there are some genes that may be mutated in a sample, but whose mutation you will/won't see because of the specific capture kit that was used.   See Wang et al. 2018 for details

Hi,
This information for early tcga studies is hard to obtain. This is also why one should use MC3 mafs which have been harmonized for such biases. This point is also mentioned in the discussions section of the MC3 paper


CDA-6644 : TOG - Surveys - Ability to take multiple surveys

#https://github.com/iCentris/pyr/pull/37565


Dose it support kafka 0.10？

As title.Thx~

@ccl0326 Yes, the latest Kafka Monitor supports kafka 0.10. I just tested it against Kafka 68b5d014fa3bf2e18da253ded2bbcd4f5d4a9d8d.


Invalid Date

As new messages come in, they say invalid date, if the page is refreshed the date is then displayed.

I'm on 2.0

This was a bug in the original 0.2.0 release.
If your using git, just do another git pull and reload the website, it was fixed in https://github.com/davidmckenzie/pagermon/issues/151
As per the comments there, a re-release is waiting on any other uncaught bugs 😄

👍


ConnectionError: HTTPSConnectionPool (host='api.coinbase', port 443): Max retries exceeded with url: /v2/prices/LTC-EUR/sell

Hey Guys,
i just run a script for one night, getting the prices of LTC in EUR and was confronted with the following error:
ConnectionError: HTTPSConnectionPool (host='api.coinbase', port 443): Max retries exceeded with url: /v2/prices/LTC-EUR/sell (Caused by NewConnectionErro ('<urllib3.connection.VerifiedHTTPSConnection object at 0x71f45a10>: Failed to establish a new connection: [Errno -2] Name or service not know',))
Is there a limit on how often you can push requests? i pushed those requests for 6 hours until i got this error. Does anyone know how one can prevent this error or give me some details about it?
I would be glad for your help! many thanks!;)

Issue appears to be your hostname: api.coinbase is not a valid domain name. You can see the error further down: [Errno -2] Name or service not known.
Hope that helps!


macOS export notarization fails with abortedUpload

Tested versions
4.2.1.stable
System information
macOS 14.3.1
Issue description
When exporting to macOS with notarization turned on it seems that something is now going wrong during upload. From what I can tell (based on data traffic) it looks like it's uploading the app fine, but then gets stuck at the end, maybe waiting for something. The Godot export (and entire editor UI) becomes unresponsive for a couple of menus until it seems to timeout and returns a notarization failed error:

editor/export/editor_export_platform.h:179 - Notarization: Notarization failed, see editor log for details.
notarytool (distribution/mac/paragraphic.dmg):

Error: abortedUpload(resumeRequest:
SotoS3.S3.ResumeMultipartUploadRequest(uploadRequest:
SotoS3.S3.CreateMultipartUploadRequest(
acl: nil,
bucket: "notary-submissions-prod",
bucketKeyEnabled: nil,
cacheControl: nil,
contentDisposition: nil,
contentEncoding: nil,
contentLanguage: nil,
contentType: nil,
expectedBucketOwner: nil,
_expires: SotoCore.OptionalCustomCoding<SotoCore.HTTPHeaderDateCoder>(value: nil),
grantFullControl: nil,
grantRead: nil,
grantReadACP: nil,
grantWriteACP: nil,
key: "<KEY_HERE_BUT_REMOVED>",
metadata: nil,
objectLockLegalHoldStatus: nil,
objectLockMode: nil,
_objectLockRetainUntilDate: SotoCore.OptionalCustomCoding<SotoCore.ISO8601DateCoder>(value: nil),
requestPayer: nil,
serverSideEncryption: nil,
sSECustomerAlgorithm: nil,
sSECustomerKey: nil,
sSECustomerKeyMD5: nil,
sSEKMSEncryptionContext: nil,
sSEKMSKeyId: nil,
storageClass: nil,
tagging: nil,
websiteRedirectLocation: nil),
uploadId: "<ID_HERE_BUT_REMOVED>",
completedParts: []
),
error: HTTPClientError.deadlineExceeded)

(added line breaks above to make the error more readable)
Steps to reproduce
Export project to macOS with notarization.
Notarization has worked previously for me in Godot 4.2.1 back in January, so either something has changed with the Apple notarytool since then or it could be some temporary issue with their servers?
Minimal reproduction project (MRP)
Notarization process should not be different between projects as long as it's enabled in the export settings

Tested this using terminal xcrun notarytool submit (instructions here) and it seems this is an issue with the apple notary tool or their servers.
Using the tool via terminal you get a progress indicator and I could see that it was very slow uploading and then finally getting stuck at around 5% and then getting the same timeout error as reported by Godot above. So I think all we can do is wait and hope this gets fixed soon by Apple.
I'll try again tomorrow, and hopefully if the issue is resolved then I'll close this issue.

I'm still seeing these issues, but after further investigation it seems it might be an issue more related to some network issues between apple services and some ISPs. Using a different ISP/internet connection seems like a possible way to get around it. Either way, not a Godot issue and unlikely to affect a lot of other users, so closing this.


Is it possible to train with checkpoints?

The config file says I can use ckpt or safetensors, but when I tried gsdf/Counterfeit-V3.0 as a test, I get an error. Reading the error, it looks like it won't train unless it's a diffuser.
OSError: gsdf/Counterfeit-V3.0 does not appear to have a file named text_encoder/config.json. Checkout 'https://huggingface.co/gsdf/Counterfeit-V3.0/main' for available files.
I was also wondering if it is possible to train with a locale model?

Hey, thanks for letting us know! We will look into this and get back to you

Thank you, I'll try it soon!

SDXL, using the standard  'sd_xl_base_1.0.safetensors' or any other safetensor file, I receive this error :
(sliders) H:\sliders>python trainscripts/imagesliders/train_lora-scale-xl.py --name "Pslider2XL" --rank 4 --alpha 1 --config_file "H:\sliders\trainscripts\imagesliders\data\config-xl.yaml" --folder_main "H:\sliders" --folders "bigsize,smallsize" --scales "1,-1" [{'target': 'penguin', 'positive': 'large penguin', 'unconditional': 'penguin', 'neutral': 'penguin', 'action': 'enhance', 'guidance_scale': 4, 'resolution': 512, 'dynamic_resolution': False, 'batch_size': 1}, {'target': 'penguin', 'positive': 'small penguin', 'unconditional': 'penguin', 'neutral': 'penguin', 'action': 'enhance', 'guidance_scale': -4, 'resolution': 512, 'dynamic_resolution': False, 'batch_size': 1}] [{'target': 'penguin', 'positive': 'large penguin', 'unconditional': 'penguin', 'neutral': 'penguin', 'action': 'enhance', 'guidance_scale': 4, 'resolution': 512, 'dynamic_resolution': False, 'batch_size': 1}, {'target': 'penguin', 'positive': 'small penguin', 'unconditional': 'penguin', 'neutral': 'penguin', 'action': 'enhance', 'guidance_scale': -4, 'resolution': 512, 'dynamic_resolution': False, 'batch_size': 1}] 2 2 ['bigsize', 'smallsize'] [1, -1] Traceback (most recent call last):   File "H:\sliders\trainscripts\imagesliders\train_lora-scale-xl.py", line 548, in <module>     main(args)   File "H:\sliders\trainscripts\imagesliders\train_lora-scale-xl.py", line 466, in main     train(config=config, prompts=prompts, device=device, folder_main = args.folder_main, folders = folders, scales = scales)   File "H:\sliders\trainscripts\imagesliders\train_lora-scale-xl.py", line 80, in train     ) = model_util.load_models_xl(   File "H:\sliders\trainscripts\imagesliders\model_util.py", line 232, in load_models_xl     return tokenizers, text_encoders, unet, scheduler, vae UnboundLocalError: local variable 'vae' referenced before assignment
Windows10, I'm using the follow line in config-xl file :
 name_or_path: "H:\\SD_Tests\\checkpoints\\SDXL\\sd_xl_base_1.0.safetensors" # you can also use .ckpt or .safetensors models
using the hugginface repository address works flawlessly, after the model's diffusers download.

Hi @andreamoreto - thanks for the patience. This should be fixed now. Let me know if it still persists. I'm happy to look into it. The current fix is done in model_utils.py.
Closing this issue - please feel free to reopen if the issue still persists


Update SQLite version to enable upsert via ON CONFLICT

It would be really cool if the version of SQLite this was compiled against supported the new upsert ON CONFLICT operations.

Fixed by 086894c7d5c6f251ca49a2c935e24483fdcccc41


Mark primary knowledge sources

https://github.com/biothings/BioThings_Explorer_TRAPI/issues/549

I removed Litvar's primarySource tag after reviewing the current (non-PR) behavior and finding it fine.


Data and Data Structures

Ideas

Page structure is a graph

Enforce tree

Let's start with this
Julian may create showcase later
Or maybe DAG? But now multiple URLs to same content/realm

Page can have elements
Page can have sub-pages

Elements (content-boxes?) have a type

Store data as JSON?
Use a document database?

Video

Video metadata
Parent series

Series

Series metadtata

Source of video data is Opencast
Source of Video metadata is Opencast
Push notifications with fallback

Communication

Opencast SHOULD push new updates to Tobira
Opencast MUST keep track of changes and when they happen about:

Published videos
Video metadata
Access control lists

The set of pushed and persisted information is not necessarily the same

Updated metadata needs to be persisted and pushed
Updated workflow operation may not be that important

Tobira MUST keep track of its last full update

API
Opencast

Create a Tobira API service in Opencast
Get information from necessary services
API to get updates since X

Can be used to get all updates

API to synchronously update metadata

Returns the updated data
Used by video and series blocks

API to ingest new video

With metadata
Returns workflow summary

API to synchronously create/update new series

Returns the updated data

API to delete series/event

Tobira

API to receive update messages
API to get structure
APT to create new series page?

Random Thoughts

Use Apache Kafka?

It guarantees that messages reach the destination.
It supports replay.
Probably rather not

Database type

Use PostgreSQL's JSON type?

Vermnutlich einfach PostgreSQL
https://www.postgresql.org/docs/9.5/textsearch.html

Use MongoDB?
Use Elasticsearch?
One or more database types?

Eher eine Datenbank

This is mostly implemented, outdated or superseded (in particular, by #175). Will close.


Unable to work with multiple shortcuts?

My goal is to be able to create playlist in mpv.net from shortcuts, dragging them into mpv.net causes mpv.net not to load anything.
I installed this tool hoping "Add to mpv.net playlist" listed in the readme would work. It does not (it only loads the video of the file you right clicked on).
If you use the 'Copy Paths' I found the fundamental problem: Selecting multiple shortcuts only sends the path of the shortcut that you right clicked on (and interestingly it does not even send the path of the shortcut itself, but the actual path that the shortcut resolves to).

You've written much, which is good when making a request, unfortunately I don't understand anything.
Please write more clearly.

You have a configuration setting in your readme called "Copy Paths". It has a Powershell script that does the following:
Set-Clipboard ($args -join "rn")
If you run that script after selecting 2 or more shortcuts in windows it will only give you the path of the first shortcut.

You can select normal files like media files (I don't understand what you mean with selecting shortcuts (.lnk files)), with normal files the Copy Paths configuration and script absolutely support multiple files and folders selection, I'm very sure about this because it's a very common use case of mine, I just verified that it works.
I've you are not using Win 10 maybe check your PowerShell version:
PS D:\Work> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22000.653
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22000.653
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

You might be doing something fundamental wrong, maybe post some screenshots.

I am on Windows 10 (LTSC, it has PSVersion 5.1.19041.1682). I could not find any download link for this tool, and had to compile it myself (I used VS 2022 as it was what I had already installed and had to do a 'retarget project'), so I suppose there is a chance that I messed something up.
Here are my results if I run the "Copy Paths" commands in different situations:

If I select files, folders, or a mixture of the two the "Copy Paths" works as expected.

If I select shortcuts, it only ever pulls the item I activated the script on (and its real path not the lnk path).

If I select a mixture of folders, files and shortcuts the tool will display all items if I ran it on a file or folder, but all the shortcuts point to the lnk file and not the file path. And if I do this same test but instead run it on the shortcut, it will only display the real path of that shortcut without displaying any other item.

On GitHub, you can find downloads on the release page, search for 'release' on the front page, it's on the right side in the middle.
I don't know if the issue can be fixed, probably difficult, I'm not very experienced in C++, most code was written 15 years ago.
More info:
https://www.google.com/search?q=icontextmenu+shortcut+lnk


Embed status of public good instance

Small wording changes for deployment page too.

Summary

Release Note

Documentation

Any suggestions on a better place to embed this status?

@haydentherapper — any thoughts about moving this to the first page or adding the context sentence?

Yes, sorry, haven't gotten a chance to! I'll likely do both.

No worries, just was not sure if you got the message or if I could help

Do you think it would look good in the header, or just in the overview page?

Sorry, @haydentherapper , I think the header is fine!

I'll merge and we can always change it!


crash on startup

No crash report is generated
https://pste.eu/p/aXvm.html

Semilar to #1 but this time it is a different method... For some reason, the mod works on my pc and on a normal server

Just wait, till the file is approved on curseforge


Getting Rate-Limitited while having 1-minute breaks in-between

Describe the bug
I am getting rate-limited receiving a 202 Status Code even though I am waiting at least 1 minute between the requests.  It usually happens after 6-7 requests
I'm not sure if it matters, but I'm still able to visit https://duckduckgo.com/in the browser after being rate-limited.
Steps to reproduce the problem:
The problem can be reproduced executing this:
from duckduckgo_search import DDGS
import time

class DuckDuckGo:

    def __init__(self, limit=5) -> None:
        self.limit = limit
        self.query = ""
        self.duck = DDGS()
        self.new_search = False
        self.last_request = 0
        self.cooldown = 60

    def perform_search(self):
        assert self.query != "", "Please set a search query first using `set_search(query)`"
        now = time.time()
        difference = now - self.last_request
        if difference < self.cooldown:
            to_wait = self.cooldown - difference
            print("Waiting %s before next request" % to_wait)
            time.sleep(to_wait)

        # Send the request
        results = self.duck.text(self.query, max_results=self.limit)
        self.new_search = False
        self.last_request = time.time()

        for result in results:
            result["link"] = result.pop("href")

        return results

    def set_search(self, query):
        self.query = f'site:finance.yahoo.com/news/ "{query}"'
        self.new_search = True

if __name__ == "__main__":
    duck = DuckDuckGo()

    while True:
        duck.set_search("some")
        results = duck.perform_search()

        duck.set_search("search")
        results = duck.perform_search()

        duck.set_search("terms")
        results = duck.perform_search()

Exception:
duckduckgo_search.exceptions.RatelimitException: https://duckduckgo.com/ 202 Ratelimit
Specify this information

OS: Mac OS 14.2
environment: Python 3.10
duckduckgo_search version: 5.3.0

Try the version with httpx for now:
pip install -U duckduckgo_search==5.3.0b4

Was having same issue, the httpx version fixed it. Thank you.

I am now using this version and I am still facing the same issue.
duckduckgo_search  5.3.0b4
Do I also have to change something in the code, like specifying a different backend?

Trying the suggested version (5.3.0b4) also solved the problem for me.
pip install -U duckduckgo_search==5.3.0b4
In case you are using Windows, you also have to change the default EventLoopPolicy of asyncio library BEFORE importing the other libraries.
import asyncio
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

I don't know if I will be rate-limited again with the httpx version after a while...

@CezaPasc

I am now using this version and I am still facing the same issue.
duckduckgo_search  5.3.0b4
Do I also have to change something in the code, like specifying a different backend?

Changing the backend parameter will not provide any benefits.

@DavidEstape

In case you are using Windows, you also have to change the default EventLoopPolicy of asyncio library BEFORE importing the other libraries.

This is applied automatically: https://github.com/deedy5/duckduckgo_search/blob/fce7fab463934f9e4d844ca5ca40a185a656a468/duckduckgo_search/init.py#L18C1-L19C76

Yes. You are correct. I tried without and no warning now, so no need to change the EventLoopPolicy.
Thank you for your effort.

@CezaPasc
There's a new version (v5.3.1) out, give it a try.
pip install -U duckduckgo_search

solved with pip install -U duckduckgo_search to v5.3.1

Could it be that the problem is somehow on my fault?
I tested it now again twice: in the same environment and then on an other server (using Linux instead of Mac OS) with a fresh Python environment only having duckduckgo_search installed.
duckduckgo_search 5.3.1

Still running into the same after update to v5.3.1. Was running 1 search per 3-5 sec for total ~50 searches. The error message is bit confusing since I can see the search output in the provide url. Do we just wait it out for soft block period or there is a fix?
RatelimitException: https://links.duckduckgo.com/d.js?q=sklearn+repo+site%3Agithub.com&kl=wt-wt&l=wt-wt&p=&s=0&df=&vqd=4-292300349075791261695672170567302953005&ex=-1 202 Ratelimit

duckduckgo_search==5.3.0b4 works for me while 5.3.1 still fails

I'll leave my two cents here.
I was using this lib with langchain inside Collaboratory.
Restarting the runtime fixed it, while every other solution didn't.

I am using windows system its working
after  adding code below code before
import asyncio

asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

from duckduckgo_search import DDGS

results = DDGS().text("who twitter ceo", max_results=5)
print(results)

Thanks @DavidEstape

What is the current situation?
Does anyone have v5.3.1 or 5.3.1b1 working?

Neither 5.3.1 nor 5.3.1b1 is working for me. In my case, it freezes forever instead of raising an exception. However, 5.3.0b4 seems to be working.

Update to v6.0.0

Using version 6.1.9 still facing this issue > RatelimitException: https://duckduckgo.com/ 202 Ratelimit

Using version 6.1.9 still facing this issue > RatelimitException: https://duckduckgo.com/ 202 Ratelimit
Having the same issue

update to v6.1.10

Updated to 6.2.10 and running this..
import duckduckgo_search
print(f"Running duckduckgo_search version {duckduckgo_search.version}\n")
query = "test test 123"
with duckduckgo_search.DDGS() as ddgs:
instant_answers = ddgs.answers(query)
if instant_answers:
print(instant_answers)
for result in ddgs.text(query, region='wt-wt', safesearch='moderate', timelimit=None, max_results=10):
print(result["title"])
print(result["href"])
print(result["body"])
print()
shows the error.

use the latest version,
don't use backend="html" or "lite" at all,
if you send too many requests, you will be blocked for a while,
If your ISP blocks access to duckduckgo, use a proxy.

I am (as I stated).
The code I posted doesn't use either of those.

import duckduckgo_search

print(f"Running duckduckgo_search version {duckduckgo_search.__version__}\n")
query = "test test 123"

with duckduckgo_search.DDGS() as ddgs:
    instant_answers = ddgs.answers(query)
    if instant_answers:
        print(instant_answers)
    for result in ddgs.text(query, region='wt-wt', safesearch='moderate', timelimit=None, max_results=10):
        print(result["title"])
        print(result["href"])
        print(result["body"])
        print()

This is erroring on my first quote.
My ISP doesn't block access to it.

I am doing all those things. Still broken.

I can't reproduce your problem. It's working properly.

It's working properally for you. It isn't for me. But since you can't reproduce it, then I'll wait until other people point this out and you have more data to go on. Thanks anyway.

have updated the latest DDGS and have done IP rotation. Why am I still getting the 202 rate limit?

I guess if this problem occurs also depends on your geolocation. While being in the Philippines it didn’t occur once for me.

I live in Indonesia where DDGS is blocked, and I'm using the default DNS <IP_ADDRESS> to access it, but I'm also using rotating proxies for my program. Could this DNS cause any issues?

Change proxy=socks5://... to proxy=socks5h://.
When you use socks5h://, DNS resolution is performed by the SOCKS5 proxy itself.

cool mate, ive tried it with vpn an then do proxy like u write in github. thanks

Sorry, I would like to ask again, can the ddgs library use SSL certificates? I encountered an error: 'ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002).


crypto/tls: Add support for Certificate Transparency TLS extension

I'd like to be able to serve SCTs via the TLS extension with crypto/tls, similar to how the Certificate struct supports an OCSPStaple. I'm happy to put it together and submit a CL if the feature would be accepted.
/cc @agl

Adam, does this sound reasonable to you? Thanks.

Yes, this is reasonable and very similar to OCSP stapling that's currently supported.

https://go-review.googlesource.com/8988


feat: store artifacts in cache by default

Description
Store DBs and checks bundle in the cache by default by using actions/cache to mitigate 429 TOOMANYREQUESTS.

Rewrite a docker action to a composite action

Remove Dockerfile

Use actions/cache to store DBs and checks bundle in cache
Update inputs

Set the default value to cache-dir
Add version
Delete unused artifact-type

Fix tests

It took me a while to understand why this test failed, while the run of entrypoint.sh succeeded, so I'm leaving it as a note: the checks bundle download fails due to GHCR's rate limit and falls back to the embedded checks. However, there is a difference between the embedded checks and the checks in GHCR, which also results in a difference in the results and causes this failure.
If the download fails, it should not fall back so that the execution fails and the failure of the test can be more easily understood.

It took me a while to understand why this test failed, while the run of entrypoint.sh succeeded, so I'm leaving it as a note: the checks bundle download fails due to GHCR's rate limit and falls back to the embedded checks. However, there is a difference between the embedded checks and the checks in GHCR, which also results in a difference in the results and causes this failure.

You're right but this is a one off case for the difference between what it downloads vs what's embedded as we're just transitioning to using the v1 checks bundle. This was just updated in the action.

@knqyf263 do you have a test run where we can see the output?

Yes, I have.
https://github.com/knqyf263/trivy-action-test/actions/runs/11214873483/job/31170976150
However, this PR is making changes that will rewrite this action almost from scratch, and I would like to ask you guys (@simar7 and @DmitriyLewen ) to test it carefully in your own repositories. Since I'm not familiar with trivy-action, I'm really afraid of breaking something.

@knqyf263 do you have a test run where we can see the output?

Yes, I have. https://github.com/knqyf263/trivy-action-test/actions/runs/11214873483/job/31170976150
However, this PR is making changes that will rewrite this action almost from scratch, and I would like to ask you guys (@simar7 and @DmitriyLewen ) to test it carefully in your own repositories. Since I'm not familiar with trivy-action, I'm really afraid of breaking something.

I also tested it. Seems to be fine, you can see some tests here https://github.com/simar7/trivy-action-composite-test/actions - which indicate the cache was hit.

Hey, This PR seems to cause a small breaking change for us. for with: template we used<EMAIL_ADDRESS>but we had to rename this to "${{ github.workspace }}/.github/workflows/trivy_markdown_template.tpl"

I've tested it with v0.25.0, but got an error.
2024-10-10T11:17:55Z	FATAL	Fatal error	report error: unable to write results: failed to initialize template writer: error retrieving template from path: open /github/workspace/.github/workflows/html.tpl: no such file or directory

      - uses: actions/checkout@v4
      - uses<EMAIL_ADDRESS>        with:
          scan-type: 'image'
          image-ref: 'jenkins:2.60.3'
          format: 'template'
          template<EMAIL_ADDRESS>
Where does your template (Ptrivy_markdown_template.tpl) come from? If it's from your repository, how is it located under /github/workspace/.github/workflows`?

Yes, it's something that's located in our repo under .github/workflows/trivy_markdown_template.tpl.
We use the following template:
{{- if . }}
{{- range . }}

Target {{ escapeXML .Target }}

{{- if (and (eq (len .Vulnerabilities) 0) (eq (len .Misconfigurations) 0) (eq (len .Secrets) 0)) }}

Nothing found

{{- else }}
{{- if (gt (len .Vulnerabilities) 0) }}

Vulnerabilities ({{ len .Vulnerabilities }})

        Package
        ID
        Severity
        Installed Version
        Fixed Version

    {{- range .Vulnerabilities }}

        {{ escapeXML .PkgName }}
        {{ escapeXML .VulnerabilityID }}
        {{ escapeXML .Severity }}
        {{ escapeXML .InstalledVersion }}
        {{ escapeXML .FixedVersion }}

    {{- end }}

{{- end }}
{{- if (gt (len .Misconfigurations ) 0) }}

Misconfigurations ({{ len .Misconfigurations }})

        Type
        ID
        Check
        Severity
        Message

    {{- range .Misconfigurations }}

        {{ escapeXML .Type }}
        {{ escapeXML .ID }}
        {{ escapeXML .Title }}
        {{ escapeXML .Severity }}

          {{ escapeXML .Message }}

{{ escapeXML .PrimaryURL }}

    {{- end }}

{{- end }}
{{- if (gt (len .Secrets ) 0) }}

Secrets ({{ len .Secrets }})

        Type
        ID
        Severity
        Lines
        Match

    {{- range .Secrets }}

        {{ escapeXML (toString .Category) }}
        {{ escapeXML .RuleID }}
        {{ escapeXML .Severity }}
        {{ escapeXML (toString .StartLine) }}-{{ escapeXML (toString .EndLine) }}
        {{ escapeXML .Match }}

    {{- end }}

{{- end }}
{{- end }}
{{- end }}
{{- else }}

Trivy Returned Empty Report

{{- end }}

Honestly, I don't understand why it used to work in your environment. I tested it, but the directory doesn't exist.
ls: cannot access '/github/workspace': No such file or directory

Could you share a small snippet that has started to cause errors after this change?

Hey, thnx for looking into this. I just did another test to confirm and this script works on 0.25.0 but doesn't on 0.26.0.
name: Scan image
on:
  push:
    branches:
      - bug/trivy-broke
jobs:
  build-and-push-image:
    runs-on: ubuntu-latest
    # These permissions are needed to interact with GitHub's OIDC Token endpoint.
    permissions:
      id-token: write
      contents: read
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v4
        with:
          role-to-assume: REDACTED
          aws-region: eu-north-1

      - name: Login to Amazon ECR Private
        id: login-ecr
        uses: aws-actions/amazon-ecr-login@v2

      - name: Vulnerability scan (fixed and non-fixed)
        uses<EMAIL_ADDRESS>        env:
          TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
        with:
          image-ref: 'REDACTED'
          format: 'template'
          # Manually downloaded the template from the Trivy GitHub repo since it is somehow not found by default
          template<EMAIL_ADDRESS>          output: 'report.html'
          severity: 'HIGH,CRITICAL'
          timeout: '12m'

      - uses: actions/upload-artifact@v4
        id: artifact-upload-step
        with:
          name: vulnerabilities-report
          path: report.html

      - name: Vulnerability scan (only fixed)
        uses<EMAIL_ADDRESS>        env:
          TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
        with:
          image-ref: 'REDACTED'
          format: 'template'
          # Manually downloaded this custom template from this PR: https://github.com/aquasecurity/trivy/issues/3201
          template<EMAIL_ADDRESS>          output: 'report.md'
          severity: 'HIGH,CRITICAL'
          ignore-unfixed: true # Only show the ones that we are able to fix. The full report is still available in HTML format.
          timeout: '12m'

      - name: Publish scan summary
        run: |
          if [[ -s report.md ]]; then
            {
              echo "### Trivy Vulnerability Scan 🔍"
              echo "[Full report (fixed and non-fixed vulnerabilities)](${{ steps.artifact-upload-step.outputs.artifact-url }})"
              echo "Summarized report (only fixed vulnerabilities)"
              echo ""
              cat report.md
              echo ""
            } >> $GITHUB_STEP_SUMMARY
          fi

I took a look at your run and I think it failed while running the following command and thus didn't get to the trivy command. Perhaps you could try rerunning the action without this step?
pwd
  ls -l
  ls -l /github/workspace
  ls -l /github/workspace/.github/workflows

Perhaps you could try rerunning the action without this step?

Trivy failed, then I added them for debugging.

Strange, so for me the configuration I gave works with<EMAIL_ADDRESS>but not with<EMAIL_ADDRESS>It's not too important for me too get fixed since it works now fine after renaming @/github/workspace/ to @${{ github.workspace }}

After some googling I found that github actions set the WORKDIR in a container automatically to /github/workspace/ https://stackoverflow.com/questions/77871301/how-to-solve-error-cannot-find-module-in-custom-dockerfile-based-github-actions
Maybe that's the reason?

Trivy is a verified creator on GitHub Actions, so organizations that only allow verified actions in their repositories can use Trivy. Except now Trivy depends on jaxxstorm/action-install-gh-release which is not an action from a verified creator, so now any repositories that require actions to be from verified creators are encountering this error when trying to run the Trivy action:
Error: Bad request -<EMAIL_ADDRESS>is not allowed to be used in <repository name>. Actions in this workflow must be: within a repository owned by <repository account name>, created by GitHub, or verified in the GitHub Marketplace.

By including a dependency on jaxxstorm/action-install-gh-release the Trivy action has broken the trust relationship established by their verified creator status, and broken any GitHub Action pipelines that relied on that.

Hello @markbaird
We are already working on setup-trivy v0.2.0 without using jaxxstorm/action-install-gh-release

@SimonRelu I copied your workflow file and deleted some unnecessary steps.
https://github.com/knqyf263/trivy-action-test/blob/main/.github/workflows/test.yaml
I also put the template file.
https://github.com/knqyf263/trivy-action-test/blob/main/.github/workflows/trivy_markdown_template.tpl
However, it still failed with v0.25.0.
2024-10-11T06:56:20Z	FATAL	Fatal error	report error: unable to write results: failed to initialize template writer: error retrieving template from path: open /github/workspace/.github/workflows/trivy_html_template.tpl: no such file or directory

https://github.com/knqyf263/trivy-action-test/actions/runs/11287781686/job/31394298976
Any ideas? Do aws-actions/configure-aws-credentials@v4 or aws-actions/amazon-ecr-login@v2 happen to do something?


Implement Semigroup for base >= 4.9

Need to implement Semigroup apart from Monoid for base >= 4.9 as in the example below:
#if MIN_VERSION_base(4,9,0)
instance Semigroup ByteString where
    (<>)    = append
#endif

See migration guide for GHC 8.0:
https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0


Unable to extract uploader id?

Checklist

[ x] I'm reporting a broken site support issue
[x ] I've verified that I'm running youtube-dl version 2021.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar bug reports including closed ones
[x ] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-x', '--audio-format', 'm4a', 'https://www.youtube.com/watch?v=mUP6CaWyaro', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: ffmpeg 2022-10-24-git-d79c240196-essentials_build-www.gyan.dev, ffprobe 2022-10-24-git-d79c240196-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] mUP6CaWyaro: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Used command "youtube-dl -x --audio-format m4a https://www.youtube.com/watch?v=mUP6CaWyaro" and got the error message when I added "--verbose". Help grealty appreciated

same with a normal download, happens on every video I tried

Same issue:
john@M21:~/dwhelper$ youtube-dl --verbose https://www.youtube.com/watch?v=LMo_G1TMF2w
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=LMo_G1TMF2w']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.6 (CPython) - Linux-5.19.0-40-generic-x86_64-with-glibc2.35
[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] LMo_G1TMF2w: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Help yourself (yourselves) by reading and following #30839.

[x] I've searched the bugtracker for similar bug reports including closed ones

Doing that according to the recommendations in #30839 would have helped but shouldn't have been necessary.

[x] I've read bugs section in FAQ

Apply this.

Help yourself (yourselves) by reading and following #30839.

[x] I've searched the bugtracker for similar bug reports including closed ones

Doing that according to the recommendations in #30839 would have helped but shouldn't have been necessary.

[x] I've read bugs section in FAQ

Apply this.

Sounds great. Old guy and literally the first time I've used GitHub. I haven't found squat - if you'd like to point me to the thread instead of the "READ ME FIRST" post, which I did and tried to follow, then that'd be extra helpful.

Your error message

... Unable to extract uploader id ...

Currently the issue you should have found, as well as being listed in the pinned issue, is in the first page of these results and is the top issue when in:title is added to search terms.


Fails when Docker is not running

When running cookiecutter-plone-starter without Docker daemon running it fails:
pipx run cookiecutter gh:collective/cookiecutter-plone-starter
⚠  cookiecutter is already on your PATH and installed at
    /opt/homebrew/bin/cookiecutter. Downloading and running anyway.
You've downloaded /Users/timo/.cookiecutters/cookiecutter-plone-starter before. Is
it okay to delete and re-download it? [y/n] (y): y

Cookiecutter Plone Starter
================================================================================

Sanity checks
--------------------------------------------------------------------------------
  [1/5] Python: ✓
  [2/5] Node: ✓
  [3/5] yo: ✓
  [4/5] Docker: ✓
  [5/5] git: ✓

Project details
--------------------------------------------------------------------------------

  [1/19] Project Title (Project Title): Plone Distribution EDU (Frontend)
  [2/19] Project Description (A new project using Plone 6.):
  [3/19] Project Slug (Used for repository id) (plone-distribution-edu-frontend):
  [4/19] Project URL (without protocol)
(plone-distribution-edu-frontend.example.com):
  [5/19] Author (Plone Foundation):
  [6/19] Author E-mail (collective@plone.org):
  [7/19] Python Package Name (plone_distribution_edu_frontend):
  [8/19] Volto Addon Name (volto-plone-distribution-edu-frontend):
  [9/19] Choose a Python Test Framework
    1 - pytest
    2 - unittest
    Choose from [1/2] (1):
  [10/19] Plone Version (6.0.10):
  [11/19] Should we use Volto Alpha Versions? (No): Yes
  [12/19] Volto Version (18.0.0-alpha.18):
  [13/19] Volto Generator Version (9.0.0-alpha.9):
  [14/19] Language
    1 - English
    2 - Deutsch
    3 - Español
    4 - Português (Brasil)
    5 - Nederlands
    6 - Suomi
    Choose from [1/2/3/4/5/6] (1): 2
  [15/19] GitHub Username or Organization (collective):
  [16/19] Container Registry
    1 - GitHub Container Registry
    2 - Docker Hub
    Choose from [1/2] (1):
  [17/19] Should we setup a caching server?
    1 - Yes
    2 - No
    Choose from [1/2] (1):
  [18/19] Add Ansible playbooks?
    1 - Yes
    2 - No
    Choose from [1/2] (1):
  [19/19] Add GitHub Action to Deploy this project?
    1 - Yes
    2 - No
    Choose from [1/2] (1):

Plone Distribution EDU (Frontend) generation
--------------------------------------------------------------------------------

Summary:
  - Plone version: 6.0.10
  - Volto version: 18.0.0-alpha.18
  - Volto Generator version: 9.0.0-alpha.9
  - Output folder: /Users/timo/workspace/plone/plone-distribution-edu-frontend

Frontend codebase:
 - Installing required npm packages
 - Generate frontend application with @plone/volto 18.0.0-alpha.18

Backend codebase
 - Remove folder src/plone_distribution_edu_frontend/src/plone_distribution_edu_frontend/tests not used by pytest
 - Format generated code in the backend

Error while running ['make', 'format']:
docker: Cannot connect to the Docker daemon at unix:///Users/timo/.docker/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
make: *** [format] Error 125

ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)
➜  plone ls

It would be super nice if there would be a check up-front that checks if Docker is running or if cookiecutter would not fail but wait for you to start docker.

Duplicate of #79