You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found couple of more issues while trying to setup and run the project locally
While installing the dependencies with poetry monitored below traceback
- Installing gssapi (1.9.0): Failed
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
/bin/sh: line 1: krb5-config: command not found
Traceback (most recent call last):
File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in<module>main()
~~~~^^
File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/tmpoa6ahu2a/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/tmpoa6ahu2a/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/tmpoa6ahu2a/.venv/lib/python3.13/site-packages/setuptools/build_meta.py", line 319, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 109, in<module>
File "<string>", line 22, in get_output
File "/usr/lib64/python3.13/subprocess.py", line 472, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/usr/lib64/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'krb5-config --libs gssapi' returned non-zero exit status 127.
at /usr/lib/python3.13/site-packages/poetry/installation/chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with gssapi (1.9.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "gssapi (==1.9.0)"'.
It seems krb5-devel needs to be installed as pre-requisite
While trying to run the project found a typo in README.md (missing \)
After fixing the above two issues locally and trying to hit the endpoint /api /v1 /users /search /{username} api failed with code=500 as no table users was present in database
Also, a new database file was created webhook-to-fedora-messaging.db
It seems W2FM_CONFIG (in my case: /home/sdglitched/webhook-to-fedora-messaging/config) needs to be exported for correct functioning
The text was updated successfully, but these errors were encountered:
Found couple of more issues while trying to setup and run the project locally
It seems
krb5-devel
needs to be installed as pre-requisiteWhile trying to run the project found a typo in
README.md
(missing\
)After fixing the above two issues locally and trying to hit the endpoint
/api /v1 /users /search /{username}
api failed with code=500 as no tableusers
was present in databaseAlso, a new database file was created
webhook-to-fedora-messaging.db
It seems W2FM_CONFIG (in my case: /home/sdglitched/webhook-to-fedora-messaging/config) needs to be exported for correct functioning
The text was updated successfully, but these errors were encountered: