chadwhitacre / aspen-old-google-code-fork

Automatically exported from code.google.com/p/aspen
0 stars 0 forks source link

Starting server on Windows #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to follow instructions in section 3.1 of the manual I found:

1. I had to a) either put the "aspen" script somewhere I could find it
(i.e. in a directory my path), or b) type the full path. (This is a manual
issue, mainly)

2. Rename the aspen file to "do_aspen.py" -- #!... doesn't work on Windows
so you can't use aspen.bat, and you can't call it aspen.py because then
that's what's looked at for the import (so "main()" isn't found, of course).

Making a real aspen.bat works too, containing the line...

  python "C:\Utilities\Python25\Scripts\aspen"

(or whatever the path to 'aspen' is)

Original issue reported on code.google.com by Kim.Spen...@googlemail.com on 31 Dec 2007 at 11:54

GoogleCodeExporter commented 9 years ago
OK, the batch file isn't quite that simple -- I should have read further, and 
noticed
that aspen can take parameters. :-)

Original comment by Kim.Spen...@googlemail.com on 31 Dec 2007 at 12:05

GoogleCodeExporter commented 9 years ago
Thanks for the post and glad you figured it out. Aspen isn't the most friendly 
on
Windows although I have used it on that platform. Eventually we need Windows
service/log integration and a nifty installer.

Original comment by whit537@gmail.com on 1 Jan 2008 at 3:12