[2.0.0] Windows 10: Java 8: commandline: print is not working

Bug #1852090 reported by Filip Hasa
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Invalid
Undecided
RaiMan

Bug Description

------------------- my testcase on commandline: (works as expected)
C:\Users\rmhde>java -version
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

C:\Users\rmhde>java -jar C:\SXRun\_Latest\2_0_0\sikulix-2.0.0.jar -c

C:\Users\rmhde>
************** running
2.0.0-2019-10-17_14:22/Windows10.0/Java8(64)1.8.0_231-b11
*** bundlepath
C:\Users\rmhde\IdeaProjects\_SUPPORT\testCmdPrint.sikuli

------------- my script:
print ""
print "************** running"
print RUNTIME.getSystemInfo()
print "*** bundlepath"
print getBundlePath()

------------------------------------------------- original statement
no text is in log from print command

Revision history for this message
RaiMan (raimund-hocke) wrote :

What system?
What Java?
how do you run your script/ the IDE?

Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.0
Revision history for this message
RaiMan (raimund-hocke) wrote :

example snippet?

Revision history for this message
Filip Hasa (hasafi) wrote :

Windows 10
Java\jre1.8.0_131 x64
script:
import datetime
while True:
    print(datetime.datetime.now())
    sleep(10

Revision history for this message
Filip Hasa (hasafi) wrote :

script in IDE:
import datetime
while True:
    print(datetime.datetime.now())
    sleep(1)
    exit()

log:
[info] Exit code: 0

Revision history for this message
Filip Hasa (hasafi) wrote :

script in IDE: print("asdsadsa")
Log:

RaiMan (raimund-hocke)
summary: - [2.0.0] print is not working
+ [2.0.0] Windows 10: Java 8: commandline: print is not working
description: updated
RaiMan (raimund-hocke)
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.0.1
RaiMan (raimund-hocke)
Changed in sikuli:
status: Opinion → Invalid
milestone: 2.0.1 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.