bad operand type in when used from ui/ #722

pyjsorg opened this Issue Apr 30, 2012 · 0 comments

1 participant


What steps will reproduce the problem?
1. go to pyjamas/examples/datefield/output/DateField.html
2. error will pop-up:
bad operand type for unary -: '125'
Traceback:, line 480, line 406:
self.calendarLink = HyperlinkImage(self.img), line 20:
img.unsinkEvents(Event.ONCLICK | Event.MOUSEEVENTS), line 260:
~eventBitsToRemove & DOM.getEventsSunk(self.getElement()))

125 in hex equals Event.ONCLICK | Event.MOUSEEVENTS
I don't see where unary - is.

Anyone any ideas?
What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue: (March 01, 2011 17:56:03)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment