Skip to content

Help: No package metadata was found for rustfava #191

Description

@ayaye

Description

"Help" section shows

HTTP 500 - <!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>

Steps to Reproduce

  1. Start rustfava-desktop or just web-server with any ledger.
  2. Go to "Help" section.
  3. See HTTP 500 error message. If web-server is started from console. it show the following stacktrace:
Traceback (most recent call last):
  File "importlib/metadata/__init__.py", line 407, in from_name
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "flask/app.py", line 1511, in wsgi_app
  File "flask/app.py", line 919, in full_dispatch_request
  File "flask/app.py", line 917, in full_dispatch_request
  File "flask/app.py", line 902, in dispatch_request
  File "rustfava/application.py", line 455, in help_page
  File "importlib/metadata/__init__.py", line 987, in version
  File "importlib/metadata/__init__.py", line 960, in distribution
  File "importlib/metadata/__init__.py", line 409, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for rustfava
Exception on /kingdoom-finance/help/ [GET]
Traceback (most recent call last):
  File "importlib/metadata/__init__.py", line 407, in from_name
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "flask/app.py", line 1511, in wsgi_app
  File "flask/app.py", line 919, in full_dispatch_request
  File "flask/app.py", line 917, in full_dispatch_request
  File "flask/app.py", line 902, in dispatch_request
  File "rustfava/application.py", line 455, in help_page
  File "importlib/metadata/__init__.py", line 987, in version
  File "importlib/metadata/__init__.py", line 960, in distribution
  File "importlib/metadata/__init__.py", line 409, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for rustfava

Rustfava Version

1.30.13

Python Version

3.13.11

Operating System

Linux

Additional Context

Installed from rustfava_1.30.13_amd64.deb

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions