aptoncd crashed with IndexError in main()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptoncd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aptoncd
It just crashed while starting up, by clicking on the icon. I could repeat this process by calling sudo aptoncd:
thomas@
Reading package lists... Done
Building dependency tree
Reading state information... Done
FATAL -> Failed to fork.
thomas@
The GUI start image looks fine: see first screenshot. It contains a couple of language mistakes though.
Try to replace '... you've created ...' in the first sentence with '... you have created ...'. The abbreviation is not incorrect, it is just not common in formal written English to use this abbreviation, it had rather be spelled out completely. Also it is not likely to be used in oral conversation or in informal emails in this way: you've got mail would work, you've created an image would work too maybe, but that you've created would not be that commonly used either in informal language, although not incorrect. Therefor I would replace it as mentioned above.
I also noted in the last sentence that you have used a different font size. Try to correct this to improve the appearance of the GUI. It too contains a spelling mistake, two mistakes actually. Try to replace 'it just copy it back' with 'it will just copy it back' and add a point to the end of your sentence. Also I am not to sure if you have placed a comma before 'it will just copy' or if it is a point. If it is a point, then 'it will just copy' should begin with a large cap or capital letter: 'It will just copy'.
Right, so the first pop up window works fine, when I click the Create button though, it will give me the second pop up window. In this window, you should try to replace the 'Reading information of packages ...' line on the loading bar below with 'Reading information from packages ...' or 'Reading package information from disk ...', as the current line actually means you are now reading the information the belongs to a third person, named packages, who is the genuine owner of the property called information. Since packages is a subject and not an object (or group of), I would replace it as described above.
Now when the orange bar showing the loading process is nearing 51-54%, the application crashes, and the following error code is given:
thomas@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/213kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 200081 files and directories currently installed.)
Preparing to replace aptoncd 0.1.98-0ubuntu2 (using .../aptoncd_
Unpacking replacement aptoncd ...
Processing triggers for man-db ...
Setting up aptoncd (0.1.98-0ubuntu2) ...
thomas@
sudo: lsb-release: command not found
Linux thomas-laptop 2.6.26-5-generic #1 SMP Fri Aug 15 13:54:58 UTC 2008 i686 GNU/Linux
aptoncd:
Installed: 0.1.98-0ubuntu2
Candidate: 0.1.98-0ubuntu2
Version table:
*** 0.1.98-0ubuntu2 0
500 http://
100 /var/lib/
0.
500 cdrom://[APTonCD for ubuntu hardy - i386 (2008-08-17 02:58) DVD1] Packages
thomas@
Reading package lists... Done
Building dependency tree
Reading state information... Done
FATAL -> Failed to fork.
thomas@
I also noticed a large discrepancy between man apotoncd and aptoncd --help:
'thomas@
APTONCD(1) APTONCD(1)
NAME
aptoncd - CD/DVD-based repository creator for debian packages
SYNOPSIS
aptoncd [options]
DESCRIPTION
APTonCD is a complete solution to manage/
downloaded via apt-get, aptitude and synaptic. APTonCD also is the
best choice to download an entire repository and/or specific section of
selected mirror, by an pretty GUI.
A manual with detailed instructions can be found in the help menu of
APTonCD.
OPTIONS
APTonCD accept the following command-line call methods:
-c, --packages-
-l, --cache-dir=PATH
Uses PATH as apt cache dir (instead of /var/cache/
-r, --temp-dir=PATH
Uses PATH as temporary directory for copying files and mounting
AUTHORS
and Laudeci Oliveira <email address hidden>, with some contributors
that can be found on the project page.
All development is done at http://
This manual page was written by Rafael Proenca <email address hidden>.
COPYRIGHT
Copyright (C) 2007 Rafael Proenca
There is NO warranty. You may redistribute this software under the
terms of the GNU General Public License. For more information about
these matters, see the files named copyright.
while:
thomas@
Usage: aptoncd [OPTION] [FILE]
Run aptoncd with command-line parameters.
Options:
-h, --help show this help message and exit
-v, --version output version information and exit.
-l, --packages-list uses the packages listed in FILE to create a
-p PATH, --cache-dir=PATH
-t PATH, --temp-dir=PATH
-n, --non-interactive
thomas@
Where are the '-c' and '-r' options in 'aptoncd --help'? Where the are the '-h', '-v', '-p', '-t', '-n' options in 'man -a aptoncd'?
Also you should close the brackets () in the '-l' option of the 'man -a aptoncd' man page. An it is an installation disk instead of a installation disk in '-l' of aptoncd --help.
Thanks for the program anyway,
It did work fine under hardy.
Thomas
ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/aptoncd
InterpreterPath: /usr/bin/python2.5
Package: aptoncd 0.1.98-0ubuntu2
PackageArchitec
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/python2.5 -tt /usr/bin/aptoncd -l
ProcEnviron:
PATH=/
LANG=en_GB.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: aptoncd
Title: aptoncd crashed with IndexError in main()
Uname: Linux 2.6.26-5-generic i686
UserGroups:
BTW, no crash report is created for aptoncd, while apport crashes continuously. See '/var/crash'. I will also write a bug report for lsb-release failure and I will notify 'Rafael Proenca <email address hidden>'. Thanks again, Thomas.
Oh, now it is created: '/var/crash/ _usr_bin_ aptoncd. 0.crash' . A little late or I am not awake yet./_usr_ bin_aptoncd. 0.crash