Comments (5)
I doubt --without-doc-strings
was the cause, as in the python source it looks like it just effectively replaces builtin docstrings with empty strings, so it shouldn't introduce any semantic changes. But it could be some other custom flag.
Regardless, I've removed the problematic code which is no longer needed.
from repology-updater.
Try with --fatal
to get a backtrace. Which python version do you have?
from repology-updater.
I have Python 3.11.2
--fatal log:
Traceback (most recent call last):
File "/usr/lib/python3.11/inspect.py", line 1369, in getfullargspec
sig = _signature_from_callable(func,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/inspect.py", line 2519, in _signature_from_callable
return _signature_from_builtin(sigcls, obj,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/inspect.py", line 2326, in _signature_from_builtin
raise ValueError("no signature found for builtin {!r}".format(func))
ValueError: no signature found for builtin <slot wrapper '__init__' of 'object' objects>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/new/root/repology-updater/./repology-update.py", line 410, in <module>
sys.exit(main())
^^^^^^
File "/new/root/repology-updater/./repology-update.py", line 387, in main
process_repositories(env)
File "/new/root/repology-updater/./repology-update.py", line 190, in process_repositories
env.get_repo_processor().parse([reponame], transformer=transformer, maintainermgr=maintainermgr, logger=runlogger)
File "/new/root/repology-updater/repology/repoproc/__init__.py", line 250, in parse
self._parse(repository, transformer, maintainermgr, logger)
File "/new/root/repology-updater/repology/repoproc/__init__.py", line 226, in _parse
serializer.serialize(self._iter_parse_all_sources(repository, transformer, maintainermgr, logger))
File "/new/root/repology-updater/repology/repoproc/serialization.py", line 59, in serialize
for package in packages:
File "/new/root/repology-updater/repology/repoproc/__init__.py", line 191, in _iter_parse_all_sources
yield from self._iter_parse_source(repository, source, transformer, maintainermgr, logger.get_indented())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/new/root/repology-updater/repology/repoproc/__init__.py", line 173, in _iter_parse_source
self.parser_factory.spawn_with_known_args(
File "/new/root/repology-updater/repology/moduleutils.py", line 73, in spawn_with_known_args
filtered_kwargs = {
^
File "/new/root/repology-updater/repology/moduleutils.py", line 74, in <dictcomp>
key: value for key, value in kwargs.items() if key in inspect.getfullargspec(class_.__init__).args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/inspect.py", line 1379, in getfullargspec
raise TypeError('unsupported callable') from ex
TypeError: unsupported callable
from repology-updater.
Please provide more information about your system.
Also, does this work for you?
import inspect
inspect.getfullargspec(object.__init__)
from repology-updater.
It's a custom fork of KISS Linux, recompiling python without the "--without-doc-strings" flag fixed the issue.
Thanks for helping me figure this out!
from repology-updater.
Related Issues (20)
- Add xmake repository HOT 3
- [REQUEST]: Bulk Export API access for Pacstall HOT 12
- Winget repository log shows YAML errors and warnings - how to fix? HOT 2
- MX Linux 23 is released, please add its main, test, and AHS repositories HOT 1
- Salix is missing most repositories HOT 16
- openbsd updater needs adapting for model changes in sqlports ? HOT 21
- Package links missing for Kali HOT 1
- Add flag for disabled/broken/ignored packages
- Add Eclipse Temurin repository for for alpine (apk packages) HOT 3
- Request to update existing ibmi repository
- [REQUEST]: Bulk requests for Gentoo's packages.gentoo.org HOT 3
- The python:diffusers package wasn't imported from PyPI since November: PyPI has the version 0.24.0 since November, but Repology shows it as 0.23.1 HOT 1
- Add serpent os
- PureOS package links HOT 1
- openmamba: new git based sources repository HOT 2
- openSUSE: missing version variable in opensuse.yaml
- Allow multiple branches
- "Parabola has caught up with the newest version" spam when Parabola has different versions for different arches HOT 2
- ibmi: false positives for dead homepage links? HOT 2
- Hackage repository is not being updated HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repology-updater.