Bug 1209413 - [abrt] wicd-gtk: configscript.py:106:write_scripts:TypeError: write() takes exactly 1 argument (2 given)
Summary: [abrt] wicd-gtk: configscript.py:106:write_scripts:TypeError: write() takes e...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wicd
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5fd4a9015f1c2269316daa40bcb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-07 10:17 UTC by Oleg
Modified: 2015-05-19 16:24 UTC (History)
1 user (show)

Fixed In Version: wicd-1.7.3-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-19 16:24:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (921 bytes, text/plain)
2015-04-07 10:17 UTC, Oleg
no flags Details
File: environ (2.27 KB, text/plain)
2015-04-07 10:17 UTC, Oleg
no flags Details

Description Oleg 2015-04-07 10:17:24 UTC
Version-Release number of selected component:
wicd-gtk-1.7.2.4-14.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        python /usr/share/wicd/gtk/configscript.py 0 wireless
executable:     /usr/share/wicd/gtk/configscript.py
kernel:         3.19.3-200.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
configscript.py:106:write_scripts:TypeError: write() takes exactly 1 argument (2 given)

Traceback (most recent call last):
  File "/usr/share/wicd/gtk/configscript.py", line 162, in <module>
    main(sys.argv)
  File "/usr/share/wicd/gtk/configscript.py", line 154, in main
    write_scripts(network, network_type, script_info)
  File "/usr/share/wicd/gtk/configscript.py", line 106, in write_scripts
    con.write(open(wireless_conf, "w"))
TypeError: write() takes exactly 1 argument (2 given)

Local variables in innermost frame:
network: '0'
script_info: {'post_entry': 'None', 'post_disconnect_entry': 'None\n= localhost.localdomain\n= None\n= 1\n= localhost.localdomain\n= None\n= None\n= localhost.localdomain\n= None\n= None\n= None\n= 1', 'pre_disconnect_entry': 'None\n= 0123456789\n', 'pre_entry': 'None'}
network_type: 'wireless'
bssid: dbus.String(u'10:47:80:62:70:05')
con: /etc/wicd/wireless-settings.conf

Comment 1 Oleg 2015-04-07 10:17:27 UTC
Created attachment 1011681 [details]
File: backtrace

Comment 2 Oleg 2015-04-07 10:17:28 UTC
Created attachment 1011682 [details]
File: environ

Comment 3 Fedora Update System 2015-05-05 18:20:27 UTC
wicd-1.7.3-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/wicd-1.7.3-1.fc21

Comment 4 Fedora Update System 2015-05-10 23:40:27 UTC
Package wicd-1.7.3-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wicd-1.7.3-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7685/wicd-1.7.3-1.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-05-19 16:24:00 UTC
wicd-1.7.3-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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