Package: ntfs-config
Version: 1.0.1-10
Severity: important
Tags: patch
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
Connecting an NTFS drive not present in /etc/fstab causes a "New partition"
dialogue to appear. Clicking on either option (automatic configuration
or "ok")
has no effect.
This is caused by the following error:
File "/usr/lib/pymodules/python2.7/NtfsConfig/AddWizard.py", line 159, in
on_auto_clicked
self.auto_configure()
File "/usr/lib/pymodules/python2.7/NtfsConfig/AddWizard.py", line 168, in
auto_configure
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 260, in add_section
if section.lower() == "default":
AttributeError: 'float' object has no attribute 'lower'
* What exactly did you do (or not do) that was effective (or
ineffective)?
An Ubuntu bug report includes a working patch:
https://bugs.launchpad.net/ubuntu/+source/ntfs-config/+bug/516826/comments/12
* What was the outcome of this action?
The "New partition" dialogue works as expected.
* What outcome did you expect instead?
N/A
-- System Information:
Debian Release: 7.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable'), (100, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ntfs-config depends on:
ii ntfs-3g 1:2012.1.15AR.5-2.1
ii python 2.7.3-4+deb7u1
ii python-glade2 2.24.0-3+b1
ii python-support 1.0.15
ii python2.6 2.6.8-1.1
ii python2.7 2.7.3-6
ii udev 175-7.2
ntfs-config recommends no packages.
Versions of packages ntfs-config suggests:
pn disk-manager <none>
-- no debconf information
=== modified file 'NtfsConfig/Fstab/FstabHandler.py'
--- NtfsConfig/Fstab/FstabHandler.py 2010-07-30 23:24:29 +0000
+++ NtfsConfig/Fstab/FstabHandler.py 2012-09-08 20:27:52 +0000
@@ -516,7 +516,7 @@
name is default to the date of saving '''
if not name :
- name = time.time()
+ name = str(time.time())
if self.logchanges and self.lastsave_has_changed() :
logging.debug("Save log as %s", name)
self._logconf.add_section(name)