(env)root@poseidon:/media/programming/research/muntjac# muntjac
Traceback (most recent call last):
File "/media/programming/research/muntjac/env/bin/muntjac", line 8,
in <module>
load_entry_point('Muntjac==1.0.3', 'console_scripts', 'muntjac')()
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 318, in
load_entry_point
def has_metadata(name):
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2221, in
load_entry_point
def __getattr__(self,attr):
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1954, in
load
entry = __import__(self.module_name, globals(),globals(),
['__name__'])
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/main.py", line 35, in <module>
from muntjac.test.suite import main as test
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/test/suite.py", line 4, in <module>
import muntjac.test.server.suite
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/test/server/suite.py", line 4, in <module>
from abstract_in_memory_container_listeners \
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/test/server/
abstract_in_memory_container_listeners.py", line 20, in <module>
from muntjac.test.server.component.abstract_listener_methods_test
import \
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/test/server/component/
abstract_listener_methods_test.py", line 21, in <module>
import mox
ImportError: No module named mox
The Mox dependency is specified in the tests_require section of setup.py
file. I think if you run:
$ python setup.py test
it get installed automatically.
For the sampler demo you'll need the SamplerWidgetSet and to specify the
contextRoot option. See the Quick Start section of the website for
further details.
Richard
/muntjac
/env
/VAADIN
/themes/
/base
/liferay
/reindeer
/runo
/sampler
/sampler-reindeer
....
/widgetsets
/com.vaadin.demo.sampler.gwt.SamplerWidgetSet
/ com.vaadin.demo.sampler.gwt.SamplerWidgetSet
Which file is muntjac actually supposed to call? Followinfg the
instructions, I get this:
(env)root@poseidon:/media/programming/research/muntjac# muntjac --
contextRoot=VAADIN
Traceback (most recent call last):
File "/media/programming/research/muntjac/env/bin/muntjac", line 8,
in <module>
load_entry_point('Muntjac==1.0.3', 'console_scripts', 'muntjac')()
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/muntjac/main.py", line 118, in main
ctxapp = DirectoryApp(join(opts.contextRoot, 'VAADIN'))
File "/media/programming/research/muntjac/env/lib/python2.6/site-
packages/paste/fileapp.py", line 275, in __init__
assert os.path.isdir(self.path)
AssertionError
Thanks
I think the issue it that the contextRoot option needs to point to the
parent directory of /VAADIN. This is noted on the web page. In your case
I think it should be:
--contextRoot=/path/to/muntjac
Richard