TypeError: 'AccessorMeta' object does not support item assignment

Bug #1325254 reported by TTimo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyGL3Display
Fix Committed
High
David Griffin

Bug Description

Debian sid x86_64, up to date etc.
Downloaded the latest tarball release, and also tried the latest code out of bzr
Installed CFFI, GLFW packages etc.
Python2.7.7rc1

Can't run the examples:

timo@vanguard ~/g/p/p/examples> python ./showcase.py
Traceback (most recent call last):
  File "./showcase.py", line 46, in <module>
    ShowCaseApp().run()
  File "/home/timo/gliders-kivy/pygl3display/pygl3display/examples/exampleskeleton.py", line 54, in run
    self.init()
  File "./showcase.py", line 33, in init
    rotation = math.pi / 4, color = green, target = target)
  File "../../pygl3display/twodshapes/ellipse.py", line 194, in __init__
    self.setDimensions(dx, dy)
  File "../../pygl3display/twodshapes/ellipse.py", line 211, in setDimensions
    self._intl.vertexArrays['Offset'][self._intl.slots] = newCoords
TypeError: 'AccessorMeta' object does not support item assignment

Pretty much all examples I've tried do this

Revision history for this message
David Griffin (habilain) wrote :

Hmm. That is odd. I've just verified the bug, but the somewhat odd thing is that if checking self._intl.vertexArrays.__getitem__ you see a function, which means that item assignment should work.

I'll investigate this if I get a chance - however, I'm afraid that at this stage PyGL3Display is pretty much unmaintained, as I'm working on its successor (as I've stated elsewhere, PyGL3Displays API is not adequate for certain tasks).

Changed in pygl3display:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
David Griffin (habilain) wrote :

Ack, wrong portion of the code. I've found the bug, a patch should be up soon.

Revision history for this message
David Griffin (habilain) wrote :

The fix is now in the trunk. However, due to me not having access to my old machine I don't have the GPG key I need to make a release at the moment. A release should be available on Monday.

... Shows hos many people use this project, given that a critical bug was around for this long...

Changed in pygl3display:
status: Confirmed → Fix Committed
assignee: nobody → David Griffin (habilain)
Revision history for this message
David Griffin (habilain) wrote :

(Should be how, hot hos)

Revision history for this message
TTimo (ttimo) wrote :

good stuff, thanks for fixing this so fast .. it works fine here now

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.