Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
AttributeError: No configuration...using setup-app
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
voltron  
View profile   Translate to Translated (View Original)
 More options 1 July 2007, 22:10
From: voltron <nhy...@googlemail.com>
Date: Sun, 01 Jul 2007 21:10:28 -0000
Local: Sun 1 July 2007 22:10
Subject: AttributeError: No configuration...using setup-app
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
voltron  
View profile   Translate to Translated (View Original)
 More options 1 July 2007, 22:11
From: voltron <nhy...@googlemail.com>
Date: Sun, 01 Jul 2007 21:11:05 -0000
Local: Sun 1 July 2007 22:11
Subject: AttributeError: No configuration...using setup-app
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "AttributeError: No configuration...using setup-app SOLVED" by voltron
voltron  
View profile   Translate to Translated (View Original)
 More options 4 July 2007, 08:31
From: voltron <nhy...@googlemail.com>
Date: Wed, 04 Jul 2007 00:31:14 -0700
Local: Wed 4 July 2007 08:31
Subject: Re: AttributeError: No configuration...using setup-app SOLVED
I had my imports of SAContext in the wrong place

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google