Re: [Sikuli-driver] [Question #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-28 Thread RaiMan
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Status: Open => Answered

RaiMan proposed the following answer:
ok, still not working in all cases.

a current workaround, to just see how it "could" work:
before issuing a follow-up myApp.focus() add a
print myApp

(this is why MY tests are working ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #266818]: Running Sikuli scripts as an user with administrative rights

2015-05-28 Thread Launchpad Janitor
Question #266818 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266818

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-28 Thread Geoff Bache
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Geoff Bache posted a new comment:
Hmm, I have a printout like that too, although it says

print "About to focus on", myApp

which presumably has the same effect? It doesn't seem to help me.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267429]: Unable to run integrated Robot-Sikuli script on Ubuntu

2015-05-28 Thread Sutharsan
Question #267429 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267429

Sutharsan posted a new comment:
Actually that's my reference. The example that is shared is in Windows
environment. I tried to follow the same steps equivalently in Ubuntu. I
am unable to find the "sikuli-script.jar" file. Could you please tell
share the procedure for running the developed sikuli script through
command line and later integrate with Robot framework in Ubuntu
enviroment?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-28 Thread RaiMan
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

RaiMan proposed the following answer:
No idea, what that does not work for you.

But anyway: I have it now running without any hacks ;-)

my test scripts (if interested):

the Chrome test:
https://github.com/RaiMan/SikuliX-2014/tree/master/StuffContainer/testScripts/testApp/testTiming.sikuli

a test with a 1-window application
https://github.com/RaiMan/SikuliX-2014/tree/master/StuffContainer/testScripts/testApp/testApp.sikuli

I triggered a build, that should be ready in a few minutes.

I still have to revise the docs a bit.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267429]: Unable to run integrated Robot-Sikuli script on Ubuntu

2015-05-28 Thread RaiMan
Question #267429 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267429

RaiMan proposed the following answer:
I just had a look through the page and cannot find a reference with 
sikuli-script.jar.
It is all about SikuliX 1.1.0.

I just revised the "Step 0: Installation" to reflect the actual
situation with 1.1.0

So go back and restart.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267461]: [1.1.0] Jython 2.7.0: using openpyxl (import errors) (Jython problem)

2015-05-28 Thread Daniel Kurtz
Question #267461 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267461

Status: Answered => Solved

Daniel Kurtz confirmed that the question is solved:
Thanks, Raimund. I concur. Unfortunately there's a lot of that
throughout the package. I understand it's officially considered bad
practice but the openpyxl people think they have a compelling reason for
doing it that way (rather than just being lazy.) I might give it a try
though for the time being I think I'll just work out how to make do with
XL*. Or I guess I have the option of going with a Java library, like
Poi, don't I?

ddk

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] [NEW] ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
Public bug reported:

Hello!

I just put here few lines from the command line:

(Pdb) import email
(Pdb) email.message_from_string('test') 
*** ImportError: cannot import name fix_eols
(Pdb) from email.parser import Parser
*** ImportError: cannot import name fix_eols

I put these lines into the sikuli script:

import pdb
pdb.set_trace()

I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
2015-05-25_01:00nightly

I'm not sure whether this issue totally relates to the sikuli but just
in case.


Thank you!

** Affects: sikuli
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  New

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
Oh, it seems that that issue totally relates to the sikuli. I just got
this stack trace:

[error] ImportError ( cannot import name fix_eols )
[error] --- Traceback --- error source first
line: module ( function ) statement 
12: charset (   )   File 
"/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/email/base64mime.py", 
line 41, in 
27: feedparser (   )   File 
"/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/email/message.py", 
line 16, in 
56: __init__ (  message_from_string )   File 
"/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/email/parser.py", line 
12, in 
40: mail (  get ) email_message = email.message_from_string(raw_email)


All python scripts locate in the sikuli' jar file.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  New

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
But if I try

$ runsikulix -i

everything works as expected:

$ runsikulix -i
running SikuliX: /Applications/SikuliX.app/Contents/Java/sikulix.jar -i
Hello, this is your interactive Sikuli (rules for interactive Python apply)
use the UP/DOWN arrow keys to walk through the input history
help() will output some basic Python information
... use ctrl-d to end the session
>>> import email
>>> email.message_from_string('test')

>>>

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  New

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #267500]: If image not found, set clipboard to "img not found"

2015-05-28 Thread eduardobedoya
New question #267500 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267500

Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as "image not found" and only then stop 
script

I have used...

try:
reg.click(Image)
except
App.setClipboard("image not found")

