[ooo-build] uno.py incompatible with python 2.6 / Type error when using "encode"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenOffice |
Fix Released
|
Unknown
|
|||
openoffice.org (Ubuntu) |
Fix Released
|
High
|
Chris Cheney |
Bug Description
Binary package hint: python-uno
Ubuntu Jaunty Jackalope / 9.04 alpha 6
The python uno-bridge to Openoffice.orgs API is maintained for python 2.3.4. Ubuntu, like other distributions uses more recent python versions instead, python 2.6 since ubuntu 9.04. This can lead to incompatabilities.
The simple python script in the attachment can be stored into /home/<
File "/usr/lib/
level=0),
simply because the "encoding"-method for strings has been used!
The same bug has been reported to opensuse 11.1 and a bug fix has been suggested. See
http://
The error leads to the crash of many python extensions and scripts, including my own, GnuCash to Ooo (http://
Kind regards
Knut
Related branches
Changed in openoffice.org: | |
assignee: | nobody → ccheney |
importance: | Undecided → High |
milestone: | none → ubuntu-9.04 |
status: | New → Triaged |
summary: |
- uno.py incompatible with python 2.6 / Type error when using "encode" + [ooo-build] uno.py incompatible with python 2.6 / Type error when using + "encode" |
Changed in openoffice: | |
status: | Unknown → In Progress |
Changed in openoffice.org (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in openoffice: | |
status: | In Progress → Fix Released |
Thanks for the great detailed bug report! :-)
I have contacted the Novell developers to determine what is going on with that bug as we use the same ooo-build codebase that they do so why it isn't already fixed is a mystery to me.
Thanks,
Chris