Mark Thomas
unread,Jul 14, 2008, 10:47:00 PM7/14/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tg-registration
Hi everyone,
I've been running a turbogears project for some time and just recently
found out about registration. When I attempted to add registration 0.5
to my project, I get the error stated in the subject of this post. The
trace is included below. Interestingly, the last command to execute
("Copying registration.cfg to ../project_foo\project_foo\config
\registration.cfg") appears to complete successfully: the
registration.cfg file does appear in my yourcoolfried\config\
directory and is identical to the file in the registration
distribution.
Any thoughts very much appreciated.
I am running on Windows XP with Python 2.5 and Turbogears 1.0.4.4
Thanks!
Mark
>tg-admin update -t registration
Selected and implied templates:
turbogears#tgbase tg base template
registration#registration Provides a template for simple user
registraton and
verification.
Variables:
egg: project_foo
elixir: False
identity: sqlobject
package: project_foo
project: project_foo
sqlalchemy: False
sqlobject: True
sqlobjectversion: SQLObject>=0.8,<=0.10.0
Creating template tgbase
Recursing into +einame+.egg-info
Replace 444 bytes with 13 bytes (15/15 lines changed; 14 lines
removed)
Overwrite ../project_foo\project_foo.egg-info\PKG-INFO [y/n/d/B/?] n
Replace 25 bytes with 0 bytes (2/2 lines changed; 2 lines removed)
Overwrite ../project_foo\project_foo.egg-info\paster_plugins.txt [y/n/
d/B/
?] n
../project_foo\project_foo.egg-info\sqlobject.txt already exists
(same
content)
Recursing into +package+
../project_foo\project_foo\__init__.py already exists (same
content)
../project_foo\project_foo\release.py already exists (same
content)
Recursing into static
Recursing into css
Skipping file C:\Python25\lib\site-packages\turbogears-1.0.4.4-
py2.5.egg\turboge
ars\qstemplates\qsbase\+package+\static\css\empty_tmpl
Recursing into images
../project_foo\project_foo\static\images\favicon.ico already
exist
s (same content)
../project_foo\project_foo\static\images\tg_under_the_hood.png
alr
eady exists (same content)
../project_foo\project_foo\static\images
\under_the_hood_blue.png a
lready exists (same content)
Recursing into javascript
Skipping file C:\Python25\lib\site-packages\turbogears-1.0.4.4-
py2.5.egg\turboge
ars\qstemplates\qsbase\+package+\static\javascript\empty_tmpl
Recursing into templates
../project_foo\project_foo\templates\__init__.py already exists
(sam
e content)
Creating template registration
Recursing into +package+
Recursing into config
Copying registration.cfg to ../project_foo\project_foo\config
\regist
ration.cfg
Traceback (most recent call last):
File "C:\Python25\Scripts\tg-admin-script.py", line 8, in <module>
load_entry_point('TurboGears==1.0.4.4', 'console_scripts', 'tg-
admin')()
File "c:\python25\lib\site-packages\TurboGears-1.0.4.4-py2.5.egg
\turbogears\co
mmand\base.py", line 369, in main
command.run()
File "c:\python25\lib\site-packages\TurboGears-1.0.4.4-py2.5.egg
\turbogears\co
mmand\quickstart.py", line 374, in run
command.run(cmd_args)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
ommand.py", line 213, in run
result = self.command()
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
reate_distro.py", line 125, in command
template, output_dir, vars)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
reate_distro.py", line 167, in create_template
template.run(self, output_dir, vars)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\t
emplates.py", line 57, in run
self.write_files(command, output_dir, vars)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\t
emplates.py", line 126, in write_files
template_renderer=self.template_renderer)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
opydir.py", line 94, in copy_dir
svn_add=svn_add, template_renderer=template_renderer)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
opydir.py", line 94, in copy_dir
svn_add=svn_add, template_renderer=template_renderer)
File "c:\python25\lib\site-packages\PasteScript-1.6.2-py2.5.egg\paste
\script\c
opydir.py", line 140, in copy_dir
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "C:\Python25\lib\subprocess.py", line 593, in __init__
errread, errwrite)
File "C:\Python25\lib\subprocess.py", line 815, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified