block message part of GUI

Bug #526189 reported by Hokitojas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ADCH++ GUI
Fix Committed
Undecided
Unassigned

Bug Description

when I add entries to the block message window, I used wildcard and replace... then it saves the info into blockedmessages.txt but after i restart the whole gui I get an error message and to read the main.exe.log for details... here is the contents:
Traceback (most recent call last):
  File "main.py", line 287, in <module>
  File "main.py", line 74, in __init__
  File "pyadch\ChatManager.pyo", line 32, in __init__
  File "pyadch\ChatManager.pyo", line 135, in load
  File "re.pyo", line 190, in compile
  File "re.pyo", line 245, in _compile
sre_constants.error: nothing to repeat
Exception in thread Thread-2 (most likely raised during interpreter shutdown):

if I delete the blockedmessage.txt then the problem goes away... but i want to use that function too...

Revision history for this message
Sulan (sulan80) wrote :

Is it really a wildcard? It looks like it tries to compile a regexp, and its an invalid regexp. Maby you could provide your blockedmessages.txt here?

Revision history for this message
Hokitojas (komoroczkik) wrote :

I have set Replace and Wildcard options when creating the entries. Now after saving the GUI starts after exit, but this is in my Feed:
[10-03-16 20:59:15]
Traceback (most recent call last):
  File "pyadch\Commands.pyo", line 176, in onCommand
  File "pyadch\UserDB.pyo", line 143, in getUserInfo
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 9: ordinal not in range(128)
--------------------------------------------------------------------------------

[10-03-16 21:00:36]
Traceback (most recent call last):
  File "pyadch\Commands.pyo", line 176, in onCommand
  File "pyadch\UserDB.pyo", line 143, in getUserInfo
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2122' in position 9: ordinal not in range(128)
--------------------------------------------------------------------------------

Revision history for this message
Sulan (sulan80) wrote :

I cant reporduce it, do you have this problem with rev 188?

Revision history for this message
Hokitojas (komoroczkik) wrote :

It appears that I dont! at least no weird things about this since some time now...

Sulan (sulan80)
Changed in adchppgui:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.