hannesrauhe / lunchinator

Tool to call colleagues for lunch
Other
1 stars 0 forks source link

SImpleView Widget error on first startup #288

Open hannesrauhe opened 9 years ago

hannesrauhe commented 9 years ago

On Mac:

15:24:17 - In component Simple View (/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/logging:1193):
Uncaught exception in PyQT slot
Stack trace:
File "/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/lunchinator.log.logging_slot", line 17, in wrapper
File "/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/simple_view.simpleViewWidget", line 114, in updateWidgets
TypeError: sequence item 1: expected string or Unicode, NoneType found

15:24:35 - In component Simple View (/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/logging:1193):
Uncaught exception in PyQT slot
Stack trace:
File "/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/lunchinator.log.logging_slot", line 17, in wrapper
File "/Users/Corny/Documents/Python/lunchinator-dev/build/lunchinator_osx/out00-PYZ.pyz/simple_view.simpleViewWidget", line 114, in updateWidgets
TypeError: sequence item 5: expected string or Unicode, NoneType found
entropia1 commented 9 years ago

Since I remember that we had a similar issue before, I now changed the way that names are added to the database. I hope that this fixes the issue.