Bug 669569 (TBea:7a:ee) - TBea:7a:ee maindialog.py:399:save:TypeError: cannot concatenate 'str' and 'exceptions.ValueError' objects
Summary: TBea:7a:ee maindialog.py:399:save:TypeError: cannot concatenate 'str' and 'ex...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: TBea:7a:ee
Product: Fedora
Classification: Fedora
Component: system-config-network
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 730269 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 01:31 UTC by Mathias Panzenböck
Modified: 2012-08-17 09:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 22:40:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mathias Panzenböck 2011-01-14 01:31:42 UTC
Description of problem:
The error dialog crashes because it tries to concatenate a string with an exception object.

How reproducible:
Always.

Steps to Reproduce:
1. Enter an illegal domain name in the hosts configuration (e.g. -seed-.deviantart.com)
2. Click File -> Save
3. Experience error
  
Actual results:
Unrecoverable error because of bug in error handling code.

Expected results:
Message box that informs me of the real error and lets me save the network configuration anyway.

Trace:

Component: system-config-network
Version: 1.6.2
Summary: TBea:7a:ee maindialog.py:399:save:TypeError: cannot concatenate 'str' and 'exceptions.ValueError' objects

Traceback (most recent call last):
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 842, in on_applyButton_clicked
    self.save()
  File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 399, in save
    "Errors detected, do you really want to save?\n" + e,
TypeError: cannot concatenate 'str' and 'exceptions.ValueError' objects

Local variables in innermost frame:
self: <netconfpkg.gui.maindialog.mainDialog instance at 0x252c3b0>
e: Profile: default 
Error in hostslist
Wrong: Hostname in entry 7
Wrong: Hostname in entry 8
Wrong: Hostname in entry 9
Wrong: Hostname in entry 10
Wrong: Hostname in entry 11
Wrong: Hostname in entry 12
Wrong: Hostname in entry 13
Wrong: Hostname in entry 14
Wrong: Hostname in entry 15
Wrong: Hostname in entry 16
Wrong: Hostname in entry 17
Wrong: Hostname in entry 18
Wrong: Hostname in entry 19
Wrong: Hostname in entry 20
Wrong: Hostname in entry 21
Wrong: Hostname in entry 22
Wrong: Hostname in entry 23
Wrong: Hostname in entry 24
Wrong: Hostname in entry 25
Wrong: Hostname in entry 26
Wrong: Hostname in entry 27
Wrong: Hostname in entry 28
Wrong: Hostname in entry 29

Comment 2 Jiri Popelka 2011-12-13 13:27:19 UTC
*** Bug 730269 has been marked as a duplicate of this bug. ***

Comment 3 Fedora End Of Life 2012-08-16 22:40:33 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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