X-1.0: IDE: Extensions server not available --- How to load extension Guide?

Asked by Ren Xiaoning

**** current status of extension Guide

-- extensions download in Sikuli IDE (menu Tools) is currently not working, so you cannot get guide.jar the official way

-- the version, that was the base for the docs , is no longer available. The developer has continued to work on it, but the docs have not yet been updated.

-- I have a version from June 2011, that I have built from source and that works with rc3.

-- on Windows 7 you have to put guide.jar into the folder C:\Users\<user-name>\AppData\Roaming\Sikuli\extensions (the directory should already exist, but is empty). On other Windows, you have to find out, what directory Sikuli is using for that.
On Mac it is searched in ~/Library/Application Support/Sikuli/extensions.

-- usage
If you have put guide.jar in the appropriate location, just write in your script:

from guide import *

and you can use the features

-- feature docs
as mentioned, the docs are not up to date. The best way is to look into guide.py for the methods you can use and their parameters. It is just trial and error ;-) but if you succeed, it will help a lot with your scripts.

-- where to get it

(version for RC3):
I have a zip file on Dropbox, that contains the mentioned guide.jar and the guide.py
(which is actually extracted from this guide.jar).
http://dl.dropbox.com/u/42895525/SikuliGuide.zip

(version for RC2):
You can download the Guide version January 2011 (compatible with the docs):
http://dl.dropbox.com/u/42895525/SikuliGuide-rc2.zip
Be aware: runs only with RC2 !

Hope it helps. Come back, if you really do not get on the road and before getting a nervous breakdown ;-)

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

Hello,
After installed the Sikuli X-1.0rc3 (r905), I met the same problem mentioned in the Question #162210 (Extension - not getting loaded).
I'm using Windows XP SP3.
I have 2 questions:
1. Is it a client or server problem for XP system can not install the extensions? How to solve it?
2. The old extension Guide which was installed with 1.0rc2 are still in my computer, is it possible install it to 1.0rc3 manully? Because without this extension, my old Sikuli scripts can not be run in the 1.0rc3.

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
RaiMan Edit question
Last query:
Last reply:
Revision history for this message
stanley huang (stanleyh07) said :
#1

I have similar problem.
I installed the Sikuli X-1.0rc3 (r905) in windows 7 and try to install the extensions.
It pop up a dialog.

"Unable to load extensions from the server: Connection refused: connect"

Does anyone know how to fix it?

Revision history for this message
RaiMan (raimund-hocke) said :
#2

This seems to be a bug (did not work on my Mac either).

Nevertheless: the extension (guide) is still on your system, if you had it with rc2.

Saying
load("guide")
from guide import *

should make it available in rc3 too.

Revision history for this message
Sri D (sdavuluru) said :
#3

I am new to Sikuli and started off with Sikuli X-1.0rc3 (r905). I am seeing the same message on both Windows 7 and Windows XP sp3 - "Unable to load extensions from the server: Connection refused: connect"

Work around for this assumes one had the extensions working in previous release (rc2). So, I uninstalled rc3 and installed rc2 (Sikuli-X-1.0rc2-win32) but I see the same message.

Can anyone refer me to a release version where extensions work?

Revision history for this message
RaiMan (raimund-hocke) said :
#4

@ Sri D

Extensions are hosted on a server provided by the Sikuli developer team. They are not bundled with the release.

... if you had it with rc2
means: If you had downloaded it at times, the server was online, which was only the fact when rc2 was current earlier this year.

It seems, that this extension download server currently is not available. So it does not matter, wether you use rc2 or rc3.

Status of extension Guide:
--- they are still experimenting with it
--- the docs are not up to date about the functions of the version currently in the sources
--- you can build a guide.jar from these sources on github (according to the documented steps: how to build an extension)

Send me a mail at https://launchpad.net/~raimund-hocke, if you want to have a built guide.jar from Feb. 2011 (no docs available).

Revision history for this message
Zak Lym (zachlym) said :
#5

@RaiMan -Could you just post a link to it from MediaFire or BayFiles?

Revision history for this message
RaiMan (raimund-hocke) said :
#6

I have put information and the download link at the top of the question.

Revision history for this message
Zak Lym (zachlym) said :
#7

Thanks RaiMan, but the new version removed the basic dialouge and button code from the last. Does anyone have a copy of the rc2 release?

I would build one from source, but my programming powers are weak:
http://bazaar.launchpad.net/~sikuli-dev/sikuli/guide/files/616

Revision history for this message
RaiMan (raimund-hocke) said :
#8

@ Zak
The API has changed a little bit, since the dialog feature has been replaced by the possibility to prepare steps, that the user can click through with Next/Previous/Close. The button() is still there.
Principally it is the same, but the usage and the parameters may differ a little.
And some really nice features have been added.

But I admit, that it might be too complicated, to read the possibilities from the source of guide.py.

So I will make a guide version based on revision number 616, that seems to contain the API that is referenced in the docs and upload it.

Revision history for this message
RaiMan (raimund-hocke) said :
#9

@ Zak
You can download the Guide version January 2011 (compatible with the docs):
http://dl.dropbox.com/u/42895525/SikuliGuide-rc2.zip

Be aware: runs only with RC2 !

Revision history for this message
Zak Lym (zachlym) said :
#10

@RaiMan
My main concern was that MOST people would download the new version and be confused by the difference in API.

