Ok, this was a PyDev issue. The working directory pointed to Eclipse
dir. As a quick workaround i've done
--
os.chdir('path/to/project/root')
--On Jan 24, 6:57 am, gsmd <[email protected]> wrote: > Hi. > Doing everything as described inhttp://webpy.org/tutorial3;yet got > stuck at templating. I get > -- > Traceback (most recent call last): > File "C:\dev\webpy\application.py", line 206, in process > return self.handle() > File "C:\dev\webpy\application.py", line 196, in handle > return self._delegate(fn, self.fvars, args) > File "C:\dev\webpy\application.py", line 377, in _delegate > return handle_class(cls) > File "C:\dev\webpy\application.py", line 352, in handle_class > return tocall(*args) > File "C:\dev\webpy\myapp.py", line 13, in GET > return render.hello("Templates demo", "Hello", "A long time > ago...", "bla") > File "C:\dev\webpy\template.py", line 965, in __getattr__ > t = self._template(name) > File "C:\dev\webpy\template.py", line 962, in _template > return self._load_template(name) > File "C:\dev\webpy\template.py", line 950, in _load_template > raise AttributeError, "No template named " + name > AttributeError: hello > -- > Running under Pydev + WinXP. > What could be wrong? > > TIA. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
