Thank you for the bug report.  I have opened this upstream at
https://developer.berlios.de/bugs/?func=detailbug&bug_id=17042&group_id=10714

  As this should be simple to fix, I will try to have v2.0.s08 released by
next Monday.  But my fix may not make it into Ubuntu, as the last two bug
fix releases have not been picked up by Debian or Ubuntu packagers.

On Tue, Mar 30, 2010 at 7:54 AM, Tiede <[email protected]> wrote:

> I thought this was a fixed issue... I am afraid it is back again.
> wifi-radar crashed while i was in user mode and forgot to sudo to it:
>
> u...@ubuntu:~$ wifi-radar
> Traceback (most recent call last):
>  File "/usr/sbin/wifi-radar", line 3392, in <module>
>    fileLogHandler =
> logging.handlers.RotatingFileHandler(confFile.get_opt('DEFAULT.logfile'),
> maxBytes=64*1024, backupCount=5)
>  File "/usr/lib/python2.6/logging/handlers.py", line 107, in __init__
>    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
>  File "/usr/lib/python2.6/logging/handlers.py", line 59, in __init__
>    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
>  File "/usr/lib/python2.6/logging/__init__.py", line 819, in __init__
>    StreamHandler.__init__(self, self._open())
>  File "/usr/lib/python2.6/logging/__init__.py", line 838, in _open
>    stream = open(self.baseFilename, self.mode)
> IOError: [Errno 13] Permission non accordée: '/var/log/wifi-radar.log'
>
> NOTE:Permission non accordée is french for Access denied.
>
> --
> wifi-radar: IOError exit when run aas normal user
> https://bugs.launchpad.net/bugs/43857
> You received this bug notification because you are subscribed to wifi-
> radar in ubuntu.
>
> Status in “wifi-radar” package in Ubuntu: Fix Released
>
> Bug description:
> Binary package hint: wifi-radar
>
>
> When wifi-radar is invoked from the command line
> as a normal user (not root, not sudo, not gksudo),
> it exits with
> Traceback (most recent call last):
>  File "/usr/sbin/wifi-radar", line 1359, in ?
>    confFile.readfp( open( CONF_FILE ) )
> IOError: [Errno 13] Permission denied:'/etc/wifi-radar.conf'
>
> This is a resubmission of #43258, which was rejected.
> I'm not going to let it go.   An exit like this is unfriendly,
> rude, and should in no circumstance be considered
> 'normal'.  In my opinion it borders on unprofessional.
> Can I be any more blunt?  The code should at least
> have the courtesy to exit gracefully, perhaps with a
> suggestion as to correct usage.  I have made a
> simple modification as an example, which I will attach
> as a patch in my next comment.
>
>
>


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

-- 
wifi-radar: IOError exit when run aas normal user
https://bugs.launchpad.net/bugs/43857
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to