Go to advanced search

by robbes
Fri Dec 16, 2016 8:54 pm
Forum: Troubleshooting
Topic: Incomplete ssh process termination from wifi connection
Replies: 7
Views: 1265

Re: Incomplete ssh process termination from wifi connection

@ElEscalado The Kubuntu Ksysguard program lists all active processes and provides some information about each. I see the ssh process in that list, and when I terminate the process, my desktop prompt behaves as expected. I hope tired/inattentive/drunkeness can be eliminated, at least for this particu...
by robbes
Fri Dec 16, 2016 7:35 pm
Forum: Troubleshooting
Topic: Incomplete ssh process termination from wifi connection
Replies: 7
Views: 1265

Incomplete ssh process termination from wifi connection

I have a Raspberry B Plus, a Raspberry B2 and a Raspberry Zero, all used headless. I have never had any issues connecting to any of them using ssh with the eth0 interface. However, I have just tried all three with a wireless connection, and none of them completes the "sudo shutdown -h now" command w...
by robbes
Tue Dec 06, 2016 5:36 pm
Forum: General discussion
Topic: Update and upgrade question
Replies: 21
Views: 3095

Re: Update and upgrade question

Use the newer
apt
command: saves wear and tear on your fingers and your keyboard, and gives you some nice progress bars.
by robbes
Wed Nov 09, 2016 6:35 am
Forum: Python
Topic: Problem with python namespace?
Replies: 6
Views: 1086

Re: Problem with python namespace?

Thank you both for enlightening me. @elParaguayo : I eliminated the use of the variable, and the behavior remained the same as far as I could tell. But I think I understand now what is going on in the code. @Paeryn : This was my first encounter with a global/local issue. Your explanation makes sense...
by robbes
Tue Nov 08, 2016 6:04 pm
Forum: Python
Topic: Problem with python namespace?
Replies: 6
Views: 1086

Re: Problem with python namespace?

This is the program: import importlib from sys import version_info if version_info[0] == 2: #python2 impmod = raw_input("Enter a module name: ") else: #python3 impmod = input("Enter a module name: ") i = importlib.import_module(impmod) print( 'Attributes and their types for module {}:'.format(i.__na...
by robbes
Tue Nov 08, 2016 5:08 pm
Forum: Python
Topic: Problem with python namespace?
Replies: 6
Views: 1086

Re: Problem with python namespace?

My next step is to assign the module name using a user input statement, so I need a string.
by robbes
Tue Nov 08, 2016 5:00 am
Forum: Python
Topic: Problem with python namespace?
Replies: 6
Views: 1086

Problem with python namespace?

