[00:49] -lugito:#lubuntu-devel- [rMANUAL5b4a3078b48d: Add altenrate shortcuts for next previous picture] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL5b4a3078b48d
[00:53] -lugito:#lubuntu-devel- [rMANUAL5ef64a96d22c: remove duplicated open line] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL5ef64a96d22c
[01:01] -lugito:#lubuntu-devel- [rMANUALe95189cb159f: Restyle checkboxes and give print screen key highlighted] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALe95189cb159f
 Welcome!
[01:17] -lugito:#lubuntu-devel- [rMANUALdeab60caa219: Add find options for ARK] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALdeab60caa219
[04:47] -lugito:#lubuntu-devel- [rPCMANFMQTARCHIVEbbb02d965ac2: DSC file for 0.14.1-1] Diffusion committed: https://phab.lubuntu.me/rPCMANFMQTARCHIVEbbb02d965ac2
[04:47] -lugito:#lubuntu-devel- [rPCMANFMQTARCHIVEe7fbf734ccfc: Import patches-unapplied version 0.14.1-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rPCMANFMQTARCHIVEe7fbf734ccfc
[04:47] -lugito:#lubuntu-devel- [rPCMANFMQTARCHIVE5f5277566d36: Import patches-applied version 0.14.1-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rPCMANFMQTARCHIVE5f5277566d36
[04:55] -lugito:#lubuntu-devel- [rLXQTCONFIGARCHIVE5a243420a8ec: DSC file for 0.14.1-1] Diffusion committed: https://phab.lubuntu.me/rLXQTCONFIGARCHIVE5a243420a8ec
[04:55] -lugito:#lubuntu-devel- [rLXQTCONFIGARCHIVEf3924064fb73: Import patches-unapplied version 0.14.1-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTCONFIGARCHIVEf3924064fb73
[04:55] -lugito:#lubuntu-devel- [rLXQTCONFIGARCHIVEe0215a3129bc: Import patches-applied version 0.14.1-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTCONFIGARCHIVEe0215a3129bc
[05:22] -lugito:#lubuntu-devel- [rMANUALc049412af7fe: Add properties to ARK] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALc049412af7fe
[05:30] -lugito:#lubuntu-devel- [rLXQTRUNNERARCHIVE960251246861: DSC file for 0.14.1-1] Diffusion committed: https://phab.lubuntu.me/rLXQTRUNNERARCHIVE960251246861
[05:30] -lugito:#lubuntu-devel- [rLXQTRUNNERARCHIVE5314edc68830: Import patches-unapplied version 0.14.1-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTRUNNERARCHIVE5314edc68830
[05:30] -lugito:#lubuntu-devel- [rLXQTRUNNERARCHIVE58e8e471bcb9: Import patches-applied version 0.14.1-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTRUNNERARCHIVE58e8e471bcb9
[06:53] -lugito:#lubuntu-devel- [rLXQTSUDOARCHIVE6d7d4560ff85: DSC file for 0.14.1-1] Diffusion committed: https://phab.lubuntu.me/rLXQTSUDOARCHIVE6d7d4560ff85
[06:53] -lugito:#lubuntu-devel- [rLXQTSUDOARCHIVE495f2a87078b: Import patches-unapplied version 0.14.1-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTSUDOARCHIVE495f2a87078b
[06:53] -lugito:#lubuntu-devel- [rLXQTSUDOARCHIVE18a3c397c8a8: Import patches-applied version 0.14.1-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTSUDOARCHIVE18a3c397c8a8
[07:06] -lugito:#lubuntu-devel- [rLXQTGLOBALKEYSARCHIVEeffc72500155: DSC file for 0.14.1-1] Diffusion committed: https://phab.lubuntu.me/rLXQTGLOBALKEYSARCHIVEeffc72500155
[07:06] -lugito:#lubuntu-devel- [rLXQTGLOBALKEYSARCHIVEca546166a453: Import patches-unapplied version 0.14.1-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTGLOBALKEYSARCHIVEca546166a453
[07:06] -lugito:#lubuntu-devel- [rLXQTGLOBALKEYSARCHIVE14bd68fd66eb: Import patches-applied version 0.14.1-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rLXQTGLOBALKEYSARCHIVE14bd68fd66eb
[11:04] -lugito:#lubuntu-devel- [rFEATHERPADARCHIVE3b40ec4269e0: DSC file for 0.9.4-1] Diffusion committed: https://phab.lubuntu.me/rFEATHERPADARCHIVE3b40ec4269e0
[11:04] -lugito:#lubuntu-devel- [rFEATHERPADARCHIVE6a72768353a0: Import patches-unapplied version 0.9.4-1 to debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rFEATHERPADARCHIVE6a72768353a0
[11:04] -lugito:#lubuntu-devel- [rFEATHERPADARCHIVEd5f11ae8400a: Import patches-applied version 0.9.4-1 to applied/debian/sid] agaida (Alf Gaida) committed: https://phab.lubuntu.me/rFEATHERPADARCHIVEd5f11ae8400a
 Fwd from popeydc: @tsimonq2 this crossed my desk today... features lubuntu on an atom netbook. https://www.youtube.com/watch?v=H3QOkne3IsE
 Welcome @AlexanderS4 and Christian Godínez
[18:31] -lugito:#lubuntu-devel- [rMANUAL16d9b7a8f837: Start ARK prefrences] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL16d9b7a8f837
 anyone here knows how to hablde python pty library?
[19:30] <tsimonq2> wxl: DMB just approved packageset delegation for lubuntu to ~lubuntu-dev.
 @HMollerCl  I have a little experience with it. What are you after? Python 2/3?
 Hi docEbrown I'm after connecting aptdaemon to a pty so I can read the installation progress.
 I'm not sure how to make it work
 gnome uses vte.pty
 at the begging I want to open a qterminal (or any other terminal) so I can see what's happening
 this is the "documentation I have": ...     def set_terminal(self, ttyname, reply_handler=None, error_handler=None): ...         """Allow to set a controlling terminal for the underlying dpkg call. ...         See the source code of gtk3widgets.AptTerminal or console.ConsoleClient ...         as example. ...         >>> master, slav
 but I think I need to open a terminal
 so I've open a qterminal like this, it opens, but nothing happens o it: ... proc = subprocess.Popen(['qterminal'], ...                             stdin=slave, ...                             stdout=slave, ...                             stderr=slave)
 So openpty opens a terminal pair and master and slave are file descriptors for the pair
 Ahh OK
 Just to check so do you want to read the stdout of the qterminal sub process you just opened?
[19:45] <lynorian> file redirection?
 @docEbrown [Just to check so do you want to read the stdout of the qterminal sub process you …], theother way around.  I want that the process write in qterminal.
 aptdaemon is a python library for performing packages action.
 is what ubuntu use.
 when you do upgrades via gui, the embedded terminal comunicates through this.
 Yep yep excellent
 there is a aptdaemon.client.set_terminal() fucntion (undocumented, found out reading code)
 In that case you have a few options
 here is the function https://www.apt-browse.com/browse/ubuntu/xenial/universe/all/python-aptdaemon/1.1.1+bzr982-0ubuntu14/file/usr/lib/python2.7/dist-packages/aptdaemon/client.py
 line 936
 <reading>
 here is the console file if you want to look for console.ConsoleClient https://www.apt-browse.com/browse/ubuntu/xenial/universe/all/python-aptdaemon/1.1.1+bzr982-0ubuntu14/file/usr/lib/python2.7/dist-packages/aptdaemon/console.py
 or if you have aptdaemon installed, the files are in /usr/lib/python3/dist-packages/aptdaemon
 ok cool.  Are you using Python 3?
 yes, 3.
 let me download the aptdeamon package and I'll check it out.  The code you linked me is Python 2.  Is that correct?
 yes, 2.7
 I haven't found the 3 online
 ah ok
 but shouldn change much
 👍
 I haven't seen the gt3widget.py in 2.7 though
 so you are intending on calling set_terminal is that correct?
 to set the dbus backage to use a specific pty instance as created using the python pty package?
 in which case pty.openpty will create the master slave pair as shown in the docstring, and master, slave are file descriptors https://docs.python.org/3.2/library/pty.html
 which you can then write to / read from.
 yes, that's the idea
 but I need to open the terminal.
 I mean the app.
 as in os.environ['SHELL']?
 yes, thats it
 yeah cool, have you had a look through the example in the pty documentation?  It shows pty.spawn doing exactly that.  by bassing os.environ['SHELL'] as the first argument, and a function which writes to a file using the passed file descriptor as the second
 I tried that, but It stopped the script.
 as in the Python interpreter quit and so it killed the process?
 mid way through?
 nope
 my script also opens QtWidget
 which when I use spawn those Widget aren't open
 that's teh output:: ... hmoller@hmoller-pc:~/updateNotifier/lubuntu-update-notifier/daemon$ lxqt-sudo ./upgrader.py  ...  (0x7ffe0583d2c0) Warning: QXcbConnection: XCB error: 3 (BadWindow), sequence: 762, resource id: 12605898, major code: 40 (TranslateCoords), minor code: 0                                                           
 when you spawn sh in python is it getting all of the environment variables through ~/.bashrc etc?
 although pty.spawn is called after the Widget should be shown
 mmm, maybe I have a problem with the second term of spawn function "read".
 maybe see what the output of running env through the spawned shell returns  and see if XDG_RUNTIME_DIR is set
 my kids just woke up so I need to do breakfast duties.  I'll be online but responses may be delayed
 XDG_RUNTIME_DIR is a warning because I'm runnig as sudo.
 running w/o sudo does nothing
 hmoller@hmoller-pc:~/updateNotifier/lubuntu-update-notifier/daemon$ ./upgrader.py ... hmoller@hmoller-pc:~/updateNotifier/lubuntu-update-notifier/daemon$ printenv ... SHELL=/bin/bash
 Are you able to send the script or repo address?
 here it is
 https://github.com/hmollercl/lubuntu-update-notifier/blob/master/daemon/upgrader.py
 in line 213 is the pty.spawn
 in 233 set_terminal()
 if you comment pty.spawn it opens the widget
[20:41] <wxl> @tsimonq2: neat
 So simply calling pty.spawn with just the shell command kills it?
 yes
 I can't see the line numbers but this is in the upgrade method right?
 yes
 You shouldn't need the spawn though as the subprocess call you have commented out should do the work for you
 I think that too.
 But I need to open a terminal window so I can see what writes in it
 For showing progress or debugging?
 You could read from slave and tie it to a text widget
 both, progress and debugging
 I would have to implement it, to read constantly, that was why I prefered using qterminal for example.
 OK. Sorry for the long thread here. From what I can tell all your implementation of pty in Python is correct.
 thanks for ypur help
[21:08] -lugito:#lubuntu-devel- [rMANUAL32702d9f232f: Start extraction settings toolbox] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL32702d9f232f
 Have you seen cases of handing an existing pty session over to qterminal or rather than launch shell through pty can you launch qterminal and pass it the commands ?
 nope, I haven't seen it
 I can open qtermianl and execurte commands on it. But it close after execution
 cmd = ['qterminal', '-e', './upg.sh']
 process = subprocess.Popen(cmd)
 that works
 but I don't interact with it.
[21:12] <tsimonq2> Wow, y'all have really been working hard on those ISO QA tests!
[21:12] <tsimonq2> I like it!
[21:13] <tsimonq2> kc2bez, @docEbrown: Could you guys please do the "run once" and "optional" tests as well? I'd like to at least mark amd64 as ready.
[21:14] <tsimonq2> If either of you have i386 machines that would be helpful too, otherwise I'll ask guiverc when he comes around next.
 Hans that is a pickle what level of interaction do you require?
 @tsimonq2 I don't have an i386 machine and sure I'll check the others out
 @docEbrown [@tsimonq2 I don't have an i386 machine and sure I'll check the others out], Thanks!
 @tsimonq2 will you kill me if I test the i386 stuff on a 32bit VM on 64bit Hardware?  :P
 because I have a VM cluster for this stuff :P
 @teward001 [@tsimonq2 will you kill me if I test the i386 stuff on a 32bit VM on 64bit Hardw …], Yes :P
 @docEbrown [Hans that is a pickle what level of interaction do you require?], only reading
 I'm developing the update notifier, I want to see the status/progress of the installartion of packages and if tehre are errors.
 Can you tee stdout and stderr of qterminal to a file?
 sorry, I'm not following you.
[21:33] -lugito:#lubuntu-devel- [rMANUALbda596a30499: Add extract to subfolder checkbox] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALbda596a30499
 @tsimonq2 [<tsimonq2> kc2bez, @docEbrown: Could you guys please do the "run once" and "opti …], I didn't have a chance yesterday but I will tonight. I will try to get a 32 bit test in too.
 Cool!
 docEbrown apparenly I have to read and write. It's not magic :(
[21:45] -lugito:#lubuntu-devel- [rMANUAL4abf4df07965: Add tab for plugins] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUAL4abf4df07965
[23:44] -lugito:#lubuntu-devel- [rMANUALcb4f945d16d0: Add ok apply and cancel buttons to ark prefrences] lynorian (Lyn Perrine) committed: https://phab.lubuntu.me/rMANUALcb4f945d16d0
 Hans, are you still there?