I searched and found the file "Python In A Nutshell, 2nd Edition (2006).chm" 
and tryied following:

- renaming the file so that it doesn't contains any special character like 
spaces or parenthesis, it converts well 
- escaping the spaces in name of the file is not enough as also () need to be 
escaped (bash: syntax error near unexpected token '(' )
- escaping also ( and )  will give me exacly the situation reported by narnie.
- installing the patch of bug 894193 won't correct this

In the code, we have situatiuons like those:
        # the python interpreter handles files with spaces just fine, so we 
have to unescape
        # our spaces when passing files as arguments to library functions
        if os.path.exists(re.sub('\\\\ ', ' ', page_filename)) and 
(options['titlefile'] == '' or not options['titlefile'] in url):

And those will only catch escaped spaces, not other escaped special
characters like ( or )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/500262

Title:
  Errors when run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chm2pdf/+bug/500262/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to