-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1333: arch Linux build fails #1353
Conversation
* The name indicates the active Qt platform plugin which determines if X11 or wayland is used
* AttributeError: 'dict' object has no attribute 'strip'
* getlocale() returns (None, None) causing join() to throw this RTE: TypeError: sequence item 0: expected str instance, NoneType found
I cloned directly from "aryoda:issue/1333_Arch_build_fails". Testing on Debian 11 (stable) via I also used my Manjaro VM for testing. When I'm on a temrinal emulator in the desktop environment I was wondering why Qt is involved here. But I saw that Qt is imported in
|
Very good test, this looks like a new bug.
Did I introduce this with my PR or does it happen with I can't see a line number for this QPainter message so I need a way to reproduce this.
Yes, diagnostics does show the PytQt5 version number, but only when "--diagnostics" is called. backintime/common/diagnostics.py Lines 121 to 130 in 2121c60
Perhaps it would be better to use PyQt5 only if Could you please do a quick check via the console that printed the "QPainter" message:
If this also writes the QPainter message we would have found the culprit. |
When I boot into a Manjaro console via run-level 3 in grub the same unit test fails but with another actual/expected difference:
If I ignore this warning by filtering it like the DBus warnings (test_backintime staring line 147) the unit tests succeed. Edit: This warning is shown when the DBus communication with a service does fail (I bet the service is only running when a desktop environment is running). I will add this warning to the filter... I could not yet reproduce the above mentioned
|
…nvironment) * WARNING: Inhibit Suspend failed
…issue/1333_Arch_build_fails
I agree, but give me one more day to try to reproduce the issue in a new VM since it may
Yes, you are right.
I am setting up a new console-only VM to test this. It looks like a plain Do you get the |
Btw: It seems that you edited my own comment instead of quote and answer it. ;)
Yes I can reproduce this with |
Damn it, I shouldn't do two things in parallel :-)
OK, then I suggest to merge now and I do the analysis until EoW. |
I have fixed all known issues on our side an try to contact the package maintainer now asking
make
ingOn my arch VM the build & unit tests are working now (after manually installing the required dependencies)...
Fixes #1333