Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion More turbogears/windows woes (?)
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:
Followup To:
Add Cc | Add Followup-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 you hear
 
Alanlit  
View profile  
 More options Aug 16 2006, 5:32 pm
From: "Alanlit" <alan...@gmail.com>
Date: Wed, 16 Aug 2006 21:32:09 -0000
Local: Wed, Aug 16 2006 5:32 pm
Subject: More turbogears/windows woes (?)
[The following behaviour occurs with 0.1.0 and the latest trunk checked
out of SVN].

The turbogears example project still blows up -- when attempting to
render the widget at the bottom of the welcome.html template. I've been
batting this around on and off the whole day with little luck -- any
insights ??

Tnx

Alanl

------------------

Traceback (most recent call last):
  File
"c:\python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptoo ls.py",
line 105, in _run
    self.main()
  File
"c:\python24\lib\site-packages\cherrypy-2.2.1-py2.4.egg\cherrypy\_cphttptoo ls.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.9a8-py2.4.egg\turbogears\contro llers.py",
line 331, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\databa se.py",
line 245, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\contro llers.py",
line 348, in <lambda>
    mapping, fragment, *args, **kw)))
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\contro llers.py",
line 382, in _execute_func
    return _process_output(output, template, format, content_type,
mapping, fragment)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\contro llers.py",
line 74, in _process_output
    fragment=fragment)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\view\b ase.py",
line 132, in render
    return engine.render(**kw)
  File "build\bdist.win32\egg\markup\plugin.py", line 65, in render
  File "build\bdist.win32\egg\markup\core.py", line 92, in render
  File "build\bdist.win32\egg\markup\output.py", line 338, in __call__
  File "build\bdist.win32\egg\markup\output.py", line 498, in next
  File "build\bdist.win32\egg\markup\output.py", line 443, in __call__
  File "build\bdist.win32\egg\markup\core.py", line 149, in _ensure
  File "build\bdist.win32\egg\markup\filters.py", line 147, in __call__
  File "build\bdist.win32\egg\markup\template.py", line 920, in
_flatten
  File "build\bdist.win32\egg\markup\template.py", line 957, in _match
  File "build\bdist.win32\egg\markup\template.py", line 892, in _eval
  File "build\bdist.win32\egg\markup\eval.py", line 86, in evaluate
  File
"C:\usr\python\markup\examples\turbogears\markuptest\templates\welcome.html ",
line 35, in <Expression "ET(widget.display())">
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\widget s\meta.py",
line 107, in lockwidget
    output = self.__class__.display(self, *args, **kw)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\widget s\forms.py",
line 51, in _update_path
    returnval = func(self, *args, **kw)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\widget s\forms.py",
line 225, in display
    return super(InputWidget, self).display(value, **params)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\widget s\base.py",
line 226, in display
    return view.transform(params, template=self.template_c)
  File
"c:\python24\lib\site-packages\TurboGears-0.9a8-py2.4.egg\turbogears\view\b ase.py",
line 137, in transform
    return engine.transform(info, template)
  File "build\bdist.win32\egg\markup\plugin.py", line 70, in transform
  File "build\bdist.win32\egg\markup\plugin.py", line 55, in
load_template
AttributeError: type object 'Template' has no attribute 'rfind'


 
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.