0.5.0beta1 failing on Ubuntu 9.10

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
TinCanFury
Newbie
Newbie
Posts: 35
Joined: December 10th, 2009, 3:49 pm

0.5.0beta1 failing on Ubuntu 9.10

Post by TinCanFury »

from the tarball package,
when I try and run as a -d I get in the log:
2009-12-10 15:47:09,588::ERROR::[misc:968] Error creating SSL key and certificate
2009-12-10 15:47:09,588::WARNING::[SABnzbd:1071] Disabled HTTPS because of missing CERT and KEY files
2009-12-10 15:47:09,590::ERROR::[SABnzbd:233] Failed to start web-interface



from the command line I get

$ ./SABnzbd.py
2009-12-10 15:50:51,605::ERROR::[misc:968] Error creating SSL key and certificate
2009-12-10 15:50:51,606::WARNING::[SABnzbd:1071] Disabled HTTPS because of missing CERT and KEY files
[10/Dec/2009:15:50:51] ENGINE Bus STARTING                                                         
[10/Dec/2009:15:50:51] ENGINE Started monitor thread '_TimeoutMonitor'.                             
[10/Dec/2009:15:50:51] ENGINE Serving on 192.168.1.155:8080                                         
[10/Dec/2009:15:50:51] ENGINE Bus STARTED                                                           
2009-12-10 15:50:53,484::ERROR::[misc:215] Cannot create directory /opt/SABnzbd-0.5.0Beta1/admin   
[10/Dec/2009:15:50:53] ENGINE Error in 'start_thread' listener    
Traceback (most recent call last):                                                                 
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                   
    output.append(listener(*args, **kwargs))                                                       
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db                       
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()                         
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle               
    return HistoryDB(__HISTORY_DB)                                                                 
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__                         
    self.con = sqlite3.connect(db_path)                                                             
OperationalError: unable to open database file                                                     

2009-12-10 15:50:53,486::ERROR::[_cplogging:55] [10/Dec/2009:15:50:53] ENGINE Error in 'start_thread' listener                                                                              
Traceback (most recent call last):                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                             
    output.append(listener(*args, **kwargs))                                                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db                                 
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle                           
    return HistoryDB(__HISTORY_DB)                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__                                     
    self.con = sqlite3.connect(db_path)                                                                       
OperationalError: unable to open database file                                                                 

[10/Dec/2009:15:50:53] ENGINE Error in 'acquire_thread' listener >                                                   
Traceback (most recent call last):                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                             
    output.append(listener(*args, **kwargs))                                                                   
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/plugins.py", line 514, in acquire_thread                     
    self.bus.publish('start_thread', i)                                                                       
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                             
    output.append(listener(*args, **kwargs))                                                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db                                 
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle                           
    return HistoryDB(__HISTORY_DB)                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__                                     
    self.con = sqlite3.connect(db_path)                                                                       
OperationalError: unable to open database file                                                                 

2009-12-10 15:50:53,488::ERROR::[_cplogging:55] [10/Dec/2009:15:50:53] ENGINE Error in 'acquire_thread' listener >   
Traceback (most recent call last):                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                             
    output.append(listener(*args, **kwargs))                                                                   
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/plugins.py", line 514, in acquire_thread                     
    self.bus.publish('start_thread', i)                                                                       
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish                             
    output.append(listener(*args, **kwargs))                                                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db                                 
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()                                   
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle                           
    return HistoryDB(__HISTORY_DB)                                                                             
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__                                     
    self.con = sqlite3.connect(db_path)                                                                       
OperationalError: unable to open database file                                                                 

[10/Dec/2009:15:50:53]  Traceback (most recent call last):
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cpwsgi.py", line 78, in setapp
    self.request = self.get_request()                                 
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cpwsgi.py", line 233, in get_request
    request, resp = self.cpapp.get_serving(local, remote, scheme, sproto)   
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cptree.py", line 112, in get_serving
    cherrypy.engine.publish('acquire_thread')                               
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))                                   
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/plugins.py", line 514, in acquire_thread
    self.bus.publish('start_thread', i)                                                 
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish       
    output.append(listener(*args, **kwargs))                                           
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db           
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()             
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle   
    return HistoryDB(__HISTORY_DB)
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__
    self.con = sqlite3.connect(db_path)
OperationalError: unable to open database file

2009-12-10 15:50:53,490::ERROR::[_cplogging:55] [10/Dec/2009:15:50:53]  Traceback (most recent call last):
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cpwsgi.py", line 78, in setapp
    self.request = self.get_request()
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cpwsgi.py", line 233, in get_request
    request, resp = self.cpapp.get_serving(local, remote, scheme, sproto)
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/_cptree.py", line 112, in get_serving
    cherrypy.engine.publish('acquire_thread')
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/plugins.py", line 514, in acquire_thread
    self.bus.publish('start_thread', i)
  File "/opt/SABnzbd-0.5.0Beta1/cherrypy/process/wspbus.py", line 147, in publish
    output.append(listener(*args, **kwargs))
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/__init__.py", line 153, in connect_db
    cherrypy.thread_data.history_db = sabnzbd.database.get_history_handle()
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 50, in get_history_handle
    return HistoryDB(__HISTORY_DB)
  File "/opt/SABnzbd-0.5.0Beta1/sabnzbd/database.py", line 65, in __init__
    self.con = sqlite3.connect(db_path)
OperationalError: unable to open database file
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.5.0beta1 failing on Ubuntu 9.10

Post by switch »

Launch with -d -f ~/.sabnzbd/sabnzbd.ini
Post Reply