Package directories may contain more exotic characters
It appears that the Mtree parser is a bit too strict.
repod-file package inspect /mnt/mirror/community/os/x86_64/deepin-calculator-5.7.20-2-x86_64.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/share/deepin-manual/manual-assets/application/deepin-calculator/calculator/common/M^.svg', 'time': 1655561960.0, 'size': 1505, 'md5': '32f371253d43dcad146ac5da23a5e733', 'sha256': '0ead6803757c2b65b141231bb12a0547f883b7e3ef943a113e1573449817b84c'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/gap-packages-4.11.1-10-x86_64.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/lib/gap/pkg/ExamplesForHomalg-2020.10-02/examples/BZ^3.g', 'time': 1654182534.0, 'size': 319, 'md5': 'da7aa1f4133a8e9a4358ed1f89ad8cf7', 'sha256': '8fdbc3d7fc32c9c85a8ae39ad6581d90586ab864d29f773105e6b6f439f20526'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/gulp-4.0.2-3-any.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^3.7.0', 'time': 1596223229.0, 'mode': '755', 'type_': 'dir'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/libreoffice-extension-texmaths-0.49-1-any.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/lib/libreoffice/share/extensions/texmaths/icons/symbols-black/^.svg', 'time': 1615750497.0, 'size': 2574, 'md5': 'cba35f8906bcd791fc9a530ed046b3ba', 'sha256': '0e198c6bb25ce62563c12a0d368dc8d87a8ebc89fd9fed5895cff0138ac458e9'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/phonegap-9.0.0-2-x86_64.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/lib/node_modules/phonegap/node_modules/phonegap-build/node_modules/shelljs/test/resources/ls/filename(with)[chars$]^that.must+be-escaped', 'time': 1623361279.0, 'size': 5, 'md5': '2b00042f7481c7b056c4b410d28f33cf', 'sha256': 'd1bc8d3ba4afc7e109612cb73acbdddac052c93025aa1f82942edabb7deb82a1'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/solfege-3.23.4-6-x86_64.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/share/solfege/help/C/scales/images/quadriads/c^+5.png', 'time': 1638490619.0, 'size': 1363, 'md5': '8bbf82f7505f64c2f26a07c531501246', 'sha256': '8f61d8cb7d463a06496b996c6f6460fdae8640119a156baee6045e6d745947a4'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
repod-file package inspect /mnt/mirror/community/os/x86_64/ucblogo-6.2.2-3-x86_64.pkg.tar.zst
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 360, in from_file
MTreeEntryV1(
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/repod-file", line 8, in <module>
sys.exit(repod_file())
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 189, in repod_file
repod_file_package(args=args)
File "/usr/lib/python3.10/site-packages/repod/cli/cli.py", line 33, in repod_file_package
model = asyncio.run(
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/usr/lib/python3.10/site-packages/repod/files/package.py", line 106, in from_file
mtree=MTree.from_file(
File "/usr/lib/python3.10/site-packages/repod/files/mtree.py", line 374, in from_file
raise RepoManagementValidationError(
repod.errors.RepoManagementValidationError: An error occured when validating mtree data!
Basic settings: {'type_': 'file', 'uid': 0, 'gid': 0, 'mode': '644'}
File settings: {'name': '/usr/share/ucblogo/helpfiles/`', 'time': 1657299797.0, 'size': 1317, 'md5': '9bdbc06c3d474274c073ea34ee8fab51', 'sha256': '6645184e920279e38a8076752c2b4264e852977a4cfa161bb5bb563d7c2e8d02'}
1 validation error for MTreeEntryV1
name
string does not match regex "^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$" (type=value_error.str.regex; pattern=^/[A-Za-z0-9.,:;/_()@\\&$?!+%~{}<>*\-\"\'\[\]]+$)
Edited by David Runge