Hi I try to install PHPunit on my 14.04 ubuntu, but newest version require PHP 5.6 and I got only 5.5 so I installed PHPUnit
via composer composer global require "phpunit/phpunit = 4.8.*"
But when I try to access it phpunit -c app/
I get bash: usr/local/bin/PHPUnit: No such file or directory
How to move it to the path?
This link explains how to add all composer installed tools to the path.
Related
bug
I am using ubuntu version 20.0.4
I have followed all the turtlebot simulation instruction here but don't what is the issue I also check my bashrc file all the path are correct. Can anyone help me
Update by bashrc file
Run the turtlebot launch file
You're running 20.04, which means your ROS version will be Noetic. However the tutorial you're referencing is written for Kinetic; which means you're installing a package for the wrong version.
You can either repeat the install instructions with: git clone -b noetic-devel https://github.com/ROBOTIS-GIT/turtlebot3_simulations.git. Or cd into the cloned package and checkout the right branch via: git checkout noetic-devel.
Note that you'll most likely need to clean your workspace as it will not have built right.
I would like to create a macOS app using py2app. My application (testapp) has a few dependencies
(paramiko,scp,PyYAML,PyQt5). To do so:
I installed python3 using brew (located in /usr/local/Cellar).
I installed the aforementioned dependencies in this python
I ran python3 setup.py py2app --packages paramiko,yaml,scp
Everything runs apparently fine. I have a testapp.app directory created in dist. However, when I run the python located in the bundle (./dist/testapp.app/Contents/MacOS/python) I run into troubles. Indeed, I can import the aforementioned external packages but when I inspect their path, the result gives me the local installation and not the one of the bundle.
For instance paramiko.__path__ gives me: /usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/paramiko
Looking deeper into the bundle, I could not find the file site-packages.zip which should be created by py2app.
As such my bundle is absolutely not self consistent and can not be distributed on other machines. Would you have any idea about what is wrong with my setup ?
EDIT: I forgot to mention that I started to inspect the embedded python because running the embedded app failed.
As per our requirement we need to use AEM OSGI bundle configuration.
I am currently working on Apple Macbook.
To use FormsService and OutputService we installed "AEM-FORMS-6.4-OSX" package under "http://localhost:4502/crx/packageshare/index.html#"
(For windows we install "AEM-FORMS-6.4-WIN").
We have followed below installation steps:
Saved "AEM-quickstart.jar", "license.properties" files at one place.
Ran the jar file using the command "java -jar AEM-quickstart.jar"
Access http://localhost:4502/crx/packageshare/index.html#
Search for "AEM-FORMS-6.4-OSX"
Download the package
Install the package
To reconfirm wether the package is successfully installed, you can go this path "./crx-quickstart/bedrock/svcnative/XMLFormService" and check if bin and META-INF folders are present.
Above steps are for AEM-OSGI configuration on macbook.
Now, I wanted to install this aem-quickstart jar inside a docker container
So steps I followed is:
1. Saved Dockerfile, "AEM-quickstart.jar", "license.properties" files at one place.
2. Ran the Dockerfile with command : "docker run -p 4502:4502 -t aem_quickstart"
3. Access http://localhost:4502/crx/packageshare/index.html#
4. Search for "AEM-FORMS-6.4-OSX"
5. Download the package
6. Install the package
7. Here, when I tried to traverse the path "./crx-quickstart/bedrock/svcnative/XMLFormService" I didnot find any bin folder.
Here my question is:
1. On which OS/platform does docker images run?
2. Which Forms Add on package should I install?
3. Because I am on mac OS I tried to install "AEM-FORMS-6.4-OSX" package but was unsuccessful. Also tried installed "AEM-FORMS-6.4-LX" but was unsuccessful.
Please help me here.. Let me know if any additional information is required
FYI - Docker file has script as follows:
FROM openjdk:8-jdk-alpine
COPY AEM_6.4_Quickstart.jar AEM_6.4_Quickstart.jar
COPY license.properties license.properties
EXPOSE 4502
CMD java -XX:MaxPermSize=256m -Xmx1024M -jar AEM_6.4_Quickstart.jar
I just began exploring ROS from the ros.org. I'm having some trouble setting the environment in Ubuntu. I get the following error while trying to set up a workspace automatically every time a new shell is launched.
bash: /opt/ros/fuerte/setup.bash: No such file or directory
bash: /opt/ros/fuerte/setup.bash: No such file or directory
Probably your ROS installation added this to your ~/.bashrc file and somehow the setup.bash file got (re)moved.
Try to locate that file and change the path accordingly. This should set the required enviroment variables in order to run ROS (core) etc.
Check answers.ros.org for ROS-related Q&A. The wiki is also a good source of information: www.ros.org/wiki.
First, open terminal and type the following command:
gedit .bashrc
Then press Ctrl + F and search fuerte. Delete everything about fuerte. Fuerte is old, download the new version groovy..
Check which version of ROS have you installed. There are newer versions of ROS like ROS groovy.
Probably you installed a new one, but follow the guide for the old ROS fuerte. First make sure which distro have you installed.
I've installed Ubuntu on my VM and I've got a problem with Grails installation. I've installed JDK, Groovy and downloaded package with Grails. I've added path for java, Groovy and Grails in files /etc/bash.bashrc and ~/.profile.
When I run command 'grails' it gives an error "no command grails found". How can I check what is wrong?
Thanks in advance!
#Dave hinted the answer in a comment but explicitly the answer is to add $GRAILS_HOME/bin to your PATH in the ~/.profile file. $GRAILS_HOME should of course be replaced with the actual location of the Grails installation.
You may also need to chmod +x $GRAILS_HOME\bin\grails.