Go to advanced search

by stujol
Sat Apr 26, 2014 9:13 pm
Forum: Beginners
Topic: Upgrade Scratch 1.4 to 2.0
Replies: 1
Views: 598

Upgrade Scratch 1.4 to 2.0

is it possible to upgrade scratch 1.4 to 2.0 on my RaspberryPi?
by stujol
Sun Mar 30, 2014 7:07 pm
Forum: Beginners
Topic: Google APIs Client Library for Python
Replies: 2
Views: 1544

Re: Google APIs Client Library for Python

I know there is a lot of samples but I don't know which one to use or how to install or test it, which is why im asking for support. any further advise would be great.
by stujol
Sat Mar 29, 2014 11:45 pm
Forum: Beginners
Topic: Google APIs Client Library for Python
Replies: 2
Views: 1544

Google APIs Client Library for Python

I've just followed the instructions from https://developers.google.com/api-client-library/python/start/installation but im not sure how to test if its working. Im wanting to read my events in my Google calendar. Any guidance would be greatly appreciated? im still earning Linux and python so please k...
by stujol
Fri Mar 28, 2014 8:49 pm
Forum: Beginners
Topic: espeak current date
Replies: 1
Views: 558

espeak current date

I have a test.sh file which Im using for testing stuff out

#!/bin/sh
sudo aoss swift "test"
echo "worked" & date
sudo aplay /home/pi/police_s.wav

im looking for a way for my RaspberryPi to speak the current time and date using my aoss swift command. Anyone got any ideas on how to do this?
by stujol
Tue Mar 25, 2014 6:03 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

unable to find a /local/ directory
by stujol
Tue Mar 25, 2014 6:01 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

found a copy of swift in /usr/local/bin but it has what I would call a shortcut icon on the file, black arrow top left corner. if I right click, then click the execute button, I get an error saying 'failed to execute child process "usr/local/bin/swift" (no such file or directory)
by stujol
Tue Mar 25, 2014 5:57 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

[email protected] ~$ man swift - returns the help file in what seems to be in edit mode [email protected] ~$ swift --voices - returns bash: /user/local/bin/swift: /bin/sh^M: bad interpreter: no such file or directory [email protected] ~$ swift --help - returns bash: /user/local/bin/swift: /bin/sh^M: bad inte...
by stujol
Tue Mar 25, 2014 5:44 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

if I type in man swift, I get all the options listed. using the file viewer, I can navigate to /opt/swift/bin/ and i have 4 filrs within this folder cepstral-licsrv - shell script cepstral-licsrv.bin - unknown swift - shell script swift.bin - unknown /opt/swift/bin has a owner and group of 'root; wi...
by stujol
Mon Mar 24, 2014 7:30 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

I've edited ld.so.conf, so now looks like

include /etc/ld.so.conf.d/*.conf
/opt/swift/lib

not sure on the format of lpconfig within the LXTerminal window to allow it to update
by stujol
Mon Mar 24, 2014 7:14 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

Re: lpconfig

error im getting is

Testing the installed swift binary...
/opt/swift/bin/swift -o /dev/null 'hello world'
install.sh: 267: install.sh: /opt/swift/bin/swift: not found
by stujol
Mon Mar 24, 2014 7:00 pm
Forum: Beginners
Topic: lpconfig
Replies: 10
Views: 1676

lpconfig

I'm installing a script and one of the warnings is: *************************************************************************** If you are installing Swift system-wide, you may need to add the following line to /etc/ld.so.conf and run ldconfig as root: /opt/swift/lib (Otherwise, you will need to add...
by stujol
Sun Mar 23, 2014 8:08 pm
Forum: Beginners
Topic: espeak
Replies: 3
Views: 651

Re: espeak

is this code with cron or python?
by stujol
Sun Mar 23, 2014 2:25 pm
Forum: Beginners
Topic: espeak
Replies: 3
Views: 651

espeak

Can espeak read a text document?

I've tried espeak /tmp/testfile.txt

but it just reads the file path, not the contents of the document
by stujol
Sun Mar 23, 2014 1:13 pm
Forum: Troubleshooting
Topic: Python script not working
Replies: 3
Views: 532

Re: Python script not working

think I'm slowly learning the script I was doing was created in leafpad. I created a new script in nano and kind of got it working but when using LXTerminal to run the script I have to type $ python file_name.py, then the print command showed in LXTerminal. Running the python file from cron didn't s...
by stujol
Sun Mar 23, 2014 12:37 pm
Forum: Troubleshooting
Topic: Python script not working
Replies: 3
Views: 532

Re: Python script not working

just to test im using

#!/usr/bin/python
print "test"
by stujol
Sun Mar 23, 2014 10:17 am
Forum: Beginners
Topic: Playing .wav using aplay
Replies: 4
Views: 2211

Re: Playing .wav using aplay

sorry all my fault, I was editing the wrong file. I need to keep an eye on what directory I'm working in.
by stujol
Sun Mar 23, 2014 10:15 am
Forum: Troubleshooting
Topic: Python script not working
Replies: 3
Views: 532

Python script not working

Hi all, I've followed the tutorial in 'http://mitchtech.net/category/tutorials/raspberry-pi/' to get 'Easily connect Raspberry Pi to Gmail, Facebook, Twitter & more!' The python file is executable but when I run it nothing happens. Not used python before. Can anyone help me with some troubleshooting...
by stujol
Sat Mar 22, 2014 8:29 pm
Forum: Beginners
Topic: Playing .wav using aplay
Replies: 4
Views: 2211

Re: Playing .wav using aplay

cron is working ok as the espeak function works
by stujol
Sat Mar 22, 2014 8:01 pm
Forum: Beginners
Topic: Playing .wav using aplay
Replies: 4
Views: 2211

Playing .wav using aplay

Using LXTerminal I can play a wav file using the below and it outputs to my speaker [email protected] ~ $ aplay alarmclock.wav I also have a cron job which outputs some espeak text to my speakers and I want to integrate the two (espeak and wav file) together. I have tried a few different formats but ca...
by stujol
Sat Mar 22, 2014 1:44 pm
Forum: Beginners
Topic: installing a program
Replies: 7
Views: 4256

Re: installing a program

sudo apt-get install dos2unix
This installed dos2unix

dos2unix install.sh returned
dos2unix: install.sh: no such file or directory
dos2unix: skipping install.sh, not a regular file
by stujol
Sat Mar 22, 2014 1:29 pm
Forum: Beginners
Topic: installing a program
Replies: 7
Views: 4256

Re: installing a program

sudo bash ./install.sh returns a lot more errors ./install.sh line 4: $'r/': command not found : invalid optionne 5: set: - set usage: set [-abefhkmnptuvxBCHP] [-0 option-name] [--] [arg ...] .install.sh line 6: $'\r': command not found .install.sh line 8: $'\r': command not found .install.sh line 1...
by stujol
Sat Mar 22, 2014 1:11 pm
Forum: Beginners
Topic: installing a program
Replies: 7
Views: 4256

Re: installing a program

[email protected] ~/Cepstral_Callie_arm-Linux_6.4.1 $ sudo ./install.sh

returns

sudo: ./install.sh: command not found
by stujol
Sat Mar 22, 2014 12:32 pm
Forum: Beginners
Topic: installing a program
Replies: 7
Views: 4256

installing a program

hi all, new to RaspberryPi. I've just purchased a program to install on my RaspberryPi, its a voice from Cepstral.com. They have sent me a file which I have copied to my RaspberryPi /home/pi/Cepstral_Callie_arm-linux_6.1.4 Using LXTerminal, I have tried to run the installer [email protected] ~/Cepstral...
by stujol
Sat Mar 15, 2014 3:21 pm
Forum: Beginners
Topic: RaspberryPI and Existing House Alarm
Replies: 0
Views: 307

RaspberryPI and Existing House Alarm

Hi all, I'm just waiting for my first RaspberryPi system to be delivered and are thinking of things to do with it. I currently have a Safe & Secure system from British Gas which use to be the AlertMe.com system which I believe uses ZigBee communications protocol, this provides my home security and s...
by stujol
Sat Mar 08, 2014 11:06 pm
Forum: General programming discussion
Topic: Thinking of Buying Raspberry Pi
Replies: 2
Views: 1072

Thinking of Buying Raspberry Pi

Hi all, first time on this forum and I have only just discovered Raspberry Pi a few moments ago. First impressions indicate a lot of potential for this bit of kit in my home life. Before I run out and spend my hard earnt cash, I would like to ask a few simple questions before I start spending hours ...

Go to advanced search