Opened 13 years ago
Closed 13 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@… |
Description
'search'->'address online' does nothing. In console it prints:
Traceback (most recent call last):
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 485, in released
self.click(event.x, event.y,msDuration)
File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 514, in click
m.handleClick(x,y,msDuration)
File "/opt/modrana/modules/mod_clickHandler.py", line 68, in handleClick
m.routeMessage(action)
File "/opt/modrana/modules/mod_messages.py", line 104, in routeMessage
m.handleMessage(text, None, None)
File "/opt/modrana/modules/mod_search.py", line 239, in handleMessage
entry.entryBox(self, 'address',description='Enter an address or location description', persistentKey="lastAddressSearchInput")
File "/opt/modrana/modules/mod_textEntry.py", line 101, in entryBox
entry.set_text(initialText)
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 by , 13 years ago
comment:2 by , 13 years ago
| Cc: | added |
|---|
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Thanks for the bugreport ! :)
I have added argument validation for the entry-box:
changeset:3a59d2e
changeset:550d22d
An updated package with this fix has been released to OBS & Extras-devel.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/nlp-logo.png)
n900 armel 0.31.13