← Back to team overview

sikuli-driver team mailing list archive

[Question #683846]: PyCharm run/Debug stopped working with newer version

 

New question #683846 on Sikuli:
https://answers.launchpad.net/sikuli/+question/683846

hello all,
I've been using Sikulix via PyCharm for months for debug, running from it etc etc etc, no problem, a pleasure to use.

This morning I updated sikulix+API with latest version and when I try to run the project that was running before I have this error message:

Traceback (most recent call last):
  File "MYPerfectlyWorkingScript.py", line 75, in <module>
    Debug.setUserLogFile(b + 'logs\\' + str(strLogName))
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Picked up _JAVA_OPTIONS: -Xmx1024M

Process finished with exit code -1
this is the piece of code executed at the very beginning of the script:
b=getBundleFolder()
strLogName=datetime.now().strftime('%Y%m%d_%H%M%S'+ "-DbgSiK.log")
Debug.setUserLogFile(b + 'logs\\' + str(strLogName))


Any idea about what gone wrong?

In the meantime I did nothing with the project but I can remind that there were an automatic update of the JVM.
Thanks for any help
Matteo

this is my Sikulix configuration:
1.1.4-SNAPSHOT-#378-2019-09-05_08:05/Windows10.0/Java8(64)1.8.0_221-b27
and this is the PyCharm one:
PyCharm 2018.2.4 (Community Edition)
Build #PC-182.4505.26, built on September 19, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.