These are chat archives for PySide/pyside2

24th
May 2017
From IRC (bridge bot)
@FromIRC
May 24 2017 06:31
<ctismer> inf on first glance I can't see any honking error, but there are too many things unknown.
<ctismer> inf I have no idea how good threading works in PySide. One step would be using PySide2 to get more feedback.
<ctismer> inf then I would try to write a threadless version to see if it is thread related.
From IRC (bridge bot)
@FromIRC
May 24 2017 06:38
<ctismer> inf maybe this is a certificate issue:? https://stackoverflow.com/questions/23354628/python-requests-and-cx-freeze
From IRC (bridge bot)
@FromIRC
May 24 2017 07:29
<fkleint> ctismer: Say, could it be that the wiki has been removed from github? git clone https://github.com/PySide/pyside2.wiki.git seems to be no longer valid?
From IRC (bridge bot)
@FromIRC
May 24 2017 08:15
<inf> ctismer: IT works the same way on non-ssl pages as well.
<inf> ctismer: if I essentially use .run() instead of .start() (so that my request is run in GUI thread) It works fine as well.
<inf> And on pyside2... I'm not really a Windows guy, and I imagine building PySide2 on Windows would be a major PITA, without experience with that ecosystem... :⁠(
<inf> Either way, thank you very much for your feedback.
From IRC (bridge bot)
@FromIRC
May 24 2017 08:23
<inf> I'll try to (at least on that specific test) just use Python threading (without signals passing ofc) to see if it's not just a general threading problem on cx_Freeze
<inf> And then, as a workaround will look into cx_Freeze alternatives, as I don't know what to really do now, as I have to SHIIIIIP IIIIIT.
<inf> I don't even know why I started using cx_Freeze instead of pyinstaller in my other previous python&qt-based multiplatform GUI application... We'll see...
From IRC (bridge bot)
@FromIRC
May 24 2017 08:31
<ctismer> inf yes, using Python threading seems to make sense.
<inf> The problem is that I really want to use signals (well, if you have any sensible alternatives to run some code in GUI thread, I'd be really grateful :⁠))
<ctismer> fkleint oh shit! The wiki was in the pyside2 repo, which I removed together with shiboken2.
<inf> I'm almost 100% sure cx_freeze itself is screwing something up, so I'll most probably try pyinstaller first in the next hour or so...
<fkleint> ctismer: Hmm.wonder if it will be missed
<inf> So far it's still quite funny, that Python + qt gave me much better experience in multiplatform desktop apps than Java+swig (if I'm not mistaken on that name...) a couple of years ago...
<ctismer> inf at least I saw some threading entries on the page https://cx-freeze.readthedocs.io/en/latest/releasenotes.html
<inf> Crap, thank you very much, forgot about actually looking at cx_freeze...
From IRC (bridge bot)
@FromIRC
May 24 2017 08:37
<ctismer> fkleint I will restore it, don't know exactly how, but it needs a new home
<ctismer> inf if I can, I always try to avoid threads. When at all I use microthreads. See stackless Python or Greenlets.
<inf> I know these, but how do they cooperate with pyside
<inf> ?*
From IRC (bridge bot)
@FromIRC
May 24 2017 08:47
<fkleint> alcoito,ctismer: Are we happy with the repo as is, shall we tell ossi to move over changes?
<fkleint> I just hope the merges won't be such a mess..
<fkleint> alcroito: ^^^ Around?
<alcroito> fkleint: i did builds of 5.6 and 5.9 that work, that's good enough for me
<alcroito> + i think merges will be fine from now on
<fkleint> ok
<fkleint> fingers crossed
From IRC (bridge bot)
@FromIRC
May 24 2017 09:10
<inf> oh well, it seems to work with pyinstaller... wurst for me, then...
From IRC (bridge bot)
@FromIRC
May 24 2017 09:26
<ctismer> inf I knew why I liked pyinstaller best. Originally from my old friend Gordon McMillan :⁠-)
From IRC (bridge bot)
@FromIRC
May 24 2017 09:31
<ctismer> fkleint I'm happy, too. Builds work
<inf> :⁠)
<inf> I know it's kinda unrelated, but i'm wondering how to store some build-time constants to be accessed somehow by frozen code... cx_freeze has build_exe-constants thing...
<ctismer> inf I know that it works, used it 15 years ago in a product. But I forgot ...
From IRC (bridge bot)
@FromIRC
May 24 2017 09:39
From IRC (bridge bot)
@FromIRC
May 24 2017 09:54
* alcroito is horrified and wonders how pyside even works on ubuntu / debian machines