Opened 12 years ago

Closed 12 years ago

#188 closed defect (fixed)

search address online stopped working

Reported by: anonymous Owned by: Martin Kolman
Priority: major Milestone:
Component: gps Version:
Keywords: Cc: jan@…


'search'->'address online' does nothing. In console it prints:

Traceback (most recent call last):
  File "/opt/modrana/modules/gui_modules/", line 485, in released, event.y,msDuration)
  File "/opt/modrana/modules/gui_modules/", line 514, in click
  File "/opt/modrana/modules/", line 68, in handleClick
  File "/opt/modrana/modules/", line 104, in routeMessage
    m.handleMessage(text, None, None)
  File "/opt/modrana/modules/", line 239, in handleMessage
    entry.entryBox(self, 'address',description='Enter an address or location description', persistentKey="lastAddressSearchInput")
  File "/opt/modrana/modules/", line 101, in entryBox
TypeError: GtkEntry.set_text() argument 1 must be string, not None

Apparently the content of /home/user/.modrana/options.bin was the problem. After patching .py to recover from it options.bin got updated and the patch is no longer needed.

I guess it probably affects only users upgrading from older versions.

Change History (3)

comment:1 Changed 12 years ago by anonymous

n900 armel 0.31.13

comment:2 Changed 12 years ago by jan@…

Cc: jan@… added

comment:3 Changed 12 years ago by Martin Kolman

Resolution: fixed
Status: newclosed

Thanks for the bugreport ! :)
I have added argument validation for the entry-box:
An updated package with this fix has been released to OBS & Extras-devel.

Note: See TracTickets for help on using tickets.