volttron agent install time out - agent

I'm having problem with following Volttron Agent Creation Walkthrough and don't seem to find an answer for it here or elsewhere - sorry if this is too basic.
I'm following the procedure here http://volttron.readthedocs.io/en/master/devguides/agent_development/Agent-Development.html#agent-development but when I run:
volttron-ctl install ~/.volttron/packaged/testeragent-0.1-py2-none-any.whl --tag testagent
I get the following message: install: operation timed out
I've reinstalled volttron and it didn't work either. I'm running it in a vm with Linux mint.
Any help is much appreciated. Thanks

I have also had the same problem, first of all, you should run:
source env/bin/activate
volttron -vv -l volttron.log&
(activate and start platform)

Related

Module failed to start Ansible

I'm new in Ansible. I'm working on an Ubunto machine. On the VM, I installed Ansible along with to apply play books to.
When I run a playbook I receive the following error.
fatal: [localhost]: FAILED! => {
"ansible_facts": {},
"changed": false,
"msg": "The following modules failed to execute: setup\n setup: The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error\n"
}
Can you let me know where I should begin looking? Also advise on any more information you need to help troubleshoot this issue.
Thanks in advance
I had a similar situation, and I deleted ansible_python_interpreter=/usr/bin/python3 from my inventory and it worked.
To fix, I added ansible_python_interpreter=/usr/bin/python3 to the host in my hosts file.
eg.
[web]
123.4.5.6
became:
[web]
123.4.5.6 ansible_python_interpreter=/usr/bin/python3
I faced similar kind of issue. I had python3 installed on destination machine and manager node which I was using had python 2.7. When I installed python 2.7 on destination machine, module got executed successfully.
I hope this helps, if you are running Linux, the below command is your friend:
sudo apt install python-is-python3
That should set a symlink from python3-python which is what ansible is screaming about.

node.js help for creating a silent doorbell

I'm not a coder (just wanted to get that out there). I read an article about creating a silent doorbell (I have a dog that's insane).
https://github.com/initialstate/silent-doorbell/wiki/Part-2.-Finding-the-Button's-Address
I'm relatively computer literate. I followed the instructions for windows and download node.js. The instructions say to open a node.js command prompt and put in the following command:
sudo apt-get install npm
sudo apt-get install libpcap-dev
npm install node-dash-button
the problem i'm having is 1) I'm getting an error saying "apt-get" is not recognized as an internal or external command operable program or batch file.
Reiterating that I am no nowhere near as sophisticated as the users i've seen on here and am just a guy trying to keep the baby sleeping b/c the dog can't shut up - is anyone able to help so I can then go to the next step of instructions?
Thanks so much in advance.
Brad
sudo apt-get is a linux packet manage, so you wouldn't want to do this on windows. As they have mentioned raspberry-pi's I gather that they have made the assumption that you would be on linux.
If you ran that command in a linux terminal it would install the preqequisites and then install node-dash-button in node.
Try just running the nodejs packet manager part:
npm install node-dash-button
The rest of that line is not node or windows.
Hopefully this will get you to the next stage :)
The whole tutorial asumes you being on a Linux/Unix system.
If you solve this issue you will run into the next if you don't know what the commands mean and how to translate them to windows.
For example
sudo node bin/findbutton
is a linux/unix command as well (which is the next step in your tutorial).
So i strongly suggest setting up a VM with linux (debian should do).

Error Message: THERE WAS A P‌R‌O‌B‌L‌E‌M LOADING UPWORK

Since last day I am getting issue(see link) with the Upwork. Many times I have reinstall the Upwork and restart the system but nothing goes happen.The network connection is also fine.I google but got nothing helpful. Anyone can suggested me how can I fix the issue. and make the Upwork run correctly.
As I remember the Upwork is running fine, I am getting the issue, since I run the command 'sudo restart lightdm' to display time on menu bar.
Please follow the below link and steps to fix up-work issue.
https://community.upwork.com/t5/Freelancers/Error-Message-THERE-WAS-A-PROBLEM-LOADING-UPWORK/td-p/83016/page/3
sudo dpkg -i libnss
wget http://security.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.19.2-1ubuntu1_i386.deb
sudo dpkg -i libnss3_3.19.2-1ubuntu1_i386.deb
Upwork fixed.
Note : These issues we are getting if we do not close the up-work properly while shutting down the operating system. Please remember this things.

How do I update kernel-utils?

Brace yourself, I'm a Windows admin messing with a CentOS 6 server.
Let's start by saying I know very little about Linux.
I'm trying to load an rmmagent, GFI/MaxFocus's agent. It's failing the dependency check on kernel-utils and unzip.
error: Failed dependencies:
kernel-utils is needed by rmmagent-1.0.2.centos6-1.2.x86_64
unzip is needed by rmmagent-1.0.2.centos6-1.2.x86_64
I Googled myself to death, but I think I just don't know enough about Linux to make this go.
Can someone educate me or point me to the right place to learn how to do this? Thanks!
-Jeff
PS: I got unzip installed without issue.
We had the same issue. We spoke to the LogicNow support and they give us this solution:
wget -c ftp://rpmfind.net/linux/Mandriva/official/9.1/i586/Mandrake/RPMS/ksymoops-2.4.8-1mdk.i586.rpm
yum install ksymoops-2.4.8-1mdk.i586.rpm

getting error when starting xampp with error missing job name

I installed xampp in ubuntu 12.04 and everything is ok but when i am trying start it from terminal i get this error:
start: missing job name
try 'start --help' for more information.
JOB is the name of the job that is to be started, this may be followed by zero
or more environment variables to be defined in the new job. This is the information which i got from help but is my first experience with linux. all tutorials on the web tells that all the things that i need to do is just enter start...
What to do?
Thanx
When you follow this guide: http://www.apachefriends.org/en/xampp-linux.html#378
and run command:
/opt/lampp/lampp start
Or, you run some other command?(in question is not specified what you have executed). If so, most likely something is not correctly installed...
Also you should provide xampp version, how the software was installed (rpm, compiled,....)

Resources