Re: Running plone.org XDV locally, won't start

Alex Clark <[email protected]>
Newsgroups gmane.comp.web.zope.plone.website
Organization ACLARK.NET, LLC
Message-ID <[email protected]>
Let me see if I can reproduce this, I've never tried to run xdv locally (outside of nginx).

On 2010-02-20, Mikko Ohtamaa <[email protected]> wrote:
>
> Hi, 
>
> I try to follow these instructions
> http://svn.plone.org/svn/plone/Products.PloneOrg/trunk/xdv/README.txt to get
> plone.org + XDV running locally.
>
> This is to add CSS to p.org to style PloneHelpCenter Sphinx document
> uploads. The uploader, which uses collective.transmogrifier to upload Sphinx
> HTML pages to help center, has been created by Dylan Jay recently and
> discussed on plone-docs list.
>
> However my attemps to run p.org on OSX Snow Leopard fail:
>
> python bin/paster serve server.ini
> Traceback (most recent call last):
>   File "bin/paster", line 16, in ?
>     paste.script.command.run()
>   File
> "/Users/moo/plone/xdv/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py",
> line 84, in run
>     invoke(command, command_name, options, args[1:])
>   File
> "/Users/moo/plone/xdv/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py",
> line 123, in invoke
>     exit_code = runner.run(args)
>   File
> "/Users/moo/plone/xdv/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/command.py",
> line 218, in run
>     result = self.command()
>   File
> "/Users/moo/plone/xdv/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py",
> line 276, in command
>     relative_to=base, global_conf=vars)
>   File
> "/Users/moo/plone/xdv/eggs/PasteScript-1.7.3-py2.4.egg/paste/script/serve.py",
> line 311, in loadapp
>     return loadapp(
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 204, in loadapp
>     return loadobj(APP, uri, name=name, **kw)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 225, in loadobj
>     return context.create()
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 625, in create
>     return self.object_type.invoke(self)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 107, in invoke
>     context.loader, context.global_conf,
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/util/fixtypeerror.py",
> line 57, in fix_call
>     val = callable(*args, **kw)
>   File "/Users/moo/plone/xdv/eggs/Paste-1.7.2-py2.4.egg/paste/urlmap.py",
> line 24, in urlmap_factory
>     app = loader.get_app(app_name, global_conf=global_conf)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 296, in get_app
>     return self.app_context(
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 625, in create
>     return self.object_type.invoke(self)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 168, in invoke
>     app = filter(app)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/loadwsgi.py",
> line 129, in filter_wrapper
>     wsgi_app, context.global_conf,
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/util/fixtypeerror.py",
> line 59, in fix_call
>     exc_info = fix_type_error(None, callable, args, kw)
>   File
> "/Users/moo/plone/xdv/eggs/PasteDeploy-1.3.3-py2.4.egg/paste/deploy/util/fixtypeerror.py",
> line 32, in fix_type_error
>     argspec = inspect.formatargspec(*inspect.getargspec(callable))
>   File "/Users/moo/code/python/parts/opt/lib/python2.4/inspect.py", line
> 670, in getargspec
>     raise TypeError('arg is not a Python function')
> TypeError: arg is not a Python function
>
> Any help is appreciated.
>
> -Mikko
>
>
> -----
> Mikko Ohtamaa
> mFabrik - Freedom Delivered.
>
> Web site - http://mfabrik.com
> Mobile site - http://mfabrik.mobi
> Blog - http://blog.mfabrik.com


-- 
Alex Clark · http://aclark.net
Plone 3.3 Site Admin · http://aclark.net/plone-site-admin


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plone-website mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-website
The Wiki: http://plone.org/development/current/projects/WebsiteTeam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.