FooSoft/mangle — comment on commit fc8ab5b2168ead7b0b7fd376bbe91d53e21fdc7b
File:  line 0
By orzarchi:

I see.
My use case was the simplest one of just using the sources without installing, as suggested on the project's page.
In that case the file "mangle.pyw" is one directory level above utils.py and I get the following traceback:

Traceback (most recent call last):
File "/home/or/Books/mangle/mangle.pyw", line 26, in
window = MainWindowBook(filename)
File "/home/or/Books/mangle/mangle/book.py", line 115, in __init__
uic.loadUi(util.buildResPath('mangle/ui/book.ui'), self)
File "/usr/lib/python2.7/site-packages/PyQt4/uic/__init__.py", line 221, in loadUi
return DynamicUILoader().loadUi(uifile, baseinstance)
File "/usr/lib/python2.7/site-packages/PyQt4/uic/Loader/loader.py", line 71, in loadUi
return self.parse(filename, basedir)
File "/usr/lib/python2.7/site-packages/PyQt4/uic/uiparser.py", line 919, in parse
document = parse(filename)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1177, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 646, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/home/or/Books/mangle/mangle/mangle/ui/book.ui'