Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion AttributeError: No configuration...using setup-app

View Parsed - Show only message text

Received: by 10.35.18.18 with SMTP id v18mr788994pyi.1183324230085;
        Sun, 01 Jul 2007 14:10:30 -0700 (PDT)
Received: by q69g2000hsb.googlegroups.com with HTTP;
	Sun, 01 Jul 2007 21:10:28 +0000 (UTC)
X-IP: 84.62.10.107
From:  voltron <nhy...@googlemail.com>
To:  pylons-discuss <pylons-discuss@googlegroups.com>
Subject: AttributeError: No configuration...using setup-app
Date: Sun, 01 Jul 2007 21:10:28 -0000
Message-ID: <1183324228.980567.15340@q69g2000hsb.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4,gzip(gfe),gzip(gfe)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

now I=B4m 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 =3D 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 =3D 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 =3D 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 =3D __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 =3D PylonsSAContext()
  File "D:\Projects\Pylons_projects\testsite\testsite\lib
\sacontext.py", line
183, in __init__
    config=3Dconfig)
  File "D:\Projects\Pylons_projects\testsite\testsite\lib
\sacontext.py", line
215, in get_engine_options
    uri, options =3D 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=B4m still getting the error, something
must have been overwritten somewhere, is there a way I can restore my
project?


Thanks


Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google