Bug 608194
Summary: | [abrt] crash in cnucnu-0-0.3.20100110.fc12: re.py:245:_compile:error: multiple repeat | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Timms <dtimms> | ||||||
Component: | cnucnu | Assignee: | Till Maas <opensource> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 12 | CC: | opensource, susi.lehtola | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | abrt_hash:3e91d031 | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-12-03 13:41:27 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
David Timms
2010-06-26 00:26:08 UTC
Created attachment 427015 [details]
File: backtrace
Created attachment 427016 [details]
File: reproduce
Package: cnucnu-0-0.3.20100110.fc12 Architecture: x86_64 OS Release: Fedora release 12 (Constantine) How to reproduce ----- 1. cnucnu --shell None None URL:> 2. http://sourceforge.net/projects/rakarrack/files/ None http://sourceforge.net/projects/rakarrack/files/ Regex:> 3. rakarrack-(.*?).tar.gz Upstream Versions: ['0.3.0/rakarrack-0.3.0', '0.3.0/rakarrack-0.3.0', '0.3.0/rakarrack-0.3.0', '0.3.0', '0.2.0/rakarrack-0.2.0', '0.2.0/rakarrack-0.2.0', '0.2.0/rakarrack-0.2.0', '0.2.0', '0.1.2/rakarrack-0.1.2', '0.1.2/rakarrack-0.1.2', '0.1.2/rakarrack-0.1.2', '0.1.2'] Latest: 0.3.0/rakarrack-0.3.0 rakarrack-(.*?).tar.gz http://sourceforge.net/projects/rakarrack/files/ Regex:> rakarrack-(.*?).tar.(?bz2|gz) Upstream Versions: Traceback (most recent call last): File "/usr/bin/cnucnu", line 70, in <module> if not shell.cmdloop(): File "/usr/lib64/python2.6/cmd.py", line 143, in cmdloop stop = self.postcmd(stop, line) File "/usr/lib/python2.6/site-packages/cnucnu/checkshell.py", line 123, in postcmd print "Upstream Versions:", self.package.upstream_versions File "/usr/lib/python2.6/site-packages/cnucnu/package_list.py", line 149, in upstream_versions upstream_versions = re.findall(self.regex, html) File "/usr/lib64/python2.6/re.py", line 177, in findall return _compile(pattern, flags).findall(string) File "/usr/lib64/python2.6/re.py", line 245, in _compile raise error, v # invalid expression sre_constants.error: unexpected end of pattern Comment ----- Another "user supplied invalid regex", this time missing : between (? and bz2 Enhancement: don't bomb out. - Perhaps all regex errors have an exception parent that cnucnu can detect, and print the resulting error message and continue. - Is it possible to test the regex first, before applying it to the html received from the URL ? I can confirm this with the newest git snapshot. Till: could you have a look at this? (In reply to comment #4) > I can confirm this with the newest git snapshot. > > Till: could you have a look at this? Sure, but I cannot currently say when. I will try to do it soon, but it might also take a month or so. In general cnucnu needs more love. :-/ This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |