Hi,
I tried to install the plugin Panda encoding with the final version (0.9) and did not work.
Is there any incompatibility?
Thanks
Search Forums
7 posts Started 13 years ago by lb Latest reply from lb
Hi,
I tried to install the plugin Panda encoding with the final version (0.9) and did not work.
Is there any incompatibility?
Thanks
Did you run unzip the MediaCore-Panda-0.9b1.zip file and then run "python setup.py develop" in it? What went wrong? More details please.
Hi,
It's here:
(mediacore)$ python setup.py develop
running develop
running egg_info
writing requirements to MediaCore_Panda.egg-info/requires.txt
writing MediaCore_Panda.egg-info/PKG-INFO
writing top-level names to MediaCore_Panda.egg-info/top_level.txt
writing dependency_links to MediaCore_Panda.egg-info/dependency_links.txt
writing entry points to MediaCore_Panda.egg-info/entry_points.txt
reading manifest file 'MediaCore_Panda.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '.*.swp' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
writing manifest file 'MediaCore_Panda.egg-info/SOURCES.txt'
running build_ext
Creating /home/box/mediacore/lib/python2.5/site-packages/MediaCore-Panda.egg-link (link to .)
Adding MediaCore-Panda 0.9.0b1 to easy-install.pth file
Installed /home/box/mediacore/MediaCore-Panda-0.9.0b1
Processing dependencies for MediaCore-Panda==0.9.0b1
Searching for panda==0.1.2
Reading http://mediacore.com/files/dependencies/
Link to http://pypi.python.org/simple/panda/ ***BLOCKED*** by --allow-hosts
Couldn't retrieve index page for 'panda'
Scanning index of all packages (this may take a while)
Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for panda==0.1.2
error: Could not find suitable distribution for Requirement.parse('panda==0.1.2')
(mediacore)$
I removed from setup.py panda reference and I get:
Processing dependencies for MediaCore-Panda==0.9.0b1
Searching for MediaCore>=0.9.0b1
Reading http://mediacore.com/files/dependencies/
Link to http://pypi.python.org/simple/MediaCore/ ***BLOCKED*** by --allow-hosts
Couldn't find index page for 'MediaCore' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Link to http://pypi.python.org/simple/ ***BLOCKED*** by --allow-hosts
No local packages or download links found for MediaCore>=0.9.0b1
error: Could not find suitable distribution for Requirement.parse('MediaCore>=0.9.0b1')
And, removing MediaCore >=0.9.0b1
(mediacore)$ paster serve --reload deployment.ini
Starting subprocess with file monitor
Traceback (most recent call last):
File "/home/box/mediacore/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/home/box/mediacore/lib/python2.5/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 "/home/box/mediacore/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/command.py", line 218, in run
result = self.command()
File "/home/box/mediacore/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/serve.py", line 276, in command
relative_to=base, global_conf=vars)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteScript-1.7.3-py2.5.egg/paste/script/serve.py", line 313, in loadapp
**kw)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteDeploy-1.3.3-py2.5.egg/paste/deploy/loadwsgi.py", line 204, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteDeploy-1.3.3-py2.5.egg/paste/deploy/loadwsgi.py", line 225, in loadobj
return context.create()
File "/home/box/mediacore/lib/python2.5/site-packages/PasteDeploy-1.3.3-py2.5.egg/paste/deploy/loadwsgi.py", line 625, in create
return self.object_type.invoke(self)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteDeploy-1.3.3-py2.5.egg/paste/deploy/loadwsgi.py", line 110, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/home/box/mediacore/lib/python2.5/site-packages/PasteDeploy-1.3.3-py2.5.egg/paste/deploy/util/fixtypeerror.py", line 57, in fix_call
val = callable(*args, **kw)
File "/home/box/mediacore/mediacore/mediacore/config/middleware.py", line 175, in make_app
config = load_environment(global_conf, app_conf)
File "/home/box/mediacore/mediacore/mediacore/config/environment.py", line 50, in load_environment
plugin_mgr = PluginManager(config)
File "/home/box/mediacore/mediacore/mediacore/plugin/__init__.py", line 56, in __init__
self.plugins[epoint.name] = plugin_class(module, epoint.name)
File "/home/box/mediacore/mediacore/mediacore/plugin/__init__.py", line 206, in __init__
self.controllers = controllers or self._default_controllers()
File "/home/box/mediacore/mediacore/mediacore/plugin/__init__.py", line 239, in _default_controllers
module = import_module(module_name)
File "build/bdist.linux-x86_64/egg/importlib/__init__.py", line 37, in import_module
File "/home/box/mediacore/MediaCore-Panda-0.9.0b1/mediacore_panda/controllers/admin/media.py", line 30, in <module>
class MediaController(BaseController):
File "/home/box/mediacore/MediaCore-Panda-0.9.0b1/mediacore_panda/controllers/admin/media.py", line 31, in MediaController
@expose('panda/admin/media/panda-status-box.html', permission='edit')
TypeError: expose() got an unexpected keyword argument 'permission'
Aha, that's definitely a bug. This works with the latest version from our Github repository. I'll release a new version with a fix today or tomorrow.
Hi,
Any updates?
Thanks
The new version has been released, you can download it here.
Thanks!
You must log in to post.