Ticket #20 (closed defect: invalid)

Opened 7 years ago

Last modified 3 years ago

sys_path in Paste/paste/app_templates/webkit_zpt_tmpl/template/server.conf is not set correctly

Reported by: stephan.diehl@… Owned by: ianb
Priority: normal Milestone:
Component: paste Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

line 10 of /path/to/Paste/paste/app_templates/webkit_zpt_tmpl/template/server.conf reads

sys_path = [os.path.dirname(here)]

'here' is not in namespace and therefore the resulting application can't be started.

Errormsg:

[stephan@bach pastetest]$ python2.4 /home/stephan/projects/Paste/scripts/paster.py serve
Traceback (most recent call last):
  File "/home/stephan/projects/Paste/scripts/paster.py", line 18, in ?
    sys.exit(app_setup.run(sys.argv))
  File "/home/stephan/projects/Paste/paste/app_setup.py", line 91, in run
    server_conf_fn, name, dir, mod = find_template_info(args)
  File "/home/stephan/projects/Paste/paste/app_setup.py", line 50, in find_template_info
    server_conf_fn, template_name = find_template_config(args)
  File "/home/stephan/projects/Paste/paste/app_setup.py", line 86, in find_template_config
    conf.load(conf_fn)
  File "/home/stephan/projects/Paste/paste/pyconfig.py", line 157, in load
    namespace = self.read_file(filename)
  File "/home/stephan/projects/Paste/paste/pyconfig.py", line 114, in read_file
    exec content in namespace
  File "<string>", line 10, in ?
NameError: name 'here' is not defined

Change History

Changed 6 years ago by ianb

  • status changed from new to closed
  • resolution set to invalid

this no longer exists.

Changed 6 years ago by anonymous

World of Warcraft gold( wow gold)--buy cheap,sell  wow gold.welcome to buy cheap --cheap, easy, purchasing.World of Warcraft,Super fastdelivery of gold, items,and accounts

 膜结构

Note: See TracTickets for help on using tickets.