which is the best way to achieve this? thanks advanced.


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
Oh! I've found the reason! It was because of the file utils.py in the
myproject.sikuli! The bug could be closed!

** Changed in: sikuli
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  Invalid

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267461]: [1.1.0] Jython 2.7.0: using openpyxl (import errors) (Jython problem)

2015-05-28 Thread RaiMan
Question #267461 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267461

RaiMan posted a new comment:
I just tested:

with 1.1.0 the bundled xlrd 0.9.3 works fine.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to "img not found"

2015-05-28 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Description changed to:
Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait time stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as "image not found" and only then stop 
script

I have used...

try:
reg.click(Image)
except
App.setClipboard("image not found")

which is the best way to achieve this? thanks advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to "img not found"

2015-05-28 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Description changed to:
Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait time stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as "image not found" and only then stop 
script, (it's necessary to stop script after clipboard change)

I have used...

try:
reg.click(Image)
except
App.setClipboard("image not found")

which is the best way to achieve this? thanks advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread RaiMan
So it seems you are running the SikuliX IDE as version 1.1.0.

Hope you are aware, that we are running a Jython interpreter and not a
Python - it is only the script language, that is Python.

1.1.0 has bundled a Jython version depending on wether the setup was run
with Java 6 (then it is Jython 2.5.4) or with Java 1.7+ (then it is
Jython 2.7.0).

So it is vital, that you decide, wether you want to work with Java 6 or
Java 1.7+ (which is recommended if ever possible).

I just tested with the actual 1.1.0 build on OSX 10.7 with Java 8:
I do not have any problems with the mentioned imports and the email.message…

… though I have to admit, that I do bait have any experiences with bot
modules ;-)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  Invalid

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread RaiMan
one more comment:
since the above things have nothing to do with Sikuli, you should start to 
evaluate wether the rings you want to do work with Jython 2.7.0 at all.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  Invalid

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to "img not found"

2015-05-28 Thread RaiMan
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Status: Open => Answered

RaiMan proposed the following answer:
try:
reg.click(Image)
except
App.setClipboard("image not found")
exit()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
> So it seems you are running the SikuliX IDE as version 1.1.0.

I'm running from a command line:

$ runsikulix -r openandconnect.sikuli


> Hope you are aware, that we are running a Jython interpreter and not a Python 
> - it is only the script language, that is Python.

Yes, I am!

> 1.1.0 has bundled a Jython version depending on wether the setup was
run with Java 6 (then it is Jython 2.5.4) or with Java 1.7+ (then it is
Jython 2.7.0).

Thanks for that additional information. I've installed java 1.8.

> I just tested with the actual 1.1.0 build on OSX 10.7 with Java 8:

Just try to put utils.py into the root folder such as
openandconnect.sikuli

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  ImportError: cannot import name fix_eols

Status in Sikuli:
  Invalid

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
I'm not sure whether this is important but there is also:

if getBundlePath() not in sys.path:
bundle_path = getBundlePath()
sys.path.append(bundle_path)

addImagePath(getBundlePath())


So, well, I'll put whole contents of openandconnect.py and testmail.py scripts:

### openandconnect.py starts here ###
if getBundlePath() not in sys.path:
bundle_path = getBundlePath()
sys.path.append(bundle_path)

addImagePath(getBundlePath())

from testmail import TestMail

print TestMail.get()
### openandconnect.py ends here ###

### testmail.py starts here ###
import email
import imaplib
import string


class TestMail():

@staticmethod
def get():

def get_first_text_block(email_message_instance):
maintype = email_message_instance.get_content_maintype()
if maintype == 'multipart':
for part in email_message_instance.get_payload():
if part.get_content_maintype() == 'text':
return part.get_payload()
elif maintype == 'text':
return email_message_instance.get_payload()

mail = imaplib.IMAP4_SSL('imap.gmail.com')
mail.login('foobar...@gmail.com', 'foobarbaz')
mail.select("inbox")
result, data = mail.search(None, "ALL")
ids = data[0] # data is a list.
id_list = ids.split() # ids is a space separated string
latest_email_id = id_list[-1] # get the latest
result, data = mail.fetch(latest_email_id, "(RFC822)") # fetch the 
email body (RFC822) for the given ID
raw_email = data[0][1]
email_message = email.message_from_string(raw_email)
return ' '.join(get_first_text_block(email_message).split())
### testmail.py ends here ###

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  [1.1.0] ImportError: cannot import name fix_eols having utils.py in
  the project folder

