Sublime Forum

Unable to make a new Terminus build system

#1

I have installed the Terminus Package
I have created a new build system following the youtube video


The Build system is now on the list and I select it.
However, when I try to run a python script, nothing happens, just nothing.
If I select the built-in python build system, it works.
Why???

0 Likes

#2

Because Terminus doesn’t understand nor allow "interactive": true parameter.

A look into ST’s console reveals…

Traceback (most recent call last):
  File "C:\Apps\Sublime Text\Data\Packages\Terminus\terminus\commands.py", line 29, in <lambda>
    sublime.set_timeout_async(lambda: self.run_async(**kwargs))
TypeError: run_async() got an unexpected keyword argument 'interactive'

Removing "interactive" from build configuration fixes this issue.

1 Like

#3

Thank you. Unfortunately still doesn’t work. Now when I run the script it says:

Unable to create process using ‘“C:\Users\RUDY\AppData\Local\Programs\Python\Python313\ -u” “C:\Users\RUDY\AppData\Roaming\Sublime Text 3\Packages\User\prova.py”’: The system cannot find the file specified.
process is terminated with return code 101.

0 Likes

#4

That error doesn’t seem to match the build system you’ve posted. Are you sure you’re using that build system?

0 Likes

#5

The error message is produced by py runner or the winpty library, which fails on interpreting command line, correctly. It seems to fail running py executable, directly.

To fix the issue, replace "cmd":["py", ...] by "shell_cmd": "py -u \"$file\"",

2 Likes

#6

Thank you! The issue is now fixed anf the working script is the following:

0 Likes