'geckodriver' executable needs to be in PATH on Mac with Eclipse RED - robotframework

I've been trying to automate some basic stuff with Robotframework. Here is my configuration.
Python - 2.7.10
MAC High Sierra 10.13.2
Eclipse Oxygen with RED Editor
I've downloaded Geckodriver executable and put in under several places including usr/local/bin, folder on desktop
Here is what i've tried
Setup FFDriver Set Environment Variable webdriver.gecko.driver Users/[my username]/Desktop/geckodriver
Setup FFDriver Set Environment Variable webdriver.gecko.driver usr/local/bin/geckodriver
and my test
open browser http://www.google.com firefox
I've added usr/local/bin in PATH as well and still getting "geckodriver executable needs to be in PATH" error. The same happens with Chromedriver too. I am sure I must be missing something trivial here, can someone help me out please?

Launching the eclipse from command prompt, has fixed this issue. Yes, the PATH is not being inherited when launched from desktop icon.

when you use Python. the best shortcut you can do is, put you 'geckodriver.exe' file in pythons script folder. and set the Script folder path in you system path. this will resolve your problem.

Related

Can open fontawesomefx-glyphsbrowser- windows batch file

Can someone tell how to open font awesome font browser (linked below)- windows batch file.
when I double click, command is opening but it shows an exception and closing.
How can I know whats wrong even a documentation link would be very helpful?
https://github.com/Jerady/fontawesomefx-glyphsbrowser
thank you
I just fixed it by dragging and dropping the fontawesomefx-glyphsbrowser.file into cmd and hitting enter that showed the error which showed that my JAVA_HOME is not set up correctly.
Try this 1.0 version https://www.jensd.de/wordpress/?p=2498, the 1.3.0 version can't open.
I faced the same problem too but solved it by updating java, I used javacpl.exe (you'll find it in the C:\Program Files\Java\jre\bin or the location you installed your java in(the jre/bin folder) )
Then i updated my JAVA_HOME and JRE_HOME path in environment variables with the updated jdk and jre folder location.
I then opened cmd and ran "java -version " to confirm that java was in path.
lastly i executed the "fontawesomefx-glyphsbrowser.bat" file and it worked.
Hi Well i had this issue too and i fixed you go to the java Folder/ bin folder and search for jvm.dll (in my case i found jvm1.dll ) so you copy it and create a folder name it Server if you found it before just copy the jvm.dll in it if you find it jvm1.dll just rename it and magic happen ! hope that i helped you

Custom home not working when console run manually (cygwin)

I was trying to set a new home directory for Cygwin, but the thing is I've managed to do so only partially.
I changed the 'db_home:' parameter (cygwin64/etc/nsswitch.conf) to '/windows' so it now matches the win10 default home folder, but the trick works only if mintty.exe was run through cmd.
Running mintty manually with a desktop shortcut results with the very same default directory as if the file was never changed.
Having all that said, I'm a total newbie when it comes to both Cygwin and Unix in general, so it's very likely I missed something obvious.
I appreciate any help provided, thanks in advance.

RStata Set Stata Binary Path

I am trying to use RStata in order to run Stata from R. I first did:
options("RStata.StataVersion" = 14)
That didn't cause an error.
But I also need to set the binary path. I have a Mac, and Stata is contained in a folder in the Applications folder. Here is what I have tried:
options("RStata.StataPath" = "/Applications/Stata/Stata")
Unfortunately, this causes an error. What should I do?
With no knowledge of RStata, I can say that on macOS 10.12.6 with Stata/SE release 15 installed, in the terminal window
open /Applications/Stata/StataSE.app
is what's required to launch Stata. It is possible that in looking for the Stata executable, your Finder Preferences does not have "show all filename extensions" set in the Advaced pane, so you weren't shown the .app extension.
From the README, better rendered here
Mac users are a notable group: at this stage they should set the path
for the command line executable (not the GUI app). Eg for a Stata13 SE
installation in El Capitain (with default options) the path is
'/Applications/Stata/StataSE.app/Contents/MacOS/stata-se'. In other
cases (Stata licenses, installation path and so on) the path could be
slightly different (BTW, i've found the path 'exploring' the
filesystem with a terminal, not the graphics explorer since it 'stops'
at 'StataSE.app').
(yes, putting something in the manual as well is in my TODO :) )
hth, best, Luca

Let atom editor recognize external APIs

I'm trying to set up a python like environment with Atom-editor on a Linux machine.
I find the autocomplete-python package that uses jedi.
In the settings of the package I tried to add some python path where the APIs are (/usr/lib/python2.7/dist-packages/) but then the autocompletion doesn't recognize these libraries (for example the PyQt ones)
Am I missing something?
For anybody having the same issue please look here.
Basically everything should work out of the box, but if it does not -- try to configure path to python executable with which you have installed your external module. If it's still fails to complete -- try to configure extra path to python modules. (usually your site-packages directory)

Meteor on Windows: meteor command outputs nothing

I installed the MSI file from win.meteor.com
I reboot the computer, and open up CMD and type meteor create app but nothing happens. It doesn't say the command was undefined, so I don't know what's wrong here.
I am using windows 7 64-bit home.
I have discovered an issue with node fibers (on windows) and have a tentative fix - at least it fixed the problem for me, and I would be interested to see if that also fixes it for others.
Ultimately the problem was apparently sudden death due stack overflow and access violation. The root cause however was that the thread locals were not correctly being switched on a fiber switch.
you should check the environment path
add Meteor root directory to PATH
like this
PATH: ...;d:\Meteor;d:\Meteor\bin
METEOR_PATH: d:\Meteor
NODE_PATH: d:\Meteor\lib\node_modules
I have this issue too..
METEOR_PATH = C:\Program Files (x86)\Meteor\
NODE_PATH = C:\Program Files (x86)\Meteor\lib\node_modules
PATH = C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\site\bin;C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Enterprise Vault\EVClient\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files\Java\jre6\bin\;C:\Program Files\Sublime Text 2;C:\Program Files (x86)\Meteor\;C:\Program Files (x86)\Meteor\bin
When you I run the meteor command, it does open meteor.js in node (if I add console.log('xxx') to meteor.js I see output), but the script finishes with no output.

Resources