I added a database defintation, class and mapper to my project, I then
called :
paster setup-app development.ini

now I´m getting this:

D:\Projects\Pylons_projects\testsite>paster setup-app development.ini
Traceback (most recent call last):
  File "C:\Python24\Scripts\paster-script.py", line 7, in ?
    sys.exit(
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\c
ommand.py", line 76, in run
    invoke(command, command_name, options, args[1:])
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\c
ommand.py", line 115, in invoke
    exit_code = runner.run(args)
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\a
ppinstall.py", line 65, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\c
ommand.py", line 210, in run
    result = self.command()
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\a
ppinstall.py", line 451, in command
    installer.setup_config(
  File "c:\python24\lib\site-packages\PasteScript-1.3.4-py2.4.egg\paste
\script\a
ppinstall.py", line 579, in setup_config
    mod = import_string.try_import_module(mod_name)
  File "c:\python24\lib\site-packages\Paste-1.3-py2.4.egg\paste\util
\import_stri
ng.py", line 81, in try_import_module
    return import_module(module_name)
  File "c:\python24\lib\site-packages\Paste-1.3-py2.4.egg\paste\util
\import_stri
ng.py", line 67, in import_module
    mod = __import__(s)
  File "D:\Projects\Pylons_projects\testsite\testsite\websetup.py",
line 2, in
 ?
    from testsite.models import *
  File "D:\Projects\Pylons_projects\testsite\testsite\models
\__init__.py", lin
e 4, in ?
    sac = PylonsSAContext()
  File "D:\Projects\Pylons_projects\testsite\testsite\lib
\sacontext.py", line
183, in __init__
    config=config)
  File "D:\Projects\Pylons_projects\testsite\testsite\lib
\sacontext.py", line
215, in get_engine_options
    uri, options = self.parse_engine_options(config, config_key)
  File "D:\Projects\Pylons_projects\testsite\testsite\lib
\sacontext.py", line
273, in parse_engine_options
    for full_key in config.iterkeys():
  File "c:\python24\lib\site-packages\PasteDeploy-1.3-py2.4.egg\paste
\deploy\con
fig.py", line 101, in __getattr__
    raise AttributeError(
AttributeError: No configuration has been registered for this process
or thread

D:\Projects\Pylons_projects\testsite>


I removed the all databases and I´m still getting the error, something
must have been overwritten somewhere, is there a way I can restore my
project?


Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to