Status in Sikuli:
  In Progress

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
It works fine. To reproduce the issue which I was experienced just put
utils.py into the openandconnect.sikuli directory. In that case it
doesn't work.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  [1.1.0] ImportError: cannot import name fix_eols having utils.py in
  the project folder

Status in Sikuli:
  In Progress

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread Andrey Tykhonov
I'm curious: is that an expected behaviour (that it fails when utils.py
is in the project's dir)?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  [1.1.0] ImportError: cannot import name fix_eols having utils.py in
  the project folder

Status in Sikuli:
  In Progress

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1459731] Re: ImportError: cannot import name fix_eols

2015-05-28 Thread RaiMan
Ok, thanks for the feedback.

--- is that an expected behavior
not really - I will check that

** Summary changed:

- ImportError: cannot import name fix_eols
+ [1.1.0] ImportError: cannot import name fix_eols having utils.py in the 
project folder

** Changed in: sikuli
   Status: Invalid => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 2.0.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1459731

Title:
  [1.1.0] ImportError: cannot import name fix_eols having utils.py in
  the project folder

Status in Sikuli:
  In Progress

Bug description:
  Hello!

  I just put here few lines from the command line:

  (Pdb) import email
  (Pdb) email.message_from_string('test') 
  *** ImportError: cannot import name fix_eols
  (Pdb) from email.parser import Parser
  *** ImportError: cannot import name fix_eols

  I put these lines into the sikuli script:

  import pdb
  pdb.set_trace()

  I've tried with java1.6 and java1.8. Sikuli version: 1.1.0,
  2015-05-25_01:00nightly

  I'm not sure whether this issue totally relates to the sikuli but just
  in case.

  
  Thank you!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1459731/+subscriptions

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #147764]: if not found image skip to --- use exists() instead of find()

2015-05-28 Thread eduardobedoya
Question #147764 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147764

eduardobedoya posted a new comment:
Hi RaiMan
I was looking at this question
cuz I needed to script something like... if image not found then...
so, Im jut wondering,
Can I use a code like this...

if exists(, 3)) #wait 3 seconds
click(getLastMatch()) #if exists click on it
if not

but then how can I determine what happens if  doesn't
exist? else??

Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #147764]: if not found image skip to --- use exists() instead of find()

2015-05-28 Thread eduardobedoya
Question #147764 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147764

eduardobedoya posted a new comment:
Hi RaiMan
I was looking at this question
cuz I needed to script something like... if image not found then...
so, Im jut wondering,
Is there a way to do something like this???


print A
print B
if exists(, 3)) #wait 3 seconds
click(getLastMatch()) #if exists click on it
print C
print D

where: print ABCD mean the workflow
so if  doesn't exist
then do not continue with print C, print D, but instead...
App.setClipboard("image not found")
exit()

This can only be achieve with
try
except
right??

Im just curious about this particular syntax
Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #147764]: if not found image skip to --- use exists() instead of find()

2015-05-28 Thread eduardobedoya
Question #147764 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147764

eduardobedoya posted a new comment:
Hi RaiMan
I was looking at this question
cuz I needed to script something like... if image not found then...
so, Im jut wondering,
Is there a way to do something like this???

print A
print B
if exists(, 3)) #wait 3 seconds
click(getLastMatch()) #if exists click on it
print C
print D

where: print ABCD mean the workflow
so if  doesn't exist
then do not continue with print C, print D, but instead...
App.setClipboard("image not found")
exit()

This can only be achieve with
try:
except
right??
or it can also be achieve with the "if exists" syntax?

I just was curious about this particular syntax
Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-28 Thread Erich Fiederer
Question #267479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267479

Status: Answered => Solved

Erich Fiederer confirmed that the question is solved:
Thank you raiman. You're like a magician.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #267517]: All files hosted on Launchpad are not available

2015-05-28 Thread FunXioN
New question #267517 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267517

Any reason for this?  Will they be available again soon?

Thanks

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267517]: All files hosted on Launchpad are not available

2015-05-28 Thread William Grant
Question #267517 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267517

Status: Open => Answered

William Grant proposed the following answer:
Launchpad had a file service outage for a few hours. All those files are
available again now.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267479]: Pyunit setup doesn't fail, but runs 0 tests and then OK

2015-05-28 Thread RaiMan
Question #267479 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267479

RaiMan posted a new comment:
LOL, magician ;-)
I think it is only some more experience and insight, which allows me to help 
others, to get on the road.

But thanks for the feedback anyway.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp