ibrewster's profile - activity
2020-12-04 05:44:13 -0500 | received badge | Famous Question (source) |
2020-12-04 05:44:13 -0500 | received badge | Notable Question (source) |
2020-12-04 05:44:13 -0500 | received badge | Popular Question (source) |
2020-01-17 14:54:34 -0500 | marked best answer | Get exact execution string? Is there a way to get the exact execution string/environment that Wing uses when launching a script? I have a Python/PySide2/matplotlib application set up in a venv that looks correct when I run it from within wing, but if I run it directly from the command line, the font sizes in my plots are all huge. Apparently Wing is doing something right to make it work, but I don't know what. |
2020-01-17 14:54:34 -0500 | received badge | Scholar ( source ) |
2020-01-17 14:46:17 -0500 | commented answer | Get exact execution string? Ok, finally, to wrap this up: apparently I need to import matplotlib.pyplot before I create my QApplication instance. So |
2020-01-17 14:34:30 -0500 | commented answer | Get exact execution string? pyplot wasn't calling use, at least not according to the debugger (the only time it came up was when I called it) howeve |
2020-01-17 14:20:44 -0500 | commented answer | Get exact execution string? Just as a further follow-up, apparently it IS getting set properly when I call Matplotlib.use(), but then it gets change |
2020-01-17 14:05:30 -0500 | commented answer | Get exact execution string? As I stated, no, sys.executable is NOT the same. To quote: "sys.executable is exactly as expected when run directly - th |
2020-01-17 13:44:08 -0500 | received badge | Commentator |
2020-01-17 13:44:08 -0500 | commented question | Get exact execution string? Thanks. os.environ seems to be the same other than some additional wing-specific entries on the wing side (such as WINGD |
2020-01-17 12:37:08 -0500 | asked a question | Get exact execution string? Get exact execution string? Is there a way to get the exact execution string/environment that Wing uses when launching a |
2020-01-07 13:20:58 -0500 | commented answer | Working around Mac OS X Catalina's restrictions? Both are inherited, but until WingPro itself actually tries to access a document, no access is granted. Apparently if th |
2020-01-07 13:15:57 -0500 | edited question | Working around Mac OS X Catalina's restrictions? Working around Mac OS X Catalina's restrictions? This isn't precisely a wing issue, but I'm running into it in wing spec |
2020-01-07 12:57:41 -0500 | commented answer | Working around Mac OS X Catalina's restrictions? @wingwareSupport: Most likely yes, that does make a difference. From what I can tell, the only difference between your s |
2020-01-07 12:55:05 -0500 | received badge | Famous Question (source) |
2020-01-07 12:53:55 -0500 | marked best answer | Working around Mac OS X Catalina's restrictions? This isn't precisely a wing issue, but I'm running into it in wing specifically, so I'm hoping you guys might have an answer. I recently updated my mac OS machine to Catalina (BIG mistake!). Now trying to run commands like os.listdir or anything else that accesses the file system from the wing debugger or built-in shell just gives a "permission denied" error - even though I am just trying to access my files. I have tried adding WingPro.app and wing-internal-python to the "full disk access" section of the security preferences pane, but I still get the issue. Running python through the terminal, on the other hand, works fine after adding terminal to that section. So it seems like I should be able to fix this by adding something to the full disk access section, but I can't figure out what... Any tips/ideas? Thanks. EDIT: PRECISE steps to recreate this issue:
As an interesting note, this issue is "fixed" the first time WingPro itself tries to access (open or save) a file in any of the affected directories. Once that has happened, even if only once, this problem no longer exists. Even removing Wing from the Full disk access section (with wing not running) does not cause the issue to re-appear. Also, apparently, this problem does not arise if you do not first add Wing to the full disk access section, as in that situation the system properly prompts to allow access (according to comments). This is clearly an issue with the implementation of the new security features in Catalina, and how they interact with the existing "full disk access" permissions, and not an issue with WingIDE. In any case, now that WingPro has accessed documents in all relevant locations, it is working properly. Thanks for the feedback! |
2020-01-04 10:49:10 -0500 | commented answer | Working around Mac OS X Catalina's restrictions? Not precisely specific to my machine, but rather to how I was using wing. I had 1) put wing into the Full Disk access se |
2020-01-02 21:00:03 -0500 | received badge | Notable Question (source) |
2019-12-30 16:42:23 -0500 | received badge | Enthusiast |
2019-12-29 13:49:03 -0500 | received badge | Popular Question (source) |
2019-12-28 23:41:22 -0500 | commented question | Working around Mac OS X Catalina's restrictions? "...the dialog that appears when you first try to access a file in Documents from Wing..." And therein lies the rub. I h |
2019-12-28 20:02:52 -0500 | commented question | Working around Mac OS X Catalina's restrictions? Interestingly, running sys.executable from the terminal python (which does work) and from the Wing python shell (which g |
2019-12-28 19:53:08 -0500 | commented question | Working around Mac OS X Catalina's restrictions? Wing 7.1.3.1, MacOS 10.15.2, python 3.6.5. I think the key here is this line: "...after giving Wing permission to use th |
2019-12-28 10:40:51 -0500 | commented question | Working around Mac OS X Catalina's restrictions? Interesting wrinkle. So sys.executable points to python in my virtualenv (well, venv technically), which is a symlink to |
2019-12-27 18:07:11 -0500 | asked a question | Working around Mac OS X Catalina's restrictions? Working around Mac OS X Catalina's restrictions? This isn't precisely a wing issue, but I'm running into it in wing spec |
2019-12-16 11:04:54 -0500 | received badge | Supporter (source) |
2019-12-16 11:03:04 -0500 | commented question | Selecting editor by left-clicking also activates text selection For what it's worth, this has been an issue since wing version 7.0.4. I have been stuck back on that version because of |
2019-06-05 10:36:33 -0500 | received badge | Notable Question (source) |
2019-06-05 10:36:33 -0500 | received badge | Famous Question (source) |
2019-04-23 13:01:16 -0500 | received badge | Popular Question (source) |
2019-04-18 12:37:57 -0500 | received badge | Student (source) |
2019-04-18 12:37:52 -0500 | marked best answer | WingIDE, pyside2, and Miniconda on windows I'm trying to use WingIDE to edit a PySide2 application on Windows (initial writing and debugging occurred on a Mac, and I'm now trying to get it working on windows). My install of python is from Miniconda, version 3.7.1, but I installed pyside2 via pip (in the anaconda prompt) because the version installed by conda install was too old for my purposes. When I run my script from the Anaconda prompt it works properly, which leads me to believe that PySide2 is installed correctly. However, when I try to launch the same script from inside WingIDE, or, in fact, just try to import PySide2 from the python shell, it fails with the following error: Which would indicate to me that it is being unable to find/load a DLL that is being found and loaded properly when running the Anaconda prompt. I have compared the python path between the two instances of python, and aside from some ordering differences they are the same. Additionally, I have confirmed that Wing is running the same executable as the Anaconda prompt, and I do not have multiple installs of python on my system anyway (I set it up clean just for this). What am I missing? Something in the environment variables? |
2019-04-18 12:24:21 -0500 | commented answer | WingIDE, pyside2, and Miniconda on windows Oh, I see where I went wrong. I looked at those pages, but failed to recognize the difference between the Python path an |
2019-04-18 12:23:56 -0500 | answered a question | WingIDE, pyside2, and Miniconda on windows Oh, I see where I went wrong. I looked at those pages, but failed to recognize the difference between the Python path an |
2019-04-18 07:09:37 -0500 | asked a question | WingIDE, pyside2, and Miniconda on windows WingIDE, pyside2, and Miniconda on windows I'm trying to use WingIDE to edit a PySide2 application on Windows (initial w |