akira
unread,May 12, 2009, 2:12:20 PM5/12/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to glashammer
... is a pain, really:
1.The gh-admin does not work. I had to create a batch file for it
2. The source code download on the site is different from the PyPi
version
3. Running the simplest example,hello world is a problem, see below
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
F:\examples>gh-admin run helloworld/run.py
Traceback (most recent call last):
File "C:\Python25\scripts\gh-admin", line 5, in <module>
pkg_resources.run_script('glashammer==0.2.1dev-20090512', 'gh-
admin')
File "C:\Python25\lib\site-packages\setuptools-0.6c9-py2.5.egg
\pkg_resources.p
y", line 448, in run_script
File "C:\Python25\lib\site-packages\setuptools-0.6c9-py2.5.egg
\pkg_resources.p
y", line 1166, in run_script
File "c:\python25\lib\site-packages\glashammer-0.2.1dev_20090512-
py2.5.egg\EGG
-INFO\scripts\gh-admin", line 289, in <module>
exit(script.run())
File "c:\python25\lib\site-packages\werkzeug-0.5-py2.5.egg\werkzeug
\script.py"
, line 168, in run
return func(**arguments)
File "c:\python25\lib\site-packages\glashammer-0.2.1dev_20090512-
py2.5.egg\EGG
-INFO\scripts\gh-admin", line 58, in action_run
app = _get_app(modulepath, application_factory_name)
File "c:\python25\lib\site-packages\glashammer-0.2.1dev_20090512-
py2.5.egg\EGG
-INFO\scripts\gh-admin", line 26, in _get_app
mod = imp.load_module('gh_runner', mfile, mpath, mdesc)
File "F:\examples\helloworld\run.py", line 5, in <module>
from glashammer import make_app, run_very_simple, Response
ImportError: cannot import name run_very_simple