<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#2e3436" bgcolor="#FFFFFF">
    <p><font face="Tahoma">I found the problem. I installed
        kf6-kquickcharts-devel and the reports appeared without
        recompiling KMM.</font><br>
    </p>
    <div class="moz-signature">
      <font color="#000000"><font face="Courier New"><font size="4"><b></b></font></font></font>
      <br>
      <font color="#000000"><font face="Courier New"><font size="4"><b>Brendan
              Coupe</b></font></font></font> <br>
      <font color="#000000"><font face="Courier New"><font size="2"><b><a class="moz-txt-link-abbreviated" href="mailto:3@Coupe7.com">3@Coupe7.com</a></b></font></font></font>
      <br>
      <br>
      <br>
    </div>
    <div class="moz-cite-prefix">On 1/13/25 9:52 AM, Brendan Coupe
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:b107dce1-006a-48d4-86fb-aa06f81050ed@Coupe7.com">Not
      surprisingly, Reports view is disabled. Not sure why. When I use
      the exact same script to compile 5.1, the reports are enabled.
      Oddly enough, the compiler output The Reports view is disabled
      when compiling the 5.1 branch (see below). I can assure you, the
      reports tab is available and I can open reports in 5.1.
      <br>
      <br>
      What is the difference between the 5.1 branch and the master
      branch?
      <br>
      <br>
      Master Branch:
      <br>
      <br>
      -- The following REQUIRED packages have not been found:
      <br>
      <br>
      -- The following OPTIONAL packages have not been found:
      <br>
      <br>
      -- The following features have been enabled:
      <br>
       * Encryption, Allows to store your financial data using strong
      GPG encryption.
      <br>
       * Doxygen, Generate API documentation with Doxygen (for devs
      only).
      <br>
       * Holidays, Allows fetching holidays from KDE PIM system.
      <br>
       * Forecast view, Adds possibility to calculate forecasts.
      <br>
       * Budget view, Adds possibility to plan a budget.
      <br>
       * Online job outbox view, Adds outbox for sending online jobs.
      <br>
       * SQL Storage, Allows storing your financial data in SQL
      database.
      <br>
       * LibOFX, Enables OFX import, export, and Direct Connect using
      LibOFX library.
      <br>
       * SQLCipher, Allows encrypting your SQLite3 database.
      <br>
       * KBanking, Interface for the following online banking protocols:
      HBCI, EBICS, OFX Direct Connect, Paypal
      <br>
       * Woob, Online banking interface using Woob.
      <br>
       * iCalendar, iCalendar integration.
      <br>
       * Internationalization, Generation of i18n files (messages and
      docs)
      <br>
      <br>
      -- The following features have been disabled:
      <br>
       * Address book, Allows fetching payee information from KDE PIM
      system.
      <br>
       * Reports view, Adds possibility to display chart and table
      reports.
      <br>
       * SQL Tracer, It traces the SQL queries to the console.
      <br>
       * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney
      (note: doesn't work yet).
      <br>
       * Cost center support, Adds support for cost centers (for devs
      only).
      <br>
       * Warnings as errors, Enforces all warnings to be reported as
      errors.
      <br>
       * Model test, Generate modeltest code (for devs only).
      <br>
       * QtDesigner, Qt-Designer library support (for devs only).
      <br>
      <br>
      -- Configuring done (2.9s)
      <br>
      -- Generating done (0.7s)
      <br>
      <br>
      5.1 Branch:
      <br>
      <br>
      -- The following REQUIRED packages have not been found:
      <br>
      <br>
      -- The following OPTIONAL packages have not been found:
      <br>
      <br>
      -- The following features have been enabled:
      <br>
       * Encryption, Allows to store your financial data using strong
      GPG encryption.
      <br>
       * Doxygen, Generate API documentation with Doxygen (for devs
      only).
      <br>
       * Holidays, Allows fetching holidays from KDE PIM system.
      <br>
       * Forecast view, Adds possibility to calculate forecasts.
      <br>
       * Budget view, Adds possibility to plan a budget.
      <br>
       * Online job outbox view, Adds outbox for sending online jobs.
      <br>
       * SQL Storage, Allows storing your financial data in SQL
      database.
      <br>
       * SQLCipher, Allows encrypting your SQLite3 database.
      <br>
       * OFX Importer, Allows importing OFX files (have client uid
      version: yes)
      <br>
       * KBanking, Interface for the following online banking protocols:
      HBCI, EBICS, OFX Direct Connect, Paypal
      <br>
       * Woob, Online banking interface using Woob.
      <br>
       * iCalendar, iCalendar integration.
      <br>
       * QIF Importer, Allows importing QIF files.
      <br>
       * QIF Exporter, Allows exporting QIF files.
      <br>
       * GNC Importer, Allows importing GNUCash files.
      <br>
       * CSV Importer, Allows importing CSV files.
      <br>
       * CSV Exporter, Allows exporting CSV files.
      <br>
       * New features, Compiles unfinished features for testing.
      <br>
      <br>
      -- The following features have been disabled:
      <br>
       * Address book, Allows fetching payee information from KDE PIM
      system.
      <br>
       * Reports view, Adds possibility to display chart and table
      reports.
      <br>
       * IBAN/BIC data, Adds predefined IBAN/BIC numbers to KMyMoney
      (note: doesn't work yet).
      <br>
       * prefix.sh, create prefix.sh script to support local execution
      <br>
       * Model test, Generate modeltest code (for devs only).
      <br>
       * QtDesigner, Qt-Designer library support (for devs only).
      <br>
      <br>
      -- Configuring done (2.8s)
      <br>
      -- Generating done (0.6s)
      <br>
      <br>
      <br>
      *Brendan Coupe*
      <br>
      *3@Coupe7.com*
      <br>
      <br>
      <br>
      On 2025-01-13 4:27 AM, Thomas Baumgart wrote:
      <br>
      <blockquote type="cite">On Montag, 13. Januar 2025 02:06:02 CET
        Brendan Coupe via KMyMoney-devel wrote:
        <br>
        <br>
        <blockquote type="cite">After send that last email I realize
          this probably all changed when I
          <br>
          upgraded from Fedora 39 to 40 or from 40 to 41. These upgrades
          happened
          <br>
          close together so I'm not sure which one caused this but I
          suspect a
          <br>
          package is no longer included in 40 and/or 41 that was
          included in 39.
          <br>
          <br>
          The "Python module failed to load" in the command line output
          is
          <br>
          probably the cause.
          <br>
        </blockquote>
        I doubt that, since the reports have nothing to do with Python.
        <br>
        <br>
        When you run cmake, make sure reports show up in the supported
        section
        <br>
        in the overview. See attached screenshot how it looks for me.
        <br>
        <br>
        Thomas
        <br>
        <br>
        <blockquote type="cite">**
          <br>
          *Brendan Coupe*
          <br>
          *3@Coupe7.com*
          <br>
          <br>
          <br>
          On 2025-01-12 5:56 PM, Brendan Coupe wrote:
          <br>
          <blockquote type="cite">I use Tabbed view which has caused a
            weird problem in the past which
            <br>
            Thomas tracked down and fixed, probably over 10 years ago.
            <br>
            <br>
            I switched to the other 2 views and reports is missing on
            both.
            <br>
            <br>
            I save the output from my builds in a log file. There is no
            mention of
            <br>
            reportsview.so in the recent logs. I see lots of mentions in
            the logs
            <br>
            up until October of last year. This includes builds of both
            the 5.1
            <br>
            and Master branches. I searched the recent source trees and
            there is
            <br>
            no file named reportsview.so.
            <br>
            <br>
            Here is the command line output:
            <br>
            <br>
            WebConnect: Running in server mode
            <br>
            This is not KMyMoney plugin:
            <br>
'/usr/lib64/qt5/plugins/kmymoney_plugins/konlinetasks_sepa.so'
            <br>
            3:2025/01/12 17-40-41:(null)(111506):banking_update.c:  610:
            No
            <br>
            AqBanking config folder found at
            <br>
            [/home/bcoupe/.aqbanking/settings6/users] (-1)
            <br>
            3:2025/01/12 17-40-41:(null)(111506):banking_update.c:  610:
            No
            <br>
            AqBanking config folder found at
            <br>
            [/home/bcoupe/.aqbanking/settings/users] (-1)
            <br>
            3:2025/01/12 17-40-41:(null)(111506):banking_update.c:  411:
            There is
            <br>
            no old settings folder, need initial setup
            <br>
            "kmymoneyVydATp" Python module failed to load
            <br>
            Traceback (most recent call last):
            <br>
               File "/tmp/kmymoneyVydATp.py", line 10, in <module>
            <br>
                 import logging.config
            <br>
               File "/usr/lib64/python3.13/logging/config.py", line 31,
            in <module>
            <br>
                 import logging.handlers
            <br>
               File "/usr/lib64/python3.13/logging/handlers.py", line
            30, in <module>
            <br>
                 import pickle
            <br>
               File "/usr/lib64/python3.13/pickle.py", line 33, in
            <module>
            <br>
                 from struct import pack, unpack
            <br>
               File "/usr/lib64/python3.13/struct.py", line 13, in
            <module>
            <br>
                 from _struct import *
            <br>
            ImportError:
            <br>
/usr/lib64/python3.13/lib-dynload/_struct.cpython-313-x86_64-linux-gnu.so:
            <br>
            undefined symbol: PyByteArray_Type
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715:
            GFileInfo
            <br>
            created without standard::icon
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715: file
            <br>
            ../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should
            not be
            <br>
            reached
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715:
            GFileInfo
            <br>
            created without standard::icon
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715: file
            <br>
            ../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should
            not be
            <br>
            reached
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715:
            GFileInfo
            <br>
            created without standard::icon
            <br>
            <br>
            (kmymoney:111506): GLib-GIO-CRITICAL **: 17:41:20.715: file
            <br>
            ../gio/gfileinfo.c: line 1765 (g_file_info_get_icon): should
            not be
            <br>
            reached
            <br>
            <br>
            <br>
            *Brendan Coupe*
            <br>
            *3@Coupe7.com*
            <br>
            <br>
            <br>
            On 2025-01-12 5:37 PM, Jack via KMyMoney-devel wrote:
            <br>
            <blockquote type="cite">On 2025.01.12 18:29, Brendan Coupe
              via KMyMoney-devel wrote:
              <br>
              <blockquote type="cite">I have been using the master
                branch that I compile myself for the
                <br>
                past couple of months. I just realized that the reports
                tab is
                <br>
                missing. I compiled the 5.1 branch and confirmed that it
                shows thew
                <br>
                reports tab.
                <br>
                <br>
                I assume this is not expected and I may be missing a
                dependency. Any
                <br>
                suggestions? I'm running Fedora 41 and I don't see any
                obvious
                <br>
                errors in the compile output log.
                <br>
                <br>
                Thanks,
                <br>
              </blockquote>
              Brendan,
              <br>
              <br>
              I assume you are referring to the Reports icon on the View
              Selecter
              <br>
              on the left of the display.  Yes, it should still be
              present, and is
              <br>
              so in my copy compiled from master branch earlier today. 
              Offhand, I
              <br>
              can't really think of anything that might cause it to
              disappear.
              <br>
              <br>
              The first place I would look is at the console output if
              you run KMM
              <br>
              from command line, in case there is something missing at
              runtime.  I
              <br>
              do see:
              <br>
              Loading
              "/usr/lib64/qt5/plugins/kmymoney_plugins/reportsview.so"
              <br>
              Plugins: reportsview loaded
              <br>
              <br>
              If nothing strange shows up there, I would grep through
              the build
              <br>
              output (make or ninja, which you may have to configure for
              logging)
              <br>
              for anything related to reports, particularly confirming
              whether
              <br>
              there is any error related to reportsview.so being
              compiled.
              <br>
              <br>
              Jack
              <br>
            </blockquote>
          </blockquote>
          <br>
        </blockquote>
      </blockquote>
    </blockquote>
  </body>
</html>