Package Details: mloader 1.1.12-3

Git Clone URL: https://aur.archlinux.org/mloader.git (read-only, click to copy)
Package Base: mloader
Description: Command-line tool to download manga from mangaplus
Upstream URL: https://github.com/hurlenko/mloader
Keywords: manga mangaplus mloader
Licenses: GPL3
Submitter: selpast
Maintainer: selpast
Last Packager: selpast
Votes: 1
Popularity: 0.000001
First Submitted: 2022-06-03 14:35 (UTC)
Last Updated: 2025-01-09 22:22 (UTC)

Latest Comments

POGMAN commented on 2025-01-08 22:44 (UTC) (edited on 2025-01-08 23:05 (UTC) by POGMAN)

It seems to be broken with the latest version of python/python-protobuf.

I tried with pyenv and python 3.11 to "pip install" it and it is OK.

According to requirements.txt protobuf should be ~=3.6. I guess the arch package python-protobuf does not meet this requirement though :/
See:

    Traceback (most recent call last):
      File "test.py", line 12, in <module>
        from mloader.exporter import ExporterBase
      File "/usr/lib/python3.13/site-packages/mloader/exporter.py", line 8, in <module>
        from mloader.response_pb2 import Title, Chapter
      File "/usr/lib/python3.13/site-packages/mloader/response_pb2.py", line 36, in
    <module>
        _descriptor.FieldDescriptor(
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
          name='image_url', full_name='manga.Banner.image_url', index=0,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        ...<3 lines>...
          is_extension=False, extension_scope=None,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
          serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/lib/python3.13/site-packages/google/protobuf/descriptor.py", line 621, in __new__
        _message.Message._CheckCalledFromGeneratedFile()
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
    TypeError: Descriptors cannot be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates