Uploaded CLAW again

Bob Snyder bob.snyder at cox.net
Sat Feb 7 07:02:01 CET 2004


Bob Snyder wrote:

> Chris Brault wrote:
>
>> I hope the gzipped tarball works. The user name on the
>> tarball and the files inside is "gabe". There is
>> nothing that root owns in the package. This should
>> solve the permissions problems ... I hope.
>>
>
> Chris,
>
> I have tried again and gotten a similar error. I have no problem with 
> the gzip package. But when I try to run the program I get:
>
> $ ./claw2.py
> Traceback (most recent call last):
>  File "./claw2.py", line 2016, in ?
>    mainApp = Claw()
>  File "./claw2.py", line 47, in __init__
>    shutil.copy(self.installDir + "mime.xml ", os.environ['HOME'] + 
> "/.claw/mimetypes.xml")
>  File "/usr/local/lib/python2.2/shutil.py", line 62, in copy
>    copyfile(src, dst)
>  File "/usr/local/lib/python2.2/shutil.py", line 28, in copyfile
>    fsrc = open(src, 'rb')
> IOError: [Errno 2] No such file or directory: 
> '/downloads/Claw2/mime.xml '
>
>
> Yet the problem file really exists at that exact location.

Answering my own message.

Hmmm. looking at the error above, it appears that the file 
'/downloads/Claw2/mime.xml '  actually has a space character at then end 
after .xml, just inside the quote mark. I tried testing this theory by 
renaming the file to "mime.xml " with a space at the end of the file 
name. It gets farther now, a small window opens and then disappears. 
Then I get a different error:

$ claw2.py
Cannot copy preferences.xml to ~/.claw/
Traceback (most recent call last):
  File "./claw2.py", line 2016, in ?
    mainApp = Claw()
  File "./claw2.py", line 84, in __init__
    self.readMimeTypes()
  File "./claw2.py", line 1246, in readMimeTypes
    mimeFile = minidom.parse(os.environ['HOME'] + "/.claw/mimetypes.xml")
  File "/usr/local/lib/python2.2/xml/dom/minidom.py", line 962, in parse
    return _doparse(pulldom.parse, args, kwargs)
  File "/usr/local/lib/python2.2/xml/dom/minidom.py", line 953, in _doparse
    events = apply(func, args, kwargs)
  File "/usr/local/lib/python2.2/xml/dom/pulldom.py", line 328, in parse
    parser = xml.sax.make_parser()
  File "/usr/local/lib/python2.2/xml/sax/__init__.py", line 93, in 
make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

Bob S.




More information about the Xfce mailing list