Skip to content

TypeError: String or Unicode type require #4

@mcjimbob

Description

@mcjimbob

This sounds like a life saver, but alas I cannot get it to run, it returns the following.

Traceback (most recent call last):
File "C:\Users\username\Desktop\pyDayOne.py", line 222, in
app = MyApp(0)
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7981, in init
self._BootstrapApp()
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_core.py", line 7555, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "C:\Users\username\Desktop\pyDayOne.py", line 217, in OnInit
frame = MyFrame(None, -1, 'pyDayOne')
File "C:\Users\username\Desktop\pyDayOne.py", line 118, in init
self.text.SetValue(self.sorted_dict[single_entry])
File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx_controls.py", line 1754, in SetValue
return controls.TextCtrl_SetValue(_args, *_kwargs)
TypeError: String or Unicode type required

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions