WebFaction
Community site: login faq

I have a Sphinx project that I build on my account (chrismorgan.info, on web132). I was able to build it successfully a few weeks ago, but now it fails:

Error: The roman module (which is distributed with Docutils) cannot be found. Did you install Sphinx and its dependencies correctly?

This can happen if you upgraded docutils using

easy_install without uninstalling the old versionfirst.

And indeed,

>>> import roman
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named roman

This is using python (i.e. 2.4.3). I have easy_installed Sphinx (1.0.4; installed Pygments 1.3.2 and Jinja2 2.5.2 as dependencies).

I presume this indicates there's something wrong with the package python24-docutils-0.5-4.el5.webfaction. The roman module should be included in it. Python 2.5, 2.6 and 2.7 all have the roman module, but 2.4 doesn't any more.

asked 02 Dec '10, 19:31

Chris Morgan
268139
accept rate: 0%

edited 02 Dec '10, 19:32


I'll ask our sysadmins to look into this. In the meantime, you can install an updated docutils in your home directory with the following command:

easy_install-2.4 http://docutils.sourceforge.net/docutils-snapshot.tgz

Hope that helps!

permanent link

answered 02 Dec '10, 19:44

seanf
12.2k41836
accept rate: 37%

OK, I've installed it for myself for the moment (easy_install docutils was enough). I note also that that's 0.7, whereas your package indicates you're doing 0.5 - any reason for that?

(02 Dec '10, 21:17) Chris Morgan

We use the cent OS defaults, you are free to download and install manually any version you need.

(02 Dec '10, 21:24) johns

Finally got round to checking it once more; roman is there and docutils is at 0.7, too.

(07 Feb '12, 04:09) Chris Morgan
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×337

question asked: 02 Dec '10, 19:31

question was seen: 3,736 times

last updated: 07 Feb '12, 04:09

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM