sol-ansano-kim / petitBloc

Process chain framework, implemented in python.
MIT License
28 stars 7 forks source link

Example scene is not working #2

Open artofka opened 3 years ago

artofka commented 3 years ago

Example is not working:

Warning : Unknown block type : CurrentTime Warning : Unknown block type : Join Warning : Unknown block type : MayaSnapShot Warning : Unknown block type : SlackClient Warning : Unknown block type : SlackMessage Warning : Unknown block type : SlackUploadFile Warning : Failed to connect - could not find the node '/scene/Join' Warning : Failed to connect - could not find the node '/scene/CurrentTime' Warning : Failed to connect - could not find the node '/scene/MayaSnapShot' Warning : Failed to connect - could not find the node '/scene/SlackMessage' Warning : Failed to connect - could not find the node '/scene/SlackClient' Warning : Failed to connect - could not find the node '/scene/SlackMessage' Warning : Failed to connect - could not find the node '/scene/SlackUploadFile' Warning : Failed to connect - could not find the node '/scene/SlackClient' Warning : Failed to connect - could not find the node '/scene/MayaSnapShot' Warning : Failed to connect - could not find the node '/scene/Join'

Blocks was misssed first but returned using os.environ["PETITBLOC_BLOCK_PATH"]

Python interpreter: maya2020/bin/mayapy.exe

sol-ansano-kim commented 3 years ago

CurrentTime, Join, MayaSnapShot are in examples/extra, need to be added PETITBLOC_BLOCK_PATH

And you can find SlackClient, SlackMessage, SlackUploadFile from https://github.com/sol-ansano-kim/pbWebPacks

artofka commented 3 years ago

Thanks for response!

import os os.environ["PETITBLOC_BLOCK_PATH"] = r'M:\lib\petitBloc\blocks;' \ r'M:\lib\petitBloc\examples\extra;' \ r"M:\lib\pbWebPacks\googleMap;"\ r"M:\lib\pbWebPacks\slack;"\ r"M:\lib\pbWebPacks\web;" \ r"M:\lib\pbWebPacks;"

Even needed folders in "PETITBLOC_BLOCK_PATH" it still can't find the nodes: Warning : Unknown block type : GoogleMapClient Warning : Unknown block type : GoogleMapFind Warning : Unknown block type : GoogleMapURL

artofka commented 3 years ago

I tried to copy files from M:\lib\pbWebPacks\googleMap in M:\lib\petitBloc\examples\extra but it still not working

sol-ansano-kim commented 3 years ago

In your python env, can you use google map api?

import googlemaps

Googlemap block using it and you should install it if you want to try it https://github.com/sol-ansano-kim/pbWebPacks/blob/master/googleMap/googleMapBlocks.py