[Bug 3477] New: ImportError "No module named roman"

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Thu May 31 14:40:21 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3477

          Priority: normal
            Bug ID: 3477
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: ImportError "No module named roman"
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: kristi.dev at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.1
         Component: Mercurial
           Product: Mercurial

Docutils has a bug where the roman module may not be installed.  I got a
ImportError compiling mercurial from source:

  File "/home/kristi/install/downloads/mercurial-2.2.1/doc/hgmanpage.py", line
50, in <module>
    import roman
ImportError: No module named roman

As of Docutils 0.9, extras/roman.py moved to docutils/utils/roman.py
http://docutils.sourceforge.net/RELEASE-NOTES.html#release-0-9-2012-05-02

So hgmanpage.py should have something like

try:
    import roman
except ImportError:
    from docutils.utils import roman

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list