crashed with NameError in <module>()

Bug #454744 reported by Sean Robinson
684
This bug affects 128 people
Affects Status Importance Assigned to Milestone
wifi-radar (Ubuntu)
Fix Released
Undecided
Sean Robinson

Bug Description

Binary package hint: wifi-radar

  This bug report will serve as a public parent for duplicate bug reports from apport.

Binary package hint: wifi-radar

wifi-radar crashes at startup

ProblemType: Crash
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/wifi-radar
InterpreterPath: /usr/bin/python2.6
Package: wifi-radar 2.0.s05-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python -OO /usr/sbin/wifi-radar -d
PythonArgs: ['/usr/sbin/wifi-radar', '-d']
SourcePackage: wifi-radar
Title: wifi-radar crashed with NameError in <module>()

Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 2915, in <module>
    confFile.read()
  File "/usr/sbin/wifi-radar", line 2798, in read
    self.auto_profile_order = eval(self.get_opt('DEFAULT.auto_profile_order'))
  File "<string>", line 1, in <module>
NameError: name 'WinterPalace' is not defined

Revision history for this message
Sean Robinson (seankrobinson) wrote :

This bug is caused by the configuration file from v1.9.9 being read, but v2.0.x is not backward compatible in regards to the configuration file. NameError indicates that there are configured profiles in the configuration file. The user may wish rename /etc/wifi-radar/wifi-radar.conf to a new name, so that it can be checked when configuring WR v2.0.

Changed in wifi-radar (Ubuntu):
assignee: nobody → Sean Robinson (seankrobinson)
status: New → Confirmed
Revision history for this message
Sean Robinson (seankrobinson) wrote :

There is a "fix" for this error upstream in WR 2.0.s06. If this error comes up, WR tells the user to delete or rename the old config file.

Revision history for this message
Fabio Scriptore de Carvalho (fabioscriptoredecarvalho) wrote :

O ícone aparece no canto direito da tela, indicando problemas.

Revision history for this message
Denis Yurashkou (dayfuaim) wrote : Re: [Bug 454744] Re: crashed with NameError in <module>()

Hi Fabio!

Can you pls write in English?
I can't understand Spanish, unfortunately... :(

2009/11/2 Fabio Scriptore de Carvalho <email address hidden>

> O ícone aparece no canto direito da tela, indicando problemas.
>
> --
> crashed with NameError in <module>()
> https://bugs.launchpad.net/bugs/454744
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
with Best regards,
Denis A. Yurashkou

Revision history for this message
Rui Maldonado (rui-maldonado) wrote :

Fabio only wrote that "the icon appears in the right corner of the scree, indicating problems".

