object has no attribute 'setAccessibleName'

Bug #833717 reported by Muhammad Bashir Al-Noimi
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
KDE OpenObject Client
New
Undecided
Unassigned

Bug Description

I checked out latest reversion of Koo (Working tree 1765) and after running Koo I got

The debugged program raised the exception unhandled AttributeError "'KooMainWindow' object has no attribute 'setAccessibleName'"

How can fix this issue?

PS
I looked into KooMainWindow.py and I didn't find setAccessibleName slot

Tags: 1765
tags: added: 1765
Revision history for this message
photo7 (photo7) wrote :

Couple of weeks ago I tried to build a Windows package from latest sources and go the same error under Windows XP and Windows 7. I tried Python 2.6 and 2.7 - no difference same error.

I think that problem is with PyQt features. It looks like PyQt that supplied by Riverbank for Windows platform has Acceptability features turned off.

After trying for a while (recompiling Qt and PyQt on Windows, which didn't work well), I give up on this problem.

I hope Koo will move away from PyQt to PySide, which is a true open source project comparing to Riverbank. Just try to find sources for older version of PyQt - good luck :(

Revision history for this message
photo7 (photo7) wrote :

That should be "Accessibility features"

Revision history for this message
Muhammad Bashir Al-Noimi (mbnoimi) wrote :

mmmm, I used latest version of PyQt-Py2.6-x86-gpl-4.8.5-1.exe I'll try to find older version.

By the way, did you tried another version PyQt? because I'm not sure this issue related to PyQt

Revision history for this message
photo7 (photo7) wrote :

I don't think you will find the latest version of PyQT. Riverbanks always and only provide the latest version on their website.

PyQT is not an real opensource project, if you want any support - you need to buy a commercial license. I hope Nantic will find time to migrate this project to PySide.

I wanted to develop and contribute some image viewing plugin for the grid view but abandoned that because of this problem.

Revision history for this message
Christopher Ormaza - (Ecuadorenlinea.net) (chris-ormaza) wrote :

I found a link

http://pyqwt.sourceforge.net/download.html

in the bottom there's a link to a older pyqt version for python 2.6

I tried to run from sources and run correctly, I'll try to make installer and comment again

If this fix that problem please backup the file and use for share

Regards
Christopher

Revision history for this message
Christopher Ormaza - (Ecuadorenlinea.net) (chris-ormaza) wrote :

Hi again

When I run from source in eclipse or directly via python.exe run perfectly, but i try to make setup.py py2exe and when the file is ready I have this problem

Traceback (most recent call last):
  File "koo.py", line 73, in <module>
  File "Koo\Common\Common.pyc", line 104, in <module>
  File "Koo\Common\Ui.pyc", line 49, in loadUiType
ImportError: No module named ui.win_selection

Maybe you can say what is the problem

Regards
Christopher

Revision history for this message
Matteo Boscolo (matteo-boscolo-omniasolutions) wrote :

A little workAround for this error is to add the following conde to the KooMainWindow

def setAccessibleName(self,name):
  return

Regards,
Matteo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.