Crashes with "group name can not be empty"

Bug #1012619 reported by Marius Gedminas on 2012-06-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
password-gorilla (Debian)
Fix Released
password-gorilla (Ubuntu)

Bug Description

I tried to open my ~/.pwsafe.dat with password-gorilla, and it crashed with the following error on the terminal:

    group name can not be empty
        while executing
    "error "group name can not be empty""
        (procedure "::pwsafe::db::splitGroup" body line 15)
        invoked from within
    "pwsafe::db::splitGroup $groupName"
        (procedure "AddGroupToTree" line 9)
        invoked from within
    "AddGroupToTree $groupName"
        (procedure "AddRecordToTree" line 4)
        invoked from within
    "AddRecordToTree $rn"
        (procedure "AddAllRecordsToTree" line 3)
        invoked from within
        (procedure "gorilla::Open" line 59)
        invoked from within
        invoked from within
    "if {$haveDatabaseToLoad} {
      set action [gorilla::Open $databaseToLoad]
     } else {
      set action [gorilla::Open]
        (file "/usr/share/password-gorilla/gorilla.tcl" line 7545)

The file works fine with pwsafe (command-line tool recently removed from Debian and Ubuntu) and Android's PasswdSafe.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: password-gorilla
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu9
Architecture: i386
Date: Wed Jun 13 14:15:31 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitecture: all
SourcePackage: password-gorilla
UpgradeStatus: Upgraded to precise on 2012-04-26 (47 days ago)

Marius Gedminas (mgedmin) wrote :
Allison Randal (allison) wrote :

Do you know if the pwsafe file was v3 format? Debian has a nearly identical bug report.

Marius Gedminas (mgedmin) wrote :

I think it was v2, although I'm not sure how I can check (file ~/.pwsafe.dat says "data").

The pwsafe package that was recently removed from Debian and Ubuntu says it's "[c]ompatible with CounterPane's PasswordSafe Win32 program versions 2.x and 1.x.", so I suspect v3 is not a possibility.

Changed in password-gorilla (Debian):
status: Unknown → New
Changed in password-gorilla (Debian):
status: New → Incomplete
Changed in password-gorilla (Debian):
status: Incomplete → Fix Released
Changed in password-gorilla (Debian):
status: Fix Released → Incomplete
Changed in password-gorilla (Debian):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.