[Grok-dev] --grokversion=1.1 causes paster error

Aroldo Souza-Leite asouzaleite at gmx.de
Wed Jun 23 06:07:40 EDT 2010


Hi list,

I don't know if it is related my previous mail with the zope.security problem.

After I had all the eggs there (I copied them an egg collection from another Ubuntu Jaunty system), creating 'Sample' with grokproject without the "grokversion" option works alright.

But calling 'grokproject --grokversion=1.1 Sample' creates a Sample project with a paster error.

Regards,

Aroldo.

---------------------------------------------------


(v_py)aroldo at aroldo-laptop:~/dev$ grokproject --grokversion=1.1 SampleWithGrokVersionOption_1_1
Enter user (Name of an initial administrator user): grok
Enter passwd (Password for the initial administrator user): 
Creating directory ./SampleWithGrokVersionOption_1_1
Downloading zc.buildout...
Invoking zc.buildout...
*************** PICKED VERSIONS ****************
[versions]
megrok.layout = 1.1.0

#Required by:
#grokui.base 0.2
megrok.menu = 0.4

*************** /PICKED VERSIONS ***************
(v_py)aroldo at aroldo-laptop:~/dev$ cd SampleWithGrokVersionOption_1_1/
(v_py)aroldo at aroldo-laptop:~/dev/SampleWithGrokVersionOption_1_1$ bin/paster serve parts/etc/deploy.ini 
Traceback (most recent call last):
  File "bin/paster", line 142, in <module>
    paste.script.command.run()
  File "/home/aroldo/.local/v_py/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/home/aroldo/.local/v_py/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/home/aroldo/.local/v_py/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
    result = self.command()
  File "/home/aroldo/.local/v_py/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/home/aroldo/.local/v_py/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 405, in get_context
    global_additions=global_additions)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 500, in _pipeline_app_context
    APP, pipeline[-1], global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/home/aroldo/.local/v_py/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py", line 600, in find_egg_entry_point
    for prot in protocol_options] or '(no entry points)'))))
LookupError: Entry point 'main' not found in egg 'grokcore.startup' (dir: /home/aroldo/.local/v_py/eggs/grokcore.startup-0.4-py2.6.egg; protocols: paste.app_factory, paste.composite_factory, paste.composit_factory; entry_points: )
(v_py)aroldo at aroldo-laptop:~/dev/SampleWithGrokVersionOption_1_1$ 



More information about the Grok-dev mailing list