chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

interface path not found #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Autosub

What is the expected output? What do you see instead?
Error occurs:
Error 500 Internal Server Error - Please refresh! If this error doesn't go away 
(after a few minutes), seek help!

What version of the product are you using? On what operating system?
Latest version, 0.5.6, Mac OS X 10.8

Please provide any additional information below.
Traceback: 
2013-01-10 15:23:48,290 ERROR  scanDir: Could not process the filename properly 
filename: 2012-12-01 23.27.58.mp4
[10/Jan/2013:15:23:48] HTTP 
Request Headers:
  COOKIE: plushContainerWidth=100%25; plushNoTopMenu=0
  HOST: localhost:8083
  CONNECTION: keep-alive
  Remote-Addr: 127.0.0.1
  ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  USER-AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
  ACCEPT-LANGUAGE: en-us
  DNT: 1
  ACCEPT-ENCODING: gzip, deflate
[10/Jan/2013:15:23:48] HTTP Traceback (most recent call last):
  File "/Users/myusername/auto-sub/cherrypy/_cprequest.py", line 656, in respond
    response.body = self.handler()
  File "/Users/myusername/auto-sub/cherrypy/lib/encoding.py", line 188, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/Users/myusername/auto-sub/cherrypy/_cpdispatch.py", line 34, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/Users/myusername/auto-sub/autosub/WebServer.py", line 257, in index
    tmpl = PageTemplate(file="interface/templates/home.tmpl")
  File "/Library/Python/2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/Library/Python/2.7/site-packages/Cheetah-2.4.4-py2.7.egg/Cheetah/Template.py", line 1546, in _compile
    self._fileMtime = os.path.getmtime(file)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 54, in getmtime
OSError: [Errno 2] No such file or directory: 
'/Users/myusername/interface/templates/home.tmpl'

The path is missing the name of the autosub folder, copying the interface 
folder to "/Users/myusername/" solved the issue. 

Original issue reported on code.google.com by maricaux...@gmail.com on 10 Jan 2013 at 2:51

GoogleCodeExporter commented 9 years ago
You probably have your Path configured wrong on the Config page. This is not an 
Auto-Sub issue, otherwise everyone should have it.

Open the configuration file config.properties and make sure that you see:

[config]
path = /Users/myusername/auto-sub/

Original comment by Donny.va...@gmail.com on 10 Jan 2013 at 7:10

GoogleCodeExporter commented 9 years ago
You were right!
Altough I didn't set the path myself...
Anyway, I'm sorry for bothering you with this!

Original comment by maricaux...@gmail.com on 10 Jan 2013 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by romke.va...@gmail.com on 7 Feb 2013 at 11:51