"Create crypt"-window crash

Bug #188253 reported by repley
2
Affects Status Importance Assigned to Milestone
easycrypt (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: easycrypt

On my fresh ubuntu Gutsy, "Create crypt"-window crash with this traceback:

Traceback (most recent call last):
  File "./EasyCrypt.py", line 1550, in doCreateEvent
    self.getCryptPasswordThenAction("create")
  File "./EasyCrypt.py", line 872, in getCryptPasswordThenAction
    spaceleft = self.howMuchSpaceInKb()
  File "./EasyCrypt.py", line 408, in howMuchSpaceInKb
    return int(checkAmountLeft)
ValueError: invalid literal for int() with base 10: '11%'

easycrypt.py line 397:

[..]
396: print "df -k "+self.workingFolder+" | tail -1 | awk {'print $4'}"
397: checkAmountLeft = commands.getoutput("df -k "+self.workingFolder+" | tail -1 | awk {'print $4'}")
398: print "size left", checkAmountLeft
399:
400: if capMax:
401: cap = 2000 * 1024
402: if int(checkAmountLeft) > cap:
403: print "capped"
[...]

repley (repley)
description: updated
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.