tebowy / openipam

Automatically exported from code.google.com/p/openipam
0 stars 0 forks source link

start for fist time error #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run ./openIPAM/openipamd i have this messages

Starting openIPAM version 0.1.0 on port 8080
/usr/lib/python2.6/dist-packages/sqlalchemy/engine/url.py:99: 
SADeprecationWarning: The SQLAlchemy PostgreSQL dialect has been renamed from 
'postgres' to 'postgresql'. The new URL format is 
postgresql[+driver]://<user>:<pass>@<host>/<dbname>
  module = __import__('sqlalchemy.dialects.%s' % (dialect, )).dialects
Traceback (most recent call last):
  File "./openIPAM/openipamd", line 163, in <module>
    start_server()
  File "./openIPAM/openipamd", line 120, in start_server
    root = get_api_mapping()
  File "./openIPAM/openipamd", line 112, in get_api_mapping
    from openipam.backend.webservices.xmlrpc import MainWebService
  File "/usr/local/openipam/openIPAM/openipam/backend/webservices/xmlrpc.py", line 38, in <module>
    from openipam.config import auth
  File "/usr/local/openipam/openIPAM/openipam/config/auth.py", line 43, in <module>
    from openipam.backend.db import interface
  File "/usr/local/openipam/openIPAM/openipam/backend/db/interface.py", line 28, in <module>
    import obj
  File "/usr/local/openipam/openIPAM/openipam/backend/db/obj.py", line 47, in <module>
    structured_attributes_to_hosts = Table('structured_attributes_to_hosts', meta, autoload=True)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/schema.py", line 209, in __new__
    table._init(name, metadata, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/schema.py", line 265, in _init
    reflecttable(self, include_columns=include_columns)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1776, in reflecttable
    self.dialect.reflecttable(conn, table, include_columns)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/default.py", line 217, in reflecttable
    return insp.reflecttable(table, include_columns)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/reflection.py", line 376, in reflecttable
    for col_d in self.get_columns(table_name, schema, **tblkw):
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/reflection.py", line 223, in get_columns
    **kw)
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/reflection.py", line 40, in cache
    ret = fn(self, con, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/dialects/postgresql/base.py", line 961, in get_columns
    info_cache=kw.get('info_cache'))
  File "<string>", line 1, in <lambda>
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/reflection.py", line 40, in cache
    ret = fn(self, con, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/dialects/postgresql/base.py", line 875, in get_table_oid
    raise exc.NoSuchTableError(table_name)
sqlalchemy.exc.NoSuchTableError: structured_attributes_to_hosts

2. execute ./openIPAM/openipam_webd i have

  ./openIPAM/openipam_webd
Reading configuration...
Signal handling: using default behavior (safe for now).
Starting in foreground mode.
Starting openIPAM version 0.1.0 on port 8443
[23/Feb/2012:19:14:31] ENGINE Listening for SIGHUP.
[23/Feb/2012:19:14:31] ENGINE Listening for SIGTERM.
[23/Feb/2012:19:14:31] ENGINE Listening for SIGUSR1.
[23/Feb/2012:19:14:31] ENGINE Bus STARTING
[23/Feb/2012:19:14:31] ENGINE Started monitor thread '_TimeoutMonitor'.
[23/Feb/2012:19:14:31] ENGINE Started monitor thread 'Autoreloader'.
[23/Feb/2012:19:14:32] ENGINE Serving on 0.0.0.0:8443
[23/Feb/2012:19:14:32] ENGINE Bus STARTED
[23/Feb/2012:19:14:41] HTTP 

3. when acces to the interface i have

500 Internal Server Error

The server encountered an unexpected condition which prevented it from 
fulfilling the request.

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/cherrypy/_cprequest.py", line 633, in respond
    self.namespaces(self.config)
  File "/usr/local/lib/python2.6/dist-packages/cherrypy/lib/reprconf.py", line 115, in __call__
    exit(None, None, None)
  File "/usr/local/lib/python2.6/dist-packages/cherrypy/_cptools.py", line 446, in __exit__
    tool = getattr(self, name)
AttributeError: 'Toolbox' object has no attribute 'cgitb'

Powered by CherryPy 3.2.2 

What version of the product are you using? On what operating system?

Debian 6 Squeeze

Original issue reported on code.google.com by angelito...@gmail.com on 24 Feb 2012 at 12:27