Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14476 - [blueman] TypeError: object of type 'NoneType' has no len()

Attached to Project: Community Packages
Opened by fabio (fabioamd) - Monday, 27 April 2009, 14:17 GMT
Last edited by Abhishek Dasgupta (abhidg) - Thursday, 23 July 2009, 06:05 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Abhishek Dasgupta (abhidg)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: when I start blueman-applet i get this:

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/blueman/plugins/applet/PowerManager.py", line 39, in <lambda>
self.item.connect("activate", lambda x: self.on_bluetooth_toggled())
File "/usr/lib/python2.6/site-packages/blueman/plugins/applet/PowerManager.py", line 77, in on_bluetooth_toggled
self.bluetooth_off = not self.bluetooth_off
File "/usr/lib/python2.6/site-packages/blueman/plugins/applet/PowerManager.py", line 116, in __setattr__
self.Applet.Plugins.Run("on_bluetooth_power_state_changed", True)
File "/usr/bin/blueman-applet", line 210, in Run
ret = getattr(inst, function)(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/blueman/plugins/applet/RecentConns.py", line 111, in on_bluetooth_power_state_changed
self.change_sensitivity(state)
File "/usr/lib/python2.6/site-packages/blueman/plugins/applet/RecentConns.py", line 107, in change_sensitivity
sensitive = sensitive and self.Applet.Manager and self.Applet.Plugins.PowerManager.GetBluetoothStatus() and (len(RecentConns.items) > 0)
TypeError: object of type 'NoneType' has no len()

and all options in the trayicon are disable except active/deactive bluetooth and info.


Additional info:
* package version(s)

1.10

* config and/or log files etc.


Steps to reproduce:

start blueman-applet as normal user
This task depends upon

Closed by  Abhishek Dasgupta (abhidg)
Thursday, 23 July 2009, 06:05 GMT
Reason for closing:  Works for me
Additional comments about closing:  Deleting .gconf/app/blueman should make this problem go away. If it doesn't request reopen.
Comment by Andrea Scarpino (BaSh) - Monday, 27 April 2009, 15:20 GMT
  • Field changed: Attached to Project (Arch Linux → Community Packages)
moved to community project
Comment by Abhishek Dasgupta (abhidg) - Monday, 27 April 2009, 16:33 GMT
Do you have 'bluetooth' in the DAEMONS array in /etc/rc.conf ?
Comment by fabio (fabioamd) - Monday, 27 April 2009, 16:35 GMT
yes
Comment by Abhishek Dasgupta (abhidg) - Monday, 27 April 2009, 16:53 GMT
I could reproduce the problem by stopping bluetooth when
blueman-applet was running and then restarting. Otherwise
blueman works fine here.
Comment by fabio (fabioamd) - Monday, 27 April 2009, 17:06 GMT
maybe a permission problem?
Comment by fabio (fabioamd) - Tuesday, 28 April 2009, 11:19 GMT
solved by deleting .gconf/app/blueman

however, the application still don't work...
don't send file, don't receive...

it does nothing...
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 13 June 2009, 15:04 GMT
  • Field changed: Summary (Blueman: TypeError: object of type 'NoneType' has no len() → [blueman] TypeError: object of type 'NoneType' has no len())
What is the status of this issue?

Loading...