Re: Master Branch Compile Error
On Samstag, 5. Oktober 2024 16:40:51 CEST Brendan Coupe via KMyMoney-devel wrote: > On 2024-10-05 1:17 AM, Thomas Baumgart via KMyMoney-devel wrote: > > On Freitag, 4. Oktober 2024 14:52:46 CEST Thomas Baumgart via > > KMyMoney-devel wrote: > > > > [...] > > > >> Reading the whole history, it seems that on your master branch there > >> are no Makefiles. If you don't specify the generator with the -G option > >> to cmake, it uses "Unix Makefiles" as the default on Linux. So to me > >> it seems, that cmake does not generate them for whatever reason. > >> > >> The following line which I found in Brendan's first mail proofs that: > >> > >>> -- Configuring incomplete, errors occurred! > >> Can you run the following in the build directory from the command line: > >> > >>cmake --trace-expand 2>&1 | gzip > cmake.log.gz > >> > >> and provide the resulting cmake.log.gz file? In case cmake encounters > >> some problems and cannot write Makefiles it usually writes a few more > >> lines to the console that contain names of files with information. > >> Those might also be helpful. > > Brendan supplied me the request logfile via PM. Here's what I found out > > (for reference I leave the line numbers in parens for Brendan): > > > > As a result of KMyMoney's CMake statement > > > > find_package(libofx ${KMM_LIBOFX_MIN_SOVERSION} NAMES LibOFX libofx) > > > > CMake finds libofx and assigns the target "libofx::libofx" (16777) but it > > does not find its required dependency OpenSP (17318): > > > >/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake(94): return() > >CMake Warning at CMakeLists.txt:184 (find_package): > > Found package configuration file: > > > >/usr/lib64/cmake/libofx/LibOFXConfig.cmake > > > > but it set libofx_FOUND to FALSE so package "libofx" is considered to > > be > > NOT FOUND. Reason given by package: > > > > libofx could not be found because dependency OpenSP could not be found. > > > > which causes KMyMoney's CMake to proceed with the alternative path to use > > PkgConfig to look for libofx. Since it is installed it tries to set the > > target "libofx::libofx" again which causes the reported error (18227): > > > >CMake Error at CMakeLists.txt:193 (add_library): > > add_library cannot create imported target "libofx::libofx" because > > another > > target with the same name already exists. > > > > Due to that error it seems that the Makefiles are not generated. > > > > @Brendan: can you check the availability of OpenSP development files > > on your system? It seems that they are missing/not found. > > > > Hope that helps. > > opensp was installed. opensp-devel was not installed. I installed it and > the build completed. Glad we found the problem. > > Thanks Thomas. Can you explain why this did not affect the 5.1 branch? Short answer: different cmake instructions :) Long answer: the 5.1 branch only uses the (older) pkg_check_modules variant to detect libofx while master branch uses the (newer) find_package variant to locate libofx. Apparently (and I am not a cmake expert) the former does not check for opensp but latter does. > I have not installed the build yet but will do it later today when I > have time to test it on all of my systems. -- Regards Thomas Baumgart - A sufficient amount of googling is indistinguishable from actual knowledge. -- unknown source - signature.asc Description: This is a digitally signed message part.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 Thomas Baumgart changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #1 from Thomas Baumgart --- I don't understand your problem. You say, that QFX files are not shown, but the provided screenshot shows one. What am I missing? -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494211] New: Crash when saving database
https://bugs.kde.org/show_bug.cgi?id=494211 Bug ID: 494211 Summary: Crash when saving database Classification: Applications Product: kmymoney Version: 5.1.3 Platform: Kubuntu OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: kmymoney-devel@kde.org Reporter: smjense...@gmail.com Target Milestone: --- Application: kmymoney (5.1.3) Qt Version: 5.15.13 Frameworks Version: 5.115.0 Operating System: Linux 6.8.0-45-generic x86_64 Windowing System: X11 Distribution: Ubuntu 24.04.1 LTS DrKonqi: 5.27.11 [KCrashBackend] -- Information about the crash: Crashed when saving database after importing qif file - no problems before save. Crashed 3 times; 1) while working, 2) after reopening kMyMoney, 3) after system reeboot. The crash can be reproduced every time. -- Backtrace: Application: KMyMoney (kmymoney), signal: Segmentation fault [KCrash Handler] #4 0x7ca4321c589c in InstitutionsModel::slotObjectModified(eMyMoney::File::Object, QString const&) () at /usr/lib/x86_64-linux-gnu/libkmm_models.so.5 #5 0x7ca42d512e16 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x7ca42f32b687 in MyMoneyFile::objectModified(eMyMoney::File::Object, QString const&) () at /usr/lib/x86_64-linux-gnu/libkmm_mymoney.so.5 #7 0x7ca42f334300 in MyMoneyFile::commitTransaction() () at /usr/lib/x86_64-linux-gnu/libkmm_mymoney.so.5 #8 0x7ca42f35532d in MyMoneyFileTransaction::commit() () at /usr/lib/x86_64-linux-gnu/libkmm_mymoney.so.5 #9 0x56e71ffc3c58 in ??? () #10 0x56e71ffc865f in ??? () #11 0x7ca42d512e16 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #12 0x7ca42e164f94 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x7ca42e167eab in QAction::activate(QAction::ActionEvent) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x7ca42e26967a in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x7ca42e2697b8 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x7ca42e36d446 in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x7ca42e1b0df8 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x7ca42e16bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #19 0x7ca42e1746b0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x7ca42d4d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x7ca42e172874 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x7ca42e1caa39 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x7ca42e1cdfbf in ??? () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x7ca42e16bd45 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x7ca42d4d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x7ca42d945a3b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #27 0x7ca42d917bfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #28 0x7ca426c10d06 in ??? () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #29 0x7ca42b0665b5 in ??? () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #30 0x7ca42b0c5717 in ??? () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x7ca42b065a53 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x7ca42d535279 in QEventDispatcherGlib::processEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #33 0x7ca42d4d6a7b in QEventLoop::exec(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #34 0x7ca42d4df3e8 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x56e71ffad77a in ??? () #36 0x7ca42ca2a1ca in __libc_start_call_main (main=main@entry=0x56e71ffab930, argc=argc@entry=2, argv=argv@entry=0x7ffd49f9ac28) at ../sysdeps/nptl/libc_start_call_main.h:58 #37 0x7ca42ca2a28b in __libc_start_main_impl (main=0x56e71ffab930, argc=2, argv=0x7ffd49f9ac28, init=, fini=, rtld_fini=, stack_end=0x7ffd49f9ac18) at ../csu/libc-start.c:360 #38 0x56e71ffaedb5 in ??? () [Inferior 1 (process 2581) detached] Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 492843] Option to turn off Reconciliation notifications in Ledger
https://bugs.kde.org/show_bug.cgi?id=492843 --- Comment #3 from Glenn --- What sort of feedback are you looking for? I have not tried the Master Branch yet. Although I am a software developer myself, I don't understand the whole git branches and structure for kmm. I prefer to use "stable" versions. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 492843] Option to turn off Reconciliation notifications in Ledger
https://bugs.kde.org/show_bug.cgi?id=492843 Thomas Baumgart changed: What|Removed |Added Status|REPORTED|NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #2 from Thomas Baumgart --- Updating state to gain feedback. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 492906] Adding category with different currency fails
https://bugs.kde.org/show_bug.cgi?id=492906 Thomas Baumgart changed: What|Removed |Added Status|REPORTED|NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #1 from Thomas Baumgart --- Unable to reproduce this with current master neither on Linux nor on Windows. Did it get resolved in the meantime? -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 492739] Import Qfx creates duplicate Payee
https://bugs.kde.org/show_bug.cgi?id=492739 Thomas Baumgart changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #1 from Thomas Baumgart --- > I Have payee already in list as "Chase Prime" which already has a category > "Credit Card". > When importing qfx it creates another duplicate instance of "Chase Prime" > but shows > no category for it treats it as a new entry. What is the setting for the initial "Chase Prime" on the Matching tab of the payee? Sounds like it is "No matching". > Have also in same import have a positive and a negative transaction which > should be > negative. If I delete either, it deletes both. You do not mention where (in which view) you see those two entries. Being on positive, the other negative and both disappearing if you delete one sounds that these are actually the two splits of a transaction. If you delete a transaction, all splits are removed. This behavior is by design. -- You are receiving this mail because: You are the assignee for the bug.
[alkimia] [Bug 488490] Make 8.2 release
https://bugs.kde.org/show_bug.cgi?id=488490 Thomas Baumgart changed: What|Removed |Added Depends on|484446 | Referenced Bugs: https://bugs.kde.org/show_bug.cgi?id=484446 [Bug 484446] Qt WebEngine resources not found - Translations MAY NOT not be correct -- You are receiving this mail because: You are the assignee for the bug.
[alkimia] [Bug 488490] Make 8.2 release
https://bugs.kde.org/show_bug.cgi?id=488490 Thomas Baumgart changed: What|Removed |Added Resolution|--- |WAITINGFORINFO Status|REPORTED|NEEDSINFO --- Comment #3 from Thomas Baumgart --- I think it is time to finish this ticket. I want to go forward with 8.2 to be able to start releasing KMyMoney 5.2 -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 488491] Make 5.2 release
https://bugs.kde.org/show_bug.cgi?id=488491 Bug 488491 depends on bug 488490, which changed state. Bug 488490 Summary: Make 8.2 release https://bugs.kde.org/show_bug.cgi?id=488490 What|Removed |Added Status|REPORTED|NEEDSINFO Resolution|--- |WAITINGFORINFO -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #5 from Jack --- I know you are on Mint (not Windows) but I wonder if the ofx/qfx filter might somehow be case sensitive, although it shouldn't. Try changing the extension from qfx to QFX to see if it makes any difference. In terms of "wrong file type" please post (or at least look at) the beginning of the qfx file, which should be plain ascii. There might be some header lines (possibly starting with something like "OFXHEADED:100") but within the first bunch of lines should be . If it's some other type, there might have been a problem in creating/exporting it. QIF is known to be problematic, so I think both Thomas and I would prefer to get the OFX/QFX import working for you. No need to open other tickets unless we decide there is actually more than one bug present. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494069] Ledger shows incorrect value for credit card account when reconciled transactions are hidden
https://bugs.kde.org/show_bug.cgi?id=494069 Thomas Baumgart changed: What|Removed |Added Latest Commit||https://invent.kde.org/offi ||ce/kmymoney/-/commit/27e8ac ||3e6850cd915e1346b9d89143dee ||54dc68d Version Fixed In||5.2 Status|REPORTED|RESOLVED Resolution|--- |FIXED --- Comment #2 from Thomas Baumgart --- Git commit 27e8ac3e6850cd915e1346b9d89143dee54dc68d by Thomas Baumgart. Committed on 06/10/2024 at 12:24. Pushed by tbaumgart into branch 'master'. Fix balance display when some transactions are not shown For liability accounts the starting balance for the first visible transaction was not inverted causing the balances to be incorrect. This change fixes the problem. FIXED-IN: 5.2 M +3-7kmymoney/models/specialledgeritemfilter.cpp https://invent.kde.org/office/kmymoney/-/commit/27e8ac3e6850cd915e1346b9d89143dee54dc68d -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #6 from Tom --- Created attachment 174485 --> https://bugs.kde.org/attachment.cgi?id=174485&action=edit Text Editor screenshot of the QFX file. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #7 from Tom --- You nailed it Jack. The file dialog box is case sensitive. I changed the file type to uppercase and the file dialog box displayed it! As for the format of the qfx file, it's bizarre. I used the Text Editor to generated the attached screenshot. I also looked at it on Windows notepad, same illegible format. Feels like I'm missing something... -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #8 from Jack --- On the Artix Linux laptop I'm working on right now, the file open is case insensitive, so I wonder if there might be a relevant setting in Mint. Anyway, you at least know how to deal with that issue. That file is clearly binary, not text. What does "file filename" say about it? How did you create it? If that was quicken saying it was exporting a qfx file, it lied, unless perhaps it is compressed. (Ofx and Qfx are effectively the same, but the latter may have some Intuit defined differences that I've not seem matter.) -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #10 from Jack --- Just for future info, "file" is a linux command which tells you the type of the file you put as its argument. It should always be on your path. You should just open a command prompt (which will be bash running in a terminal) and tyep "cd Documents/finance" and then "file QDataSAV.qfx" However, that isn't likely to add any new information to the discussion. I'll have to research why you don't seem to have the option to create a new QIF profile. However, as far as some quick research shows, Quicken is supposed to export most account data as OFX (apparently not Investments) so are you sure you can't do this? QXF is almost OFX, with some Quicken specifics, but it is a plain text markup language, not binary. Please check again what quicken allows you to export. It may take more than one export to cover all your data, and some of it may need to be QIF or some format Excel can read (probably csv) but most should be able to be saved as OFX. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #9 from Tom --- I'm new to Linux, couldn't figure out directory path, etc to use the file command. But the Properties command confirmed it's type is binary. The QIF file on the other hand is clear text. DId some research and appears qxf is a proprietary quicken format, binary, of no use to me. So looks like I'm stuck with qif. Any way to create my own import template? As I mentioned above, the NEW option is not present on my qif import screen. Just Default. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #11 from Tom --- Thanks for the info on file command. I was struggling with the directory structure, so you're explanation helped. As for Quicken exports, the only options on the export dialog are qfx and qif. But their help screens mentioned copy and paste. So I was able to copy and paste to a CSV file with headers. So maybe that's a good option for me to test. As you prob know, Quicken is notorious for making it easy to move your data to other programs, for obvious reasons. Such a pain. -- You are receiving this mail because: You are the assignee for the bug.
[kmymoney] [Bug 494127] QFX file name not seen in file import dialog
https://bugs.kde.org/show_bug.cgi?id=494127 --- Comment #2 from Tom --- Sorry, grabbed the wrong screenshot. I found that by changing the Files of Type field on the QFX Import File Selection dialog box to "All Files" I could indeed see the qfx files. But the default dialog box opens with files types *.ofx *.qfx etc but none of those file types can be seen. See attached screenshot. So now that I can get past that small bug by using the display all file types, when I attempt to open the qfx file, I get the "incorrect format" error. See second screenshot. The qfx file was generated by my Quicken 2017 desktop software. So I thought I'd try the qif import. It doesn't do a good job delineating the fields. Basically just get a payee field with all data in it along with the date and amount fields. So I tried to create my own import template, but that "new" option is not showing. See third screenshot. I'm a retired IT guy and have done many translations for system conversions, but I'm kinda stuck here, and would really like to get off Quicken and on to kmymoney. I really appreciate your help Tom. If I need to open separate tickets for the above, just let me know. On 10/6/24 01:46, Thomas Baumgart wrote: > https://bugs.kde.org/show_bug.cgi?id=494127 > > Thomas Baumgart changed: > > What|Removed |Added > > Resolution|--- |WAITINGFORINFO > Status|REPORTED|NEEDSINFO > > --- Comment #1 from Thomas Baumgart --- > I don't understand your problem. You say, that QFX files are not shown, but > the > provided screenshot shows one. What am I missing? > -- You are receiving this mail because: You are the assignee for the bug.