-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deluge build failure. #4
Comments
The link has changed, so above fix not working now. The owner has protected the links for outside downloading without visiting site, so I originally had to use chromium developer console to retrieve the hidden links, but now I see it's changed already sadly. I have retrieved new link now and will post it here, but annoying that it seemingly will get changed again later on. I will think of better solution, but also didn't like just having a copy of the wheels sitting static in the deluge2 folder and so not getting updates. Hmm, atleast if failing then it could be set to fall back to such, but for now here's the new links, which hopefully not will be changed anytime soon: https://download.lfd.uci.edu/pythonlibs/x2tqcw5k/Twisted-%%i-cp%var3%-cp%var3%-win_amd64.whl (Links above don't work standalone and needs the rest of batch file to work - just for others possibly reading this and being confused) Edit: A possible solution could be use gohlkegrabber, which I might add support for later: https://pypi.org/project/gohlkegrabber/ |
I changed to using gohlkegrabber on my end, to avoid issues with links changing:
|
I just noticed deluge build scripts currently will fail building for new users unfortunetly.
The issue I discovered by chance(from linux), is that I found pip caches previously installed wheels and uses when found during install. Two of the needed wheels are currently removed for some reason from pypi in py3.8 versions(sometimes happens and sometimes returns back later, dunno why, but noticed it once previously with other wheel for deluge, which came back later), and so will fail if not having them already in cache(as I did, and you, since you didn't notice before - cache is in %localappdata%\pip\wheels). The missing wheels here, in py3.8 versions needed, is twisted and setproctitle.
I don't know how to set it up to work automatically through msvc to build from source, through pip, when that happens, but instead luckilly a third-party website has most of deluge needed wheels in up to date versions(even py3.9 versions already!), so I personally in my scripts changed to using that website for getting twisted and setproctitle, before installing deluge, so doesn't fail.
I was about to make a PR, but decided against because I use variable names here, which you before stated you change, and also with the already existing PR, editing same files, I was in doubt if would work if merging one PR before the other in wrong order, possible, but could have added them to same PR of-course instead, but whatever, i'll just provide the workaround/fix here instead.
If wanted to use this, then this is what I added to both my deluge-build-scripts, just before the line copying new loaders in-place, and tested working for both deluge versions, which you can use for inspiration possibly, if wanted:
The text was updated successfully, but these errors were encountered: