Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1472 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

Error when updating TG project to TG 1.0.3.2: NameMapper.NotFound: cannot find 'elixir'

Reported by: mikl Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version: 1.0.3
Severity: normal Keywords:
Cc:

Description

Repost of  http://groups.google.com/group/turbogears/browse_thread/thread/1c8878a1c3ed0608

Sorry for posting this here, but Trac appears to be down (again), but I have a problem updating my project.

The project is SQLAlchemy/Genshi (getting ready for TG 2.0) based using stock TurboGears identity. I have Elixir installed, although I'm not using it in this project.

This is on Mac OS X.

When doing tg-admin update I get a traceback like this:

[...]
Replace 3656 bytes with 1745 bytes (56/98 lines changed; 51 lines
removed)
Overwrite ../TurboMailMaster/turbomailmaster/controllers.py [y/n/d/
B/?] n
    ../TurboMailMaster/turbomailmaster/json.py already exists (same
content)
Error in file /Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/turbogears/
qstemplates/quickstart/+package+/model.py_tmpl:
Traceback (most recent call last):
  File "/usr/local/bin/tg-admin", line 8, in <module>
    load_entry_point('TurboGears==1.0.3.2', 'console_scripts', 'tg-
admin')()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/turbogears/
command/base.py", line 389, in main
    command.run()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/turbogears/
command/quickstart.py", line 280, in run
    command.run(cmd_args)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
command.py", line 210, in run
    result = self.command()
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
create_distro.py", line 125, in command
    template, output_dir, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
create_distro.py", line 167, in create_template
    template.run(self, output_dir, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/TurboGears-1.0.3.2-py2.5.egg/turbogears/
command/quickstart.py", line 33, in run
    super(TGTemplate, self).run(command, output_dirs, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
templates.py", line 57, in run
    self.write_files(command, output_dir, vars)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
templates.py", line 126, in write_files
    template_renderer=self.template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
copydir.py", line 94, in copy_dir
    svn_add=svn_add, template_renderer=template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
copydir.py", line 103, in copy_dir
    template_renderer=template_renderer)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
copydir.py", line 279, in substitute_content
    return careful_sub(tmpl, vars, filename)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
copydir.py", line 288, in careful_sub
    return sub_catcher(filename, vars, str, cheetah_template)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/PasteScript-1.3.5-py2.5.egg/paste/script/
copydir.py", line 303, in sub_catcher
    return func(*args, **kw)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/Cheetah-2.0rc8-py2.5-macosx-10.3-fat.egg/
Cheetah/Template.py", line 994, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File
"cheetah_DynamicallyCompiledCheetahTemplate_1186323627_1_59159.py",
line 97, in respond
NameMapper.NotFound: cannot find 'elixir' }}}

Change History

comment:1 Changed 11 years ago by chrisz

  • Status changed from new to closed
  • Resolution set to fixed

This has been fixed in r3638.

Note: See TracTickets for help on using tickets.