Error apps.conf

7 views
Skip to first unread message

Marcio

unread,
Oct 17, 2011, 8:46:35 AM10/17/11
to gheat
C:\aspen\bin>python aspen
Traceback (most recent call last):
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\__init__.py", li
ne 150, in main
main_loop(configuration)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\__init__.py", li
ne 131, in main_loop
server = Server(configuration)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\server.py", line
27, in __init__
website = Website(self)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\website.py", lin
e 21, in __init__
self.configuration.load_plugins() # user modules imported here
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\load.py", line 1
80, in load_plugins
self.apps = self.load_apps()
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\load.py", line 2
69, in load_apps
obj = colon.colonize(name, fp.name, lineno)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\colon.py", line
43, in colonize
exec 'import %s as obj' % modname
File "<string>", line 1, in <module>
File "C:\aspen\bin\__\lib\python\gheat\__init__.py", line 89, in
<module>
raise ImportError("Neither Pygame nor PIL could be imported.")
ImportError: Neither Pygame nor PIL could be imported. [apps.conf,
line 1]

Traceback (most recent call last):
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\__init__.py", li
ne 150, in main
main_loop(configuration)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\__init__.py", li
ne 131, in main_loop
server = Server(configuration)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\server.py", line
27, in __init__
website = Website(self)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\website.py", lin
e 21, in __init__
self.configuration.load_plugins() # user modules imported here
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\load.py", line 1
80, in load_plugins
self.apps = self.load_apps()
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\load.py", line 2
69, in load_apps
obj = colon.colonize(name, fp.name, lineno)
File "C:\Python\lib\site-packages\aspen-trunk-py2.7.egg\aspen
\colon.py", line
43, in colonize
exec 'import %s as obj' % modname
File "<string>", line 1, in <module>
File "C:\aspen\bin\__\lib\python\gheat\__init__.py", line 89, in
<module>
raise ImportError("Neither Pygame nor PIL could be imported.")
ImportError: Neither Pygame nor PIL could be imported. [apps.conf,
line 1]

Chad Whitacre

unread,
Oct 17, 2011, 11:17:29 AM10/17/11
to gh...@googlegroups.com
Gheat depends on a third-party imaging library, which it looks like you're missing. Maybe try using one of the Windows builds to install PIL?



chad




--
You received this message because you are subscribed to the Google Groups "gheat" group.
To post to this group, send email to gh...@googlegroups.com.
To unsubscribe from this group, send email to gheat+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gheat?hl=en.


Marcio A. Alves

unread,
Oct 17, 2011, 12:15:40 PM10/17/11
to gh...@googlegroups.com
Hi,

PIL is installed.
C: \ Python \ Lib \ site-packages \ PIL \


2011/10/17 Chad Whitacre <ch...@zetaweb.com>



--
Atenciosamente,

Márcio
maal...@gmail.com

"Anima-te por teres de suportar as injustiças; a verdadeira desgraça consiste em cometê-las." (Pitágoras)

Por favor, ao encaminhar mensagens apague o nome do remetente. E não esqueça de colocar TODOS os DESTINATÁRIOS em CCO - Cópia Oculta. Evite assim a propagação de VÍRUS e SPAM.

"Achar que o mundo não tem um criador é o mesmo que afirmar que um dicionário é o resultado de uma explosão numa tipografia."

Chad Whitacre

unread,
Oct 17, 2011, 12:30:41 PM10/17/11
to gh...@googlegroups.com
What output do you get from this command?

    C:\aspen\bin>python -c"import PIL"


chad

Marcio A. Alves

unread,
Oct 17, 2011, 12:50:08 PM10/17/11
to gh...@googlegroups.com
C:\aspen\bin>python -c import PIL
  File "<string>", line 1
    import
         ^
SyntaxError: invalid syntax



2011/10/17 Chad Whitacre <ch...@zetaweb.com>

Chad Whitacre

unread,
Oct 17, 2011, 2:01:27 PM10/17/11
to gh...@googlegroups.com
Needs the quotes:

C:\aspen\bin>python -c "import PIL"

Not: 

C:\aspen\bin>python -c import PIL

Marcio A. Alves

unread,
Oct 17, 2011, 2:18:24 PM10/17/11
to gh...@googlegroups.com
Nothing happens

C:\aspen-0.8\bin>python -c "import PIL"

C:\aspen-0.8\bin>

Marcio A. Alves

unread,
Oct 17, 2011, 2:25:17 PM10/17/11
to gh...@googlegroups.com
Resolved

I uninstalled and installed again and everything worked.

Thank you for your help.

Sorry for writing, use automatic translator



2011/10/17 Marcio A. Alves <maal...@gmail.com>

Nothing happens

C:\aspen-0.8\bin>python -c "import PIL"

C:\aspen-0.8\bin>

Chad Whitacre

unread,
Oct 18, 2011, 1:27:41 PM10/18/11
to gh...@googlegroups.com
Cool, go get 'em. :)


chad




2011/10/17 Marcio A. Alves <maal...@gmail.com>
Resolved

I uninstalled and installed again and everything worked.

Thank you for your help.

Sorry for writing, use automatic translator



2011/10/17 Marcio A. Alves <maal...@gmail.com>

Nothing happens

C:\aspen-0.8\bin>python -c "import PIL"

C:\aspen-0.8\bin>




--
Atenciosamente,

Márcio
maal...@gmail.com

"Anima-te por teres de suportar as injustiças; a verdadeira desgraça consiste em cometê-las." (Pitágoras)

Por favor, ao encaminhar mensagens apague o nome do remetente. E não esqueça de colocar TODOS os DESTINATÁRIOS em CCO - Cópia Oculta. Evite assim a propagação de VÍRUS e SPAM.

"Achar que o mundo não tem um criador é o mesmo que afirmar que um dicionário é o resultado de uma explosão numa tipografia."

Reply all
Reply to author
Forward
0 new messages