[1.1.2] Offline setup: not working: no main manifest attribute in sikulix.jar -- fixed 1.1.3 2018-04-03 build #16

Bug #1756820 reported by Devendra
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
High
RaiMan

Bug Description

Offline setup now works with 1.1.3 nightly (https://raiman.github.io/SikuliX1/nightly.html)
Tested on Java 8, 9 and 10.

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

Hi

I have done offline setup of sikulix on a local server where internet is access is blocked.
In the end I saw a message "RunSetup: ... SikuliX Setup seems to have ended successfully ;-)"

But when I tried to run "java -jar sikulix.jar", I see error:
no main manifest attribute, in sikulix.jar

Enviroment information:
-----------------------
Ubuntu 16.04, 64 bit
java version "1.8.0_161"
Downloaded files:
   sikulixsetup-1.1.2.jar
   sikulixsetupAPI-1.1.2-20180308.083909-100.jar
   sikulixsetupIDE-1.1.2-20180308.083933-100.jar
   sikulixlibslux-1.1.1.jar
   jython-standalone-2.7.1.jar
   jruby-complete-9.1.15.0.jar

Revision history for this message
Devendra (sw.devendra) wrote :
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.1.2] Offline setup: not working: no main manifest attribute in sikulix.jar

sorry, I have to fix that.

No workaround currently.

You might try to setup online on a capable system and then transfer the relevant files to you target system.

Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.2
summary: - no main manifest attribute, in sikulix.jar
+ [1.1.2] Offline setup: not working: no main manifest attribute in
+ sikulix.jar
Revision history for this message
Devendra (sw.devendra) wrote :

Dear RaiMan,

Thank you for your quick reply.
Could you please tell me which sites are accessed for online setup?
I can try to get those sites unblocked on the server.

Revision history for this message
RaiMan (raimund-hocke) wrote :
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.2 → 1.1.3
Revision history for this message
Greg (greg.beaver) wrote :

Hey RaiMan,

I installed 1.1.3 successfully and received the same error.

Any chance I'm doing something wrong? I followed the 1.1.2 offline install guide.

I'm looking forward to trying your application!

Thanks,

gb

Revision history for this message
Greg (greg.beaver) wrote :

Disreagrd, I followed you 1.1.3 offline guide and it worked! You're the man!

Revision history for this message
Devendra (sw.devendra) wrote :

Hi Greg,

Where did you find "1.1.3 offline guide"?

I followed some instructions at https://raiman.github.io/SikuliX1/nightly.html , but I saw following error on installing:
-------------------------------------

[debug (4/3/18 11:41:56 AM)] ScriptingSupport: initScriptingSupport: exit with defaultrunner: JavaScript (js)
[error (4/3/18 11:41:56 AM)] ScriptingSupport: getRunner: no runner found for:
jython
[error (4/3/18 11:41:56 AM)] RunSetup: testSetup ran with problems
[debug (4/3/18 11:41:56 AM)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!
Check the error log at /home/a.devendra/Downloads/SikuliSetup/SikuliX-1.1.3-SetupLog.txt
--------------------
[error (4/3/18 11:41:59 AM)] RunSetup: Functional test Jython did not work
[error (4/3/18 11:41:59 AM)] RunSetup: ... terminated abnormally :-(
[debug (4/3/18 11:41:59 AM)] RunSetup:
popError: --------------------
Something serious happened! Sikuli not useable!

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

After above error, I still tried to launch SikulixIDE and it launched. But it was crashing whenever I tried to capture an image.

Revision history for this message
Devendra (sw.devendra) wrote :

Adding logs of failed installation of Sikulix 1.1.3

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

@Devendra
"offline" in comment #6 might be a typo, should be "online"

... since offline setup is not yet fixed in 1.1.3

Revision history for this message
Devendra (sw.devendra) wrote :

Thanks for the information RaiMan! :)

Revision history for this message
Greg (greg.beaver) wrote :

https://raiman.github.io/SikuliX1/nightly.html had the offline guide that worked for me during my 1.1.3 installation.

:)

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

@Greg
Thanks for the info. I will check myself again.

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

I can confirm, that offline setup works with the latest 1.1.3 nightly (on Java 8, 9, and 10)

Changed in sikuli:
status: Fix Committed → Fix Released
summary: [1.1.2] Offline setup: not working: no main manifest attribute in
- sikulix.jar
+ sikulix.jar -- fixed 1.1.3 2018-04-03 build #16
description: updated
Revision history for this message
Devendra (sw.devendra) wrote :

@RaiMan
Thanks for update but I still have the problem (a different one) in installation as mentioned in comment#7.
I am attaching one setup dialog also which looks strange and it may give some hint. It has some "null" strings.

The environment is still same as mentioned in original bug description. (except that now I am using Sikulix 1.1.3 packages)

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

ok, I did not have time yet to check on Linux (Ubuntu 16.04).
I will do that asap and come back.

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

checked now on Ubuntu 16.04: works.

Be sure to use the latest nightly build.

Delete <home>/.Sikulix and start allover new.

Put the downloads all in one folder and start setup in that folder.

Revision history for this message
Devendra (sw.devendra) wrote :

Thanks RaiMan!
Yes, it worked.
In my earlier trials, I did not delete ~/.Sikui folder. After deleting that, setup worked.

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.