configuracion pyrit

Iniciado por budenke1, 4 Abril 2013, 00:57 AM

0 Miembros y 1 Visitante están viendo este tema.

budenke1

Hola estoy intentando tener usar pyrit y al conectarse con mysql me salen estos errores que son parametros que se beden de configurar en un archivo:

File "/usr/local/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 114, in initFromArgv
    options['storage'] = self._getStorage(storage_url)
  File "/usr/local/lib/python2.6/dist-packages/pyrit_cli.py", line 229, in _getStorage
    storage = cpyrit.storage.getStorage(url)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/storage.py", line 132, in getStorage
    return SQLStorage(url)
  File "/usr/local/lib/python2.6/dist-packages/cpyrit/storage.py", line 997, in __init__
    metadata.create_all(self.engine)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/schema.py", line 1811, in create_all
    bind.create(self, checkfirst=checkfirst, tables=tables)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/engine/base.py", line 1129, in create
    self._run_visitor(self.dialect.schemagenerator, entity, connection=connection, **kwargs)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/engine/base.py", line 1154, in _run_visitor
    conn = self.contextual_connect(close_with_result=False)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/engine/base.py", line 1229, in contextual_connect
    return self.Connection(self, self.pool.connect(), close_with_result=close_with_result, **kwargs)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 142, in connect
    return _ConnectionFairy(self).checkout()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 304, in __init__
    rec = self._connection_record = pool.get()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 161, in get
    return self.do_get()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 642, in do_get
    con = self.create_connection()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 122, in create_connection
    return _ConnectionRecord(self)
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 198, in __init__
    self.connection = self.__connect()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/pool.py", line 261, in __connect
    connection = self.__pool._creator()
  File "/usr/lib/pymodules/python2.6/sqlalchemy/engine/strategies.py", line 80, in connect
    raise exc.DBAPIError.instance(None, None, e)
sqlalchemy.exc.OperationalError: (OperationalError) (1049, "Unknown database 'pyrit'") None None


si alguien sabe como puede solucionarse.