Hi,
On Windows, I am trying to start Aspen by issuing the 'aspen' command.
Below is the sequence of commands:
c:\gheat-0.2>python
Python 2.5.4...
Type "help"...
>>> import aspen
>>> aspen
<module 'aspen' from
'c:\python25\lib\site-packages\aspen-0.8-py2.5.egg\aspen
\__init__.pyc'>
>>>
So instead of starting the server, Python simply reports the location
of the module. How can I start Aspen on Windows?
Also, am I correct in understanding the concept of a home directory in
Aspen? Can any directory be designated a home directory simply by
issuing the aspen command from within it? Or must a home directory be
placed within the aspen/apps directory? Must I name a home directory
similar to
www.example.com?
Thanks,
Mike
On Mar 24 2008, 2:45 pm, Chad Whitacre <
c...@zetaweb.com> wrote:
> Ben,
>
> Need more info. What is the actual command you're giving in thewindowsshell?
>
> chad
>
> Ben Edwards wrote:
> > Mr. Whitacre,
>
> > I am a graduate student at the University of New Mexico studying crime
> > here in the city of Albuquerque. In an effort to be able to map areas of
> > the city where crime occurs I came across your gheat project. I was
> > immediately impressed, and went about trying to get it up and running
> > with my own data. I am however, having some trouble getting the Aspen
> > web server up and running inWindows, and since you have mentioned that
> > you had gheat running inwindowsI was hoping you could lend a hand.
>
> > Python and PIL have been installed correctly, but when I got to run the
> > aspen script, the one with the simple:
>
> > import aspen
> > aspen.main()
>
> > Python errors out saying:
>
> > C:\Python25\python.exe: can't open file '': [Errno 2] No such file or
> > directory
>
> > Being a computer engineer in a former life, and vaguely familiar with
> > python, I have tried to poke around in some of the aspen files but can't
> > seem to locate the offending script. Any help you could provide would be
> > fantastic, but if you can't get to it I understand as well and I'll keep
> > trying to hack away at it. Thank you in advance.
>
> > God Bless,
> > Ben Edwards