Re: [Sikuli-driver] [Question #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-29 Thread Launchpad Janitor
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

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 your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-14 Thread Ishtiaq Qureshi
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Ishtiaq Qureshi gave more information on the question:
I realised didn't answer one of the questions - yes we run it directly
from within the Sikuli IDE. Some developers have used IntelliJ IDEA but
we mostly use the Sikuli IDE to create and run tests.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-12 Thread Ishtiaq Qureshi
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Status: Answered => Open

Ishtiaq Qureshi is still having a problem:
Hi, thanks for this. Yes I did have a look at this page and similar
other ones during my troubleshooting;

When searching for log4j on;

Machine A - these are the only log4j files that are displayed and are related 
to Bamboo agent home/classpath and Intelij IDEA IDE
- log4j-1.2.17jar
- log4j-api-2.9.0jar
- log4j-to-slf4j-2.9.0.jar
- slf4j-log4j12-1.7.10.jar
- log4j.jar
- log4j_license.txt

And Machine A is connected to Bamboo CI via an agent. And these probably
were installed when we set up the remote agent for Bamboo and the IDE.

Machine B search comes up with log4javascript

Machine C similarly to Machine A instead has Atlassian/Confluence
installed - and all the log4j files are related to Atlassian

I can't see where log4j is configured for Sikuli and how it's related or
where the settings are. And why it would have an impact on execution.
I'm guessing it will be some configuration/environment issue.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-12 Thread Manfred Hampl
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Status: Open => Answered

Manfred Hampl proposed the following answer:
(Not sure whether helpful at all)

Result of  websearch for the error message log4j:WARN No appenders could
be found for logger ...

https://logging.apache.org/log4j/1.2/faq.html#noconfig
Why do I see a warning about "No appenders found for logger" and "Please 
configure log4j properly"?
This occurs when the default configuration files log4j.properties and log4j.xml 
can not be found and the application performs no explicit configuration. ...

Do you have the files log4j.properties and log4j.xml on the different systems?
Do they contain similar contents?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-12 Thread Ishtiaq Qureshi
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Ishtiaq Qureshi gave more information on the question:
The other information which may or may not be useful

Machine A is a Windows server 2016 VM

Machine B is a local Windows10 Hyper V virtual environment

Machine C is a Windows server 2019 VM

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-11 Thread Ishtiaq Qureshi
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Status: Needs information => Open

Ishtiaq Qureshi gave more information on the question:
Hi, thanks for the quick response.

We're using the latest Sikuli version 2.05 but have tried 2.04 and the same 
issue.
But on Machine A we've used both versions and they both work.

Yes the test in between SOT and EOT is not executing. I've tried similar other 
scripts with the same format and its the same issue.
They work on Machine A but not on this other machine and have tried another VM 
too and same issue.

I've checked the JAVA version and made sure its the same as Machine A -
version 13.0.2.

Thanks
Ish.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another

2021-04-10 Thread RaiMan
Question #696483 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696483

Status: Open => Needs information

RaiMan requested more information:
SikuliX version?

Do you run the script from inside the SikuliX IDE?

you say: 
... skips the whole script ...???

... but the 
print("SOT: SF_003")
and
print("EOT: SF_003")
are executed.

... so only the test in between is not run.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
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