#668: Quickstart fails on Windows if created in an existing TortoiseSVN
repository
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version:
Severity: normal | Keywords:
------------------------------------+---------------------------------------
This may be related to #557.
The defect may actually be in Paste.
SVN version 961.
Quickstart uses "svn add" to keep svn up to date when it is used in a
folder that contains a ".svn" folder. TortoiseSVN does create .svn folders
but does not have a command-line svn command, so paste raises a
"WindowsError" exception, file not found, which is uncaught.
My recommendation is to ask the user if they want to use svn commands or
add a quickstart option to that effect. A more complicated solution would
be to check for the existence of TortoiseSVN or catch the exception and
simply not try any further svn commands (and print the fact that this is
occuring). If someone can second one of these options (or offer a
different one) I can get to work on coding it.
The only thing that was completed at the point of the traceback was the
creation of the project directory. The command that was attempted was "svn
add \\<projectname>"
{{{
Enter project name: inout
Enter package name [inout]:
Selected and implied templates:
TurboGears#turbogears web framework
Variables:
package: inout
project: inout
Creating template turbogears
Creating .\inout/
Traceback (most recent call last):
File "C:\Python24\Scripts\tg-admin-script.py", line 7, in ?
sys.exit(
File "c:\documents and settings\sjames\my
documents\svn\turbogears\trunk\turbogears\command\base.py", line 273, in
main
command.run()
File "c:\documents and settings\sjames\my
documents\svn\turbogears\trunk\turbogears\command\quickstart.py", line
103, in run
command.run(cmd_args)
File "c:\python24\lib\site-
packages\PasteScript-0.5-py2.4.egg\paste\script\command.py", line 205, in
run
result = self.command()
File "c:\python24\lib\site-
packages\PasteScript-0.5-py2.4.egg\paste\script\create_distro.py", line
98, in command
self.create_template(
File "c:\python24\lib\site-
packages\PasteScript-0.5-py2.4.egg\paste\script\create_distro.py", line
125, in create_template
template.run(self, output_dir, vars)
File "c:\documents and settings\sjames\my
documents\svn\turbogears\trunk\turbogears\command\quickstart.py", line 30,
in run
templates.Template.run(self, command, output_dirs, vars)
File "c:\python24\lib\site-
packages\PasteScript-0.5-py2.4.egg\paste\script\templates.py", line 47, in
run
self.write_files(command, output_dir, vars)
File "c:\python24\lib\site-
packages\PasteScript-0.5-py2.4.egg\paste\script\templates.py", line 104,
in write_files
use_cheetah=self.use_cheetah)
File "c:\python24\lib\site-
packages\pastescript-0.5-py2.4.egg\paste\script\copydir.py", line 28, in
copy_dir
pad=pad)
File "c:\python24\lib\site-
packages\pastescript-0.5-py2.4.egg\paste\script\copydir.py", line 196, in
svn_makedirs
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "C:\Python24\lib\subprocess.py", line 542, in __init__
errread, errwrite)
File "C:\Python24\lib\subprocess.py", line 706, in _execute_child
startupinfo)
WindowsError: [Errno 2] The system cannot find the file specified
}}}
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/668>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---