zopeskel error on ubuntu 9.04

4 messages Options
Embed this post
Permalink
san82moon () zopeskel error on ubuntu 9.04
Reply Threaded More More options
Print post
Permalink
Hi,
I am trying to install zopeskel on ubuntu 9.04, but i get the following error:

Processing dependencies for ZopeSkel==2.10dev-r77111
Searching for Cheetah
Reading http://pypi.python.org/simple/Cheetah/
Reading http://www.CheetahTemplate.org/
Reading http://sourceforge.net/project/showfiles.php?group_id=28961
Reading http://www.cheetahtemplate.org/
Best match: Cheetah 2.2.2
Downloading http://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.2.2.tar.gz#md5=e0d89113ab6bb0935d2b67395960264c
Processing Cheetah-2.2.2.tar.gz
Running Cheetah-2.2.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CEKiId/Cheetah-2.2.2/egg-dist-tmp-AsP-dt
warning: no files found matching 'examples'
warning: no files found matching 'docs'
warning: no files found matching 'bin'
warning: no files found matching '*' under directory 'docs'
warning: no files found matching '*' under directory 'examples'
warning: no previously-included files matching '*.pyc' found under directory 'cheetah'
warning: no previously-included files matching '*~' found under directory 'cheetah'
warning: no previously-included files matching '*.aux' found under directory 'cheetah'
warning: no previously-included files matching '*~' found under directory 'docs'
warning: no previously-included files matching '*.aux' found under directory 'docs'
zip_safe flag not set; analyzing archive contents...
Cheetah.NameMapper: module MAY be using inspect.stack
Cheetah.Template: module references __file__
Cheetah.ImportHooks: module references __file__
Cheetah.ImportManager: module references __file__
Cheetah.ImportManager: module references __path__
Cheetah.Tests.Template: module references __file__
Adding Cheetah 2.2.2 to easy-install.pth file
Installing cheetah-compile script to /usr/bin
Installing cheetah script to /usr/bin

Installed /usr/lib/python2.4/site-packages/Cheetah-2.2.2-py2.4-linux-i686.egg
Searching for PasteScript
Reading http://pypi.python.org/simple/PasteScript/
Reading http://pythonpaste.org/script/
Best match: PasteScript 1.7.3
Downloading http://pypi.python.org/packages/source/P/PasteScript/PasteScript-1.7.3.tar.gz#md5=9101a3a23809d3413b39ba8b75dd0bce
Processing PasteScript-1.7.3.tar.gz
Running PasteScript-1.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3vlP20/PasteScript-1.7.3/egg-dist-tmp-hD21Wp
Adding PasteScript 1.7.3 to easy-install.pth file
Installing paster script to /usr/bin
Installing paster script to /usr/bin

Installed /usr/lib/python2.4/site-packages/PasteScript-1.7.3-py2.4.egg
Searching for Markdown>=2.0.1
Reading http://pypi.python.org/simple/Markdown/
Reading http://www.freewisdom.org/projects/python-markdown/
Reading http://www.freewisdom.org/projects/python-markdown
Reading https://sourceforge.net/project/showfiles.php?group_id=153041
Best match: Markdown 2.0.1
Downloading http://pypi.python.org/packages/source/M/Markdown/Markdown-2.0.1.tar.gz
Processing Markdown-2.0.1.tar.gz
Running Markdown-2.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vfRXK1/Markdown-2.0.1/egg-dist-tmp-C6dKjp
Traceback (most recent call last):
  File "setup.py", line 34, in ?
    entry_points="""
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/develop.py", line 27, in run
    self.install_for_development()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/develop.py", line 102, in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 518, in process_distribution
    distros = WorkingSet([]).resolve(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 522, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 758, in best_match
    return self.obtain(req, installer) # try and download/install
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/pkg_resources.py", line 770, in obtain
    return installer(requirement)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 446, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 476, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/command/easy_install.py", line 919, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/sandbox.py", line 26, in run_setup
    DirectorySandbox(setup_dir).run(
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/sandbox.py", line 63, in run
    return func()
  File "/usr/lib/python2.4/site-packages/setuptools-0.6c9-py2.4.egg/setuptools/sandbox.py", line 29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 6, in ?
    version=version,
  File "/tmp/easy_install-vfRXK1/Markdown-2.0.1/markdown/__init__.py", line 173, in ?
  File "/tmp/easy_install-vfRXK1/Markdown-2.0.1/markdown/etree_loader.py", line 21, in importETree
  File "/tmp/easy_install-vfRXK1/Markdown-2.0.1/markdown/__init__.py", line 112, in message
markdown.MarkdownException: Failed to import ElementTree

Sunny
Encolpe DEGOUTE () Re: zopeskel error on ubuntu 9.04
Reply Threaded More More options
Print post
Permalink
san82moon a écrit :
> Hi,
> I am trying to install zopeskel on ubuntu 9.04, but i get the following
> error:
> [SNIP]
> 112, in message
> markdown.MarkdownException: Failed to import ElementTree

sudo apt-get install python-elementtree


--
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
Maurits van Rees-3 () Re: zopeskel error on ubuntu 9.04
Reply Threaded More More options
Print post
Permalink
Encolpe Degoute, on 2009-09-21:
> san82moon a écrit :
>> Hi,
>> I am trying to install zopeskel on ubuntu 9.04, but i get the following
>> error:
>> [SNIP]
>> 112, in message
>> markdown.MarkdownException: Failed to import ElementTree
>
> sudo apt-get install python-elementtree

If you are using a virtualenv, the following works for me:

easy_install Cheetah==2.2.1 ZopeSkel==2.12

or

easy_install elementtree Markdown==1.7 Cheetah==2.2.1 ZopeSkel==2.12

ZopeSkel 2.12 (released today) adds
a requirement on elementtree, which is needed because Markdown
requires it but does not specify it; Markdown itself is a requirement
of Cheetah starting from Cheetah 2.2.2.

Note that the order is important.  If you easy_install ZopeSkel==2.12
first, easy_install will not yet see that you specify Cheetah==2.2.1
so it will install the lastest 2.2.2 and things will go wrong.

Note also that Cheetah 2.2.2 depends on Markdown 2.0.1 or higher and
that version is not happy with elementtree but it really wants to
import Elementtree, so there you *will* need to apt-get install
python-elementtree.

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


_______________________________________________
Setup mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/setup
san82moon () Re: zopeskel error on ubuntu 9.04
Reply Threaded More More options
Print post
Permalink
Thank you very much.
i had installed zopeskl first. so i was having problem with markdown.
easy_install elementtree Markdown==1.7 Cheetah==2.2.1 ZopeSkel==2.12, solved my problem.

Sunny.

Maurits van Rees-3 wrote:
Encolpe Degoute, on 2009-09-21:
> san82moon a écrit :
>> Hi,
>> I am trying to install zopeskel on ubuntu 9.04, but i get the following
>> error:
>> [SNIP]
>> 112, in message
>> markdown.MarkdownException: Failed to import ElementTree
>
> sudo apt-get install python-elementtree

If you are using a virtualenv, the following works for me:

easy_install Cheetah==2.2.1 ZopeSkel==2.12

or

easy_install elementtree Markdown==1.7 Cheetah==2.2.1 ZopeSkel==2.12

ZopeSkel 2.12 (released today) adds
a requirement on elementtree, which is needed because Markdown
requires it but does not specify it; Markdown itself is a requirement
of Cheetah starting from Cheetah 2.2.2.

Note that the order is important.  If you easy_install ZopeSkel==2.12
first, easy_install will not yet see that you specify Cheetah==2.2.1
so it will install the lastest 2.2.2 and things will go wrong.

Note also that Cheetah 2.2.2 depends on Markdown 2.0.1 or higher and
that version is not happy with elementtree but it really wants to
import Elementtree, so there you *will* need to apt-get install
python-elementtree.

--
Maurits van Rees | http://maurits.vanrees.org/
            Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]


_______________________________________________
Setup mailing list
Setup@lists.plone.org
http://lists.plone.org/mailman/listinfo/setup