question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ryven not working with ryvencore

See original GitHub issue

Hello,

It looks like Ryven doesn’t work anymore with the new interfaces of ryvencore.

Traceback (most recent call last):
  File "C:\git\Ryven\ryven\main\Ryven.py", line 105, in <module>
    run()
  File "C:\git\Ryven\ryven\main\Ryven.py", line 26, in run
    init_node_env()
  File "C:\git\Ryven\ryven\NENV.py", line 26, in init_node_env
    from ryvencore_qt import \
  File "C:\git\ryvencore-qt\ryvencore_qt\__init__.py", line 12, in <module>
    from .src.core_wrapper import *
  File "C:\git\ryvencore-qt\ryvencore_qt\src\core_wrapper\__init__.py", line 2, in <module>
    from ryvencore import InfoMsgs, NodeInputBP, NodeOutputBP, ExecConnection, dtypes, \
ImportError: cannot import name 'NodeInputBP' from 'ryvencore' (C:\git\ryvencore\ryvencore\__init__.py)

Do you have any plans to update it? I wanted to do some tests and possibly develop a node library. The improvements to ryvencore seem to be worth it, but without a working Ryven it’s a bit tough to get started!

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
amaury-anciauxcommented, Dec 12, 2022

Ok that’s what I thought! I went through the changes as an exercise to better understand the project, but I can put together a PR to fix Ryven and ryvencore-qt so that it works with what you have in ryvencore on the dev branch. I need to work through the rest of the code base though, so am not exactly sure when I’ll be able to finish it.

1reaction
amaury-anciauxcommented, Dec 8, 2022

I went through some of the changes that are required to match the new ryvencore code. Broadly I saw:

  1. Removal of Connection class
  2. Removal of Script class reflected in json file format
  3. VarsManager, LogsManager and DTypes becoming addons, DTypes removed from Nodes
  4. Removal of node_view_placed event from Flow and view_place_event from Node
  5. Other minor API changes such as removal of init_data field in Flow

I will continue to explore, but wanted to ask you:

  • On (1) is it the goal to keep such a barebones interfaces as Tuple[NodeOutput, NodeInput]? I would agree with you that the original Connection object doesn’t add much on top, but that will delegate some of the work to calling functions e.g. in the form of working directly with graph_adj.
  • On (4) can you explain the logic of removing view_place_event from Node? I could bring the virtual method in the Node wrapper, but want to make sure that it’s the right approach.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named 'ryvencore_qt' · Issue #64 - GitHub
On Windows 7 with Python 3.8.3. When following the instructions, the following occurs: C:\leon-thomm-Ryven-b8ba1fb>pip install -r ...
Read more >
Flow-based visual scripting for Python - Ryven
A simple visual scripting environment for Python providing a diagram-like structure for an intuitive interface to your nodes executing any python code.
Read more >
ryvencore - PyPI
Python backend for graph-based processing, designed for flow-based/node-based visual scripting editors. It is the backbone of the Ryven project, ...
Read more >
Welcome to the ryvencore[-qt] documentation
All this is in the making and some information and examples might not be 100% up ... ryvencore provides a dedicated system for...
Read more >
Why comes error when set a attribute to a cls type in Ryven?
In case anyone runs into this: PySide2 seems broken on Python 3.10. Please use <=3.9 for now. The issue was also reported on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found