daans Posted April 14, 2020 Report Posted April 14, 2020 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
Lorenzo Angeli Posted April 16, 2020 Report Posted April 16, 2020 hi @daans, my suggestion would be to try to install in a virtualenv ftrack-connect from sources. the process would be something along these lines: 1) ensure you have libssl and qt are installed and available on the system 2) create a virtualenv for python 2.7 (python > 2.7.9) 3) clone ftrack-connect repository https://bitbucket.org/ftrack/ftrack-connect 4) activate virtualenv 5) run : python setup.py install if everything went well, you should now be able to run : ftrack-connect from the shell. Let us know how it goes! L. P.s Differently from ftrack-connect-package this is just ftrack-connect and does not include the integrations. the easier way could be to copy the integration from the package or clone from bitbucket and build them with : python setup.py build_plugin (ensure you are in the virtualenv though)
daans Posted April 17, 2020 Author Report Posted April 17, 2020 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
Lorenzo Angeli Posted April 20, 2020 Report Posted April 20, 2020 Hi @daansQt5 is currently not supported . We are working on that but there's no ETA atm I can provide I'm sorry. Unless you can find a way to install Qt4 on pop!_os I fear you are on a dead end for now. L.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now