xlwings
xlwings copied to clipboard
Successful RunPython call returns empty error message
OS (e.g. Windows 10 or macOS Sierra)
Windows 10
Versions of xlwings, Excel and Python
xlwings 0.15.1, Office 2010, Python 3.7
Describe your issue (incl. Traceback!)
I have dozens of xlwings scripts that work well and do what are they supposed to do, but after installing openai library all Runpython calls return empty error message ...
When I run the same code through mock caller, it returns no error in interpreter.
Your traceback here
#### Include a minimal code sample to reproduce the issue (and attach a sample workbook if required!)
```python
# Your code here
# any script called from inside Excel will do this
I am pretty sure this has been solved in the latest version of xlwings, you're on a very old release.
I just upgraded to the latest version (0.29.1) and used fresh quickstart_standalone.xlsm the behavior is the same ... it is most likely not an issue of xlwings, but some other recently updated library, though I would like to get some pointers on where to look for the culprit.
This is what's probably happening: the shell call returns with an error code, but nothing is written to the log file:
https://github.com/xlwings/xlwings/blob/main/xlwings/addin/Main.bas#L275-L286