Comments (5)
Hi, with a standard configuration I'm encountering no issues with supplied CherryPy, both Python 2.x and 3.x don't throw any exceptions.
Do you have further steps to reproduce your problem?
I've got but one idea:
As I see, you've tried to use port 80 for my application, which may have caused this problem.
On my test systems everything is fine as long as I'm using port 8030 but switching to 80 throws an exception:
- on Windows: OSError: No socket could be created: Access denied
- on Synology (Linux): No socket could be created: Address is in use
Both exceptions are legit, as both systems reserve their port 80 for other services.
- Can you confirm this behavior?
- Do you get your error with default settings too?
- Is there a need to use default http port 80 for my application? Are you really sure it's not blocked by an other application? Could it be solved with a router-sided port forwarding instead?
P.S. Sadly, an exception on start won't let you change your port back. To get over this, you must delete the file "settings.db" in the application folder. This will also delete channels and recordings! If you want to keep your data, you can connect to this file using SQLite driver and change it manually or send me your file via E-Mail.
from tvstreamrecord.
The issue is not related to the port configuration. For testing purposes, I created a fresh linux VM (ubuntu 14.04), downloaded the 1.2.0 package and ran it using python2.7 - same result.
The import of the is_closeable_iterator
in cherrypy/_cpwsgi.py:16
fails because of the missing definition (see https://github.com/cherrypy/cherrypy/blob/master/cherrypy/lib/__init__.py vs https://github.com/Pavion/tvstreamrecord/blob/master/cherrypy/lib/__init__.py)
Starting tvstreamrecord v.1.2.0 with Python 2.7
Logging output initialized
Initializing database...
New database created. Thank you for using this package.
Initializing config...
Checking internationalization...
Initializing records...
Initializing EPG import thread...
Starting server on: 0.0.0.0:8030
Traceback (most recent call last):
File "tvstreamrecord.py", line 1163, in <module>
run(host=config.cfg_server_bind_address, port=config.cfg_server_port, server=CherryPyServer, quiet=True)
File "/home/wolverine/aggi/tvstreamrecord-1.2.0/bottle.py", line 3026, in run
server.run(app)
File "/home/wolverine/aggi/tvstreamrecord-1.2.0/bottle.py", line 2666, in run
from cherrypy import wsgiserver
File "/home/wolverine/aggi/tvstreamrecord-1.2.0/cherrypy/__init__.py", line 76, in <module>
from cherrypy import _cptree
File "/home/wolverine/aggi/tvstreamrecord-1.2.0/cherrypy/_cptree.py", line 7, in <module>
from cherrypy import _cpconfig, _cplogging, _cprequest, _cpwsgi, tools
File "/home/wolverine/aggi/tvstreamrecord-1.2.0/cherrypy/_cpwsgi.py", line 16, in <module>
from cherrypy.lib import is_closable_iterator
ImportError: cannot import name is_closable_iterator
from tvstreamrecord.
I've implemented a fix for dead servers (855ab03). Getting an exception on server start should now load a default server 0.0.0.0:8030 instead.
from tvstreamrecord.
Sorry, it seems, my 'lib' folder was excluded from all commits (52f6dc5). Thanks for waking me up! Please test and close this issue, if successful.
from tvstreamrecord.
Seems to work as expected ;)
from tvstreamrecord.
Related Issues (20)
- Zeitzone im EPG HOT 4
- ffmpeg Problem HOT 2
- ffmpeg-Einstellungen HOT 2
- Record rtp stream with ffmpeg HOT 6
- error HOT 2
- add -ignore_unknown parameter for ffmpeg call HOT 2
- MagentaTV playlists
- tvstreamrecord DS 420+ HOT 3
- Synology hat DSM 7.0 gestartet HOT 27
- Backend von TVStreamRecord läuft nicht mehr HOT 3
- Cannot set a password HOT 1
- Synology: using synoindex with Docker
- Recording on DSM7 on Synology DS415play does not run HOT 1
- Support for linux/arm64? HOT 9
- 1 hour delay in recording and multiple files HOT 2
- EPG import fails for xmltv.info HOT 4
- Wrong time from epg automatic records HOT 2
- Docker version 1.6.4 and error http 403 HOT 9
- Not possible to record program again with the TVBrowser TsrPlugin if the recording was deleted in TSR HOT 4
- Feature request: Import m3u channel list also from URL, not just from local file
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 tvstreamrecord.