I've just upgraded to v0.9.4a and am running into problems with quistarted projects.  After creating a new project and visiting the default welcome page, I get this error (the full stack trace is as the end of the message):

  File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\filter.py", line 31, in apply_matches
item = stream.expand()
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py ", line 95, in expand
for ev, item in self._iter:
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 164, in _track
for p in stream:
File "c:\python24\lib\site-packages\kid- 0.9.1-py2.4.egg\kid\pull.py", line 214, in _coalesce
text += to_unicode(value, encoding)
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 190, in to_unicode
return unicode(value, encoding)
TypeError: unicode() argument 2 must be string, not None

I tried a clean re-install and the error persists.  Any ideas?

I'm in Windows XP, and here's the "tg-admin info" output:

turbogears 0.9a4
nose 0.8.4
ruledispatch 0.5a0.dev-r2115
setuptools 0.6a11
formencode 0.4
celementtree 1.0.5-20051216
pastescript 0.5
elementtree 1.2.6
simplejson 1.3
sqlobject 0.7.1dev-r1675
cherrypy 2.2.1
turbokid 0.9.4
turbojson 0.9.1
pyprotocols 1.0a0dev-r2082
cheetah 1.0
pastedeploy 0.5
paste 0.5
formencode 0.4
kid 0.9.1
elementtree 1.2.6

Thanks,

Sean

Full stack trace:

Page handler: <bound method Root.index of <pagingtool.controllers.Root object at 0x01477D50>>
Traceback (most recent call last):
File "c:\python24\lib\site-packages\CherryPy- 2.2.1-py2.4.egg\cherrypy\_cphttptools.py", line 105, in _run
self.main()
File "c:\python24\lib\site-packages\CherryPy-2.2.1-py2.4.egg\cherrypy\_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, ** self.params)
File "<string>", line 3, in index
File "c:\python24\lib\site-packages\TurboGears-0.9a4-py2.4.egg\turbogears\controllers.py", line 211, in expose
output = database.run_with_transaction (expose._expose,func, accept, allow_json, allow_json_from_config,*args, **kw)
File "c:\python24\lib\site-packages\TurboGears-0.9a4-py2.4.egg\turbogears\database.py", line 216, in run_with_transaction
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "c:\python24\lib\site-packages\TurboGears-0.9a4-py2.4.egg\turbogears\controllers.py", line 232, in <lambda>
expose._expose.when(rule)(lambda _func, accept, allow_json, allow_json_from_config,*args,**kw: _execute_func(
File "c:\python24\lib\site-packages\TurboGears-0.9a4-py2.4.egg\turbogears\controllers.py", line 265, in _execute_func
return _process_output(output, template, format, content_type, mapping, fragment)
File "c:\python24\lib\site-packages\TurboGears-0.9a4-py2.4.egg\turbogears\controllers.py", line 56, in _process_output
mapping=mapping, content_type=content_type,fragment=fragment)
File "c:\python24\lib\site-packages\TurboGears- 0.9a4-py2.4.egg\turbogears\view\base.py", line 131, in render
return engine.render(**kw)
File "c:\python24\lib\site-packages\TurboKid-0.9.4-py2.4.egg\turbokid\kidsupport.py", line 156, in render
return t.serialize(encoding=self.defaultencoding, output=format, fragment=fragment)
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\__init__.py", line 236, in serialize
return serializer.serialize (self, encoding, fragment)
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\serialization.py", line 51, in serialize
text = list(self.generate(stream, encoding, fragment))
File "c:\python24\lib\site-packages\kid- 0.9.1-py2.4.egg\kid\serialization.py", line 327, in generate
for ev, item in self.apply_filters(stream):
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\serialization.py", line 84, in balancing_filter
for ev, item in stream:
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 206, in _coalesce
for ev, item in stream:
File "c:\python24\lib\site-packages\kid- 0.9.1-py2.4.egg\kid\filter.py", line 21, in transform_filter
for ev, item in apply_matches(stream, template, templates, apply_func):
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\filter.py ", line 31, in apply_matches
item = stream.expand()
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 95, in expand
for ev, item in self._iter:
File "c:\python24\lib\site-packages\kid- 0.9.1-py2.4.egg\kid\pull.py", line 164, in _track
for p in stream:
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 214, in _coalesce
text += to_unicode(value, encoding)
File "c:\python24\lib\site-packages\kid-0.9.1-py2.4.egg\kid\pull.py", line 190, in to_unicode
return unicode(value, encoding)
TypeError: unicode() argument 2 must be string, not None


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



Reply via email to