Comments (8)
Applying cherrypy/cherrypy@8245a74 (or use the latest package) and extracting the apscheduler-3.10.1 was enough to get my install working.
I've updated the cherrypy lib to v18.8.0 (which includes this patch) in the develop branch if you want to give it a try
from headphones.
Hi, I've updated the apscheduler lib in the develop branch
from headphones.
Applying cherrypy/cherrypy@8245a74 (or use the latest package) and extracting the apscheduler-3.10.1 was enough to get my install working.
from headphones.
Getting the same error here after upgrading from Python 3.10.7 to 3.11.3.
Running HeadPhones from master
branch on a QNAP NAS:
exec: '. /share/CACHEDEV2_DATA/.qpkg/Headphones/venv/bin/activate && cd /share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache && /share/CACHEDEV2_DATA/.qpkg/Headphones/venv/bin/python3 /share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/Headphones.py --daemon --nolaunch --datadir /share/CACHEDEV2_DATA/.qpkg/Headphones/config --config /share/CACHEDEV2_DATA/.qpkg/Headphones/config/config.ini --pidfile /var/run/Headphones.pid'
Traceback (most recent call last):
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/Headphones.py", line 27, in <module>
from headphones import webstart, logger
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/headphones/__init__.py", line 27, in <module>
import cherrypy
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/cherrypy/__init__.py", line 71, in <module>
from . import _cpdispatch as dispatch
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/cherrypy/_cpdispatch.py", line 209, in <module>
getargspec = inspect.getargspec
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
So, I switched to the develop
branch instead, but then got this:
exec: '. /share/CACHEDEV2_DATA/.qpkg/Headphones/venv/bin/activate && cd /share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache && /share/CACHEDEV2_DATA/.qpkg/Headphones/venv/bin/python3 /share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/Headphones.py --daemon --nolaunch --datadir /share/CACHEDEV2_DATA/.qpkg/Headphones/config --config /share/CACHEDEV2_DATA/.qpkg/Headphones/config/config.ini --pidfile /var/run/Headphones.pid'
Traceback (most recent call last):
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/Headphones.py", line 27, in <module>
from headphones import webstart, logger
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/headphones/__init__.py", line 28, in <module>
from apscheduler.schedulers.background import BackgroundScheduler
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/apscheduler/schedulers/background.py", line 4, in <module>
from apscheduler.schedulers.base import BaseScheduler
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/apscheduler/schedulers/base.py", line 17, in <module>
from apscheduler.jobstores.memory import MemoryJobStore
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/apscheduler/jobstores/memory.py", line 4, in <module>
from apscheduler.util import datetime_to_utc_timestamp
File "/share/CACHEDEV2_DATA/.qpkg/Headphones/repo-cache/lib/apscheduler/util.py", line 5, in <module>
from inspect import isfunction, ismethod, getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/opt/lib/python3.11/inspect.pyc)
[~] # . /share/CACHEDEV2_DATA/.qpkg/Headphones/venv/bin/activate
(venv) [~] # pip list
Package Version
------------ -------
distlib 0.3.6
filelock 3.12.0
pip 23.1.2
platformdirs 3.5.1
setuptools 67.7.2
virtualenv 20.23.0
wheel 0.40.0
Any suggestions please? :)
from headphones.
Hi @rembo10, any idea how I can get the master
branch to run on Python 3.11?
Or should I switch to develop
?
Thank you.
from headphones.
I've hit this issue since upgrading to Ubuntu 23.04. My headphones service wasn't starting, so I've tried clearing out the headphones install and starting from scratch. I get this when trying to run headphones the first time:
`python3 Headphones.py
Traceback (most recent call last):
File "/opt/headphones/Headphones.py", line 27, in
from headphones import webstart, logger
File "/opt/headphones/headphones/init.py", line 27, in
import cherrypy
File "/opt/headphones/lib/cherrypy/init.py", line 71, in
from . import _cpdispatch as dispatch
File "/opt/headphones/lib/cherrypy/_cpdispatch.py", line 209, in
getargspec = inspect.getargspec
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
`
I have Python 3.11.4 installed.
Any ideas on how I get the new install working would be gratefully received. :)
from headphones.
Hey so sorry about this. It's now in the master branch with a new release (v0.6.1)
from headphones.
Hey so sorry about this. It's now in the master branch with a new release (v0.6.1)
No worries, looks to be working now, thank you so much!
from headphones.
Related Issues (20)
- Select as wanted doesn't work HOT 1
- Blackhole and magnet links
- hp as mirror doesn't work HOT 4
- ERROR Response returned invalid JSON data
- Lidarr and credentials HOT 2
- Folder and File Renaming Options - Limit year to 4-digits HOT 1
- Is there an easy wasy to remove entries like this?
- Advanced Setting "Ignore Folders" is being removed during folder scanning HOT 1
- Forgot Credentials HOT 5
- Enable Private Vulnerability Reporting in GitHub HOT 1
- Headphones not working with prowlarr
- Python 3.12 support - headphones does not run because of deprecated ImpImporter HOT 5
- Problem installing on Windows 11 HOT 1
- Invalid Character on import HOT 1
- Where can I get an up-to-date docker container image for headphones? HOT 3
- Empty Database HOT 1
- PTB no longer working HOT 3
- Missing tzdata preventing launch after update HOT 4
- typeerror in postprocessing HOT 4
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 headphones.