cain documentation/help has broken internal links

Bug #1032304 reported by Sasa Paporovic
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cain
Unknown
Unknown
cain (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The cain help/documentation which ships with the package and is accesible within the program has some broken internal links.

You can find such link in Help -> Cain -> User's Guide -> Solvers

In this artical you may for example choose "Gibson 2000" which is a internal link to the references.

On cliking it a error window popup that inform about an python error:

"Unable to open requested HTML document: gibson2000"

I attach a sreenshot of this.

Steps to reproduce:
1.Install cain
2.Open cain
3.Click on the help button(blue question mark in the menu line of the program)
4.See the help window come up
5.Navigate in the help window to Cain -> User's Guide -> Solvers
6.Search for the entry/link Gibson 2000
7.Click on it
8.See the error window come up

Additional:

The citation seems to be in the reference. Only the linking makes trouble.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: cain 1.9-4
ProcVersionSignature: Ubuntu 3.5.0-7.7-generic 3.5.0
Uname: Linux 3.5.0-7-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Thu Aug 2 19:15:28 2012
ExecutablePath: /usr/share/cain/Cain.py
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120722)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no username)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: cain
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sasa Paporovic (melchiaros) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Hi Ivo, Hi Andreas,

I have subscibed you,because I have found you on

http://packages.ubuntu.com/quantal/cain

as original maintainers of cain.

Here is a python problem with the package(documentation) that may be only a problem to the package itself and not to the program. On usage of some internal links in the documentation an python error popup.
Steps to reproduce you find above.

greetings

melchiaros

Revision history for this message
Ivo Maintz (ivomaintz-gmx) wrote :

Hi melchiaros,

It is an error in the program or rather the help file of the program.
I fixed the problem finally by fixing the broken links in /usr/share/cain/help/UserSolvers.ht* and recreating the file /usr/share/cain/help/cain.htb (it's a zipped archive).
The updated package will be uploaded soon to debian unstable; I'm not sure, how ubuntu will handle this.
Unfortunately, cain.htb is to big for an attachment (~22mb), but if you apply the attached help.patch to /usr/share/cain/help/UserSolver.htm and recreate /usr/share/cain/help/cain.htb, it's done:
Download the patch and open a terminal;

~# cd /usr/share/cain/help
~# sudo patch UserSolvers.htm [PATH TO] UserSolvers.htm.patch
~# sudo zip cain.htb * -x *.thb *.thd

greetings,

Ivo

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "UserSolvers.htm.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cain - 1.9-5

---------------
cain (1.9-5) unstable; urgency=low

  [ Ivo Maintz ]
  * debian/rules: remove lots of superfluos files in help/ and gui/
  * fixed broken links in the help
    LP: #1032304

  [ Andreas Tille ]
  * debian/control:
     - Build-Depends: zip
     - Removed quilt from Build-Depends
  * debian/rules: use xz compression

 -- Andreas Tille <email address hidden> Fri, 10 Aug 2012 14:09:53 +0200

Changed in cain (Ubuntu):
status: New → Fix Released
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.