**** BEGIN LOGGING AT Sun Oct 04 02:59:57 2020 Oct 04 16:15:15 zmatt: wanted to thank you for all the advice and help--i hope my questions don't seem too lazy or dumb--you've given me a lot to help me set my bearings and learn more Oct 04 20:08:46 Hey! Oct 04 20:09:20 Would pyqt5 work better for an application w/ html than the work w/ flask? Oct 04 20:09:32 On the bbb, that is? Oct 04 20:10:01 I mean, would it take over many resources that the BBB needs to behave correctly? Oct 04 20:16:11 I mean, I can run a server w/ pyqt or flask. I am not sure which, in python and html, would be better if there is a better option. Oct 04 20:24:03 ehm, what? that makes no sense. how would pyqt5 be of any use for creating a html application? Oct 04 20:24:41 flask and pyqt5 performs completely different and unrelated tasks... you're basically asking "what's better, a pineapple or a boomerang?" Oct 04 20:25:19 Okay. Oct 04 20:25:54 I found that the pyqt5-html scripts hold nice a set up for html pages. Oct 04 20:26:12 Hold nice means attractive html pages. Oct 04 20:27:38 ??? Oct 04 20:28:32 I am making an app. Oct 04 20:28:41 there is no such thing as "pyqt5-html" Oct 04 20:29:02 They have push buttons I want to incorporate in a html page w/ pyqt5. Oct 04 20:29:11 So, that is what I am doing. Oct 04 20:29:12 that sentence makes no sense Oct 04 20:29:27 pyqt5-html is not a thing, right. It is just wording. Oct 04 20:29:43 a nonsensical wording. please refer to things actually exist Oct 04 20:29:47 *that actually exist Oct 04 20:29:47 Fine. Oct 04 20:31:48 Okay so, I have an older script using pyqt4 but I am updating it. It can be found here: https://stackoverflow.com/questions/64191285/pyqt5-from-a-pip3-install-pyqt5-and-error-conditions Oct 04 20:32:09 But on the BBG, I use the apt install method and not pip3. Oct 04 20:32:55 this does not work in web browsers, it only works in qt5 applications Oct 04 20:33:02 So, I tried this idea on a dev. desktop 'puter and then on the BBG but w/ the BBG, I have had to use apt install instead of pip3. Oct 04 20:33:05 Okay. Oct 04 20:33:27 Oh. Oct 04 20:33:37 So, the qt app. is the browser? Oct 04 20:33:40 no Oct 04 20:33:43 Hmm. Oct 04 20:33:51 No browser. got it. Oct 04 20:33:59 It just shows html. Oct 04 20:34:39 well browsers can show lots of things, but not qt5 widgets :P Oct 04 20:34:53 Oh. Oct 04 20:35:04 Okay. I just wonder why they use html in this pyqt script. Oct 04 20:35:10 I guess I did not understand. Oct 04 20:35:27 because qt5 allows embedding webpages Oct 04 20:35:46 and *these* (webpages embedded in qt5 applications) can use qt5 widgets again apparently Oct 04 20:35:59 Oh. Oct 04 20:36:02 Nice. Oct 04 20:36:12 Okay. Oct 04 20:36:38 I get it. So, I am just using html for no reason in my qt app. I get it now. I can use other technologies instead of html too. Oct 04 20:36:56 but ultimately, it is a pyqt app. Oct 04 20:37:40 since when are you making a qt app? I thought you were making a web application using flask? Oct 04 20:38:55 were most of your projects not small vehicles of sorts? a qt5 gui makes little sense for these... what were you gonna do, control your drone via a touchscreen on the drone? :P Oct 04 20:38:57 I have been using flask but I found pyqt and it has a lot of nifty ideas relating to application buttons and other stuff. Oct 04 20:39:10 Yea! Oct 04 20:39:11 Yes. Oct 04 20:39:13 Exactly. Oct 04 20:39:28 The touchscreen on the 5" LCD Cape works again! Oct 04 20:39:45 I am not sure who did this work but they deserve credit. Oct 04 20:39:57 I need to search the .dtbo files again. Oct 04 20:40:59 so what you're saying is, "I was doing it like this, but I couldn't immediately get it to work, so instead of learning I'm now doing something completely different again to ensure there's a little chance as possible to be able to apply any previous knowledge I might have gained" Oct 04 20:42:13 No. Oct 04 20:42:15 It works. Oct 04 20:42:19 I got it to work. Oct 04 20:42:28 There is nothing about what I do that does not work. Oct 04 20:42:33 Ha. Oct 04 20:42:35 But... Oct 04 20:42:44 Hi all.. I'm hoping for a quick answer or somewhere I can be pointed for an overlay question. I just did an apt-upgrade on my beaglebone enhanced and managed to lose my previously configured UART4. config-pin is giving me "ERROR: open() for /sys/devices/platform/ocp/ocp:P9_11_pinmux/state failed, No such file or directory" Oct 04 20:42:51 I wanted to try pyqt b/c I have been researching this idea and I wanted to try it. Oct 04 20:43:22 https://github.com/beagleboard/bb.org-overlays/tree/master/src/arm Oct 04 20:43:32 I am looking in that repo. now. Oct 04 20:43:34 I didn't take great notes and can't recall if I had something in uEnv that might have been clobbered with the upgrade? Oct 04 20:44:04 @zmatt: If you want to help this fellow instead. That is okay. I will break for now. Oct 04 20:44:41 b0o: can you share the contents of your /boot/uEnv.txt via pastebin.com (or similar paste service) ? Oct 04 20:45:01 zmatt yup.. one moment Oct 04 20:45:25 did you merely install updates or did you upgrade a major debian release (e.g. stretch to buster) Oct 04 20:45:28 ? Oct 04 20:46:18 just updates Oct 04 20:46:25 no dist-upgrade or anything like that Oct 04 20:46:27 https://gist.github.com/crvallance/bb33f63018f791799042d5faa0d01f4c Oct 04 20:47:11 fwiw dogtag shows: BeagleBoard.org Debian Buster IoT Image 2020-04-06 Oct 04 20:48:00 okay, so recent image... that's really strange Oct 04 20:48:19 yup... it was working literally yesterday Oct 04 20:48:42 and I, by force of habit, just did my regular apt-get update && apt-get upgrade -y when I logged in about 30 min ago Oct 04 20:49:35 can you install my show-pins script (I don't have a BBE version but the BBB version should suffice for examining the expansion header pins): https://github.com/mvduin/bbb-pin-utils/#show-pins and share the output of sudo show-pins | sort Oct 04 20:50:11 if I sure Oct 04 20:50:15 *sure Oct 04 20:50:18 one moment Oct 04 20:51:55 man... I'm going to bookmark this, very nice :) Oct 04 20:52:13 it may also be useful to know which packages were upgraded (see /var/log/apt/history.log), presumably bb-cape-overlays is responsible Oct 04 20:57:16 this will be a few moments, I'm going to get github's gh tool installed so I can turn around gists a bit easier Oct 04 20:57:34 beaglebone has "pastebinit" installed Oct 04 20:58:06 oh cool... never used that Oct 04 20:58:21 though for show-pins it's smarter to copy-paste instead of piping it into a tool, because of the color codes Oct 04 20:58:39 (I was too lazy to add an option to disable those :P ) Oct 04 20:58:42 ha Oct 04 20:58:58 is it clean when redirected to a file via stdout? Oct 04 20:59:34 the install I'm waiting to finish right now might also muddy my apt history.log a touch Oct 04 20:59:49 =L Oct 04 21:00:01 no, since if I suppressed color codes if stdout is not a terminal then you'd also lose them when using sort or grep on the output Oct 04 21:00:33 well.. what output would you prefer? Oct 04 21:00:47 happy to give it in whatever format is best Oct 04 21:01:15 uhh, what do you mean? Oct 04 21:01:31 do you want color or not with that? Oct 04 21:01:42 just copy-paste the output of sudo show-pins | sort into whatever paste service you prefer Oct 04 21:03:11 I'd love _color_, but I'd rather not stare at _color codes_, which is what you'd get if you pipe the output directly into pastebinit Oct 04 21:03:45 (it would be great if there were paste services that support terminal color codes but I'm not aware of any) Oct 04 21:07:45 zmatt https://paste.debian.net/1165901/ Oct 04 21:08:05 I'm learning all sorts of stuff today... pastebinit is nice Oct 04 21:08:33 and this is exactly the problem I warned about and why you shouldn't pipe the output into pastebinit :P Oct 04 21:08:50 (for show-pins specifically) Oct 04 21:09:12 also this looks very strange Oct 04 21:09:19 https://paste.debian.net/1165902/ Oct 04 21:09:27 stripped the color codes if you want a cleaner version Oct 04 21:09:44 okay so cape-universal is not working Oct 04 21:10:17 interesting Oct 04 21:11:55 I'm not keen on going down this rabbit hole... but I could probably dig out a "real" BBB and boot off the same card to see what's going on Oct 04 21:12:12 (if it's an enhanced related issue) Oct 04 21:12:31 my guess would be this is the culprit: https://github.com/beagleboard/bb.org-overlays/commit/38f5d2ec30551c1bf344b535e7b9d9b39ad5fc60 Oct 04 21:12:31 my black probably needs a uboot upgrade thouogh Oct 04 21:12:56 probably it's not actually built into the base dtb for the BBE Oct 04 21:13:14 oh wow Oct 04 21:13:27 yeah it's definitely not Oct 04 21:13:34 I suggest opening an issue there Oct 04 21:14:22 meanwhile you can probably clone the repo, revert that commit, and manually install the missing overlays Oct 04 21:15:03 oh there's a "legacy branch" that still has them Oct 04 21:15:16 wait no, don't use that branch Oct 04 21:15:25 that's for old dtc Oct 04 21:15:36 you have a modern system Oct 04 21:16:06 I seem to shoot myself in the foot since I come back to this board every 6-12 months and find out I don't know how to use the overlay anymore :') Oct 04 21:16:28 "the overlay" ? Oct 04 21:17:04 device trees etc Oct 04 21:17:21 if i made my bbb partition btrfs, will it boot? Oct 04 21:17:22 or I guess pin configs now Oct 04 21:17:49 follow up--is btrfs a good idea ? :) Oct 04 21:18:29 s_: last time I researched it I found testing that showed it to be less reliable than ext4 on eMMC, dunno if that's improved since Oct 04 21:19:25 b0o: well you used config-pin correctly probably but it won't work right now because cape-universal is broken due to missing overlays Oct 04 21:21:13 I'm going to upgrade the kernel and see if that helps Oct 04 21:21:22 b0o: if you undo the commit I referenced, build the overlays with "make", and copy src/arm/univ*.dtb to /lib/firmware/ the problem might be fixed Oct 04 21:21:44 no it won't help Oct 04 21:22:42 ok, I'll give that build a shot Oct 04 21:23:22 at least I _think_ univ*.dtb rather than cape-univ*.dtb are the ones you need... you could install them both just to be sure Oct 04 21:38:21 zmatt that revert and install did the trick Oct 04 21:38:41 I didn't do a manual copy, I just ended up running the install script Oct 04 21:38:52 don't forget to open a ticket! Oct 04 21:39:17 so help me out there... I haven't done that before Oct 04 21:39:23 https://github.com/beagleboard/bb.org-overlays/issues Oct 04 21:39:32 click "New issue" Oct 04 21:39:50 Yup.. that part I got :D Oct 04 21:40:00 Just not sure what to put in there Oct 04 21:40:08 (after glancing at the list of open issues for an existing one matching your situation, but I don't see one) Oct 04 21:41:12 "After upgrading bb-cape-overlays on my BeagleBone Enhanced cape-universal no longer works. Reverting commit 38f5d2ec30551c1bf344b535e7b9d9b39ad5fc60 fixed the problem." Oct 04 21:41:34 easy enough Oct 04 21:45:17 zmatt https://github.com/beagleboard/bb.org-overlays/issues/203 :D Oct 04 21:45:38 thank you very much for the help, I really appreciate it Oct 04 21:45:47 you're welcome! Oct 04 21:48:20 @zmatt said and I quote, "your're welcome!" Oct 04 21:48:21 Odd. Oct 04 21:48:30 You never say that... Oct 04 21:48:32 lol Oct 04 21:48:40 somebody better screen shot it if it's rare ;) Oct 04 21:48:45 I know! Oct 04 21:49:00 I am trippin' now over it. I should laugh but I am too bewildered. Oct 04 21:50:19 totally unrelated question... I'm using the webchat interface and haven't had a *real* irc client installed in years (especially on my workbench PC). Any suggestions on a client these days for ubuntu? Is bitchx still a thing? :D Oct 04 21:50:53 there are tons of irc clients Oct 04 21:51:18 I used hex-something-or-another at one point Oct 04 21:51:26 I use irssi Oct 04 21:52:14 apt-cache search 'irc client' Oct 04 21:52:27 Is anyone used to using pyqt5 and and knows this error? https://stackoverflow.com/questions/64200245/sudo-apt-install-python3-pyqt5-and-other-apt-install-methods Oct 04 21:52:50 I found that QWebView is not defined is giving the willies. Oct 04 21:53:23 StackOverflow people keep telling me it was already answered and reroutes my question. Oct 04 21:53:32 It was not answered. Oct 04 21:53:36 I was never an irssi fan but I'll figure it out... thanks Oct 04 21:56:30 I wasn't specifically recommending it over alternatives, I mostly use it because I'm used to it and too lazy to evaluate alternatives ;) Oct 04 21:57:09 it works sufficiently well to give me inadequate motivation to check if the grass is greener elsewhere Oct 04 21:57:36 fair Oct 04 21:57:50 sometimes it's all about what you're used to.. Oct 04 23:21:26 I got the app working w/ pyqt5 (finally). It seems they broke apart two of the classes when it used to be one. Now, I have to call this and that instead of just this. Oct 04 23:22:24 See here: https://stackoverflow.com/questions/64200245/sudo-apt-install-python3-pyqt5-and-other-apt-install-methods Oct 04 23:23:37 I also found another lib. in python during my exploration of pyqt5. See here: https://pywebview.flowrl.com/ Oct 04 23:23:45 it works w/ flask. Oct 04 23:25:35 At least they have an example w/ flask being invovled. Oct 04 23:52:29 Guess who is using Python2 and making it worketh? Oct 05 00:02:19 Nothing is working for GPS in python3 so far. I think something happened I am not aware of now. Oct 05 00:02:22 ANyway. Oct 05 00:16:21 GPSD, python3 libs. are bogus now. I think they got bored making things work. Oct 05 00:16:35 "Oh, it works." Time to quit. Oct 05 00:35:01 https://pastebin.com/brax1Hd2 is the script. Does anyone see why this script does not save the .csv file info into the file? Oct 05 00:35:29 I am using my BBGW, that exact GPS from the script, and UART2. Oct 05 00:35:35 GRove Connector. Oct 05 00:46:42 I am trying to update some older python source! Oct 05 02:06:38 I opened an error report on github at https://github.com/beagleboard/cloud9-examples/issues/49 if anyone is interested now or in the future. Oct 05 02:41:57 In /var/lib/cloud9/BeagleBone/Green/Grove/Software/Python/, the Grove_GPS.py file works fine. I tried it outside of that file structure and it does not work. Oct 05 02:41:58 Odd. **** ENDING LOGGING AT Mon Oct 05 02:59:57 2020