Obrigado Fabio, esperemos que este pequeno bug seja resolvido depressa.
(Thank you, Fabio, let's hope this bug is solved asap)

By the way, i haven't tried yet, but this might be a workaround:

http://www.webupd8.org/2009/06/how-to-manually-set-up-your-wired.html

Revision history for this message
Sean Robinson (seankrobinson) wrote :

  I'm not sure Fabio's error is related to the original bug report. You may
wish to refile this under general Ubuntu networking.

On Mon, Nov 2, 2009 at 1:15 PM, Rui Maldonado <email address hidden>wrote:

> Fabio only wrote that "the icon appears in the right corner of the
> scree, indicating problems".
>
> Obrigado Fabio, esperemos que este pequeno bug seja resolvido depressa.
> (Thank you, Fabio, let's hope this bug is solved asap)
>
> By the way, i haven't tried yet, but this might be a workaround:
>
> http://www.webupd8.org/2009/06/how-to-manually-set-up-your-wired.html
>
> --
> crashed with NameError in <module>()
> https://bugs.launchpad.net/bugs/454744
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “wifi-radar” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: wifi-radar
>
> This bug report will serve as a public parent for duplicate bug reports
> from apport.
>
> Binary package hint: wifi-radar
>
> wifi-radar crashes at startup
>
> ProblemType: Crash
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/sbin/wifi-radar
> InterpreterPath: /usr/bin/python2.6
> Package: wifi-radar 2.0.s05-1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python -OO /usr/sbin/wifi-radar -d
> PythonArgs: ['/usr/sbin/wifi-radar', '-d']
> SourcePackage: wifi-radar
> Title: wifi-radar crashed with NameError in <module>()
>
> Traceback (most recent call last):
> File "/usr/sbin/wifi-radar", line 2915, in <module>
> confFile.read()
> File "/usr/sbin/wifi-radar", line 2798, in read
> self.auto_profile_order =
> eval(self.get_opt('DEFAULT.auto_profile_order'))
> File "<string>", line 1, in <module>
> NameError: name 'WinterPalace' is not defined
>

--
Sean Robinson
WiFi Radar - http://wifi-radar.berlios.de
Python WiFi - http://pythonwifi.wikispot.org

Revision history for this message
codygman.com (codygman) wrote :
Download full text (3.3 KiB)

I think something from the updates last night fixed it, it hasn't been
happening anymore. Thanks for the support though sean, its guys like you
that are making linux/ubuntu great!

On Tue, Nov 3, 2009 at 8:53 AM, Sean Robinson <email address hidden>wrote:

> I'm not sure Fabio's error is related to the original bug report. You may
> wish to refile this under general Ubuntu networking.
>
> On Mon, Nov 2, 2009 at 1:15 PM, Rui Maldonado
> <email address hidden>wrote:
>
> > Fabio only wrote that "the icon appears in the right corner of the
> > scree, indicating problems".
> >
> > Obrigado Fabio, esperemos que este pequeno bug seja resolvido depressa.
> > (Thank you, Fabio, let's hope this bug is solved asap)
> >
> > By the way, i haven't tried yet, but this might be a workaround:
> >
> > http://www.webupd8.org/2009/06/how-to-manually-set-up-your-wired.html
> >
> > --
> > crashed with NameError in <module>()
> > https://bugs.launchpad.net/bugs/454744
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in “wifi-radar” package in Ubuntu: Confirmed
> >
> > Bug description:
> > Binary package hint: wifi-radar
> >
> > This bug report will serve as a public parent for duplicate bug reports
> > from apport.
> >
> > Binary package hint: wifi-radar
> >
> > wifi-radar crashes at startup
> >
> > ProblemType: Crash
> > DistroRelease: Ubuntu 9.10
> > ExecutablePath: /usr/sbin/wifi-radar
> > InterpreterPath: /usr/bin/python2.6
> > Package: wifi-radar 2.0.s05-1
> > PackageArchitecture: all
> > ProcCmdline: /usr/bin/python -OO /usr/sbin/wifi-radar -d
> > PythonArgs: ['/usr/sbin/wifi-radar', '-d']
> > SourcePackage: wifi-radar
> > Title: wifi-radar crashed with NameError in <module>()
> >
> > Traceback (most recent call last):
> > File "/usr/sbin/wifi-radar", line 2915, in <module>
> > confFile.read()
> > File "/usr/sbin/wifi-radar", line 2798, in read
> > self.auto_profile_order =
> > eval(self.get_opt('DEFAULT.auto_profile_order'))
> > File "<string>", line 1, in <module>
> > NameError: name 'WinterPalace' is not defined
> >
>
>
> --
> Sean Robinson
> WiFi Radar - http://wifi-radar.berlios.de
> Python WiFi - http://pythonwifi.wikispot.org
>
> --
> crashed with NameError in <module>()
> https://bugs.launchpad.net/bugs/454744
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “wifi-radar” package in Ubuntu: Confirmed
>
> Bug description:
> Binary package hint: wifi-radar
>
> This bug report will serve as a public parent for duplicate bug reports
> from apport.
>
> Binary package hint: wifi-radar
>
> wifi-radar crashes at startup
>
> ProblemType: Crash
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/sbin/wifi-radar
> InterpreterPath: /usr/bin/python2.6
> Package: wifi-radar 2.0.s05-1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python -OO /usr/sbin/wifi-radar -d
> PythonArgs: ['/usr/sbin/wifi-radar', '-d']
> SourcePackage: wifi-radar
> Title: wifi-radar crashed with NameError in <module>()
>
> Traceback (most recent call last):
> File "/usr/sbin/wifi-radar", line 2915, in <module>
> confFile.read()
> File "/usr/sbin/wifi-...

Read more...

Revision history for this message
Rui Maldonado (rui-maldonado) wrote :

I also think this bug is fixed with last night updates.
Haven't happened again since.
Thank you all for the great work that make Linux the great community i want to live in!

Revision history for this message
sebaie (mustsebaie) wrote :

Thanks! it works now for me, I just renamed the old configuration file in /etc/wifi-radar.conf to /etc/wifi-radar.conf.old then I launched WR again and it works. :)

Vera (veracianchi)
Changed in wifi-radar (Ubuntu):
status: Confirmed → New
Changed in wifi-radar (Ubuntu):
status: New → Confirmed
Revision history for this message
Denis Yurashkou (dayfuaim) wrote : Christmas gift!!!

Dear friends, Christmas is coming soon, Do you prepare the gift for Christmas?
Last week, I ordered laptop from a large shopping network platform (
www.motonn.com), the products have very good quality and style, and
the price is very cheap.Now that I have received the products, and
have already give my friend as Christmas gift.
If you need the product, you can have a look , this is a very good
opportunity, you should not be missed.
Have a nice day !

Revision history for this message
paje (paje) wrote :

I had similar crash of wifi-radar.
It doesn't start from menu.
From command line wifi-radar gives tis output:
Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 2915, in <module>
    confFile.read()
  File "/usr/sbin/wifi-radar", line 2796, in read
    self.readfp(fp)
  File "/usr/lib/python2.6/ConfigParser.py", line 305, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.6/ConfigParser.py", line 482, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /etc//wifi-radar.conf, line: 1
' [DEFAULT]\n'

Revision history for this message
Sean Robinson (seankrobinson) wrote :

@paje

I suspect your error comes from an old (pre-2.0) config file. Please delete /etc/wifi-radar.conf and try again.

Revision history for this message
pantonpride (pantonpride) wrote : Re: [Bug 454744] Re: crashed with NameError in <module>()

Thank you. I installed Xubuntu on the laptop instead and for some reason, the wireless care worked. Go figure lol.

----- Original Message ----
From: Sean Robinson <email address hidden>
To: <email address hidden>
Sent: Tue, May 11, 2010 9:38:32 PM
Subject: [Bug 454744] Re: crashed with NameError in <module>()

@paje

I suspect your error comes from an old (pre-2.0) config file. Please
delete /etc/wifi-radar.conf and try again.

--
crashed with NameError in <module>()
https://bugs.launchpad.net/bugs/454744
You received this bug notification because you are a direct subscriber
of the bug.

Status in “wifi-radar” package in Ubuntu: Confirmed

Bug description:
Binary package hint: wifi-radar

  This bug report will serve as a public parent for duplicate bug reports from apport.

Binary package hint: wifi-radar

wifi-radar crashes at startup

ProblemType: Crash
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/wifi-radar
InterpreterPath: /usr/bin/python2.6
Package: wifi-radar 2.0.s05-1
PackageArchitecture: all
ProcCmdline: /usr/bin/python -OO /usr/sbin/wifi-radar -d
PythonArgs: ['/usr/sbin/wifi-radar', '-d']
SourcePackage: wifi-radar
Title: wifi-radar crashed with NameError in <module>()

Traceback (most recent call last):
  File "/usr/sbin/wifi-radar", line 2915, in <module>
    confFile.read()
  File "/usr/sbin/wifi-radar", line 2798, in read
    self.auto_profile_order = eval(self.get_opt('DEFAULT.auto_profile_order'))
  File "<string>", line 1, in <module>
NameError: name 'WinterPalace' is not defined

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/wifi-radar/+bug/454744/+subscribe

Jalakas (jalakas)
Changed in wifi-radar (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.