Hi,
On a fresh quickstarted project, setting tg.scheduler = True on  
config/app.cfg yields the following traceback:

Unhandled exception in thread started by <bound method Server._start  
of <cherrypy._cpserver.Server object at 0x2d6970>>
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/ 
_cpserver.py", line 78, in _start
     Engine._start(self)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/ 
_cpengine.py", line 108, in _start
     func()
   File "/Users/ronald/Documents/PYTHON/TG_1.0/turbogears/ 
startup.py", line 225, in startTurboGears
     turbogears.scheduler._start_scheduler()
AttributeError: 'module' object has no attribute 'scheduler'


Tg-admin info on the same machine (which is kind of broken as well)  
tells the following:

TurboGears requires:

* TurboJson 0.9.2
* simplejson 1.3
* PyProtocols 1.0a0
* kid 0.9.1
* TurboCheetah 0.9.5
* ConfigObj 4.3.1
* TurboGears 0.9a6dev-r1437
* RuleDispatch 0.5a0
* Paste 0.3
* nose 0.8.4
* Cheetah 1.0
* PasteScript 0.5.1
* setuptools 0.6a11
* elementtree 1.2.6
* FormEncode 0.5.1
* SQLObject 0.7.1dev-r1457
* CherryPy 2.2.1
* cElementTree 1.0.5-20051216
* TurboKid 0.9.5
* PasteDeploy 0.3

TurboGears is required by:

Traceback (most recent call last):
   File "/usr/local/bin/tg-admin", line 7, in ?
     sys.exit(
   File "/Users/ronald/Documents/PYTHON/TG_1.0/turbogears/command/ 
base.py", line 275, in main
     command.run()
   File "/Users/ronald/Documents/PYTHON/TG_1.0/turbogears/command/ 
info.py", line 22, in run
     for required in pkg_resources.require(item):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/setuptools-0.6a11-py2.4.egg/ 
pkg_resources.py", line 585, in require
     needed = self.resolve(parse_requirements(requirements))
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/setuptools-0.6a11-py2.4.egg/ 
pkg_resources.py", line 483, in resolve
     raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: shedtest


Another issue I have, is that trying to update/insert records to a  
database from within a scheduled job, doesn't work with SQLite.
I get an error saying something about "only one thread <thread  
number> allowed to access the db, you are thread number <other thread  
number>"
Is there a  special way to do this , or should we add this  
restriction to the scheduler documentation.

Cheers
Ronald



________________________________
Ronald Jaramillo
mail: ronald AT checkandshare DOT com
blog: http://www.checkandshare.com/blog




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to