I have import importlib imp = importlib.import_module('subprocess') which I am hoping will have imported the subprocess module to my program. Not wanting to be overly optimistic, I do type(imp) which gives me <type 'module'> and dir(imp) which gives me ['CalledProcessError', 'MAXFD', 'PIPE', 'Popen'...
by robbes
Wed Nov 02, 2016 4:48 pm
Forum: General discussion
Topic: Another OS announced: Minoca OS
Replies: 0
Views: 448

Another OS announced: Minoca OS

This is a lightweight operating system for small computers, with a new non-linux kernel. Start at http://www.minocacorp.com/ for more details. I downloaded and installed their rpi2.img but didn't progress further. Information is very limited. At the present time, I would say this package is for know...
by robbes
Sat Oct 29, 2016 5:03 pm
Forum: General discussion
Topic: Multiple IDE versions installed?
Replies: 1
Views: 343

Re: Multiple IDE versions installed?

As long as you install each version into a separate folder, you won't have any problems.
by robbes
Fri Sep 16, 2016 6:11 pm
Forum: Beginners
Topic: WIFI problem
Replies: 2
Views: 452

Re: WIFI problem

1. If this is your initial setup, it is possible your network configuration is not right. Is /etc/dhcpcd.conf correct? Do you have the right ESSID and password in your /etc/wpa_supplicant/wpa_supplicant.conf file? Something here is most likely the problem. 2. Is the interface not turned on for some ...
by robbes
Tue Aug 16, 2016 1:20 am
Forum: Python
Topic: Help with a simple program
Replies: 4
Views: 1024

Re: Help with a simple program

With your rather open-ended project, I think it would be worthwhile for you to learn a bit about the pandas module and DataFrames.
by robbes
Sat Aug 13, 2016 4:25 pm
Forum: Python
Topic: unable to install python-dev
Replies: 10
Views: 4592

Re: unable to install python-dev

Are you able to use python3.4 with python3-dev ?
by robbes
Sun Mar 13, 2016 6:48 pm
Forum: Python
Topic: Adding modules to be permanently in the python path
Replies: 1
Views: 1156

Re: Adding modules to be permanently in the python path

One solution would be to set the environment variable PYTHONPATH in your .bashrc file.
The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path.
by robbes
Fri Feb 05, 2016 7:00 pm
Forum: Beginners
Topic: Code to install python from directory
Replies: 2
Views: 422

Re: Code to install python from directory

It may be advisable to copy your downloaded program from the USB stick to a directory on the Pi, but in any case it should include a program called "setup.py". You just have to run it from within its directory location:

Code: Select all

python setup.py install
by robbes
Wed Dec 16, 2015 9:13 pm
Forum: Beginners
Topic: Configuring git on Raspbian
Replies: 3
Views: 1946

Re: Configuring git on Raspbian

There is no "default" configuration file created initially. As soon as you start specifying your configuration, the file will be created - as .gitconfig in your home directory if you use the --global flag. You should at least do git config --global user.name "xx" git config --global user.email [email protected]...
by robbes
Sun Nov 22, 2015 7:01 pm
Forum: Python
Topic: Finite State Machine with multitasking threads
Replies: 10
Views: 13759

Re: Finite State Machine with multitasking threads

As another option, you might look at http://oosmos.com/
This gives you an FSM in C/C++ with threadless concurrency.
by robbes
Sat Nov 07, 2015 7:53 pm
Forum: Networking and servers
Topic: How to set up connection between RPI and ESP-E12
Replies: 2
Views: 2707

Re: How to set up connection between RPI and ESP-E12

I have just ordered a few ESP8266 modules to do a similar task, but haven't put much effort into it yet. I think it would be advisable to configure a fixed address for each ESP module in your router (via MAC). If you search through the esp8266.com forum postings you will probably find an answer to a...
by robbes
Fri Nov 06, 2015 6:58 pm
Forum: Python
Topic: RPi Arduino Serial communication with Python
Replies: 3
Views: 1056

Re: RPi Arduino Serial communication with Python

A long shot, but are you sure you have /dev/ttyACM0 rather than /dev/ttyACMO ?
by robbes
Tue Oct 27, 2015 6:02 pm
Forum: Python
Topic: Spyder IDE
Replies: 3
Views: 19798

Re: Spyder IDE

Re: ...can I use Anaconda to load these facilities on the Raspberry Pi I realize you have solved your problem, but should you ever wish to use Anaconda, there is a limited version called Miniconda available - Miniconda-3.16.0-Linux-armv7l Download the file from http://repo.continuum.io/miniconda/ th...
by robbes
Wed Oct 14, 2015 6:10 am
Forum: Python
Topic: RF Communication with Python (Send Only)
Replies: 11
Views: 2385

Re: RF Communication with Python (Send Only)

Have you looked at the nanpy module?
Take a look at http://www.akeric.com/blog/?p=2420
by robbes
Tue Oct 06, 2015 8:28 pm
Forum: Automation, sensing and robotics
Topic: Colect data from Web site to control output
Replies: 1
Views: 517

Re: Colect data from Web site to control output

You might look into using the Python module BeautifulSoup to scrape the weather site.
by robbes
Sun Aug 23, 2015 3:44 pm
Forum: Python
Topic: matplotlib styles in python 2.7? or pandas in 3.2
Replies: 1
Views: 661

Re: matplotlib styles in python 2.7? or pandas in 3.2

The styles package was introduced in matplotlib1.4 I think.
I expect you will find the version of matplotlib you are running under python2.7 is an earlier one.
Check the value of matplotlib.__version__ and try an upgrade.
by robbes
Sat Jul 18, 2015 5:24 pm
Forum: Python
Topic: IPython takes a long time to start up
Replies: 1
Views: 430

Re: IPython takes a long time to start up

Only a guess, but it may be related to your ipython configuration file.

Code: Select all

ipython config -h
by robbes
Wed Jul 15, 2015 6:02 pm
Forum: General discussion
Topic: Raspberry with nRF24L01
Replies: 5
Views: 2104

Re: Raspberry with nRF24L01

@danjperron:
"I just received a RF24L01 shield for aliExpress and the only thing I had to do was to change the chip enable GPIO pin."

What is the advantage of this shield over the cheaper standard NRF2401 module?

Go to advanced search