Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Aspen in Windows
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chad Whitacre  
View profile  
 More options Feb 5, 1:26 pm
From: Chad Whitacre <c...@zetaweb.com>
Date: Thu, 05 Feb 2009 13:26:04 -0500
Local: Thurs, Feb 5 2009 1:26 pm
Subject: Re: Aspen in Windows
Mike,

 > 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'>

You need to run the aspen script from the Windows command-line.
This script is installed when you install aspen, I believe into
C:\Python25\Scripts. What you've done instead is to run Python
from the windows command-line, and then baldly assert the aspen
module (kind of a no-op).

Try:

   C:\> python c:\python25\scripts\aspen.bat

Or something like that ... I'll get aspen set up here on Windows
and then I can help you further. But that should point you in the
right direction.

 > Can any directory be designated a home directory simply by
 > issuing the aspen command from within it?

Yes, bingo.

 > Or must a home directory be placed within the aspen/apps
 > directory?

No.

 > Must I name a home directory similar to www.example.com?

No. No naming restriction.

chad

EhVK9OAlL9oT wrote:
> 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google