I've never had any luck launching paster unless I was in the same
directory as the ini file. What happens if he does:
cd n:\path_to\app
paster serve --reload development.ini
Does he get the same error? (sorry no Vista on my side either only XP)
Jose
mario ruggier wrote:
> Hi,
>
> I wonder if anyone can point me in the right directions... a client is
> trying to install a pylons app in development locally for
> testing/discussion purposes, on Vista and without admin rights. Apparently
> activepython 2.5 is installed ok (even if the dos "path" does not seem to
> include "d:\python25\;..." ). The problem occurs when trying to run paster
> serve... the full trace is below. Any ideas? What should I poke at first?
> (I do not have direct access to a Vista machine.)
>
> Thanks! mario
>
> D:\>D:\Scripts\paster serve --reload "N:\path_to\app\development.ini" start
> Starting subprocess with file monitor
> Traceback (most recent call last):
> File "D:\Scripts\paster-script.py", line 8, in <module>
> load_entry_point('pastescript==1.7.3', 'console_scripts', 'paster')()
> File
> "d:\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste\script\command.py
> ", line 84, in run
> invoke(command, command_name, options, args[1:])
> File
> "d:\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste\script\command.py
> ", line 123, in invoke
> exit_code = runner.run(args)
> File
> "d:\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste\script\command.py
> ", line 218, in run
> result = self.command()
> File
> "d:\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste\script\serve.py",
> line 276, in command
> relative_to=base, global_conf=vars)
> File
> "d:\lib\site-packages\pastescript-1.7.3-py2.5.egg\paste\script\serve.py",
> line 313, in loadapp
> **kw)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 204, in loadapp
> return loadobj(APP, uri, name=name, **kw)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 224, in loadobj
> global_conf=global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 248, in loadcontext
> global_conf=global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 278, in _loadconfig
> return loader.get_context(object_type, name, global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 409, in get_context
> section)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 431, in _context_from_use
> object_type, name=use, global_conf=global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 361, in get_context
> global_conf=global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 248, in loadcontext
> global_conf=global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 285, in _loadegg
> return loader.get_context(object_type, name, global_conf)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 561, in get_context
> object_type, name=name)
> File
> "d:\lib\site-packages\pastedeploy-1.3.2-py2.5.egg\paste\deploy\loadwsgi.p
> y", line 587, in find_egg_entry_point
> possible.append((entry.load(), protocol, entry.name))
> File "D:\lib\site-packages\setuptools-0.6c9-py2.5.egg\pkg_resources.py",
> line
> 1913, in load
> ImportError: No module named app.config.middleware
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---