Skip to content

Run noScribe on Linux #60

Closed Answered by gernophil
jago-jago asked this question in Q&A
May 29, 2024 · 2 comments · 21 replies
Discussion options

You must be logged in to vote

On my Debian 12 system I get:

...
cannot access local variable 'diarize_abspath' where it is not associated with a value

Try to change this

                        if platform.system() == 'Windows':
                            diarize_abspath = os.path.join(app_dir, 'diarize.exe')
                        elif platform.system() == 'Darwin': # = MAC
                            # No check for arm64 or x86_64 necessary, since the correct version will be compiled and bundled
                            diarize_abspath = os.path.join(app_dir, '..', 'MacOS', 'diarize')
                        if not ('diarize_abspath' in globals() or os.path.exists(diarize_abspath)): # Run the compiled versio…

Replies: 2 comments 21 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
21 replies
@jago-jago
Comment options

@gernophil
Comment options

@jago-jago
Comment options

@gernophil
Comment options

Answer selected by kaixxx
@jago-jago
Comment options

@kaixxx
Comment options

@gernophil
Comment options

@gernophil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants