You really need to go ask the developers of the Cubes software.
But as I said, you also should go read:
http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html
<http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html>
In particular read:
http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#application-working-directory
<http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#application-working-directory>
http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#access-rights-of-apache-user
<http://modwsgi.readthedocs.io/en/develop/user-guides/application-issues.html#access-rights-of-apache-user>
At a guess the problem is that you are using a relative path name to the
database and not an absolute path. This means it is accessing the database at
the wrong location. If there was a setup command for the database to create
tables, when you access it from the wrong location it will be empty and so you
will not find the tables.
Find any paths in the configuration or code which are relative and not absolute
and make them absolute.
For example, this is using a relative path.
url: sqlite:///data.sqlite <sqlite:///data.sqlite>
When running under mod_wsgi the current working directory is not where the code
or config file is, so this will not resolve correctly.
Graham
> On 29 Jun 2017, at 6:52 PM, Vigneshrajan <[email protected]> wrote:
>
> How to enable debug level log?
>
> In apache error log.
>
> [Thu Jun 29 13:53:36.084400 2017] [wsgi:error] [pid 10220:tid 924] [client
> ::1:61209] 2017-06-29 13:53:36,084 ERROR Internal Cubes error
> (NoSuchTableError): No such fact table 'irbd_balance'.\r
>
> I have attached all my project file. Please make a note of it.
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
> <data.sqlite><model.json><prepare_data.py><slicer.ini><aggregate.py><data.csv><httpd.conf>
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.