ntfs-config crashed with AttributeError in add_section()

Bug #507831 reported by dhurler
84
This bug affects 19 people
Affects Status Importance Assigned to Milestone
ntfs-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ntfs-config

This looks like a python error. I just upgraded from 9.10 to 10.04. Here's the console output:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/NtfsConfig/NtfsConfig.py", line 242, in on_internal_toggled
    self.set_internal_ntfs_policy(entries, policy)
  File "/usr/lib/pymodules/python2.6/NtfsConfig/NtfsConfig.py", line 224, in set_internal_ntfs_policy
    self.disk.set(entry, type="ntfs-3g", option="-ro")
  File "/usr/lib/pymodules/python2.6/NtfsConfig/Fstab/FstabHandler.py", line 307, in set
    entry["FSTAB_TYPE"] = type
  File "/usr/lib/pymodules/python2.6/NtfsConfig/Fstab/Fstab.py", line 106, in __setitem__
    (self["FSTAB_OPTION"], self["FSTAB_FREQ"], self["FSTAB_PASO"]) = default
  File "/usr/lib/pymodules/python2.6/NtfsConfig/Fstab/Fstab.py", line 112, in __setitem__
    listopt.append("locale=" + os.environ["LANG"])
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'LANG'

ProblemType: Crash
Architecture: amd64
Date: Fri Jan 15 00:54:19 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/ntfs-config
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: ntfs-config 1.0.1-3ubuntu3
ProcCmdline: /usr/bin/python2.6 -OOt /usr/bin/ntfs-config
ProcEnviron:
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
PythonArgs: ['/usr/bin/ntfs-config']
SourcePackage: ntfs-config
Tags: lucid
Title: ntfs-config crashed with AttributeError in add_section()
Uname: Linux 2.6.32-9-generic x86_64
UserGroups:

Revision history for this message
dhurler (dhurler) wrote :
tags: removed: need-duplicate-check
tags: added: bugpattern-needed
Vish (vish)
visibility: private → public
tags: added: bugpattern-written
removed: bugpattern-needed
Revision history for this message
Özgür (ozgurkinaci) wrote :

I had this error when other applications were using the NTFS drive.
Lucid 64 bit

I shall try when no other application is using it.
If I do not report again, it means it will work at that case. :)

Revision history for this message
direct_acess (me-luisnovais) wrote :

I had this problem also on lucid lynx 64 bits... I installed ubuntu with the wubi installer.. Don't know if have anything to do with it though.

Changed in ntfs-config (Ubuntu):
status: New → Confirmed
Revision history for this message
liamdawe (liamdawe) wrote :

I have this problem in maverick but not lucid.

Revision history for this message
cliff tinker (cliff5555) wrote :

have this problem in precise

Revision history for this message
Syed Khalil (skr-2000) wrote :

I got this crash on Precise.

Revision history for this message
Grzes (alith-anar-ensiferum) wrote :

been crashed on Precise

Revision history for this message
Removed by request (removed3392995) wrote :

me 2 got this crash on Precise

Revision history for this message
kirkbed (kirkbed) wrote :

crashed on Precise

Installed because of problem mounting fat32 and don't know what to do

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.