Giter Club home page Giter Club logo

Comments (30)

25shmeckles avatar 25shmeckles commented on May 17, 2024 1

I can't get it to work. It hangs when loading the very first window element. I am using Python 3.6 on MacOS Big Sur

Screenshot 2021-11-23 at 16 25 14

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

Guys, come on, it's really not difficult. You need what is stated in the requirements, as always on GitHub, and then you literally run the file from the the folder as described on the website.
If you have trouble running it on macOS, please open an issue with a precise description of the problem.

from ryven.

simkimsia avatar simkimsia commented on May 17, 2024

Sorry it's not that obvious to me. but I eventually got it to run.

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

Win64
Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23)

C:\Windows\System32>python D:\Desktop\Ryven-2.4.1\Ryven\Ryven.py
Traceback (most recent call last):
  File "D:\Desktop\Ryven-2.4.1\Ryven\Ryven.py", line 4, in <module>
    import custom_src.Console.MainConsole as MainConsole
  File "D:\Desktop\Ryven-2.4.1\Ryven\custom_src\Console\MainConsole.py", line 75
    context = {**old_context, **new_context}  # merge dicts
                ^
SyntaxError: invalid syntax

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

Please update your Python version :)
In this case, the ** syntax was introduced in Python 3.5 I think.

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
   QT_SCALE_FACTOR to set the application global scale factor.
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

https://www.qt.io/pricing
$233? idk

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

Did you install it? Which version do you have?

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

For installing use pip install pyside2, for upgrading use pip install pyside2 --upgrade
In case you still see that error after upgrading: where exactly does it print that? And how did you start the app?

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

PySide2 is already installed
Python\Launcher\py.exe or cmd -> Ryven.py and Ryven NodeManager.py

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

There may be a problem in Windows?

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

yes. hm, that doesn't sound like a normal python path, it should be something like programs/Python38/python.exe. (and on your windows, python should be an env variable, so you would just need to call ...\Ryven\Ryven> python Ryven.py from cmd in the inner Ryven folder) Did you try just opening it with python from the file explorer?
and please tell me your pyside2 version (pip freeze)

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

I reduced the path for the sake of brevity. Via explorer = via py.exe

PySide2==5.15.1
shiboken2==5.15.1

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

yeah, but thing is I don't directly use the macros the warning above shows. So the problem probably isn't inside Ryven.

Did you try just opening it with python from the file explorer?

I'm not sure, there may be different pythons messing up your env variables, or something, that's why I ask. So, right now I cant really tell where the problem is, most likely it has something to do with your python on your OS

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024
  1. pip install pyqt5
  2. copy Python39\Lib\site-packages\PyQt5\Qt\plugins\platforms to Python39\ (i.e. Python39\platforms) (Python39 means python root folder like Python38 or Python 26)
  3. Everything worked
    but outputs to the console:
Warning: QT_DEVICE_PIXEL_RATIO is deprecated. Instead use:
   QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
   QT_SCREEN_SCALE_FACTORS to set per-screen DPI.
   QT_SCALE_FACTOR to set the application global scale factor.

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

Done

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

I don't really see why you do that... In any case, I wouldn't recommend running it like that, PySide2 and PyQt5 are not exactly the same and I would speculate, it's not a good idea to mix the configurations. Might work, though, idk

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

Is this normal?
Judging by the pictures and videos, this should be a big list

from ryven.

AlexRMU avatar AlexRMU commented on May 17, 2024

I don't really see why you do that... In any case, I wouldn't recommend running it like that, PySide2 and PyQt5 are not exactly the same and I would speculate, it's not a good idea to mix the configurations. Might work, though, idk

The program required qt - I installed qt

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

The program required qt - I installed qt

grafik

Is this normal?
Judging by the pictures and videos, this should be a big list

Please read the doc/guides on the website, if the software wouldn't require some instructions, it would be pretty limited :)

from ryven.

ValdemarQ avatar ValdemarQ commented on May 17, 2024

How to run the software?

  1. I open CMD
  2. Cd to Ryven folder
  3. run ryven.py
  4. Visual editor opens the code editor with ryven.py code in it, instead of visual editor.

Can you help?

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

you need to start it with python, seems like you have set .py file extensions in your OS to open in an editor, instead of with Python.
if your python is set up correctly: python Ryven.py

from ryven.

ValdemarQ avatar ValdemarQ commented on May 17, 2024

you need to start it with python, seems like you have set .py file extensions in your OS to open in an editor, instead of with Python.
if your python is set up correctly: python Ryven.py

Understood, thank you. Simply running python Ryven.py solved the issue :)

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

no worries :)

from ryven.

Mecil9 avatar Mecil9 commented on May 17, 2024

same,
in macos run ryven.py,it's notice, how to fix it!
You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: cocoa, minimal, offscreen.

from ryven.

ChitaJazz avatar ChitaJazz commented on May 17, 2024

Hi!My system is mac OS Big Sur 11.0.1.It looks so cool,however,I can't make it run properly.
Traceback (most recent call last):
File "/Users/songpingping/Documents/passwords/python file/Ryven-2.4.2/Ryven/Ryven.py", line 4, in
import custom_src.Console.MainConsole as MainConsole
File "/Users/songpingping/Documents/passwords/python file/Ryven-2.4.2/Ryven/custom_src/Console/MainConsole.py", line 3, in
from PySide2.QtWidgets import QWidget, QLineEdit, QGridLayout, QPlainTextEdit, QLabel, QPushButton
ModuleNotFoundError: No module named 'PySide2'

from ryven.

leon-thomm avatar leon-thomm commented on May 17, 2024

did you install the dependencies as shown in the readme?

from ryven.

temco avatar temco commented on May 17, 2024

such a problem was met when I ran python Ryven/Ryven.py in the root folder of this project.

qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

from ryven.

iamjuush avatar iamjuush commented on May 17, 2024

such a problem was met when I ran python Ryven/Ryven.py in the root folder of this project.

qt.qpa.plugin: Could not load the Qt platform plugin "cocoa" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Same problem here for me too. Running on macOS big sur 11.1

from ryven.

davesgonechina avatar davesgonechina commented on May 17, 2024

Similar problem to above trying to run on Chrombook crostini:

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/davesgonechina/.pyenv/versions/3.7.3/bin/platforms" ...
Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Running ldd on libqxcb.so, I see libxcb-util.so.1 => not found

This led me to this known bug for QT on Debian 10 where libxcb-util.so.0 exists but libxcb-util.so.1 does not

I tried symlinking libxcb-util.so.1 to the existing libxcb-util.so.0 but got "Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0'" not a plugin

from ryven.

naim5am avatar naim5am commented on May 17, 2024

Similar problem to above trying to run on Chrombook crostini:

Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/davesgonechina/.pyenv/versions/3.7.3/bin/platforms" ...
Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/davesgonechina/.local/share/virtualenvs/Ryven-LMfEpAUt/lib/python3.7/site-packages/PySide2/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Running ldd on libqxcb.so, I see libxcb-util.so.1 => not found

This led me to this known bug for QT on Debian 10 where libxcb-util.so.0 exists but libxcb-util.so.1 does not

I tried symlinking libxcb-util.so.1 to the existing libxcb-util.so.0 but got "Failed to extract plugin meta data from '/usr/lib/x86_64-linux-gnu/libxcb-util.so.0.0.0'" not a plugin

On linux, I usually do this to in a new directory. This tells python to install requirements separately from your user's python environment.

sudo apt install virtualenv
virtualenv env
source env/bin/activate
pip install -r requirements.txt

from ryven.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.