Bug 578612 - [abrt] crash in blueproximity-1.2.5-5.fc12: configobj.py:1206:__init__:TypeError: warn() takes at most 3 arguments (4 given)
Summary: [abrt] crash in blueproximity-1.2.5-5.fc12: configobj.py:1206:__init__:TypeEr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blueproximity
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jonathan Steffan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4990c560
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-31 19:34 UTC by Marcelo Mello
Modified: 2010-06-08 19:17 UTC (History)
10 users (show)

Fixed In Version: blueproximity-1.2.5-6.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-07 22:26:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.65 KB, text/plain)
2010-03-31 19:34 UTC, Marcelo Mello
no flags Details

Description Marcelo Mello 2010-03-31 19:34:34 UTC
abrt 1.0.8 detected a crash.

architecture: x86_64
cmdline: python proximity.py
component: blueproximity
executable: /usr/share/blueproximity/proximity.py
kernel: 2.6.33.1-19.fc13.x86_64
package: blueproximity-1.2.5-5.fc12
reason: configobj.py:1206:__init__:TypeError: warn() takes at most 3 arguments (4 given)
release: Fedora release 13 (Goddard)

backtrace
-----
configobj.py:1206:__init__:TypeError: warn() takes at most 3 arguments (4 given)

Traceback (most recent call last):
  File "proximity.py", line 1274, in <module>
    config = ConfigObj(os.path.join(conf_dir, _('standard') + '.conf'),{'create_empty':True,'file_error':False,'configspec':conf_specs})
  File "/usr/lib/python2.6/site-packages/configobj.py", line 1206, in __init__
    DeprecationWarning, stacklevel=2)
TypeError: warn() takes at most 3 arguments (4 given)

Local variables in innermost frame:
write_empty_values: False
warnings: <module 'warnings' from '/usr/lib64/python2.6/warnings.pyc'>
self: ConfigObj({})
file_error: False
_inspec: False
default_encoding: None
list_values: True
infile: '/home/marcelo/.blueproximity/standard.conf'
encoding: None
unrepr: False
raise_errors: False
configspec: None
stringify: True
indent_type: None
create_empty: False
options: {'configspec': ['device_mac=string(max=17,default="")', 'device_channel=integer(1,30,default=7)', 'lock_distance=integer(0,127,default=7)', 'lock_duration=integer(0,120,default=6)', 'unlock_distance=integer(0,127,default=4)', 'unlock_duration=integer(0,120,default=1)', 'lock_command=string(default=gnome-screensaver-command -l)', 'unlock_command=string(default=gnome-screensaver-command -d)', 'proximity_command=string(default=gnome-screensaver-command -p)', 'proximity_interval=integer(5,600,default=60)', 'buffer_size=integer(1,255,default=1)', 'log_to_syslog=boolean(default=True)', 'log_syslog_facility=string(default=local7)', 'log_to_file=boolean(default=False)', 'log_filelog_filename=string(default=/home/marcelo/blueproximity.log)'], 'create_empty': True, 'file_error': False}
interpolation: True

Comment 1 Marcelo Mello 2010-03-31 19:34:37 UTC
Created attachment 403819 [details]
File: backtrace

Comment 2 Jonathan Steffan 2010-04-10 20:17:49 UTC
I will have to setup a rawhide instance to develop the needed python patch. Upstream is all but done working on this software.

Comment 3 joeTSUNAMI 2010-05-27 03:50:13 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Launch from menu (immediately crashes)
2.
3.


Comment
-----
It immediately crashes upon launch.  I removed the .blueproximity directory and relaunched.  It crashed just the same.

Comment 4 john.haxby@oracle.com 2010-05-27 09:06:44 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Start blueproximity
2.
3.


Comment
-----
Just start blueproxmiity.   I get a different error if I have the old ~/.blueproximity/standard.conf in place but the crash is at the same point.

Comment 5 Jonathan Steffan 2010-05-31 01:33:23 UTC
I've developed a patch for ConfigObj calls and am testing now. I'll do a build tomorrow if everything works as expected.

Comment 6 Luis Garza 2010-06-01 00:39:57 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. run blueproximity
2. crash
3.

Comment 7 Stefan Jensen 2010-06-01 16:58:15 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. start "blueproximity"


Comment
-----
Fresh install of blueproximity fails to start always.

Comment 8 Johan Basson 2010-06-03 13:17:35 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.run blueproximity
2.
3.

Comment 9 Rene Jr Purcell 2010-06-03 13:39:07 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.# yum install blueproximity.noarch pulseaudio-module-bluetooth.i686
2. $ blueproximity
3.  and the program never start




Comment
-----
Here's the output, if I try to start it in a shell.

[rpurcell@t61ig tools]$ blueproximity 
Traceback (most recent call last):
  File "proximity.py", line 1274, in <module>
    config = ConfigObj(os.path.join(conf_dir, _('standard') + '.conf'),{'create_empty':True,'file_error':False,'configspec':conf_specs})
  File "/usr/lib/python2.6/site-packages/configobj.py", line 1206, in __init__
    DeprecationWarning, stacklevel=2)
TypeError: warn() takes at most 3 arguments (4 given)


It seems to have some difficulty to create the default config file, if I refer to the line 1274 of proximity.py

Comment 10 João Carlos Mendes Luís 2010-06-04 13:31:06 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. Just start it, from the gnome menu
2.
3.


Comment
-----
I am running in a MacBook 6,1, just in case it matters...

My bluetooth mouse works

Comment 11 Fedora Update System 2010-06-07 00:36:46 UTC
blueproximity-1.2.5-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/blueproximity-1.2.5-6.fc13

Comment 12 bethebeast 2010-06-07 15:12:46 UTC
Package: blueproximity-1.2.5-5.fc12
Architecture: i686
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1. launch blueproximity for the first time
2. get crash
3.

Comment 13 Fedora Update System 2010-06-07 22:26:24 UTC
blueproximity-1.2.5-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 bethebeast 2010-06-08 19:17:40 UTC
after the last update, blueproximity works goods, it's a fantastic software, thank you for this...


Note You need to log in before you can comment on or make changes to this bug.