Should post a screenshot on the first page.
Also the download link is no good for Chrome users.
Perhaps use
http://www.datafilehost.com/ instead please ?
rascalli and splnut you both simply need to install cherrypy via:
Code: Select all
sudo apt-get install python-cherrypy3
Ok here is what I got. Running on Ubuntu 11.04 Server:
Code: Select all
rob@RobsUbuntuServer:~/Desktop/MovieGrabber$ python MovieGrabber.py
[15/Aug/2011:23:03:15] ENGINE Listening for SIGHUP.
[15/Aug/2011:23:03:15] ENGINE Listening for SIGTERM.
[15/Aug/2011:23:03:15] ENGINE Listening for SIGUSR1.
[15/Aug/2011:23:03:15] ENGINE Bus STARTING
CherryPy Checker:
'/home/rob/Desktop/MovieGrabber/interfaces\\classic\\templates\\static\\javascript' (root + dir) is not an existing filesystem path.
section: [/javascript]
root: '/home/rob/Desktop/MovieGrabber'
dir: 'interfaces\\classic\\templates\\static\\javascript'
CherryPy Checker:
'/home/rob/Desktop/MovieGrabber/interfaces\\classic\\templates\\static\\stylesheets' (root + dir) is not an existing filesystem path.
section: [/stylesheets]
root: '/home/rob/Desktop/MovieGrabber'
dir: 'interfaces\\classic\\templates\\static\\stylesheets'
[15/Aug/2011:23:03:15] ENGINE Started monitor thread 'Monitor'.
[15/Aug/2011:23:03:15] ENGINE Started monitor thread '_TimeoutMonitor'.
[15/Aug/2011:23:03:20] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x1942e10>>
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 53, in start
wait_for_free_port(*self.bind_addr)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 251, in wait_for_free_port
raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 80 not free on '127.0.0.1'
[15/Aug/2011:23:03:20] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 53, in start
wait_for_free_port(*self.bind_addr)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 251, in wait_for_free_port
raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 80 not free on '127.0.0.1'
[15/Aug/2011:23:03:20] ENGINE Bus STOPPING
[15/Aug/2011:23:03:20] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 80)) already shut down
[15/Aug/2011:23:03:20] ENGINE Stopped thread 'Monitor'.
[15/Aug/2011:23:03:20] ENGINE Stopped thread '_TimeoutMonitor'.
[15/Aug/2011:23:03:20] ENGINE Bus STOPPED
[15/Aug/2011:23:03:20] ENGINE Bus EXITING
[15/Aug/2011:23:03:20] ENGINE Bus EXITED
Traceback (most recent call last):
File "MovieGrabber.py", line 3960, in <module>
ErrorLogging("Webui Function")
File "MovieGrabber.py", line 3956, in <module>
start_webgui()
File "MovieGrabber.py", line 3842, in start_webgui
cherrypy.quickstart(HomeRoot(), config = webconfig_ini)
File "/usr/lib/pymodules/python2.7/cherrypy/__init__.py", line 248, in quickstart
engine.start()
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 53, in start
wait_for_free_port(*self.bind_addr)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 251, in wait_for_free_port
raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 80 not free on '127.0.0.1'
Of course you should NOT use port 80. A lot of use are running web servers.
Please use a different port by default and please allow the user to specify via the command line what port to use. I tried changing line 250 to a different port, but has no effect it seems.
And looks like you used the wrong slashes a few times and too many as well. Thus you get bad paths and files go all over the place. Whoops!!
So I stopped nginx and tried again. I then get:
Code: Select all
rob@RobsUbuntuServer:~/Desktop/MovieGrabber$ python MovieGrabber.py
[15/Aug/2011:23:15:26] ENGINE Listening for SIGHUP.
[15/Aug/2011:23:15:26] ENGINE Listening for SIGTERM.
[15/Aug/2011:23:15:26] ENGINE Listening for SIGUSR1.
[15/Aug/2011:23:15:26] ENGINE Bus STARTING
CherryPy Checker:
'/home/rob/Desktop/MovieGrabber/interfaces\\classic\\templates\\static\\javascript' (root + dir) is not an existing filesystem path.
section: [/javascript]
root: '/home/rob/Desktop/MovieGrabber'
dir: 'interfaces\\classic\\templates\\static\\javascript'
CherryPy Checker:
'/home/rob/Desktop/MovieGrabber/interfaces\\classic\\templates\\static\\stylesheets' (root + dir) is not an existing filesystem path.
section: [/stylesheets]
root: '/home/rob/Desktop/MovieGrabber'
dir: 'interfaces\\classic\\templates\\static\\stylesheets'
[15/Aug/2011:23:15:26] ENGINE Started monitor thread 'Monitor'.
[15/Aug/2011:23:15:26] ENGINE Started monitor thread '_TimeoutMonitor'.
[15/Aug/2011:23:15:26] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 73, in _start_http_thread
self.httpserver.start()
File "/usr/lib/pymodules/python2.7/cherrypy/wsgiserver/__init__.py", line 1596, in start
raise socket.error, msg
error: [Errno 13] Permission denied
[15/Aug/2011:23:15:26] ENGINE Bus STOPPING
[15/Aug/2011:23:15:26] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 80)) already shut down
[15/Aug/2011:23:15:26] ENGINE Stopped thread 'Monitor'.
[15/Aug/2011:23:15:26] ENGINE Stopped thread '_TimeoutMonitor'.
[15/Aug/2011:23:15:26] ENGINE Bus STOPPED
[15/Aug/2011:23:15:26] ENGINE Bus EXITING
[15/Aug/2011:23:15:26] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 73, in _start_http_thread
self.httpserver.start()
File "/usr/lib/pymodules/python2.7/cherrypy/wsgiserver/__init__.py", line 1596, in start
raise socket.error, msg
error: [Errno 13] Permission denied
[15/Aug/2011:23:15:26] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x2291e10>>
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 60, in start
self.wait()
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 95, in wait
raise self.interrupt
error: [Errno 13] Permission denied
[15/Aug/2011:23:15:26] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 60, in start
self.wait()
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 95, in wait
raise self.interrupt
error: [Errno 13] Permission denied
[15/Aug/2011:23:15:26] ENGINE Bus STOPPING
[15/Aug/2011:23:15:26] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 80)) already shut down
[15/Aug/2011:23:15:26] ENGINE No thread running for Monitor.
[15/Aug/2011:23:15:26] ENGINE No thread running for _TimeoutMonitor.
[15/Aug/2011:23:15:26] ENGINE Bus STOPPED
[15/Aug/2011:23:15:26] ENGINE Bus EXITING
[15/Aug/2011:23:15:26] ENGINE Bus EXITED
Traceback (most recent call last):
File "MovieGrabber.py", line 3960, in <module>
ErrorLogging("Webui Function")
File "MovieGrabber.py", line 3956, in <module>
start_webgui()
File "MovieGrabber.py", line 3842, in start_webgui
cherrypy.quickstart(HomeRoot(), config = webconfig_ini)
File "/usr/lib/pymodules/python2.7/cherrypy/__init__.py", line 248, in quickstart
engine.start()
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 60, in start
self.wait()
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 95, in wait
raise self.interrupt
socket.error: [Errno 13] Permission denied
rob@RobsUbuntuServer:~/Desktop/MovieGrabber$
Too scared to run with sudo at the moment.