antislash or r won't escape quotes on win 7 64bits using type()

Bug #902702 reported by charles boutet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Wishlist
RaiMan

Bug Description

************* known problem

see faq 933

---------------------------------------

Hi,
I've installed x-1.0rc2 Sikuli version on my win 7 64 bits.
Problem is : i can't escape characters. both antislash and raw string mode don't work in any situation.

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

symptoms?
examples?

Revision history for this message
charles boutet (mnem00) wrote :

examples : type("i want this \"word\" quoted") or ('i want this \"word\" quoted') won't work, in this case i get an error because sikuli thinks string is finished at first escaped quote. i also tried to define a variable as raw string with the r option as shown in the manual. doesn't work too.

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

since you cannot type() apostrophes at all (see faq 933), I guess, this is a "hidden" problem ;-)

try
paste("i want this \"word\" quoted")
or
paste('i want this "word" quoted')

... should work as expected.

BTW: string handling is exactly as it has to be with Python, since the script interpreter is Jython and not Sikuli.

Revision history for this message
charles boutet (mnem00) wrote :

indeed. mea maxima culpa.
btw thank you :)

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Invalid
summary: - antislash or r won't escape quotes on win 7 64bits
+ antislash or r won't escape quotes on win 7 64bits using type()
RaiMan (raimund-hocke)
Changed in sikuli:
status: Invalid → Confirmed
description: updated
RaiMan (raimund-hocke)
Changed in sikuli:
assignee: nobody → RaiMan (raimund-hocke)
importance: Undecided → Low
status: Confirmed → In Progress
RaiMan (raimund-hocke)
tags: added: fkt-type
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Low → Wishlist
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.