On Sun, Nov 23, 2008 at 6:48 PM, SystemicPlural <[EMAIL PROTECTED]> wrote:
>
> I am trying to get Pylons working in Eclipse with Pydev (Ubuntu)
> I can't get it to run or debug.
> I've re-imported the python interpreter.
> In the run dialog I have the main module as: /usr/bin/paster and
> program arguments as serve --reload /home/sky/www/PylonTest/
> development.ini but when I run I just get a bunch of errors (below)
>
> If I run
> /usr/bin/paster serve --reload /home/sky/www/PylonTest/development.ini
> in terminal the
> /home/sky/www/PylonTest/
> directory then it works, but from any other directory it does not.
> why?
> I get the same errors in the terminal as I do in eclipse.
>
> (Pretty much a newbie to Ubuntu/Eclipse/Pydev and Pylons)
>
>
> Starting subprocess with file monitor
> Traceback (most recent call last):
>  File "/usr/bin/paster", line 8, in <module>
>    load_entry_point('PasteScript==1.3.6', 'console_scripts', 'paster')
> ()
>  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/
> paste/script/command.py", line 78, in run
>    invoke(command, command_name, options, args[1:])
>  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/
> paste/script/command.py", line 117, in invoke
>    exit_code = runner.run(args)
>  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/
> paste/script/command.py", line 212, in run
>    result = self.command()
>  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/
> paste/script/serve.py", line 227, in command
>    relative_to=base, global_conf=vars)
>  File "/usr/lib/python2.5/site-packages/PasteScript-1.3.6-py2.5.egg/
> paste/script/serve.py", line 250, in loadapp
>    **kw)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 193, in loadapp
>    return loadobj(APP, uri, name=name, **kw)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 213, in loadobj
>    global_conf=global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 237, in loadcontext
>    global_conf=global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 267, in _loadconfig
>    return loader.get_context(object_type, name, global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 393, in get_context
>    section)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 415, in _context_from_use
>    object_type, name=use, global_conf=global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 345, in get_context
>    global_conf=global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 237, in loadcontext
>    global_conf=global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 274, in _loadegg
>    return loader.get_context(object_type, name, global_conf)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 542, in get_context
>    object_type, name=name)
>  File "/usr/lib/python2.5/site-packages/PasteDeploy-1.3.1-py2.5.egg/
> paste/deploy/loadwsgi.py", line 562, in find_egg_entry_point
>    pkg_resources.require(self.spec)
>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626,
> in require
>    needed = self.resolve(parse_requirements(requirements))
>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524,
> in resolve
>    raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: helloworld

cd .../helloworld
sudo python setup.py develop

-- 
Dalius
http://blog.sandbox.lt

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