* When I run the 'build_leo.py' script I immediately receive the following traceback:
File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/scripts/build_leo.py", line 26, in <module>
assert os.path.exists(dist_dir), dist_dir
AssertionError: /home/user/PyVE/GitHub/Leo/leo-editor/dist
(Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$
On Mon, Jun 3, 2024 at 2:55 PM Viktor Ransmayr <viktor....@gmail.com> wrote:* When I run the 'build_leo.py' script I immediately receive the following traceback:[snip]File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/scripts/build_leo.py", line 26, in <module>
assert os.path.exists(dist_dir), dist_dir
AssertionError: /home/user/PyVE/GitHub/Leo/leo-editor/dist
(Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$Hmm. I guess this is a buglet. Build devs should create a leo-editor/dist directory.
On Mon, Jun 3, 2024 at 2:55 PM Viktor Ransmayr <viktor....@gmail.com> wrote:* When I run the 'build_leo.py' script I immediately receive the following traceback:[snip]File "/home/user/PyVE/GitHub/Leo/leo-editor/leo/scripts/build_leo.py", line 26, in <module>
assert os.path.exists(dist_dir), dist_dir
AssertionError: /home/user/PyVE/GitHub/Leo/leo-editor/dist
(Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$Hmm. I guess this is a buglet. Build devs should create a leo-editor/dist directory.
I did - but - ran into the next issue: [build_log.txt doesn't exist].
Hello Edward,Edward K. Ream schrieb am Freitag, 7. Juni 2024 um 14:15:18 UTC+2:On Fri, Jun 7, 2024 at 4:56 AM Viktor Ransmayr wrote:> This morning I re-read your feedback - and - understood that you did say: Leo's developer should create the 'leo-editor/dist' directory manually !I did - but - ran into the next issue: [build_log.txt doesn't exist].> Should the GH issue #3837 be reopened ?I have just amended the issue. I added the section "Notes about the build environment".The amendment does not make sense to me ...The file 'build_log.txt' does exist & can be created. - See attached log:
Many thanks, Viktor, for your continued testing.I'll add "build" to requirements.txt for 6.8.0 b1.
Heh. I just did that, but python -m leo.scripts.build_leo failed:
C:\Python\Python3.12\python.exe:No module named build.__main__;'build' is a package and cannot be directly executed
See build_log.txtIt may be just the dreaded software rot, not a real build issue. I'll look into this today.