-
Notifications
You must be signed in to change notification settings - Fork 52
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
Reports not providing output #626
Comments
Hi, there are some known issues with reports #517 Have you checked those? If you believe it's a separate issue, please provide log output. |
Hi
This is the log from Gramps Portainer
Upgrade to Business Edition
<https://192.168.4.46:9443/#!/home>
* Home <https://192.168.4.46:9443/#!/home>
* PortainerNAS
* Dashboard <https://192.168.4.46:9443/#!/2/docker/dashboard>
* App Templates <https://192.168.4.46:9443/#!/2/docker/templates>
* Stacks <https://192.168.4.46:9443/#!/2/docker/stacks>
* Containers <https://192.168.4.46:9443/#!/2/docker/containers>
* Images <https://192.168.4.46:9443/#!/2/docker/images>
* Networks <https://192.168.4.46:9443/#!/2/docker/networks>
* Volumes <https://192.168.4.46:9443/#!/2/docker/volumes>
* Events <https://192.168.4.46:9443/#!/2/docker/events>
* Host <https://192.168.4.46:9443/#!/2/docker/host>
* Settings
* Users <https://192.168.4.46:9443/#!/users>
* Environments <https://192.168.4.46:9443/#!/endpoints>
* Registries <https://192.168.4.46:9443/#!/registries>
* Authentication logs <https://192.168.4.46:9443/#!/auth-logs>
* Notifications <https://192.168.4.46:9443/#!/notifications>
* Settings <https://192.168.4.46:9443/#!/settings>
New version available 2.27.1
DismissSee what's new <https://github.com/portainer/portainer/releases/tag/2.27.1>
Community Edition2.19.5
Containers <https://192.168.4.46:9443/#!/2/docker/containers> >Gramps-Web <https://192.168.4.46:9443/#!/2/docker/containers/02d1ac25a7069dc413b6a3a080f5929e985e76bbfa0672eeb36e0e4511e45d47> >Logs
Container logs
cemanning
Log viewer settings
Top of Form
Auto-refresh logs
Wrap lines
Display timestamps
Fetch
Search
Lines
Actions
Download logs Copy Copy selected lines Unselect
Bottom of Form
File "/usr/local/lib/python3.11/dist-packages/webargs/core.py", line 657, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/resources/reports.py", line 96, in get
file_name, file_type = run_report(
^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/report.py", line 374, in run_report
cl_report_new(
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/report.py", line 330, in cl_report_new
my_report = report_class(database, clr.option_class, User())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/plugins/textreport/placereport.py", line 135, in __init__
raise ReportError(
gramps.gen.errors.ReportError: Place Report
[2025-02-27 06:45:02 +0000] [35] [ERROR] Error handling request /api/reports/place_report/file?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNzQwNjM4NjI0LCJqdGkiOiIzZTU4MTliZS1lNzQ3LTQxYTgtODQyNi0xMDYzMzBiNzcyNmYiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiNDhmM2VmOWYtNjBiZS00NjUyLWFkOTAtNGJhNDQ2N2UyNDNkIiwibmJmIjoxNzQwNjM4NjI0LCJjc3JmIjoiMDg0MWYxYTMtNjQzYS00ZDlhLTlmOTItMjA0ZmIzZjdlMTdlIiwiZXhwIjoxNzQwNjM5NTI0LCJwZXJtaXNzaW9ucyI6WyJBZGRPdGhlclRyZWVVc2VyIiwiVmlld1NldHRpbmdzIiwiQmF0Y2hEZWxldGVPYmplY3RzIiwiRWRpdE5hbWVHcm91cCIsIkFkZE9iamVjdCIsIlRyaWdnZXJSZWluZGV4IiwiRWRpdFRyZWUiLCJWaWV3T3RoZXJUcmVlVXNlciIsIkVkaXRUcmVlTWluUm9sZUFJIiwiRWRpdE90aGVyVHJlZSIsIkltcG9ydEZpbGUiLCJFZGl0VXNlclJvbGUiLCJSZXBhaXJUcmVlIiwiRGVsZXRlT3RoZXJUcmVlVXNlciIsIkVkaXRVc2VyVHJlZSIsIlVwZ3JhZGVTY2hlbWEiLCJFZGl0T3duVXNlciIsIkVkaXRTZXR0aW5ncyIsIkVkaXRUcmVlUXVvdGEiLCJEZWxldGVVc2VyIiwiVmlld090aGVyVXNlciIsIkRlbGV0ZU9iamVjdCIsIkVkaXRPdGhlclRyZWVVc2VyIiwiTWFrZUFkbWluIiwiVmlld090aGVyVHJlZSIsIkVkaXRPdGhlclVzZXIiLCJFZGl0T2JqZWN0IiwiQWRkVXNlciIsIkRpc2FibGVUcmVlIiwiRWRpdE90aGVyVHJlZVVzZXJSb2xlIiwiQWRkVHJlZSIsIlZpZXdQcml2YXRlIl0sInRyZWUiOiIwMWJjYzczOC05NWI5LTQ2MDItYTFkNS0yYjVhNDY0M2E4ZDMifQ.2WxcSsgig8zvhkqsWV4ToONnx_oYbRO65VHzJF1piIQ&options=%7B%7D
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 134, in handle
self.handle_request(listener, req, client, addr)
File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 177, in handle_request
respiter = self.wsgi(environ, resp.start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1536, in __call__
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1514, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/auth.py", line 44, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 110, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/flask/views.py", line 191, in dispatch_request
return current_app.ensure_sync(meth)(**kwargs) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/webargs/core.py", line 657, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/resources/reports.py", line 96, in get
file_name, file_type = run_report(
^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/report.py", line 374, in run_report
cl_report_new(
File "/usr/local/lib/python3.11/dist-packages/gramps_webapi/api/report.py", line 330, in cl_report_new
my_report = report_class(database, clr.option_class, User())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gramps/plugins/textreport/placereport.py", line 135, in __init__
raise ReportError(
gramps.gen.errors.ReportError: Place Report
[2025-02-27 07:05:14 +0000] [29] [CRITICAL] WORKER TIMEOUT (pid:31)
[2025-02-27 07:05:14 +0000] [31] [ERROR] Error handling request (no URI read)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/sync.py", line 133, in handle
req = next(parser)
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/parser.py", line 41, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.source_addr, self.req_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/message.py", line 259, in __init__
super().__init__(cfg, unreader, peer_addr)
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/message.py", line 60, in __init__
unused = self.parse(self.unreader)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/message.py", line 274, in parse
line, rbuf = self.read_line(unreader, buf, self.limit_request_line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/message.py", line 326, in read_line
self.get_data(unreader, buf)
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/message.py", line 262, in get_data
data = unreader.read()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/unreader.py", line 36, in read
d = self.chunk()
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/http/unreader.py", line 63, in chunk
return self.sock.recv(self.mxchunk)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/gunicorn/workers/base.py", line 204, in handle_abort
sys.exit(1)
SystemExit: 1
[2025-02-27 07:05:14 +0000] [31] [INFO] Worker exiting (pid: 31)
[2025-02-27 07:05:15 +0000] [29] [ERROR] Worker (pid:31) was sent SIGKILL! Perhaps out of memory?
[2025-02-27 07:05:15 +0000] [8843] [INFO] Booting worker with pid: 8843
(gunicorn:8843): Gtk-CRITICAL **: 07:05:26.791: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
/usr/local/lib/python3.11/dist-packages/flask_limiter/extension.py:333: UserWarning: Using the in-memory storage for tracking rate limits as no storage was explicitly specified. This is not recommended for production use. See: https://flask-limiter.readthedocs.io#configuring-a-storage-backend for documentation about configuring the storage backend.
warnings.warn(
From: David Straub ***@***.***>
Sent: Thursday, 27 February 2025 7:55 pm
To: gramps-project/gramps-web-api ***@***.***>
Cc: CraigM1711 ***@***.***>; Author ***@***.***>
Subject: Re: [gramps-project/gramps-web-api] Reports not providing output (Issue #626)
Hi,
there are some known issues with reports
#517 <#517>
gramps-project/gramps-web#326 <gramps-project/gramps-web#326>
Have you checked those?
If you believe it's a separate issue, please provide log output.
—
Reply to this email directly, view it on GitHub <#626 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BP555AM5HBMARIXDDTW7I2T2R2ZE5AVCNFSM6AAAAABX7AJQVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBXGA3DONJVGU> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/BP555AJMH4YMKBLDQ2DH6EL2R2ZE5A5CNFSM6AAAAABX7AJQVWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVAFFS2G.gif> Message ID: ***@***.*** ***@***.***> >
<https://avatars.githubusercontent.com/u/10965193?s=20&v=4> DavidMStraub left a comment (gramps-project/gramps-web-api#626) <#626 (comment)>
Hi,
there are some known issues with reports
#517 <#517>
gramps-project/gramps-web#326 <gramps-project/gramps-web#326>
Have you checked those?
If you believe it's a separate issue, please provide log output.
—
Reply to this email directly, view it on GitHub <#626 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BP555AM5HBMARIXDDTW7I2T2R2ZE5AVCNFSM6AAAAABX7AJQVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBXGA3DONJVGU> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/BP555AJMH4YMKBLDQ2DH6EL2R2ZE5A5CNFSM6AAAAABX7AJQVWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVAFFS2G.gif> Message ID: ***@***.*** ***@***.***> >
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
I have Gramps Web running on my NAS
When I run some reports I get an error file.htm not found or file.json not found.
Are there any other settings I can try to get this to work.
When I run the Fan chart, it runs the previous report. (Places report is one of them)
I have also noticed that occasionally when trying to run a report, it will run the previous report.
Version
Gramps 5.2.3
Gramps Web API 2.7.0
Gramps Web Frontend 24.12.2
Gramps QL 0.3.0
Sifts 1.0.0
locale: en
multi-tree: false
task queue: false
OCR: true
chat: false
Install via a container on Synology NAS, using Portainer
services:
grampsweb:
image: ghcr.io/gramps-project/grampsweb:latest
container_name: Gramps-Web
healthcheck:
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/5000' || exit 1
interval: 10s
timeout: 5s
retries: 3
start_period: 90s
security_opt:
- no-new-privileges:true
ports:
- 5449:5000
environment:
GRAMPSWEB_TREE: TEST #This env variable will create a new tree if not exists.
volumes:
- /volume1/docker/grampsweb/dbuser:/app/users:rw
- /volume1/docker/grampsweb/indexdir:/app/indexdir:rw
- /volume1/docker/grampsweb/thumbnail:/app/thumbnail_cache:rw
- /volume1/docker/grampsweb/cache:/app/cache:rw
- /volume1/docker/grampsweb/secret:/app/secret:rw
- /volume1/docker/grampsweb/database:/root/.gramps/grampsdb:rw
- /volume1/docker/grampsweb/media:/app/media:rw
- /volume1/docker/grampsweb/tmp:/tmp:rw
restart: on-failure:5
The text was updated successfully, but these errors were encountered: