TACTIC Open Source
TACTIC-Handler HELP ;) - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: TACTIC-Handler HELP ;) (/showthread.php?tid=123)

Pages: 1 2


TACTIC-Handler HELP ;) - Dag - 05-30-2020

Hi @listy,
how can I run the standalone variant?
Do I need some stuff to install? I use the macOS Catalina as host and the TACTIC is running in a VM on my Synology NAS.

THX
Dag


RE: TACTIC-Handler HELP ;) - listy - 06-02-2020

Are you going to use it standalone or within Maya?
Do you have TACTIC which you can access and repository (remote or local)?

Standalone can be executed using Python 2.7 + PySide/2 or PyQt4/5
Can be installed with pip install PySide.
Then just execute Main Standalone. (main_standalone.pyw).
Then go configuration > Put tatic server path > click Apply.
Then click "Check Connection" if it connected then click "Generate New Ticket".
In new window that appear put your login and passowrd > click "Ok" > "Apply".

Basic setup is done.


RE: TACTIC-Handler HELP ;) - Dag - 06-02-2020

Hi,
I let run TACTIC in a VM and can access it via Webbrowser.

I get this msg in Maya executing the drop_install.mel

global proc dummy_func_to_get_path(){}

string $script_path = `whatIs dummy_func_to_get_path`;
python("drop_path= \"" + $script_path + "\"[24:].replace('drop_install.mel','')\nimport sys\nif drop_path not in sys.path:\n sys.path.append(drop_path)\nimport shelf_install as si\nreload(si)\nsi.begin_shelf_install()");
drop_path= "Mel procedure entered interactively."[24:].replace('drop_install.mel','')
import sys
if drop_path not in sys.path:
sys.path.append(drop_path)
import shelf_install as si
reload(si)
si.begin_shelf_install()
# Error: line 4: ImportError: file <maya console> line 5: No module named shelf_install #


and this for shelf_install.py

# <maya console>:307: SyntaxWarning: name 'main_window' is assigned to before global declaration
# Error: NameError: file <maya console> line 16: global name '__file__' is not defined #

I open the both scripts in Maya and let it run

What do I wrong?


RE: TACTIC-Handler HELP ;) - listy - 06-02-2020

Hi!
The actual install python file is shelf_install.py
And it should be in the same folder with drop_install.mel

OR

There is also th_silent_intall.zip which contains them both, and can be simply downloaded and unpacked in one folder.


RE: TACTIC-Handler HELP ;) - Dag - 06-02-2020

I ran it from this folder and both files are inside them.

I use MacOS as client and Maya 2019 is there something I should made additionally?


RE: TACTIC-Handler HELP ;) - listy - 06-02-2020

(06-02-2020, 11:06 AM)Dag Wrote: I ran it from this folder and both files are inside them.

I use MacOS as client and Maya 2019 is there something I should made additionally?
Are you draggin and droping drop_install.mel or running from maya script editor?
If not, you should drag-and-drop it to maya viewport.

If nothing helps, edit shelf_install.py:

Code:
def get_file_path():
    return os.path.dirname(__file__)
Change to YOUR_PATH should me your path to shelf_install.py folder for example '/home/user/th_silent_install':

Code:
def get_file_path():
    return 'YOUR_PATH'

Then just copy and paste shelf_install.py to your script editor and add to the end to execute process:
Code:
begin_shelf_install()



RE: TACTIC-Handler HELP ;) - Dag - 06-02-2020

Great Smile
I got this install window now Smile

Damn, I'm not so a geek and have to ask again.
I did not understood this stuff with the repo path and so on.
Also what is the server url?
My VM runs on the ip 192.168.0.50 and I can access it over port 9090 from web browser to administrate it.

I know it do not have more to do with the TH itself, but maybe you could explain me what it is with the path of repo, sandbox and handoff?

Thank you!!!!!


RE: TACTIC-Handler HELP ;) - listy - 06-02-2020

(06-02-2020, 01:14 PM)Dag Wrote: Great Smile
I got this install window now Smile

Damn, I'm not so a geek and have to ask again.
I did not understood this stuff with the repo path and so on.
Also what is the server url?
My VM runs on the ip 192.168.0.50 and I can access it over port 9090 from web browser to administrate it.

I know it do not have more to do with the TH itself, but maybe you could explain me what it is with the path of repo, sandbox and handoff?

Thank you!!!!!
Your server url will be 192.168.0.50:9090 
Sandbox dir is used by tactic web, and meant to be your working local dir, where you can download files and use this files.
Handoff is a checkin methid, where tactic and your local pc have access to one folder, and files you are checking int are going from your pc to this Handoff folder, then tactic take them from this folder and copy files to his own repo.

For THandler you just have to set Asset base Dir.

If you have local access to base asset dir of tactic you can use "In-Place" or "Preallocate" checkin method. If not you should use Upload.
Same for the Checkout Method.
Don't forget to tick "Get Previews Through HTTP" if you want previews loaded from HTTP too.

If you choose to work through HTTP Asset base Dir used as a cache folder and every files will be stored here, with all dirs structure



RE: TACTIC-Handler HELP ;) - Dag - 06-02-2020

Sorry, when I ask again.

So I have on the VM no share connected to the NAS.
The Client have a share to the NAS
So I understood I have to create a share on the VM TACTIC Server pointing to the same location as the client have the access to the NAS and in the tactic-conf.xml I should set the path to the share as base_dir?
I'm really sorry!!!!!
But I do not have experience with linux and even less with TACTIC.


RE: TACTIC-Handler HELP ;) - listy - 06-02-2020

Ok, as i understand you.
You have VM image running tactic on your local PC.
And NAS in the local network, and you have network access to it.
But Tactic VM does not have access to your shared NAS.
Is this correct?