Jump to content

daans

Members
  • Posts

    4
  • Joined

  • Last visited

daans's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi thanks for the quick reply! After fiddling around a bit longer, I reinstalled the ftrack api on the user (not system wide) and I needed to downgrade arrow and that solved my issue! (v0.15.6 was installed, downgraded to 0.9.0 didn't test other versions). Thanks! Daan
  2. Hi all, I running into a issue here, which I don't seem to be able to solve. Hopefully somebody can steer me into the right direction. I developed a little python script with the ftrack_api. It works great when using it in a terminal (ubuntu 19.10). But when I try to use it in Nuke (Nuke 12v1) I get an error. It errors when importing the ftrack_api. I do run this WITHOUT ftrack-connect btw. So when I open a terminal, type python, type import ftrack_api it works. But when I open nuke, open the script editor (I did add import sys, sys.path.append('/usr/local/lib/python2.7/dist-packages' to my init,py). I get the following error: import ftrack_api # Result: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/ftrack_api/__init__.py", line 5, in <module> from .session import Session File "/usr/local/lib/python2.7/dist-packages/ftrack_api/session.py", line 29, in <module> import arrow File "/usr/local/lib/python2.7/dist-packages/arrow/__init__.py", line 3, in <module> from .arrow import Arrow File "/usr/local/lib/python2.7/dist-packages/arrow/arrow.py", line 19, in <module> from arrow import util, locales, parser, formatter File "/usr/local/lib/python2.7/dist-packages/arrow/parser.py", line 12, in <module> from backports.functools_lru_cache import lru_cache # pragma: no cover ImportError: No module named backports.functools_lru_cache I also tried to set the $PYTHONPATH to point to the ftrack_api to see if that made any difference, but it didn't, same error. What I do find strange is that when I add /usr/local/lib/python2.7/dist-packages/ftrack_api to my init.py it actually doesn't work (I would expect that to work instead of the whole dist-package folder). So is it possible to import the ftrack_api inside nuke without using ftrack_connect? If so, any help would be great! all the best, Daan
  3. Hi Lorenzo! Thanks, this got me almost there :-). I got a QT error during the build. I guess because Pop comes with QT5 instead of QT4? Any trick to build it with QT5? Removing /tmp/easy_install-lAATFi/PySide-1.2.4/pyside_package Failed to locate a dynamic Python library, using /home/user/.pyenv/versions/2.7.17/lib/libpython2.7.a -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found unsuitable Qt version "5.12.4" from /usr/bin/qmake -- Found PythonLibs: /home/user/.pyenv/versions/2.7.17/lib/libpython2.7.a (found suitable version "2.7.17", minimum required is "2.6") -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found suitable version "2.9.4", minimum required is "2.6.32") -- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found suitable version "1.1.33", minimum required is "1.1.19") Qt QTGUI library not found. Qt QTXML library not found. Qt QTCORE library not found. CMake Error at ApiExtractor/CMakeLists.txt:82 (qt4_add_resources): Unknown CMake command "qt4_add_resources". Rock on! Daan
  4. Hi all, The current corona crisis also forced me to work form home. At the studio we all have Centos machines running, here at home I have only Pop!_os as a distro. I know it is official not supported, but going through the forum apparently people are successful to get it running on Ubuntu. So I was wondering if somebody could steer me in the right direction to get it up and running? I did install the ftrack api, but I still get a lot of errors. ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name)i File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/home/user/Downloads/ftrack-connect-package/library.zip/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/home/user/Downloads/ftrack-connect-package/library.zip/cx_Freeze__init__.py", line 29, in <module> File "/home/user/Downloads/ftrack-connect-package/library.zip/ftrack_connect_package__main__.py", line 108, in <module> File "/home/user/Downloads/ftrack-connect-package/common.zip/ftrack_connect/__main__.py", line 15, in <module> File "build/bdist.linux-x86_64/egg/QtExt/__init__.py", line 36, in <module> File "/home/user/Downloads/ftrack-connect-package/common.zip/Qt.py", line 251, in <module> File "/home/user/Downloads/ftrack-connect-package/common.zip/Qt.py", line 248, in _init ImportError: No Qt binding were found. Any advice would be really appreciated! All stay safe! Daan
×
×
  • Create New...