d4fc621f4f
Fixed property name for the wired interface
2020-08-01 19:24:01 +02:00
8940b201da
Fix categories in desktop files.
2020-08-01 15:05:17 +02:00
40a7a8ac5d
Style changes for python files
2020-08-01 11:37:26 +02:00
c401f2963b
Fix gentoo init
2020-07-30 16:38:55 +02:00
48bac465d4
Fixed files permission
2020-07-30 16:34:10 +02:00
47f0687e92
Make regexp string, not binary
2020-07-30 16:27:19 +02:00
581a1eed29
Re-adding wpath.py.in link
2020-07-30 16:24:59 +02:00
Guido Maria Serra
577aa8c4fe
Merge pull request #2 from xtaran/master
...
Fix wicd-curses warnings in status bar and similar cases
2019-09-12 09:43:51 +02:00
Axel Beckert
f090e292dc
Fix wicd-curses warnings in status bar and similar cases
...
Replace all occurrences of "from gi.repository import GObject as
gobject" with "from gi.repository import GLib as gobject".
2019-09-12 00:59:05 +02:00
Guido Serra
5860ad8251
updated shebangs & other p3 references
2019-09-11 12:14:15 +02:00
Guido Maria Serra
317576bc26
Merge pull request #1 from xtaran/master
...
More fixes for using wicd under Python 3, mostly in the daemon
2019-09-11 10:49:43 +02:00
Axel Beckert
c1c26d8112
Remaining needed changes to get the daemon running with Python 3
2019-09-11 02:43:20 +02:00
Axel Beckert
c238d26a9e
Fix "NameError: name 'cmp' is not defined"
...
Source: https://codegolf.stackexchange.com/questions/49778/how-can-i-use-cmpa-b-with-python3
Now the wicd daemon starts as "/usr/sbin/wicd -c -f -e -o" wihout
errors, only warnings are left.
wicd-curses also runs but spews warnings into the status line, too.
2019-09-11 01:40:43 +02:00
Axel Beckert
9587c52c88
Fix "TypeError: cmp is an invalid keyword argument for sort()"
2019-09-11 01:33:03 +02:00
Axel Beckert
c2789eb467
Fix "TypeError: sorted expected 1 arguments, got 2"
2019-09-11 01:29:07 +02:00
Axel Beckert
fef2a43a59
Fix LogFile class by using io.FileIO instead of file
...
Thanks to Frank Hofmann for the right pointer to
https://stackoverflow.com/questions/47838405/porting-a-sub-class-of-python2-file-class-to-python3
Now at least "/usr/sbin/wicd -c -f -e -o" keeps running.
Still throws errors and warnings, though:
/usr/share/wicd/daemon/wicd-daemon.py:1925: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead
mainloop = gobject.MainLoop()
/usr/share/wicd/daemon/monitor.py:392: PyGIDeprecationWarning: GObject.MainLoop is deprecated; use GLib.MainLoop instead
mainloop = gobject.MainLoop()
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1020, in _async_scan
self._sync_scan()
File "/usr/share/wicd/daemon/wicd-daemon.py", line 1024, in _sync_scan
scan = self.wifi.Scan(str(self.hidden_essid))
File "/usr/lib/python3/dist-packages/wicd/networking.py", line 673, in Scan
aps = wiface.GetNetworks(essid)
File "/usr/lib/python3/dist-packages/wicd/wnettools.py", line 227, in newfunc
return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/wicd/wnettools.py", line 1392, in GetNetworks
entry = self._ParseAccessPoint(cell, ralink_info)
File "/usr/lib/python3/dist-packages/wicd/wnettools.py", line 1447, in _ParseAccessPoint
ap['bitrates'] = sorted(m, lambda x, y: int(float(x) - float(y)))
TypeError: sorted expected 1 arguments, got 2
2019-09-11 01:24:27 +02:00
Axel Beckert
187f85f6a0
More Python 3 fixes needed to also install the packages
...
Daemon still does not start. It fails as follows:
Traceback (most recent call last):
File "/usr/share/wicd/daemon/wicd-daemon.py", line 62, in <module>
from wicd.logfile import ManagedStdio
File "/usr/lib/python3/dist-packages/wicd/logfile.py", line 32, in <module>
class LogFile(file):
NameError: name 'file' is not defined
2019-09-11 01:16:58 +02:00
Axel Beckert
c4ba09c196
Fix some execution paths in setup.py for Python 3
...
Mostly adds additionally thrown Exceptions and str vs bytes
conversions.
2019-09-11 01:13:04 +02:00
Guido Serra
15ca072eed
another step fwd
2019-09-10 09:50:56 +02:00
Guido Serra
404545ffd5
I am a ... nevermind
2019-09-09 11:59:20 +02:00
Guido Serra
fbc67695a5
a proper signature, else we get the error Alex reported
2019-09-09 11:47:36 +02:00
Guido Serra
8c2696b78c
otherwise setup.py build wont work
2019-09-09 11:32:51 +02:00
Guido Serra
49ad8e4653
cleaner, doesnt have to be really called
2019-08-30 16:38:31 +02:00
Guido Serra
3035004c6d
in mock we trust
2019-08-30 16:25:12 +02:00
Guido Serra
94bf1ab01e
seems we made it properly maketrans()
2019-08-30 14:50:21 +02:00
Guido Serra
b92d5b052e
unicode encoded is bytes
2019-08-29 14:35:47 +02:00
Guido Serra
6888489192
unnecessary... maybe cause of python3
2019-08-14 18:07:56 +02:00
Guido Serra
ffaa780c07
we were getting a bytes obj
2019-08-14 18:01:13 +02:00
Guido Serra
364db09a6e
we are at failing tests, good
2019-08-14 16:24:14 +02:00
Guido Serra
2a52b83583
attempting to migrate to python 3.x
2019-08-14 16:18:46 +02:00
Guido Maria Serra
681beb13b1
2to3 transformation
2019-08-12 17:00:19 +02:00
Launchpad Translations on behalf of wicd-devel
49523ed2bd
Launchpad automatic translations update.
2019-07-10 05:47:17 +00:00
Launchpad Translations on behalf of wicd-devel
6f453f76d1
Launchpad automatic translations update.
2019-05-19 05:36:05 +00:00
Launchpad Translations on behalf of wicd-devel
794369c99b
Launchpad automatic translations update.
2018-10-31 05:31:49 +00:00
Launchpad Translations on behalf of wicd-devel
8b33f16d77
Launchpad automatic translations update.
2018-10-30 05:30:31 +00:00
Launchpad Translations on behalf of wicd-devel
450d49773c
Launchpad automatic translations update.
2018-03-30 05:24:37 +00:00
Launchpad Translations on behalf of wicd-devel
26e7eb46ce
Launchpad automatic translations update.
2018-03-29 05:19:32 +00:00
Launchpad Translations on behalf of wicd-devel
65b1d90916
Launchpad automatic translations update.
2018-02-23 05:20:45 +00:00
Launchpad Translations on behalf of wicd-devel
61a0efd372
Launchpad automatic translations update.
2017-07-10 05:52:29 +00:00
Launchpad Translations on behalf of wicd-devel
b37ff1d6e4
Launchpad automatic translations update.
2017-07-07 04:53:22 +00:00
Launchpad Translations on behalf of wicd-devel
d5769350d6
Launchpad automatic translations update.
2017-04-27 05:27:10 +00:00
Launchpad Translations on behalf of wicd-devel
ca8bd224c1
Launchpad automatic translations update.
2017-03-19 06:17:31 +00:00
Launchpad Translations on behalf of wicd-devel
2e7cf7a2d4
Launchpad automatic translations update.
2017-02-18 05:31:23 +00:00
Launchpad Translations on behalf of wicd-devel
dbd4aada09
Launchpad automatic translations update.
2017-02-17 05:32:10 +00:00
Launchpad Translations on behalf of wicd-devel
ab7ca349af
Launchpad automatic translations update.
2016-09-09 05:58:38 +00:00
Launchpad Translations on behalf of wicd-devel
80963b9f68
Launchpad automatic translations update.
2016-08-02 05:22:05 +00:00
Launchpad Translations on behalf of wicd-devel
f1d51ec5b3
Launchpad automatic translations update.
2016-08-01 05:19:14 +00:00
Launchpad Translations on behalf of wicd-devel
9a471287a3
Launchpad automatic translations update.
2016-04-07 05:39:20 +00:00
Launchpad Translations on behalf of wicd-devel
f26b762b7c
Launchpad automatic translations update.
2016-04-06 05:30:02 +00:00
Launchpad Translations on behalf of wicd-devel
95df702488
Launchpad automatic translations update.
2016-03-24 05:25:57 +00:00