Package: blogtk
Version: 1.0-1.1
Severity: important
The application depends on having an account profile called Default.
However, it does indirectly allow you to remove this profile and if the
profile is not present on startup the application crashes.
If you select to delete the "Default" account, an error "You cannot
delete the default account" is presented with only an OK button. If OK
is pressed, the account appears to still be there as it still listed in
the account drop down. However, if you then select New Account and
provide the account a name of anything other than "Default" the account
list only contains the new account (Default is now gone). From this
point it's impossible to save the account settings, any attempt to do so
without first creating a new account called "Default" results in the
following output on the console:
/usr/lib/blogtk/config.py:282: GtkDeprecationWarning: gtk.TRUE is deprecated,
use True instead
if self.blogRadioMT.get_active() == gtk.TRUE:
/usr/lib/blogtk/config.py:284: GtkDeprecationWarning: gtk.TRUE is deprecated,
use True instead
if self.blogRadioBlogger.get_active() == gtk.TRUE:
/usr/lib/blogtk/config.py:286: GtkDeprecationWarning: gtk.TRUE is deprecated,
use True instead
if self.blogRadioMW.get_active() == gtk.TRUE:
/usr/lib/blogtk/config.py:293: GtkDeprecationWarning: gtk.TRUE is deprecated,
use True instead
if self.defaultPublishCheck.get_active() == gtk.TRUE:
Traceback (most recent call last):
File "/usr/lib/blogtk/config.py", line 297, in saveAccount
self.parser.set("Default", "defaultPublish", "0")
File "/usr/lib/python2.3/ConfigParser.py", line 352, in set
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'Default'
Now let's start with two profiles. One named the mandatory "Default"
and another named anything else. Open "Accounts and Settings...",
select the "Default" account and press Delete. You will once again be
instructed that you can not delete the default account. Click OK, then
Save. At this point you'll no longer be able to OK out of the "Accounts
and Preferences" dialog (shouldn't the dialog have a title that matches
the option that opened it?). So, you'll have to Cancel. Once you've
Cancelled, exit the application. Now try restarting it. It'll pop up
for an instant and then disappear with the following on the console:
Traceback (most recent call last):
File "/usr/bin/BloGTK", line 1230, in ?
blogtk = BloGTK()
File "/usr/bin/BloGTK", line 133, in __init__
self.grabConfig()
File "/usr/bin/BloGTK", line 367, in grabConfig
self.url = self.conf.get(self.sectionName, 'server')
File "/usr/lib/python2.3/ConfigParser.py", line 505, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'Default'
If the application is this dependant on having a profile called
"Default" (which I take in itself to be a bug) it should make sure that
it does not allow the removal of it in any way.
In addition, if you enter the information for a second profile and click
Save, the information is cleared and the account selection is reverted to
showing Default. The only way to enter actual account information for a
second profile is to enter it and click OK instead of Save.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages blogtk depends on:
ii python 2.3.5-1 An interactive high-level object-o
ii python-glade2 2.6.1-2 GTK+ bindings: Glade support
ii python-gnome2 2.6.1-1 Python bindings for the GNOME desk
ii python-gtk2 2.6.1-2 Python bindings for the GTK+ widge
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]