Jan-05-2021, 02:29 AM
Hi,
I'm trying to run Trelby on Void Linux.
When I run the program from the terminal, I get the following error:
$ trelby
Traceback (most recent call last):
File "/bin/trelby", line 8, in <module>
import trelby
File "/usr/share/trelby//src/trelby.py", line 123
os.mkdir(misc.toPath(misc.confPath), 0755)
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
The Python version is python-2.7.18_2.x86_64-musl
I know nothing about Python but assume I need to edit the /usr/share/trelby//src/trelby.py somehow.
Any suggestions?
I'm trying to run Trelby on Void Linux.
When I run the program from the terminal, I get the following error:
$ trelby
Traceback (most recent call last):
File "/bin/trelby", line 8, in <module>
import trelby
File "/usr/share/trelby//src/trelby.py", line 123
os.mkdir(misc.toPath(misc.confPath), 0755)
^
SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
The Python version is python-2.7.18_2.x86_64-musl
I know nothing about Python but assume I need to edit the /usr/share/trelby//src/trelby.py somehow.
Any suggestions?