leon-thomm/Ryven

gettin error on startup command

hemangjoshi37a opened this issue · 2 comments

Code I ran :

import ryven
ryven.run_ryven(
    # args...
)

Error I got :

/home/hemang/anaconda3/lib/python3.8/site-packages/qtpy/__init__.py:267: RuntimeWarning: Selected binding "pyside2" could not be found, using "pyside6"
  warnings.warn('Selected binding "{}" could not be found, '
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/tmp/ipykernel_65683/1153211923.py in <module>
      1 import ryven
      2 
----> 3 ryven.run_ryven(
      4     # args...
      5 )

~/anaconda3/lib/python3.8/site-packages/ryven/main/Ryven.py in run(qt_app, qt_api, show_dialog, gui_parent, window_title, window_theme_name, flow_theme, redirect_console_output)
     24     # init environment
     25     os.environ['RYVEN_MODE'] = 'gui'
---> 26     init_node_env()
     27     init_node_widget_env()
     28 

~/anaconda3/lib/python3.8/site-packages/ryven/NENV.py in init_node_env()
     24     if os.environ['RYVEN_MODE'] == 'gui':
     25 
---> 26         from ryvencore_qt import \
     27             NodeInputBP as NodeInputBP_, \
     28             NodeOutputBP as NodeOutputBP_, \

~/anaconda3/lib/python3.8/site-packages/ryvencore_qt/__init__.py in <module>
     10 
     11 # import backend wrapper
---> 12 from .src.core_wrapper import *
     13 
     14 # import frontend

~/anaconda3/lib/python3.8/site-packages/ryvencore_qt/src/core_wrapper/__init__.py in <module>
      5 
      6 # wrapped classes
----> 7 from .Node import Node
      8 from .Session import Session
      9 # from .WRAPPERS import LogsManager, Logger, VarsManager, Flow, DataConnection

~/anaconda3/lib/python3.8/site-packages/ryvencore_qt/src/core_wrapper/Node.py in <module>
----> 1 from qtpy.QtCore import QObject, Signal
      2 
      3 from ryvencore import Node as RC_Node
      4 from ..GlobalAttributes import Location
      5 from ryvencore.dtypes import DType

~/anaconda3/lib/python3.8/site-packages/qtpy/QtCore.py in <module>
    107     # Missing QtGui utility functions on Qt
    108     if getattr(Qt, 'mightBeRichText', None) is None:
--> 109         from PySide6.QtGui import Qt as guiQt
    110         Qt.mightBeRichText = guiQt.mightBeRichText
    111         del guiQt

~/anaconda3/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py in _import(name, *args, **kwargs)
    140         flag = -1
    141     pyside_feature_dict[importing_module] = flag
--> 142     return original_import(name, *args, **kwargs)
    143 
    144 _is_initialized = False

ImportError: /lib/x86_64-linux-gnu/libfontconfig.so.1: undefined symbol: uuid_generate_sha1, version UUID_2.31

https://hjlabs.in

I'm also seeing a bug with the same command, in this case

TypeError: can only concatenate str (not "NoneType") to str

or when simply running "ryven" from the command line.

probably related to #87