You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
F:\Pythoncrap\Python34\python.exe F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py
Traceback (most recent call last):
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 168, in instanceSelected
self.instanceEdit.setPlainText(encode_utf8(instanceData))
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 24, in encode_utf8
return str(ba, encoding='utf8')
TypeError: coercing to str: need a bytes-like object, PySide.QtCore.QByteArray found
Traceback (most recent call last):
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 168, in instanceSelected
self.instanceEdit.setPlainText(encode_utf8(instanceData))
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 24, in encode_utf8
return str(ba, encoding='utf8')
TypeError: coercing to str: need a bytes-like object, PySide.QtCore.QByteArray found
Traceback (most recent call last):
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 233, in <module>
window = MainWindow()
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 138, in __init__
self.schemaSelected(0)
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 159, in schemaSelected
self.schemaView.setPlainText(encode_utf8(schemaData))
File "F:/Pythoncrap/Python34/Lib/site-packages/PySide/examples/xmlpatterns/schema/schema.py", line 24, in encode_utf8
return str(ba, encoding='utf8')
TypeError: coercing to str: need a bytes-like object, PySide.QtCore.QByteArray found
work around: change xmlpatterns/schema.py #24
from return str(ba, encoding='utf8')
to return str(ba)
The text was updated successfully, but these errors were encountered:
work around: change xmlpatterns/schema.py #24
from
return str(ba, encoding='utf8')
to
return str(ba)
The text was updated successfully, but these errors were encountered: