[Freedombox-discuss] freedombox on fit-pc4
- Subject: [Freedombox-discuss] freedombox on fit-pc4
- From: sunil@medhas.org (Sunil Mohan Adapa)
- Date: Tue, 1 Mar 2016 22:43:15 +0530
- Message-id: <[🔎] 56D5CDAB.7090204@medhas.org>
- In-reply-to: <CAJ8RFg05k4My57wnOCHYWtUzb9-JbPYbAWUTtBqP6VrdDgDFpg@mail.gmail.com>
- References: <CAJ8RFg2RD1P4tV1k6myUOF-zvb4gLA2KL9YMLoUd+4nRHO8Hpg@mail.gmail.com> <56CA2D86.3080707@medhas.org> <CAJ8RFg05k4My57wnOCHYWtUzb9-JbPYbAWUTtBqP6VrdDgDFpg@mail.gmail.com>
On 03/01/2016 04:41 AM, Jan Costermans wrote:
[...]
> Mar 1 00:01:51 myhostname plinth[656]: File
> "/usr/lib/python3/dist-packages/plinth/network.py", line 172, in
> get_status_from_wifi_access_point
> Mar 1 00:01:51 myhostname plinth[656]: if
> access_point.get_ssid().get_data() == ssid:
> Mar 1 00:01:51 myhostname plinth[656]: AttributeError: 'NoneType'
> object has no attribute 'get_data'
>
>
> Looks like a bug in the "get_status_from_wifi_access_point function?
Although I don't see how this situation arises, I have proposed a
patch[1] to add a safe guard check. You can try making this change to
the file /usr/lib/python3/dist-packages/plinth/network.py and see if it
fixes the problem.
Links:
1) https://github.com/freedombox/Plinth/pull/418
--
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20160301/5eb21873/attachment.sig>
Reply to: