libera/#devuan/ Tuesday, 2019-11-05

agrisI can't connect to any wifi network with a unicode name05:20
agriswicd crashes05:20
agrisin Devuan Stable05:20
slphilimmediate recommendation: don't use wicd, I always have trouble with it (it still doesn't work in console without the patched version that is in nobody's repos)05:22
tuxd3vI use wicd and I have 0 problems with it..05:24
furrywolfwicd is buggy in general.05:24
tuxd3vbut usually I don't try to sabotage wicd :)05:24
furrywolfI have a lot more than 0 problems with it.  lol05:24
tuxd3v a lot more than 0, ...is a problem.. :)05:26
agriswhat is the other solution? because I actually need wifi I can't just use wired all the time05:26
tuxd3vdon't use utf8 chars in SSID?05:27
agrisout of my control05:27
furrywolfI don't know.  I had networkmanager on another box, and it's worse in every way.05:27
slphilusing anything more than wpa_supplicant is hedonism05:28
agrisyeah network manager has even more problems05:28
furrywolfif you'll always be connecting to the same network, you can manually set up wpa_supplicant.05:28
agrisThat's not ideal on a laptop05:28
slphiljust use wpa_gui if you need graphical config, wpa_supplicant rules05:28
slphiltext file configuration is the correct way05:28
furrywolfdoesn't systemd have a wifi manager in pid1 now?  :)05:29
* agris sites down a random coffee shop, has to screw around with vim and sudo and editing system files just to connect to random wifi05:29
agris*sits05:29
agrissure manual wpa_supplicant is a emergency fix, but that's not a long term solution05:30
agrisDoes Debian upstream wicd have this problem?05:30
agrisor wicd from asci--backports05:30
slphilagris: `sudo su` `wpa_gui` problem solved05:30
slphilit even writes to the same config file05:31
agriswhat about network management like setting hostname, calling pre-up scripts, DHCP or static05:32
agristhat's what wicd does, keeps profiles for the settings of each network05:32
tuxd3vwho in this world uses utf8 chars in the SSID?? it is like...heresy??05:32
slphilchanging hostnames based on network seems like bad practice05:32
agrisit's required on some networks setting the DHCP hostname05:33
agristuxd3v, everyone who doesn't speak english05:34
slphilthere are people who don't speak english??05:36
tuxd3vagris: cant you guys just use system normal letters..05:36
slphilwell idk man, maybe grab the patched wicd from AUR and see if that fixes your problem, it solved the console issue for me05:36
slphiltuxd3v: the ssid standard doesn't even specify an encoding lmao05:36
agrisМатериал05:36
agrisКак насчет русских05:37
tuxd3vits like creating folders with spaces in between...I saw that  a dozen of times and past 20 years, I still don't understand it..05:38
agris¿Qué hay del español?05:38
tuxd3vfortunately for some utf8 is a lot more comun today, but that doesn't mean we should abuse it in every place..05:38
tuxd3vin a text document, sure, but in the system?05:39
agrisSure05:39
agrisHow do you think icons work in status bars?05:40
agristhere's a unicode symbol of block storage, network intrface, etc05:40
agrispower symbol05:40
agrisα β γ05:41
tuxd3vusing letters outside system scope, only brings problems..05:42
agrisNot everybody lives in America tuxd3v05:50
tuxd3vslphil: but the software has some tendency to take some time to mature enough to accept/work as you expect.. in the mean time if you use caracters outside range, some strange situation could ocurr05:51
tuxd3vI play always on the safe side05:51
tuxd3vagris: I don't live in American continent, I live in Europe, probably like you do..05:51
agrisreminds me of the time a bank shut down because someone names one of their accounts an emoji05:52
tuxd3vnot only banks.. look it hapens a lot of times with Asiatic alphabets, in browser, blue since BSODS, to reboots, and so on..05:53
tuxd3vis now happens less times than in the past, but still hapens..05:54
tuxd3vI avoid using indigenous alphabets, the most I can :)05:55
agrisI did try fixing it myself but I couldn't find the actual line with the problem05:56
tuxd3vActually you gave me an idea :)05:57
agrisIt's part of a function and python leaves horrible traces when things break inside functions05:58
tuxd3vmaybe I will set the SSID in the work to something nasty.. nobody authenticates there :D05:59
agrisIf you leave the BSSID the same clients should still autoconnect despite the name change06:00
tuxd3vagris: even when you are at more than 75%-80% of your lease time?06:03
tuxd3vwe have 1.7.4 version... 1.7.5 was not yet released..06:06
tuxd3vI was looking for a changelog06:06
agriswhat?06:06
tuxd3vwicd: v1.7.406:06
tuxd3vI couldn't find a changelog reporting utf-8 support..06:13
agrisdebian or devuan?06:14
tuxd3vIsearched the web for wicd..06:14
agrisDebian's got some utf8 patches but I don't know when the devuan fork occured06:14
agristhe problem is where wicd saves the profile06:14
agrisit's a for loop06:14
agrisfor sname in somearray06:15
agrisI narrowed it down to the function but that function could be calling other sub-functions and the problem may lay elsewhere06:15
agrispython problems06:15
agrisI did try various variables related to ssids and names and appending var.decode('utf-8') to them but didn't manage to touch the actual line causing the issue06:16
tuxd3vthat should be python 2.7 or ealier..06:18
tuxd3vpython3 defaults to utf-8 I believe06:18
agrisyes wicd is python2.706:18
tuxd3vcan you load python3 in the shebang, nad test after that?06:19
agristhat's unlikely to work06:19
slphilagris: devuan uses the same packages from debian except for the ones that are modified06:20
agrisHas wicd already been converted to that new language?06:20
tuxd3v#! /usr/bin/env /usr/bin/python306:20
agrispython2. != python306:20
slphilthey're not even kind of compatible lol06:21
slphilit's been a mess for over a decade06:21
tuxd3vindeed06:21
agrisjust checked it just in case06:23
agrisit's not compatible06:23
agris complains about print syntax06:23
tuxd3vat least you tried!06:24
agrisYEAH! =D06:24
tuxd3vif you do var.decode(), it should work, but then you need to be decoding and encoding , back and forward..06:25
tuxd3va mess06:25
agrisyeah06:25
agrisI'm not upgrading python2 stuff to python 306:25
agrisI'd rather just use Perl for new deployments. Stupid stuff like this in python 3 too they'll probably break with a new incompatible version again in the future.06:26
tuxd3vprobably, but it will tend to be each time more compatible..06:27
tuxd3vpython is a new language, or some sort of..06:27
tuxd3vif you compare it with its father language ofcourse..06:28
tuxd3vI believe Java born in 1992? Lua in 1993, and I remember that Java 20 years later still had incompatibilities, the same with Lua06:30
tuxd3vLua 5.4 will have some incompatibilities with previous 5.3..06:30
agrisdeprecations over a decade period's fine06:31
onefangAnd then there is Luajit, which I'm using right now to write the Devuan mirror checker script.  I'm calling it apt-panopticon.06:31
agriscompletely rewriting the way the language works on the other hand is something else06:31
agrisas in the case of python loops and exceptions06:31
agrisI'll take another look at wicd tomorrow06:33
tuxd3vonefang: I am also using Lua, the PucRio version to develop a image builder..06:33
tuxd3vif its python 2.7 is almost to forget..06:35
agriswait so all strings in python are ascii by default?06:35
tuxd3vin python 2 I believe so06:35
agriswow06:36
agrisjust wow06:36
agriswho06:36
agriswho's idea was that?06:36
tuxd3vI don't know but probably utf-8 was not so used like today..06:38
tuxd3vthat's why you need to be using var.decode, and var.encode to ex:'CP1250'06:39
agris I think the problem is people not learning from history06:43
agrisin this case the EBCID -> ASCII06:43
tuxd3vI found this: https://docs.python.org/2/howto/unicode.html06:43
tuxd3vbut I recal that LSB scripts that are python2.7 I believe have unicode support06:45
tuxd3v/usr/bin/lsb_release06:46
live2livehi i just heard devuan is console only (but can then choose de) I could swear devuan 1 or 2 booted direct to xfce (or simple startx say)09:43
live2liveis the new point release (or beowulf or ceres) boot to terminal now? do I need to install wm/de/x.org/displ mgr?09:44
MinceRdevuan uses X and a display manager by default09:46
MinceRi haven't tried the new point release though09:46
MinceRbut i doubt there's an actual intent to not boot to X09:47
MinceRby default09:47
onefangIt depends on which method you use to install it.  There's a server friendly install method that obviously doesn't install GUI stuff.09:47
morruthlive2live: also it can depends on your video hardware09:56
morruthf.e on my laptop (dell 5575) devuan's stable release (ascii) can't use it's embedded gpu09:56
live2liveah i only test the live isos though, so maybe those are always gui, unlike installer isos say09:58
live2liveonefang, have you tried the latest point release isos?09:58
morruthso i was neede to upgrade to unstable one (ceres)09:58
morruthlive2live: what kind of video card you have?09:59
onefangI've not tried the latest ASCII point release ISOs.  I debootstrapped ASCII onto my desktop and server long ago.10:00
live2liveah10:06
Guest34Hi everyone!  If I install Devuan from the net-install.iso with a Devuan desktop environment, I get libreoffice.  If I install with just the cd-1.iso. I don't get Libreoffice, which is what I prefer. Is there are way to install the desktop from the net-installer.iso without Libreoffice?19:57
furrywolfyou can always select individual packages instead of installing the complete tasks, or you could uninstall libreoffice.19:58
Guest34Is there a way to select individual packages using the net-installer?20:02
Guest34I don't remember seeing that option20:03
Guest34maybe its in the GUI version of the net-installer?  I always use the text version20:04
loredlofNew kid on the block here (but been using devuan since the beginning)21:00
tuxd3vloredlof: Welcome!21:02
tuxd3v:)21:02
loredlofthanks21:03
loredlofdoes anyone know when (or if) there will be an image for raspberry pi 4?21:05
golinuxWhen someone builds it.21:09
golinuxYou might try to do so yourself: https://devuan.org/os/distro-kit21:10
loredlofnever tried building an image myself, wouldn't know where to start :(21:14
loredlofpresumably it would involve using a cross compiler - never done that either!21:15
fsmithredif there's a debian image for rpi4 you could probable install that and then migrate it to devuan21:18
loredlofnever thought of that. I've got a copy of rasbian-buster-lite. It works but is dog-slow to start, and I've given up trying to follow what *that* init system is doing :(21:21
fsmithreddon't try to understand what it's doing. Boot it today. By tomorrow it should be ready to migrate. You can do something else until then.21:23
fsmithredI will warn you that migrating buster to beowulf might be tricky.21:23
loredlofI was afraid you might say that.21:24
fsmithredthere are some discussions at dev1galaxy.org that will help. I'm not sure what the current best method it.21:25
loredlofThanks. I'll see what I can discover -mind you I'm now remembering how it felt when I first tried using Linux circ. 2000 :o21:29
fsmithredI've been using that long, and it still feels like that sometimes.21:30
loredlofHeh21:32
golinuxI prefer a time-warp to being strangled by systemd21:35
loredlofExactly! The frustrating thing is that on the Pi3 devuan flies compared with rsapbian21:38
loredlofOh well, things to do etc. TTFN21:57
yeti"if there's a debian image for rpi4"  <<<  if ther were one I would expect to see ith there  >>>  https://salsa.debian.org/raspi-team/image-specs23:17

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!