ntfs-config crashed with AttributeError in add_section()

Bug #516826 reported by Sorinux
600
This bug affects 128 people
Affects Status Importance Assigned to Milestone
ntfs-config (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: ntfs-config

I was just finishing the configuration of the NTFS partitions and when I wanted to closed the application, it did not want to respond any more.

ProblemType: Crash
Architecture: amd64
Date: Thu Feb 4 07:43:22 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/ntfs-config
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100202)
InterpreterPath: /usr/bin/python2.6
Package: ntfs-config 1.0.1-3ubuntu4
ProcAttrCurrent: unconfined (enforce)
ProcCmdline: /usr/bin/python2.6 -OOt /usr/bin/ntfs-config
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-12.16-generic
PythonArgs: ['/usr/bin/ntfs-config']
SourcePackage: ntfs-config
Title: ntfs-config crashed with AttributeError in add_section()
Uname: Linux 2.6.32-12-generic x86_64
UserGroups:

Revision history for this message
Sorinux (concitasorin) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
visibility: private → public
Revision history for this message
liamdawe (liamdawe) wrote :

I can confirm it happened to me too. Although for me the dialog with the checkbox's seemed to pop-under the but where you select a mount point, weird.

tags: added: bugpattern-written
removed: bugpattern-needed
Revision history for this message
serwwweb (serwwweb) wrote :

Quote:

"liamdawe wrote on 2010-04-04: #2

I can confirm it happened to me too. Although for me the dialog with the checkbox's seemed to pop-under the but where you select a mount point, weird."

Same thing happened to me today, but beyond the error everything seems to work properly.

Revision history for this message
Simon Lock (aergan) wrote :

Applied settings for first time, no issue. Returned and clicked cancel to a partition I have no desire to enable and application crashed but still allowed me to continue to make changes / apply them.

Changed in ntfs-config (Ubuntu):
status: New → Confirmed
Changed in ntfs-config (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Shyam (reddy-shyam) wrote :

Same thing as Simon

Revision history for this message
Rares Vernica (rares) wrote :

Here is the error message I get:

{{{
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/NtfsConfig/AddWizard.py", line 154, in on_ok_clicked
    self.disk.savelog()
  File "/usr/lib/pymodules/python2.7/NtfsConfig/Fstab/FstabHandler.py", line 522, in savelog
    self._logconf.add_section(name)
  File "/usr/lib/python2.7/ConfigParser.py", line 252, in add_section
    if section.lower() == "default":
AttributeError: 'float' object has no attribute 'lower'
}}}

Revision history for this message
Enkouyami (furyhamster) wrote :

Had the same problem on 12.04, but it did close. Apport stated there was a crash after it seemed to close without problems.

Revision history for this message
anatoly techtonik (techtonik) wrote :

Same thing as in #6

Revision history for this message
StoryTeller (funkyguru) wrote :

Confirm, same problem on Compaq notebook and with version 12.04 32 bit.

Revision history for this message
Karan Singh (staticbit) wrote :

Same as #7. This happened when i opened ntfs-config to mount my windows 7 partition that could not be detected/mounted at boot time.

Revision history for this message
Hercules (sithiraklis) wrote :

Same thing here but this happened when I tried to enable write support in NTFS volumes.
In addition, now only sudo can mount the volumes and not user :/

Revision history for this message
Josh Purvis (joshua-purvis) wrote :

Attached is a patch which fixes this bug.

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

The attachment "516826.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
Josh Purvis (joshua-purvis) wrote :

I probably should have mentioned that my patch in comment #12 is for the `precise` branch. The same bug still exists in the `quantal` branch as well.

I apologize, as I'm not familiar with bazaar nor the Ubuntu development process. I simply fixed this bug for my own purposes, and figured I'd share for anyone experiencing the same problem.

Revision history for this message
dino99 (9d9) wrote :

ntfs-3g have replaced that outdated package; closing this report.

Changed in ntfs-config (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.