Ticket #3865 (closed defect: worksforme)

Opened 3 months ago

Last modified 2 months ago

History not available anymore

Reported by: Stefan Pampel Assigned to: asterix
Priority: normal Milestone:
Component: history Version: svn
Severity: normal Keywords: history
Cc: OS: Unix

Description

Hello,

since a few days (maybe more than 2 weeks) the history is not available anymore. Even from the main menu or chat window. I got the following output running gajim from the commandline:

Traceback (most recent call last):
  File "/usr/share/gajim/src/roster_window.py", line 4123, in on_history_menuitem_activate
    gajim.interface.instances['logs'] = history_window.\
  File "/usr/share/gajim/src/history_window.py", line 120, in __init__
    self._fill_completion_dict()
  File "/usr/share/gajim/src/history_window.py", line 160, in _fill_completion_dict
    info_name = completed.split('@')[0]
AttributeError: 'NoneType' object has no attribute 'split'
  • Gajim 0.11.4.2-svn
  • GTK+-Version: 2.12.9
  • PyGTK-Version 2.12.1
  • Python 2.4.5
  • OS: Debian lenny

best regards

Stefan Pampel

Attachments

Change History

04/16/08 09:01:56 changed by asterix

hmmm we don't have this problem. Your database seems broken. Could you add a "print keys" line 150 in history_window.py, just after "keys = self.completion_dict.keys()"

Maybe come in our room to talk about that: gajim@conference.gajim.org

04/16/08 10:21:02 changed by anonymous

that gives me an output like the following

[u'XXXXX@jabber.XXXXX.de', u'gajim@conference.gajim.org', u'XXXXXXXXX@jabber.YYYYYYY.de', ....]

04/16/08 15:49:01 changed by Jim++

Tried to ignore line [9477].

I'm not sure that's exactly what contain line. Stefan, that works now ?

04/16/08 16:48:11 changed by anonymous

i just removed empty entries in jids table with sqlite3 and sql commands, as mentioned by asterix. Now it works.

Best regards

Stefan Pampel

05/08/08 22:53:00 changed by steve-e

  • status changed from new to closed.
  • resolution set to worksforme.

Please reopen if you encounter any more problems.


Add/Change #3865 (History not available anymore)




Change Properties
Action