So we moved away from electron.js to using the PyQt based GUI.
gitbuilding-gui
The GUI is just a window showing the web app. The plan is to have it packaged up so that it can be launched from an icon/start menu/etc. We moved away from electron just because we then needed to play around with starting the python server from electron. Having a JavaScript program launching a python server that serves a separate JavaScript app was quite confusing.
Well the GUI should just show the web app but doesnāt for @naikymen, have you tried starting it @jmwright? It would be good to know it works on someone elseās machine. Did you have similar problems with people getting blank windows when you did the CadQuery editor in QT?
@naikymen, I see it says it is required by GitCola. I assume that all works fine? My guess is the problem is with the webview engine. Could you also run:
At this point I doubt youād go back to Electron, but if you ever do I have an Electron GUI that I created for CadQuery that you could look at to see how to make Python calls. I agree that it does feel really weird to call Python from JS though.
I have not seen the blank screen that @naikymen is getting. Weāve had weird issues with PyQt in CQ-editor, but many of them were on MacOS. I did have one issue where the Wayland display driver on Ubuntu caused problems, but I doubt Arch uses Wayland.
While you are searching for a file, āā¦ā as the back option is not user-friendly.
gitbuilding-gui or gitbuilding webapp must be executed in the disk or folder that contains the project directory. Otherwise, the explorer canāt inspect outside the directory where the command was executed.
Jul 11 16:17:04 ifiarcher systemd-coredump[91289]: [š”] Process 91278 (QtWebEngineProc) of user 1000 dumped core.
Stack trace of thread 1:
#0 0x00007f4aa0320e2d n/a (libc.so.6 + 0x10ae2d)
ELF object binary architecture: AMD x86-64
Itās not very useful to me though. I wouldnāt use more time debugging this; from what I read it may just be a version incompatibility issue in the Arch repos.
Itās not the first time Iāve faced errors with Qt webview. RStudio also used Qt in the past, but ended up moving to Electron rather recently.
If anyone is following along there have been some editor improvements (from LibreHubās Martin) and some improvements to the styling for image galleries from William Wadsworth at the University of Bath.
To install run:
pip install gitbuilding[gui]==0.13.0b3
Hopefully soon Iāll stop the scope creep and push out v0.13