#1 rtf2xml Install Fails

v1.0_(example)
closed-fixed
nobody
5
2004-12-23
2004-12-20
No

Hi -- rtf2xml falls over in both Python2.3 and
Python2.4 when it gets to the "running install_data"
stage of Install.

The Build stage works fine.

The traceback output from that stage is below.

The install does not complete, although most of the
classes and what not are 'in python'. as a consequence
the rtf2xml is unusable "as it".

Thanks,
William.

______________

byte-compiling
c:\bin\python23\Lib\site-packages\rtf2xml\__init__.py
to __init__
.pyc
running install_scripts
copying build\scripts-2.3\rtf2xml ->
c:\bin\python23\Scripts
running install_data
Traceback (most recent call last):
File "setup.py", line 46, in ?
data_files = [
File "C:\bin\python\lib\distutils\core.py", line 149,
in setup
File "C:\bin\python\lib\distutils\dist.py", line 907,
in run_commands
File "C:\bin\python\lib\distutils\dist.py", line 927,
in run_command
File
"C:\bin\python\lib\distutils\command\install.py", line
505, in run
File "c:\bin\python23\lib\cmd.py", line 333, in
run_command

File "C:\bin\python\lib\distutils\dist.py", line 927,
in run_command
File
"C:\bin\python\lib\distutils\command\install_data.py",
line 62, in run
File "C:\bin\python\lib\distutils\util.py", line 89,
in convert_path
ValueError: path '/usr/share/man/man1' cannot be absolute

Discussion

  • Anonymous - 2004-12-21

    Logged In: YES
    user_id=937473

    Me again.

    I found the source of the problem.

    This code in the setup() method call.

    data_files = [
    ('/usr/share/man/man1', ['data/rtf2xml.1']),
    ],
    :
    ____

    The path must be a relative path. Although I'm unsure where
    to put the files.

    /w.

     
  • Paul Henry Tremblay

    • status: open --> closed
     
  • Paul Henry Tremblay

    • status: closed --> closed-fixed
     
  • Paul Henry Tremblay

    Logged In: YES
    user_id=663081

    I'll have to get rid of the manpage, then. I think manpages
    are a little outdated, and besides, one can find the manpage
    in the HMTL documentation.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks