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
From a fresh clone, the expected file doesn't exist, so the script build/update_version_from_git.py fails
INFO:__main__:Arguments: Namespace(repo='.') Traceback (most recent call last): File "/home/lilly/tribler/build/update_version.py", line 21, in <module> ref_name = Path('.TriblerVersion').read_text().rstrip('\n') File "/usr/lib/python3.10/pathlib.py", line 1132, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: File "/usr/lib/python3.10/pathlib.py", line 1117, in open return self._accessor.open(self, mode, buffering, encoding, errors, FileNotFoundError: [Errno 2] No such file or directory: '.TriblerVersion'
The text was updated successfully, but these errors were encountered:
So the .TriblerVersion and .TriblerCommit files are missing because the script build/update_version_from_git.py doesn't exist anymore and build/update_version.py is expecting those files to be there when they aren't, and running it after creating empty files by that name does nothing.
Seems the build guide for Debian needs an overhaul
I did manage in the end by taking a mild guess at what those files should contain, pasting accordingly the version and commit and running again. Probably roughly the same as what you did there. Seems to me like the script needs to have that extra step added. That would make things easier.
From a fresh clone, the expected file doesn't exist, so the script
build/update_version_from_git.py
failsINFO:__main__:Arguments: Namespace(repo='.') Traceback (most recent call last): File "/home/lilly/tribler/build/update_version.py", line 21, in <module> ref_name = Path('.TriblerVersion').read_text().rstrip('\n') File "/usr/lib/python3.10/pathlib.py", line 1132, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: File "/usr/lib/python3.10/pathlib.py", line 1117, in open return self._accessor.open(self, mode, buffering, encoding, errors, FileNotFoundError: [Errno 2] No such file or directory: '.TriblerVersion'
The text was updated successfully, but these errors were encountered: