Comments (13)
I built pendulum 3.0 without the rust extensions. Try to grab this version, remove the .zip
extension, then in your virtualenv run pip install path/to/downloaded/pendulum-3.0.0-py3-none-any.whl
pendulum-3.0.0-py3-none-any.whl.zip (EDIT: I put a broken build up at first, this is now edited to be the proper one.)
This isn't a permanent solution, but might work before we figure a better way.
from flexget.
Hmm, there should be precompiled wheels available. What platform are you on?
from flexget.
you could also try to set the environment variable PENDULUM_EXTENSIONS=0
before building. Either way, report back your platform. If this is a common issue I'd like to make installation go more smoothly somehow.
from flexget.
I tried again while setting PENDULUM_EXTENSIONS=0
before updating but got the same error.
This is on a Raspbian GNU/Linux 11.8 (bullseye) on ARMv7 (armv7l).
from flexget.
Here's the pendulum ticket for this issue. sdispater/pendulum#784
from flexget.
I tried that and it let me upgrade to flexget v3.11.2 but unfortunately then flexget failed to start.
Dec 28 14:53:49 hostmachine systemd[1]: Started FlexGet Daemon.
Dec 28 14:53:52 hostmachine flexget[26349]: Traceback (most recent call last):
Dec 28 14:53:52 hostmachine flexget[26349]: File "/hostpath/flexget/bin/flexget", line 5, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]: from flexget import main
Dec 28 14:53:52 hostmachine flexget[26349]: File "/hostpath/flexget/lib/python3.9/site-packages/flexget/__init__.py", line 11, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]: from flexget.manager import Manager
Dec 28 14:53:52 hostmachine flexget[26349]: File "/hostpath/flexget/lib/python3.9/site-packages/flexget/manager.py", line 37, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]: from flexget.config_schema import ConfigError
Dec 28 14:53:52 hostmachine flexget[26349]: File "/hostpath/flexget/lib/python3.9/site-packages/flexget/config_schema.py", line 15, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]: from flexget.utils import qualities, template
Dec 28 14:53:52 hostmachine flexget[26349]: File "/hostpath/flexget/lib/python3.9/site-packages/flexget/utils/template.py", line 12, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]: import pendulum
Dec 28 14:53:52 hostmachine flexget[26349]: ModuleNotFoundError: No module named 'pendulum'
Dec 28 14:53:52 hostmachine systemd[1]: flexget.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 14:53:52 hostmachine systemd[1]: flexget.service: Failed with result 'exit-code'.
I am going back to a fresh install of flexget==3.10.7 for now and wait it out.
Thank you!
from flexget.
Oops, sorry about that, I made a broken one at first and turns out I uploaded that accidentally. You could run pip uninstall pendulum
in your virtualenv, then try again with the same procedure with this one.
pendulum-3.0.0-py3-none-any.whl.zip
from flexget.
Can everyone having this issue please post what platform you are on here? (what processor and OS) Is everybody with this issue on a 32 bit OS?
from flexget.
I'm experiencing the same or similar problem using Raspberry Pi OS () / 64 bit (Linux raspberryPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 / Raspbian GNU/Linux 11 (bullseye)).
After setting PENDULUM_EXTENSIONS=0, "pip install --upgrade flexget" results in:
Collecting pendulum==3.0.0 (from flexget)
Using cached pendulum-3.0.0.tar.gz (84 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
Γ Preparing metadata (pyproject.toml) did not run successfully.
β exit code: 1
β°β> [10 lines of output]
error: failed to parse manifest at `/tmp/pip-install-8nis1tmv/pendulum_ccb8c1e74cd34af4be45e580ac0b8b8a/rust/Cargo.toml`
Caused by:
invalid type: unit variant, expected string only for key `profile.release.strip`
π₯ maturin failed
Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
Caused by: `cargo metadata` exited with an error:
Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-7zb2146g', '--interpreter', '/usr/bin/python3']' returned non-zero exit status 1.
Checking for Rust toolchain....
Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-7zb2146g --interpreter /usr/bin/python3`
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Γ Encountered error while generating package metadata.
β°β> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
I also downgrade to 3.10.7 for the moment.
Big thanks for your great work and support!
from flexget.
Oops, sorry about that, I made a broken one at first and turns out I uploaded that accidentally. You could run
pip uninstall pendulum
in your virtualenv, then try again with the same procedure with this one. pendulum-3.0.0-py3-none-any.whl.zip
Ah, this one did it, I was able to upgrade and start Flexget: 3.11.2.
Again, thank you!
from flexget.
Just wantet to add, that my problem might be related to the mssion virtal environment. On a second Raspberry Pi (Raspberry Pi Bookworm / 64 bit), flexgte is installed in an virtual environment I was able to update to 3.11.3 without problems.
from flexget.
Related Issues (20)
- Failure to connect to Transmission causes unhandled exception HOT 2
- transmission-rpc version requirements HOT 4
- Passthepopcorn search plugin can crash rather than freshly log in when a saved cookie is bad HOT 2
- Can't talk to my Telegram bot using the Telegram notifier HOT 1
- Feature Request: Develop a plugin for Download Station (Synology) HOT 1
- Plugin imdb fails to filter? HOT 10
- Any way to change the time in "Tasks - Latest Executions" from GMT to local time? HOT 1
- Support newer setuptools HOT 1
- libtorrent package required HOT 5
- Unable to download the RSS tag with YGGTORRENT HOT 1
- IRC Error.
- Can Flexget add or subtract a number from a series ID? HOT 1
- zoneinfo._common.ZoneInfoNotFoundError: tzlocal() does not support non-zoneinfo timezones like Europe/Madrid.
- Season Pack not Being Identified as Such HOT 1
- Duplicate movie lists causing "Multiple rows were found when exactly one was required" HOT 1
- οΌ»I need helpοΌ½
- Unhandled exception in notify/discord
- can't compare offset-naive and offset-aware datetimes HOT 5
- Docker - Cannot connect to transmission: Connection timed out. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexget.