Bug 496544 - importing ofx files, the file selection window doesn't show up
Summary: importing ofx files, the file selection window doesn't show up
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: importer (show other bugs)
Version: 5.1.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-21 17:14 UTC by bepo
Modified: 2024-11-26 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bepo 2024-11-21 17:14:32 UTC
When I try to import ofx files, the file selection window doesn't show up and stays in behind the main window. When I bring the file selection window in the foreground, it is not responding and cpu usage go up to 100%.

Last messages when launched from command line :

Loading "/usr/lib/qt/plugins/kmymoney/ofximporter.so"
Plugins: ofximporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/onlinejoboutboxview.so"
Plugins: onlinejoboutboxview loaded
Loading "/usr/lib/qt/plugins/kmymoney/qifexporter.so"
Plugins: qifexporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/qifimporter.so"
Plugins: qifimporter loaded
Loading "/usr/lib/qt/plugins/kmymoney/reconciliationreport.so"
Plugins: reconciliation report loaded
Loading "/usr/lib/qt/plugins/kmymoney/reportsview.so"
Plugins: reportsview loaded
Loading "/usr/lib/qt/plugins/kmymoney/sqlstorage.so"
Plugins: sqlstorage loaded
Loading "/usr/lib/qt/plugins/kmymoney/woob.so"
Python interpreter found: 3.12.7 (main, Oct  1 2024, 11:15:50) [GCC 14.2.1 20240910]
Saved a copy of the embedded :/plugins/woob/kmymoneywoob.py script as "/tmp/kmymoneyzwjoZN.py"
Attempt to load the "kmymoneyzwjoZN" Python module from "/tmp"
The dependency 'sys' Python module loaded successfully
The 'path' Python variable loaded successfully
"kmymoneyzwjoZN" Python module failed to load
Traceback (most recent call last):
  File "/tmp/kmymoneyzwjoZN.py", line 9, in <module>
    from woob.core import Woob
ModuleNotFoundError: No module named 'woob'
Plugins: woob loaded
Loading "/usr/lib/qt/plugins/kmymoney/xmlstorage.so"
Plugins: xmlstorage loaded
Found html dir(s): ("/usr/share/kmymoney//html/")
Found an 'html' folder with CSS files: "/usr/share/kmymoney//html/"
reading file
start parsing file
startDocument
reading securities
endDocument
Cost center model created with items 0
Payees model created with items 0
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x618ee55f0220) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x618ee608cc70) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents


SOFTWARE/OS VERSIONS
Linux endeavour/KDE Plasma: 
KDE Plasma Version:  6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Comment 1 Jack 2024-11-21 20:49:25 UTC
What versions of KDE are listed in the KMyMoney Help/About KMyMoney.../Components?  KMyMoney is still QT5/KDE5 based, so it is clearly not using the versions you list, even though they are the primary versions for most of your software.  In order to run KMM 5.1.3, the distro also needs to provide the older versions of QT/KDE, so we need to know those versions.

From the errors, this is likely Wayland specific, and I'd suggest asking on a distro specific (which are you using?) forum or list, as it might be build related, although I'm not absolutely certain.  Out of curiosity, can you try running under xorg instead of wayland, just to confirm that?
Comment 2 bepo 2024-11-21 22:25:14 UTC
Thanks for your comment.
I will try to answer your questions despite my bad English.
Here is what is displayed in KMyMoney Help/About KMyMoney.../Components :
"KDE Frameworks
Version 5.116.0
Qt
Version 5.15.15 (built against 5.15.13)
The xcb windowing system"
I think (but I am not totally sure) that the problem appeared when Endeavour OS was upgraded from KDE 6.2.2 to KDE 6.2.3 at the beginning of the month.
Kmymoney also freezes when I use Xorg instead of Wayland..
Comment 3 Jack 2024-11-22 00:19:31 UTC
Thanks for the information.  Someone else may have another idea, but I suspect a build issue, either in KMyMoney or else one of the underlying libraries, so you should report this to Endeavor OS.  I do not think the specific upgrade from 6.2.2 to 6.2.3 is the problem, but more likely something else that got rebuilt and upgraded at the same time.  I find it interesting that it freezes in both wayland and xorg (I assume the last lines of console output are different in xorg.)  One thing you can also do is to test an appimage build (see https://kmymoney.org/appimage.html)  the stable image does have some bug fixes compared to the released 5.1.3, but should otherwise almost the same in behavior.  As always, though, be sure to have good backups first.
Comment 4 bepo 2024-11-26 21:27:10 UTC
After having done tests on another machine then on my machine by creating another user where everything worked correctly, I realized that the problem was in my profile, more precisely that there was something broken in my ~/.config directory. I recreated it and everything works again. Sorry to have bothered you with that.