After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 123246 - Scoring fails - error creating regular expression
Scoring fails - error creating regular expression
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.14.2
Other FreeBSD
: High major
: 0.14.3
Assigned To: Charles Kerr
Pan QA Team
Depends on: 122078
Blocks:
 
 
Reported: 2003-09-25 21:41 UTC by Jakob Breivik Grimstveit
Modified: 2003-11-30 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Image showing bug behaviour (295.10 KB, image/png)
2003-09-25 21:41 UTC, Jakob Breivik Grimstveit
Details

Description Jakob Breivik Grimstveit 2003-09-25 21:41:02 UTC
Scoring fails on almost what I try. See attachment.
Comment 1 Jakob Breivik Grimstveit 2003-09-25 21:41:45 UTC
Created attachment 20296 [details]
Image showing bug behaviour
Comment 2 Christophe Lambin 2003-09-25 22:25:27 UTC
Not an isolated bugreport. Daren Russel (on FreeBSD 5.1) reported this
on pan-users:

___________________________________________________________
Hi,
                                                                     
          
Been using pan for a while now, and extremely good it is too, but
there's always a but!) after upgrading to 0.14.1 trying to score an
article fails without exception.
                                                                     
          
Trying to add a score results in: 'Cannot create regular expression:
ANNOUNCE' (or whatever I am using to score the article)  This happens
whether it is the subject, author, reference.
                                                                     
          
The error in the pan log is:
(Null) - Invalid UTF8 string passed to pango_layout_set_text()
                                                                     
          
I tried by renaming the .pan and News/Pan directories, but to no avail.
                                                                     
          
System is FreeBSD 5.1
Comment 3 Jakob Breivik Grimstveit 2003-09-25 22:45:54 UTC
Ah, then I guess it's common for alle FreeBSD's (and only FreeBSD),
since not anybody else have reported this huge bug. Unfortunately not
a coder myself.
Comment 4 Bruno Van Den Bossche 2003-10-15 12:51:41 UTC
I'm experiencing the same problem:
- Scoring doesn't work
- Adding new scores failed

But I accidentally discovered something really weird.  After building
and installing a new world and/or kernel the scoring works just fine
the first time I start Pan.
Closing Pan and starting it again breaks the scoring again.  I don't
have a clue what may be the cause of this.  But it's very reproduceable.

I'm running FreeBSD Current.
I'll also report this to the FreeBSD Ports-mailinglist.
Comment 5 Jakob Breivik Grimstveit 2003-10-15 13:10:31 UTC
Interesting information. Will try to make new buildworld and
buildkernel myself to verify this. Will take some time (a week or so)
since I'm currently waiting for a new SDSL line into my home.
Comment 6 Charles Kerr 2003-11-14 17:51:06 UTC
If the scoring works up until the point you exit Pan & restart,
what do the contents of ~/News/Score look like before & after
you exit?
Comment 7 Charles Kerr 2003-11-14 17:51:37 UTC
Bruno: If the scoring works up until the point you exit Pan & restart,
what do the contents of ~/News/Score look like before & after
you exit?
Comment 8 Bruno Van Den Bossche 2003-11-16 22:24:13 UTC
I had a hard disk failing on me last week which forced me to reinstall
everything, since then I can't reproduce this anymore :-/
So I'm afraid I can't really help anymore.

On a sidenote, the adding of a Score through the menu's didn't work
after that make kernel & world either, only the coloring of the
articles did.  (Which doesn't anymore now)
Comment 9 Jakob Breivik Grimstveit 2003-11-16 23:33:19 UTC
I'm not able to add a score, what ever I try.
Comment 10 Charles Kerr 2003-11-17 04:32:03 UTC
I'll try to look into this over the next day or two.
Comment 11 Charles Kerr 2003-11-24 21:46:14 UTC
I can't duplicate this on Linux -- trying to add a score on `author is',
and the entry showing up in ~/News/Score is analogous to the one in
the screenshot's error message.
Comment 12 Christophe Lambin 2003-11-27 22:13:58 UTC
Moving to pcre should fix this problem, since pcre doesn't use posix
regcomp().
Comment 13 Charles Kerr 2003-11-28 16:56:38 UTC
Marking as fixed as we're now using pcre.

Please re-open if the problem still shows up on bsd.
Comment 14 Jakob Breivik Grimstveit 2003-11-28 20:00:19 UTC
Great. Any release scheduled?
Comment 15 Charles Kerr 2003-11-28 20:44:37 UTC
sure, why not.
Comment 16 Bruno Van Den Bossche 2003-11-30 23:39:16 UTC
Just letting you know Scoring works again.
Thx!