You are not logged in.
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading Tribler-v7.4.4.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 643 100 643 0 0 1224 0 --:--:-- --:--:-- --:--:-- 1222
100 3106k 100 3106k 0 0 1125k 0 0:00:02 0:00:02 --:--:-- 2483k
==> Validating source files with sha512sums...
Tribler-v7.4.4.tar.xz ... Passed
==> Extracting sources...
-> Extracting Tribler-v7.4.4.tar.xz with bsdtar
==> Starting prepare()...
sed: can't read src/tribler/tribler-core/tribler_core/version.py: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
[admin@workstation tribler]$ makepkg -sri
==> Making package: tribler 7.4.4-4 (Thu Oct 29 18:33:10 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found Tribler-v7.4.4.tar.xz
==> Validating source files with sha512sums...
Tribler-v7.4.4.tar.xz ... Passed
==> Extracting sources...
-> Extracting Tribler-v7.4.4.tar.xz with bsdtar
==> Starting prepare()...
sed: can't read src/tribler/tribler-core/tribler_core/version.py: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
Last edited by RedArcher (2021-01-07 05:22:12)
Offline
Change this in PKGBUILD
src/tribler/tribler-core/tribler_core/version.py
to
Tribler/Core/version.py
Offline
Thanks Bro!
Offline
Tribler does not work. I guess, it is due to recent extensive Python updates of ArchLinux. Can anyone relate?
Offline
Offline
Yes (assuming I did it correctly)
Offline
Tribler does not work. I guess, it is due to recent extensive Python updates of ArchLinux. Can anyone relate?
In between your first sentence and your second sentence is blank whitespace. You were *supposed* to actually describe your problem there.
Currently, there's nothing to relate to. Please try again with more details.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
The following error appears on Arch Linux, and, I guess, on Manjaro Linux, too.
Traceback (most recent call last):
File "/opt/Tribler/tribler-gui/tribler_gui/tribler_request_manager.py", line 120, in <lambda>
request.reply.finished.connect(lambda: request.on_finished(request))
File "/opt/Tribler/tribler-gui/tribler_gui/tribler_request_manager.py", line 198, in on_finished
json_result = json.loads(bytes(data), encoding='latin_1')
File "/opt/Tribler/tribler-core/tribler_core/utilities/json_util.py", line 112, in loads
return json.loads(s, *args, **kwargs)
File "/usr/lib/python3.9/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'
Edit: Please ignore this post, for the time being, as I didn't update my current installation (version 7.4.4) to 7.6.1 yet.
I've made the update.It appears that it's a problem on the software side. Here's the error:
Traceback (most recent call last):
File "/opt/Tribler/tribler-gui/tribler_gui/event_request_manager.py", line 130, in <lambda>
self.reply.error.connect(lambda error: self.on_error(error, reschedule_on_err=reschedule_on_err))
File "/opt/Tribler/tribler-gui/tribler_gui/event_request_manager.py", line 70, in on_error
raise CoreConnectTimeoutError("Could not connect with the Tribler Core within 60 seconds")
tribler_gui.event_request_manager.CoreConnectTimeoutError: Could not connect with the Tribler Core within 60 seconds
[PID:23400] 2021-01-02 22:09:54,859 - ERROR <session:249> Session.unhandled_error_observer(): Unhandled exception occurred! schema2parameters() missing 1 required keyword-only argument: 'location'
--LONG TEXT--
Traceback (most recent call last):
File "/opt/Tribler/run_tribler.py", line 84, in start_tribler
await session.start()
File "/opt/Tribler/tribler-core/tribler_core/session.py", line 289, in start
await self.api_manager.start()
File "/opt/Tribler/tribler-core/tribler_core/restapi/rest_manager.py", line 102, in start
await self.runner.setup()
File "/usr/lib/python3.9/site-packages/aiohttp/web_runner.py", line 275, in setup
self._server = await self._make_server()
File "/usr/lib/python3.9/site-packages/aiohttp/web_runner.py", line 375, in _make_server
await self._app.startup()
File "/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 416, in startup
await self.on_startup.send(self)
File "/usr/lib/python3.9/site-packages/aiohttp/signals.py", line 34, in send
await receiver(*args, **kwargs) # type: ignore
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 77, in doc_routes
self._register(app_)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 117, in _register
self._register_route(route, method, view)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 131, in _register_route
self._update_paths(view.__apispec__, method, self.prefix + url_path)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 153, in _update_paths
raw_parameters = self.plugin.converter.schema2parameters(
TypeError: schema2parameters() missing 1 required keyword-only argument: 'location'
--CONTEXT--
{'message': 'Task exception was never retrieved', 'exception': TypeError("schema2parameters() missing 1 required keyword-only argument: 'location'"), 'future': <Task finished name='Task-1' coro=<start_tribler_core.<locals>.start_tribler() done, defined at /opt/Tribler/run_tribler.py:53> exception=TypeError("schema2parameters() missing 1 required keyword-only argument: 'location'")>}
Last edited by RedArcher (2021-01-02 20:21:31)
Offline
FS#69090 - [pysolfc] ModuleNotFoundError: No module named 'validate'
https://bugs.archlinux.org/task/69090#comment195253
Comment by Daniel M. Capella (polyzen) - Friday, 25 December 2020, 11:53 GMT
A large number of packages were unusable due to this change, I went ahead and included the shim thanks to loqs' suggestion.blacktav, this will be fixed once you've updated your packages.
Offline
What is the output of
pacman -Qi python-configobj
python-configobj 5.0.6.r110.g3e2f4cc-1 supplies the shim validate
Offline
$ pacman -Qi python-configobj
Name : python-configobj
Version : 5.0.6.r110.g3e2f4cc-1
Description : Simple config file reader and writer
Architecture : any
URL : https://github.com/DiffSK/configobj
Licenses : BSD
Groups : None
Provides : None
Depends On : python-six
Optional Deps : None
Required By : tribler
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 339.94 KiB
Packager : Daniel M. Capella <polyzen@archlinux.org>
Build Date : Thu Dec 24 23:22:37 2020
Install Date : Sat Dec 26 18:36:49 2020
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
Offline
Is this issue resolved? What is the relevance of post #9?
Offline
Is this issue resolved? What is the relevance of post #9?
Yes, it is still relevant. The second part of post #9 is relevant.
Offline
loqs wrote:Is this issue resolved? What is the relevance of post #9?
Yes, it is still relevant. The second part of post #9 is relevant.
Post #9
FS#69090 - [pysolfc] ModuleNotFoundError: No module named 'validate'
https://bugs.archlinux.org/task/69090#comment195253polyzen wrote:Comment by Daniel M. Capella (polyzen) - Friday, 25 December 2020, 11:53 GMT
A large number of packages were unusable due to this change, I went ahead and included the shim thanks to loqs' suggestion.blacktav, this will be fixed once you've updated your packages.
Post #10
What is the output of
pacman -Qi python-configobj
python-configobj 5.0.6.r110.g3e2f4cc-1 supplies the shim validate
You posted in #11 python-configobj 5.0.6.r110.g3e2f4cc-1 the version supplying the shim is installed.
You have not posted any output showing a failure to find the validate module.
So I still do not understand how post #9 is relevant or if you have any remaining issue with tribler.
Offline
True, there's no mention of the 'validate' module.
I just believe (yes, just a belief) that it has to do with a recent python update of Arch.
What do you think I should do?
Offline
The traceback is still the same as the second of the two in post #8?
If so https://github.com/Tribler/tribler/issues/5814 / https://bugs.archlinux.org/task/68874
Last edited by loqs (2021-01-07 21:28:47)
Offline
Yes, it seems so.
Traceback (most recent call last):
File "/opt/Tribler/tribler-gui/tribler_gui/event_request_manager.py", line 130, in <lambda>
self.reply.error.connect(lambda error: self.on_error(error, reschedule_on_err=reschedule_on_err))
File "/opt/Tribler/tribler-gui/tribler_gui/event_request_manager.py", line 70, in on_error
raise CoreConnectTimeoutError("Could not connect with the Tribler Core within 60 seconds")
tribler_gui.event_request_manager.CoreConnectTimeoutError: Could not connect with the Tribler Core within 60 seconds
[PID:104993] 2021-01-08 09:12:34,178 - ERROR <session:249> Session.unhandled_error_observer(): Unhandled exception occurred! schema2parameters() missing 1 required keyword-only argument: 'location'
--LONG TEXT--
Traceback (most recent call last):
File "/opt/Tribler/run_tribler.py", line 84, in start_tribler
await session.start()
File "/opt/Tribler/tribler-core/tribler_core/session.py", line 289, in start
await self.api_manager.start()
File "/opt/Tribler/tribler-core/tribler_core/restapi/rest_manager.py", line 102, in start
await self.runner.setup()
File "/usr/lib/python3.9/site-packages/aiohttp/web_runner.py", line 275, in setup
self._server = await self._make_server()
File "/usr/lib/python3.9/site-packages/aiohttp/web_runner.py", line 375, in _make_server
await self._app.startup()
File "/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 416, in startup
await self.on_startup.send(self)
File "/usr/lib/python3.9/site-packages/aiohttp/signals.py", line 34, in send
await receiver(*args, **kwargs) # type: ignore
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 77, in doc_routes
self._register(app_)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 117, in _register
self._register_route(route, method, view)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 131, in _register_route
self._update_paths(view.__apispec__, method, self.prefix + url_path)
File "/usr/lib/python3.9/site-packages/aiohttp_apispec/aiohttp_apispec.py", line 153, in _update_paths
raw_parameters = self.plugin.converter.schema2parameters(
TypeError: schema2parameters() missing 1 required keyword-only argument: 'location'
--CONTEXT--
{'message': 'Task exception was never retrieved', 'exception': TypeError("schema2parameters() missing 1 required keyword-only argument: 'location'"), 'future': <Task finished name='Task-1' coro=<start_tribler_core.<locals>.start_tribler() done, defined at /opt/Tribler/run_tribler.py:53> exception=TypeError("schema2parameters() missing 1 required keyword-only argument: 'location'")>}
Offline
If you build python-apispec 3.3.2-1 for python 3.9 does that work?
$ git clone git://git.archlinux.org/svntogit/community.git --single-branch --branch "packages/python-apispec"
$ cd community/trunk/
$ git checkout e8552ed8128b8da52c8b7a6e02297164efbe978 # 3.3.2-1
$ makepkg -rsi
Offline