https://bugs.freedesktop.org/show_bug.cgi?id=66025

--- Comment #22 from David Bolen <[email protected]> ---
Tim, I've gotten a (sorta, kinda, mostly) working copy of the OpenLP
python3-productive branch under Python 3.3.2 with LibreOffice 4.1.0.2.  I had
to hack a bunch of stuff in terms of missing Python 3'isms, but it gets through
the first time wizard and to the main screen, and all but 20 or so of the
self-tests run (and they're mostly 3'isms related to the test resource files).

I will say that so far I don't see any issue that would point to an error in
the uno module.  I will agree that given the import changes needed to the
OpenLP code base for Python 3 (lots of current failures) the way uno interferes
with import errors is definitely a bit of a pain, so would suggest doing the
porting work without uno as long as possible, just introducing it when needed
at the end.  Or, keep my patch in place.  But I don't see it actually breaking
anything that isn't already broken.

In terms of running, I will note that the branch has a top level openlp.py
script which hides the openlp package, so I couldn't even start it without
renaming that.

In terms of testing, the single biggest issue creating failed imports is
probably relative module references (closely followed by exception syntax),
which I'm guessing is what you've been working on cleaning up.  For example, in
plugins/remotes/lib/__init__ the imports won't work as is (you need to add a
"." prefix to let it search relative in its own package).  Without this fix, in
turn the higher level remoteplugin import line fails just as you're seeing.  It
fails with or without uno, but with uno imported, you get precisely the sort of
tracebacks you are seeing.  Even though uno code is shown in the traceback, the
root issue is still inside of OpenLP, at least for the cases I've been able to
recreate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to