Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the folowings scripts aren't working for me #1

Open
tebicap opened this issue Jul 15, 2019 · 3 comments
Open

the folowings scripts aren't working for me #1

tebicap opened this issue Jul 15, 2019 · 3 comments

Comments

@tebicap
Copy link

tebicap commented Jul 15, 2019

I'm in Kubuntu 19.04, Natron 2.3.14 portable

Channel
🚫 autoAlpha
No log.

Node Graph
🚫 connectNodesList

log in console:

Object::connect: No such signal GenericWatcher::taskFinished(int,WatcherCallerArgsPtr)
Object::connect: No such signal GenericWatcher::taskFinished(int,WatcherCallerArgsPtr)

Script editor:

While executing script:
app = app1
connectNodesList()
Python error:
Python exception: local variable 'toNode' referenced before assignment
Traceback (most recent call last):
File "", line 2, in
File "/home/life/.Natron/Python_GUI/connectNodesList/connectNodesList.py", line 94, in connectNodesList
if nodeToConnect.canConnectInput(0,toNode) == 1:
UnboundLocalError: local variable 'toNode' referenced before assignment

🚫 openLocation
Script editor:

While executing script:
app = app1
openLocation()
Python error:
Python exception: [Errno 2] No existe el archivo o el directorio
Traceback (most recent call last):
File "", line 2, in
File "/home/life/.Natron/Python_GUI/openLocation/openLocation.py", line 40, in openLocation
subprocess.Popen( ['thunar', myFolder] , stdin = subprocess.PIPE, stdout = subprocess.PIPE)
File "/home/life/Natron-2.3.14-Linux-x86_64bit/lib/python27.zip/subprocess.py", line 394, in init
errread, errwrite)
File "/home/life/Natron-2.3.14-Linux-x86_64bit/lib/python27.zip/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No existe el archivo o el directorio

Render
🚫 flipbook (Renders but not open the viewer)
Script editor:
While executing script:
app = app1
flipbook()()
Python error:
Python exception: (2, 'No existe el archivo o el directorio', '/usr/local/mrViewer-v5.1.1-Linux-64/bin/\n')
Traceback (most recent call last):
File "", line 2, in
File "/home/life/.Natron/Python_GUI/flipbook/flipbook.py", line 300, in flipbook
os.chdir(viewerPath)
OSError: (2, 'No existe el archivo o el directorio', '/usr/local/mrViewer-v5.1.1-Linux-64/bin/\n')

Utils
🚫 collectFiles
Script editor:
While executing script:
app = app1
collectFiles()()
Python error:
Python exception: (2, 'No existe el archivo o el directorio', '/home/life/Escritorio/borrame/borramedos/Untitled_COLLECT/')
Traceback (most recent call last):
File "", line 2, in
File "/home/life/.Natron/Python_GUI/collectFiles/collectFiles.py", line 218, in collectFiles
os.chdir(rootFolder)
OSError: (2, 'No existe el archivo o el directorio', '/home/life/Escritorio/borrame/borramedos/Untitled_COLLECT/')

@tebicap tebicap changed the title the folowings scripts aren't working for mi the folowings scripts aren't working for me Jul 15, 2019
fabiof17 pushed a commit that referenced this issue Oct 25, 2021
add autoreconnect and modify reconnect with underscore prefix system
@bonalex01dev
Copy link
Contributor

AutoAlpha:
can't reproduce win10 natron 2.4.1

connectNodesList:
This script doesn't exist in the repo can you tell the exact script name? Maybe an older version deprecated of the community scripts ?

openLocation:
please test PR that is supposed to fix (for Linux distros that don't have thunar explorer

Render:
please update the path in the script to your actual player

collectFiles:
Did you setup the output folder in the script itself?

@tebicap
Copy link
Author

tebicap commented Mar 23, 2022

thanks for answering, I see that pluggins has changed a lot since I opened the issue. I don't have that scripts anymore but I tested the new ones and still some of they are not working, and I do not setup the path well also. Could you give me an example please? I tried adding this in the initGui.py file but don't work:

Tools -> Channel

from '/here my home/.Natron/natron-python-scripting-master/'.Python_GUI.autoAlpha.autoAlpha import *

from '/here my home/.Natron/natron-python-scripting-master/'.autoAlpha.autoAlpha import *

from ('/here my home/.Natron/natron-python-scripting-master/').Python_GUI.autoAlpha.autoAlpha import *

etc.

by default initGui.py comes as following: from Python_GUI.autoAlpha.autoAlpha import *

@bonalex01dev
Copy link
Contributor

I think path are relatives and thus should not be changed (can't check now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants