Bug 742808 - Traceback when I try to use DEBIAN-DEFAULT as URL
Summary: Traceback when I try to use DEBIAN-DEFAULT as URL
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cnucnu
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Till Maas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-02 22:25 UTC by Miroslav Suchý
Modified: 2015-01-31 14:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-31 14:04:23 UTC
Type: ---


Attachments (Terms of Use)

Description Miroslav Suchý 2011-10-02 22:25:08 UTC
Description of problem:
According to 
https://fedoraproject.org/wiki/Upstream_release_monitoring#Check_My_Package.2C_please.21
I tried to use DEBIAN-DEFAULT alias as url and I got traceback

Version-Release number of selected component (if applicable):
cnucnu-0-0.7.20110308git2033ec78.fc15.noarch

How reproducible:
always

Steps to Reproduce:
1. at prompt URL enter word DEBIAN-DEFAULT
  
Actual results:
[msuchy@dri/~]$ cnucnu --shell
 None None  URL:> DEBIAN-DEFAULT
Traceback (most recent call last):
  File "/usr/bin/cnucnu", line 71, in <module>
    if not shell.cmdloop():
  File "/usr/lib64/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib64/python2.7/cmd.py", line 218, in onecmd
    return self.default(line)
  File "/usr/lib/python2.7/site-packages/cnucnu/checkshell.py", line 68, in default
    self.do_url(line)
  File "/usr/lib/python2.7/site-packages/cnucnu/checkshell.py", line 108, in do_url
    self.package.url = args
  File "/usr/lib/python2.7/site-packages/cnucnu/package_list.py", line 202, in set_url
    url = "http://ftp.debian.org/debian/pool/main/%s/%s/" % (name[0], name)
IndexError: string index out of range

Expected results:
No traceback.

Comment 1 Fedora Update System 2011-10-30 15:34:11 UTC
cnucnu-0-0.8.20111030git315bba3b.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/cnucnu-0-0.8.20111030git315bba3b.fc15

Comment 2 Fedora Update System 2011-10-30 15:34:19 UTC
cnucnu-0-0.8.20111030git315bba3b.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/cnucnu-0-0.8.20111030git315bba3b.fc14

Comment 3 Fedora Update System 2011-10-30 15:34:27 UTC
cnucnu-0-0.8.20111030git315bba3b.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cnucnu-0-0.8.20111030git315bba3b.fc16

Comment 4 Till Maas 2011-10-30 17:47:37 UTC
Uh, this update won't fix this  bug. The problem is that you can use URL aliases only after you set the name of the package by using "name foo".

Comment 5 Fedora End Of Life 2013-01-16 17:40:21 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. 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 '16'.

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 16'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 16 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, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

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

Comment 6 Fedora End Of Life 2013-02-13 22:31:30 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 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.

Comment 7 Miroslav Suchý 2013-02-14 12:15:33 UTC
Still happens on Fedora 18:
$ cnucnu shell
 None None  URL:> DEBIAN-DEFAULT
Traceback (most recent call last):
  File "/usr/bin/cnucnu", line 132, in <module>
    actions.do(args.action, args)
  File "/usr/bin/cnucnu", line 97, in do
    return self.action(action)(args)
  File "/usr/bin/cnucnu", line 80, in action_shell
    if not shell.cmdloop():
  File "/usr/lib64/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/lib64/python2.7/cmd.py", line 220, in onecmd
    return self.default(line)
  File "/usr/lib/python2.7/site-packages/cnucnu/checkshell.py", line 68, in default
    self.do_url(line)
  File "/usr/lib/python2.7/site-packages/cnucnu/checkshell.py", line 108, in do_url
    self.package.url = args
  File "/usr/lib/python2.7/site-packages/cnucnu/package_list.py", line 212, in set_url
    url = "http://ftp.debian.org/debian/pool/main/%s/%s/" % (name[0], name)
IndexError: string index out of range

Comment 8 Fedora End Of Life 2015-01-09 21:53:10 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 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, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 9 Till Maas 2015-01-31 14:04:23 UTC
cnucnu will be replaced by https://github.com/fedora-infra/anitya soon. I do not know if there is a cli interface for it (planned), but it won't be fixed in cnucnu, since it will be retired when it is replaced.


Note You need to log in before you can comment on or make changes to this bug.