I wanted to give a try to pylons and I installed it with the Debian
packages.
I tried an helloword with the recommended directives:

% paster create --template=pylons helloworld
...
% cd helloworld/
% paster serve development.ini

but I got this error:

Traceback (most recent call last):
  File "/usr/bin/paster", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.4/site-packages/PasteScript-1.3.4-py2.4.egg/
paste/script/command.py", line 76, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.4/site-packages/PasteScript-1.3.4-py2.4.egg/
paste/script/command.py", line 115, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.4/site-packages/PasteScript-1.3.4-py2.4.egg/
paste/script/command.py", line 210, in run
    result = self.command()
  File "/usr/lib/python2.4/site-packages/PasteScript-1.3.4-py2.4.egg/
paste/script/serve.py", line 219, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/python2.4/site-packages/PasteScript-1.3.4-py2.4.egg/
paste/script/serve.py", line 251, in loadapp
    return loadapp(
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 193, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 213, in loadobj
    global_conf=global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 237, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 267, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 393, in get_context
    section)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 414, in _context_from_use
    context = self.get_context(
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 345, in get_context
    global_conf=global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 237, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 274, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 541, in get_context
    entry_point, protocol, ep_name = self.find_egg_entry_point(
  File "/usr/lib/python2.4/site-packages/paste/deploy/loadwsgi.py",
line 573, in find_egg_entry_point
    raise LookupError(
LookupError: Entry point 'main' not found in egg 'helloworld' (dir: /
home/drapeau/projects/pylons/helloworld; protocols: paste.app_factory,
paste.composite_factory, paste.composit_factory; entry_points: )


Any idea why?

Thanks,
Matt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to