I can't quite figure it out from the API, I'm not really a programmer :(

I am trying to build an interface for people to code data with and they need control over the flow. There are multiple ways to search for a document, for example, it was simpler to make a call to .dialog. I would love to have the previous/next stuff if there was documentation.

Thank you for your help!

Revision history for this message
Zak Lym (zachlym) said :
#11

@RaiMan
Could you post some of your code? Then I could get an idea for how flow control is supposed to work. As is, I am unsure how to pass a more complex set of questions. Hell, I'm unable to even get the dialogue screen up!

Revision history for this message
Zak Lym (zachlym) said :
#12

@RaiMan
For the latest version of the guide, that is (not the RC2 version)

Revision history for this message
RaiMan (raimund-hocke) said :
#13

@Zak

-- a Guide version newer than the one from rc2 could even not be downloaded, if the dowload in IDE would work, since it was never uploaded by the developer. The version running with rc3, that I uploaded on Dropbox, was built from source for my private fun.

-- I am trying to build an interface for people to code data with
Yes this is exactly, what you can do with the new version. And you can mix it with normal Sikuli script to get a really amazing support for your users. And you can use the new hot key feature to give them a help key.

I am willing, to build an example for you.

Could you pls. give me some more information about your environment.

An impression about the workflow you mentioned would be helpful too. So I can select a similar app situation.

I suggest, to with to direct mail communication: my mail at https://launchpad.net/~raimund-hocke

Revision history for this message
Aravind (a4aravind) said :
#14

This doesn't work well for me as well...In WinXP SP3, Sikuli IDE hangs when I click on Tools->Extensions. I tried out in Win7. Here, Sikuli IDE doesn't hang but yields a "java.lang.NullPointerException".

Revision history for this message
Aravind (a4aravind) said :
#15

Sorry! That was because I copied the guide.jar to a wrong path. Now it doesn't hangs but displays dialogue box : Unable to load extensions from the server: Connection reset
Any solution for this, please ?

Revision history for this message
RaiMan (raimund-hocke) said :
#16

feature not available. Wait for new version.

Revision history for this message
Ron Mal (rcm1515) said :
#17

Hello, Just wondering if there is a workaround to add the guide.jar to version 1.0.1 of the Sikuli IDE?

I tried using the guide.jar version for RC3 located at http://dl.dropbox.com/u/42895525/SikuliGuide.zip
to see if it would work in 1.0.1 but I keep getting the error: [error] ImportError ( cannot import name UnionScreen

Thank you!

Revision history for this message
RaiMan (raimund-hocke) said :
#18

Guide is not yet working with 1.0.1.

If you want to use it, you have to use RC3 still.

Guide will be available with 1.1.0 again (not sure when though)

Revision history for this message
Jorge (diogornelas1) said :
#19

Hello,

The option "Tools->Extensions" is not working in my Sikuli (version 1.1.0).
So I've tried using the guide.jar version for RC3 located at http://dl.dropbox.com/u/42895525/SikuliGuide.zip but I keep getting the error: [error] ImportError ( cannot import name UnionScreen)

Can someone help me?
Thank you!

Revision history for this message
RaiMan (raimund-hocke) said :
#20

@Jorge
The extension feature in IDE currently is completely switched off.

The Guide from RC3 does not work with 1.1.0.

If you want to use Guide for now, you have to stick with RC3 still for a while.

Revision history for this message
RaiMan (raimund-hocke) said :
#22

????

I think I answered your question already in #20

No alternative currently. Sorry.

Revision history for this message
Jorge (diogornelas1) said :
#23

Yes, you are right, and sorry by my reaction.

Where I can find the RC3 version of Sikuli (for a 64-bit system)?

Revision history for this message
RaiMan (raimund-hocke) said :
#24

@Jorge
what system are we talking about?

To get on the road with RC3:
http://www.sikuli.org/downloadrc3.html

BTW: why are you interested in Guide? What are the features you would like to use?

Revision history for this message
Jorge (diogornelas1) said :
#25

My PC has the windows 8.1.

Thanks for your help.

Because for the project I am developing, I want to use the text() and/or tooltip() functions, to provide feedback to the user.

Revision history for this message
RaiMan (raimund-hocke) said :
#26

ok, understood.

Just watch the ongoing work with 1.1.x
I guess I will publish some basically useable Guide for 1.1.x the next time.

Revision history for this message
Jorge (diogornelas1) said :
#27

That's good.
Can you give an estimate of when will be next publication?

Revision history for this message
RaiMan (raimund-hocke) said :
#28

I am testing in parallel currently.

The major non-animated features already work.
So I guess I can make a sneak preview available for you next week.

Please send me a private mail (top right on http://sikulix.com) as a reminder.

Revision history for this message
Jorge (diogornelas1) said :
#29

Hi!
Didn't you received my email?

Revision history for this message
RaiMan (raimund-hocke) said :
#30

Yes, got it, but not yet ready.

Revision history for this message
Jorge (diogornelas1) said :
#31

Ok, no problem, I'll wait.
It was just to see if you had received.

Revision history for this message
Linda (linda-nordstrom) said :
#32

I'm interested in the guide extension for 1.1.0 as well.

Revision history for this message
Linda (linda-nordstrom) said :
#33

or, I just want a way to show text on the screen while running a test, similar to the highlight functionality, but with text.

Can you help with this problem?

Provide an answer of your own, or ask Ren Xiaoning for more information if necessary.

To post a message you must log in.