Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Setup fails because of missing python-cssutils on Ubuntu 11.10 #2

Open
unicolet opened this Issue · 8 comments

7 participants

@unicolet

The setup script fails on a Amazon AMI or any other Ubuntu 11.10 vm because one of the rendering components (Cascadenik, I believe) depends on the package python-cssutils which has to be installed separately. After that has been installed the setup script can be relaunched from where it left and the installation completes successfully.

@migurski
Owner

Yow, thanks. That's really important; I'm not sure why it worked happily for me during testing.

@migurski
Owner

This is great, btw: http://unicolet.blogspot.it/2012/06/improving-tiledrawer-rendering-speed.html

It’s likely that I will have time to upgrade Tile Drawer with your feedback (and new Ubuntu LTS) this next week.

@snicol

Issue still exists. For anyone with this problem run:

easy_install cssutils

that seemed to fix it.

@sacroculto

I have a problem with Cascadenik, please, help me!.
Captura de pantalla 2013-03-14 a la s 12 15 55
Captura de pantalla 2013-03-14 a la s 12 16 38

@AndyW999

Mail to info@tiledrawer.com bounces!

It fails in setup.sh as python-mapnik is now python-mapnik2

The problem then is that if you edit setup.sh and try and run it again it bombs out everywhere with existing ln's

After commenting them out I got :-

Downloading/unpacking Cascadenik
Downloading cascadenik-2.6.6.tar.gz (54Kb): 54Kb downloaded
Running setup.py egg_info for package Cascadenik
Traceback (most recent call last):
File "", line 14, in
File "/root/build/Cascadenik/setup.py", line 14, in
from cascadenik import version as VERSION
File "cascadenik/init.py", line 29, in
from .parse import stylesheet_declarations
File "cascadenik/parse.py", line 6, in
from cssutils.tokenize2 import Tokenizer as cssTokenizer
ImportError: No module named cssutils.tokenize2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 14, in

File "/root/build/Cascadenik/setup.py", line 14, in

from cascadenik import __version__ as VERSION

File "cascadenik/init.py", line 29, in

from .parse import stylesheet_declarations

File "cascadenik/parse.py", line 6, in

from cssutils.tokenize2 import Tokenizer as cssTokenizer

ImportError: No module named cssutils.tokenize2


Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log

Thanks

Andy.

@Ghunter-Tag

Has anyone successfully installed this on a Linux setup recently? Is it broken? I can't get past the curl commmand.

/home# #!/bin/sh -ex
/home# # Download 446 MB of OSM data from 1 extract.
/home# curl -s http://tiledrawer.com/scripts/script-4OzOX4.sh.txt | /bin/sh -ex

It just runs for a second that goes back to the command prompt and nothing appears to happen.

Has anyone successfully installed this in the last six months?

@ayusuf

Hi,
@Silentbob20059 I just tried recently and the txt file is a just a bunch of commands so I ran that separately line by line. A lot of it fails because Ubuntu 11.10 has reached it's EOL. You can edit /etc/apt/sources.list to point to old-releases.ubuntu.com to get the old packages. It seemed to work but I think my VM ran out memory so I was never able to verify. Good luck.

Also if you don't need to stay on Ubuntu 11.10 I would go to http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ this solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.