Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Open
unicolet opened this Issue June 01, 2012 · 7 comments

6 participants

Umberto Nicoletti migurski Scott Nicol sacroculto AndyW999 Silentbob20059
Umberto Nicoletti

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.

Scott Nicol

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.

Silentbob20059

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?

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.