-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable Dragging not working on osx #36
Comments
The same problems and annoyances. |
Can't reproduce the issue on Windows 10, so need someone else to help fix this and submit a PR. Does this minimal example work? That'll help narrow down where the problem is
|
This dragging works perfectly on OSX. |
Thank, the pandasGUI dragging functionality is already available. |
I also think this is an awesome project! I can confirm the dragging functionality does not work on macOS. MacOS Catalina ver 10.15.7 I tried the example above just in a python console from the terminal and it's the same effect. It creates the gui window with the 2 lists, none of the items in the list are "grab-able". Wish I could help contribute but I think this is out of my area of experience. |
@adamerose The toy example you provided (copied below) works fine on my copy of osx cataline import sys
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import Qt
app = QtWidgets.QApplication(sys.argv)
list1 = QtWidgets.QListWidget()
list2 = QtWidgets.QListWidget()
list1.addItems(['1a','1b','1c'])
list2.addItems(['2a','2b','2c'])
list1.setDragEnabled(True)
list2.setDragEnabled(True)
list1.setAcceptDrops(True)
list2.setAcceptDrops(True)
container = QtWidgets.QWidget()
layout = QtWidgets.QVBoxLayout()
layout.addWidget(list1)
layout.addWidget(list2)
container.setLayout(layout)
container.show()
app.exec_() |
@adamerose And thanks again for writing this. |
None of those changes were related to this issue 😅 Maybe it randomly works sometimes? I'd be surprised if any of my recent commits fixed it And apparently my toy demo posted above worked for @robdmc but didn't work for @RyanMannix ? |
I updated my pandasGUI, dragging function to use normal, thank you. |
For me, none of the dragdrop is working. even the example above not working on MACOS - Mojave using pandasgui==0.2.5.1 |
I'm also using this project on MacOS Catalina 10.15.7, and yesterday everything worked fine. |
If it's at all helpful sorting this out, here are the exact versions that are working for me. on Catalina
|
On Tuesday I had upgraded just before I made my comment, so I'm not 100% sure which version but whatever was most current at that time. Regardless, I started a new virtual env, installed a few of the libraries I need for my project, then installed pandasgui and it works fine. So 👍 . Not sure if it's an updated version available through pypi since Tuesday, or if maybe not having cv2 full version installed prior to installing pandasgui just the headless versiono, or something else in my pip list was causing the issue. As a side note, I had issues with PyQt5 (I do not remember the exact error)- I was importing cv2 and pandasgui which are both trying to use it, so originally I had uninstalled cv2 and installed the headless version. That appeared to solve the issue with PyQt5/using cv2 and pandasgui at the same time. MacOS version: Catalina 10.15.7 |
FWIW. I just checked.
|
I don't think the PyQt5 issues I had were related to pandasgui specifically. I think that only one library can be using it at the same time. If I understand it correctly, PyQt5 is what is bringing up the additional window, and, at least on macs, you can't have 2 libraries imported at the same time that both use PyQt5 for this feature. And having them installed is fine as long as you don't import them. I did a quick test in a new env, and indeed importing both libraries causes the following error:
|
I have the same issue in macOS Catalina using python in Anaconda. According to the first answer in this link, the issue is caused by conflicts among the related modules installed from different channels. If you are working within an Anaconda environment in a macOS as well, then the following steps might help.
|
I have same issue, toy example also didn't work for me.
uninstall and re-install of |
I can confirm that as weird as it sounds it actually seems to be working randomly. It was working me on day 1 (after multiple tries) when I used it and ever since then stopped working. In reality, of course it is not random, there must be a hidden variable that is at play that needs to be addressed for the time being though I have no clue what that may be.... |
I can confirm that on macOS Catalina version 10.15.7 that this fix did not work. Dragging still not working after uninstalling/reinstalling |
I had same issue. |
I love this project. I can see myself using it constantly. It really fits a niche of working between spreadsheet and notebook. I actually think you could charge for this when it's mature.
Running miniconda python on OSX Cataline, and when trying to plot, the variables won't drag over. Let me know the best way to communicate my system state, and I can give you what you need.
Here's my setup.
The text was updated successfully, but these errors were encountered: