i get the same error when running as a paster command.
this seems like a threading issue (i imagine because globals need to
be available within all request threads in paster), but i would think
there would be a way around this...
---------------------------------------
File "/usr/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')
()
File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/
paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/
paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/
paste/script/command.py", line 218, in run
result = self.command()
File "/home/eleith/dev/diffbot/Webbot/webbot/scripts/gc.py", line
16, in command
print " we are going to clean out old users" + g.smtp
File "/usr/lib/python2.5/site-packages/Paste-1.7.2-py2.5.egg/paste/
registry.py", line 137, in __getattr__
return getattr(self._current_obj(), attr)
File "/usr/lib/python2.5/site-packages/Paste-1.7.2-py2.5.egg/paste/
registry.py", line 194, in _current_obj
'thread' % self.____name__)
TypeError: No object (name: app_globals) has been registered for this
thread
--------------------------------------------------
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---