Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
On Friday, 3 March 2017 13:40:07 GMT Terry Coles wrote: > On the principle that I don't need the inner while loop (around > mp3_player.poll() ) as you mentioned in an earlier response, I think that > this would work, but someone would have to go over and start the player > again e

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
n has different themes on different days, so it would be hymns one day and organ music another, and so on. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
erminated) or only once? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://go

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
On Friday, 3 March 2017 11:31:44 GMT Ralph Corderoy wrote: > Correct. So `if r not in (0, -15):' looks apt. It does to me too. Thanks. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
if we are playing the Playlists in the MP3 Player. I suppose, having a timeout wouldn't gain us much in this instance, because we would still have to wait. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ...

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-03 Thread Terry Coles
ntion when you wrote those lines: r = bell_player.wait(): if r: print 'bell_player: mpg321 failed: %#x\n' % r bell_player = None It seems to me that if the mpg321 process exits with -15, that is no more a failure than if it exits with 0, because terminating the pro

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-02 Thread Terry Coles
On Thursday, 2 March 2017 13:34:19 GMT Terry Coles wrote: > I think that I should be testing for not r in the if statement (because it > works) and adding a timeout. What would be a reasonable timeout in this > case? If I've understood the documentation correctly, it doesn't really

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-03-02 Thread Terry Coles
ong as the user is made aware of the possibility of delay. Is that right? -- Terry Coles [1] http://www.chiark.greenend.org.uk/doc/python2.7-dev/html/library/ threading.html#event-objects [2] http://www.chiark.greenend.org.uk/doc/python2.7-dev/html/library/ threading.html#threadin

[Dorset] Next Meeting - One Week Tonight

2017-02-28 Thread Terry Coles
Hi, The next meeting is just one week away at the Broadway, Bournemouth on Tuesday evening at 20:00; 2017-03-07. See: http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway[1] Paul, Are you going? It's my turn to drive. -- Terry Coles [1] http

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-25 Thread Terry Coles
. This is going to take a bit of thinking about. Unfortunately, I'll have to sleep on it, because my daughter came to stay for the weekend this morning, so I'll not be able to dedicate as much time to it as I'd have liked. I'll report back tomorrow with an update on what's working, (or not). -

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-25 Thread Terry Coles
the GIL. > Your callbacks will need a `gpio' or `channel' parameter else I'd expect > an error when GPIO tries to call them. I never tried it without one; if I copy code then I don't change anything that doesn't look as if it needs changing :-) -- Terry Coles -- Next meetin

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-25 Thread Terry Coles
in and ensure it doesn't > happen? No I've proved that. The chimes are fired off using subprocess.Popen() and so is the mp3 player, change rings etc. It works well. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-25 Thread Terry Coles
hose statements references the appropriate function. These functions are where I put my code to change the state of the global control flags, kill the mpg321 player and play the message to the user. Is that what you had in mind? -- Terry Coles -- Next meeting: Bo

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-24 Thread Terry Coles
getting inside the Minster Model, so they will be relying on counting the switches from one end. This was to give them confidence that they had pressed the right switch and it had worked. I may have more questions after I've had a chance to try all this ;-) -- Terry Coles --

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-24 Thread Terry Coles
there are three tracks to play. So you see, for most cases it isn't enough to simply kill the MP3 player. There are generally at least one other thing that needs doing; hence my query about threaded or multi-processed function calls. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-22 Thread Terry Coles
I'm still working my way through the rest of your message and the earlier one, but I have other stuff to do elsewhere today, so I may not get round to trying out your suggestions until tomorrow. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07

Re: [Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-22 Thread Terry Coles
On Wednesday, 22 February 2017 15:10:21 GMT Terry Coles wrote: > while chr_control: > c_player.poll() # check to see if terminated > if c_player.returncode != None: > break > time.sleep(0.1) > > if c_play

[Dorset] Python Multiprocessing (or Maybe Multithreading)

2017-02-22 Thread Terry Coles
happens afterwards that seems to be the problem. All contributions gratefully received, as always. -- Terry Coles [1] http://raspi.tv/2013/how-to-use-interrupts-with-python-on-the-raspberry-pi-and-rpi-gpio -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets

Re: [Dorset] nginx Setup / Configuration

2017-02-20 Thread Terry Coles
riginal plan was to have the landing page automatically open when the user connects to the WiFi (rather like the cloud does in the pub). If I can't work out how to do that (I haven't really looked at that bit yet), then a QR code would be a good alternative. -- Terry Col

Re: [Dorset] nginx Setup / Configuration

2017-02-20 Thread Terry Coles
filenames, because it worked on my domain. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs we

Re: [Dorset] nginx Setup / Configuration

2017-02-19 Thread Terry Coles
t works! Presumably, Apache works some magic to ignore the case, whereas nginx doesn't. Thanks for all the clues (which I didn't always get). -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org

Re: [Dorset] nginx Setup / Configuration

2017-02-19 Thread Terry Coles
On Sunday, 19 February 2017 17:48:48 GMT Stephen Wolff wrote: > might be mime types but i'd have thought nginx would have mp3s by default > (if thats the audio file type) They are all MP3s. What should I be looking for? -- Terry Coles -- Next meeting: Bournemouth, T

Re: [Dorset] nginx Setup / Configuration

2017-02-19 Thread Terry Coles
Quiz, by typing in the links I gave you to my own webserver and it works. On the Raspberry Pi they didn't, even when the code (meaning directory names) was identical to that on my domain. When I shortened the directory names (and changed the Audio Guide html page to index.html), everything worked.

Re: [Dorset] nginx Setup / Configuration

2017-02-19 Thread Terry Coles
Guide and Quiz was what was needed. Why would that be? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-03-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Repo

Re: [Dorset] nginx Setup / Configuration

2017-02-18 Thread Terry Coles
mplicted browser > isn't involved. What `hostname' are you using in the URL? > > curl -sS http://127.1/now.txt # On the Pi. > curl -sS http://FIXME/now.txt # Elsewhere. I'll report back tomorrow. Thanks. -- Terry Coles -- Next meeting: Bournemouth,

Re: [Dorset] SSH into Raspberry Pi Problems

2017-02-18 Thread Terry Coles
> *Bah* Peter, The change was not unreasonable, because the device was wide open otherwise, with SSH on by default, with login to a default username and password. Do you really not have any means to access the Pi other than SSH? I bought a cheap HDMI to VGA adapter off amazon and an almost

[Dorset] nginx Setup / Configuration

2017-02-18 Thread Terry Coles
can't see that that is relevant. Any ideas what could be going on here? The latest pages are working on my website at: http://hadrian-way.co.uk/Audio_Guide/audio_guide.html and http://hadrian-way.co.uk/Kiddies_Quiz/index.html[1] -- Terry Coles [1] http://hadrian

Re: [Dorset] SSID Hiding

2017-02-07 Thread Terry Coles
On Monday, 6 February 2017 16:19:26 GMT Terry Coles wrote: > I have just installed a shiny new Netgear VSDL Router to replace the never > updated Plusnet supplied one. > > The main reasons that I bought it is that the Plusnet router has the above > mentioned lack of s

Re: [Dorset] SSID Hiding

2017-02-06 Thread Terry Coles
ces *and* safety pins, all but the most determined are likely to fall at one hurdle or another. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org

[Dorset] SSID Hiding

2017-02-06 Thread Terry Coles
, a YouView TV box and this Dell Optiplex running Kubuntu. I'm assuming that the problem is the incredibly early version of Android on the Transformer, but has anyone got any other ideas? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list

Re: [Dorset] Next Meeting - One Week Tonight

2017-02-01 Thread Terry Coles
On Wednesday, 1 February 2017 12:32:15 GMT Ralph Corderoy wrote: > Glad to hear work on the Wimborne Model Town time machine has continued > apace. Yes. It has. Where did you hear that? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, M

[Dorset] Next Meeting - One Week Tonight

2017-01-31 Thread Terry Coles
All, The next meeting is one week tonight at The Broadway, Bournemouth on Tuesday, 2017-01-07 at 20:00. See: http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway Paul, Are you going? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20

Re: [Dorset] Ending Playback in mpg321 from Within Python

2017-01-10 Thread Terry Coles
bar', > 'foo/jam']. > > So try this: > > subdir = './Playlist1' > mp3_files = sorted(os.path.join(subdir, x) for x in filter(lambda f: > f.lower().endswith(".mp3"), os.listdir(subdir))) Thanks Will, that worked. -- Terry Coles -- Next meeti

Re: [Dorset] Ending Playback in mpg321 from Within Python

2017-01-10 Thread Terry Coles
ime.time() + 5 > while time.time() < wait_until: > player.poll() # check to see if terminated > if player.returncode != None: > break > time.sleep(0.1) > # kill the player if it's still running > if player.returncode == None: &

Re: [Dorset] Accessing Google Drive from Kubuntu Dolphin

2017-01-09 Thread Terry Coles
ame back with package not found. This: https://www.quora.com/What-is-the-difference-between-KDE-neon-and-KDE-plasma[1] tells you about KDE Neon. I'm not sure how you get it from that post, but I think that it's effectively a repository which Kubuntu doesn't use. -- Terry Cole

Re: [Dorset] Accessing Google Drive from Kubuntu Dolphin

2017-01-09 Thread Terry Coles
d, considering that Kubuntu is one of the main KDE distros. What did you do; build it from scratch. There is a Unity GDrive package; just search for gdrive in Synaptic. I haven't tried it. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets,

Re: [Dorset] That Pesky Documentation Again

2017-01-07 Thread Terry Coles
needs can probably be satisfied with > https://docs.python.org/2/library/subprocess.html instead of os.system. Hopefully I won't need it, but now I have working hardware, I can really get down to the coding side of things. -- Terry Coles -- Next meeting: Bournemo

Re: [Dorset] That Pesky Documentation Again

2017-01-07 Thread Terry Coles
rams, and maybe it would be better that way, but the two programs would need to communicate. Also, we will want to do a sequence of change rings in the tower on other occasions that still work even the chimes are still running. Perhaps you know a better way ;-) -- Terry

Re: [Dorset] That Pesky Documentation Again

2017-01-07 Thread Terry Coles
On Saturday, 7 January 2017 15:51:25 GMT Terry Coles wrote: > I got that far (except that I was using BackgroundScheduler). It was the > syntax of the add_job that threw me. I've been playing around and now have: > > sched.add_job(hours, 'cron', hour='10') > > etc. I'm

Re: [Dorset] That Pesky Documentation Again

2017-01-07 Thread Terry Coles
t()' to the end of the program, after you've > added all the jobs rather that just after the instantiation as it is > now. Thanks. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] That Pesky Documentation Again

2017-01-07 Thread Terry Coles
functionality, assuming that my choice of scheduler is the best one for us. Those who have followed this saga will recall that I want to create and MP3 player to play organ music as well as ring the bells and I want the functions to be interactive. -- Terry Coles [1

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
or either this project or the Webserver and we'd have an additional two spare Pi Zeros for the Lighting system. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
other post). The main reason I've avoided it to date is that we would need another PSU brick as well as another Pi. The equipment and case for the mains supplies has already been procured and only has room for two bricks, so the knock on effect is fairly expensive. -- Terry

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
o be interactive, so that they don't try to fight each other and so that we can play a wedding sequence which consists of bells chiming in the Tower, a Wedding March and Widor's Toccata in the Chancel and then more bells in the Tower. Doing it in a single device makes that much easier. --

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-06 Thread Terry Coles
On Thursday, 5 January 2017 14:10:38 GMT Terry Coles wrote: > It looks as though I could fix this with a multi-TT hub, as suggested by > William, but the cost may be prohibitive. There is a hub that is specific > to the Zero that is sold by the Pi Hut for £10. I would need to

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Terry Coles
ould need to ask them these questions to find out if they support at least one multi-TT channel. -- Terry Coles [1] http://hadrian-way.co.uk/Misc/Pi3_lsusb-v.txt -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list, IRC, LinkedIn, ...

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-05 Thread Terry Coles
rt of the development. We would either live without the spare or bite the bullet and buy one more. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
wed from David Wilkinson was USB 2.0 and so is the Naked one that we are using for the project, so they should have had at least one built-in transaction translator according to Toms hardware. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-02-07 20:00 Meets, Mailin

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
aker-phone adaptors that I can borrow. Otherwise, I suppose I could scrape together some USB hard disks, but they tend to be self-powered, so not necessarily conclusive if they work. I've now raised this on the Raspberry Pi Forum, so my next move is to see what they say. --

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
t make any sense. The sudo is > required. I added a line to config.txt; 'max_usb_current=1, which doubles the current available to each device (in this case the whole hub) to 1.2 A. This was advised by Jake on the ModMyPi forum, but it didn't help. -- Terry Coles -- Next me

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-04 Thread Terry Coles
On Tuesday, 3 January 2017 14:23:45 GMT Terry Coles wrote: > My previous request for a loan of a powered Hub took me a step closer to > resolving my problem (thanks David). The problem is that although I think > I know now what is causing the problem, I don't know what it

[Dorset] Next Meeting - Tonight

2017-01-03 Thread Terry Coles
Hi, Don't forget the meeting tonight; 8 pm at the Broadway. See: http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway[1] Paul and I will be there. -- Terry Coles [1] http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway -- Next

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
okup :-) I just answered this off-list (I didn't notice that steampunkprofessor sent to me direct). The answer is yes; that's exactly what I am doing. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedI

Re: [Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
d it when > running my Pi off a battery bar, not that I had any operating issues. No it's not overclocked. Also, I forgot to mention; I get the same behaviour with my Pi 2. I'm waiting for responses on various forums. -- Terry Coles -- Next meeting: Bournemouth, Tuesday

[Dorset] How can I discover why my RPi freezes after it has frozen?

2017-01-03 Thread Terry Coles
for. The file 'messages' seems to contain a conglomeration of messages from the kernel and elsewhere, but I can't see anything that leaps out of the screen at me. Does anyone know where I should be looking? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20

Re: [Dorset] Scrounge Request

2016-12-31 Thread Terry Coles
o power the Pi; I would just need to connect one port to the data connection on the Pi and one to the PWR connector.) Where are you and when would it be convenient to pick it up? Send me your address off list. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01

[Dorset] Scrounge Request

2016-12-31 Thread Terry Coles
-port-usb-hub-for-raspberry-pi-zero[2] -- Terry Coles [1] https://www.modmypi.com/raspberry-pi/accessories/usb-hubs/hackable-naked-7-port-usb-hub-uk-5v-2.5a/?search=Hac [2] https://thepihut.com/products/zero4u-4-port-usb-hub-for-raspberry-pi-zero -- Next meeting

[Dorset] Chris Smithies

2016-12-30 Thread Terry Coles
known by those who also attended. In addition to his career in software development, Chris was also an accomplished musician and campanologist. He will be sadly missed by everyone who knew him. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets

[Dorset] Next Meeting - One Week Tonight

2016-12-27 Thread Terry Coles
⁣Hi, The next Meeting is just one week tonight; 8 pm at the Broadway.  See http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub. Paul, Chris, Are you going?  My turn to drive. Sent from BlueMail ​ -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedIn,

Re: [Dorset] Merry Christmas

2016-12-25 Thread Terry Coles
On Saturday, 24 December 2016 18:23:05 GMT Tim wrote: > Merry Christmas to everybody (and their families) on the mailing list. Ditto. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org

Re: [Dorset] Funny Business When I Try to Connect to Amazon in Chromium

2016-12-24 Thread Terry Coles
On Saturday, 24 December 2016 17:19:32 GMT Tim wrote: > Out of interest Terry, what version is your Chromium? 55.0.2883.87 from Canonical. > Mine is 53.0.2785.143 from Debian Testing and I have the same problem as > well There you are then. -- Terry Coles -- Nex

Re: [Dorset] Funny Business When I Try to Connect to Amazon in Chromium

2016-12-24 Thread Terry Coles
might want to try with and without to see the difference. man apt-get includes: *--no-show-upgraded* So I suspected the -u behaviour is the default now. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedIn,

Re: [Dorset] Funny Business When I Try to Connect to Amazon in Chromium

2016-12-24 Thread Terry Coles
t it also does a better job of sorting out dependancies. Anyway, I ran your incantation and it fixed the problem with Chromium. One thing, man apt-get doesn't list a -u here. What is it for? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets,

[Dorset] Funny Business When I Try to Connect to Amazon in Chromium

2016-12-24 Thread Terry Coles
found out why? I have a suspicion that Canonical haven't updated the security certificates recently, but I've waited several weeks with no sign of a fix. -- Terry Coles [1] http://www.hadrian-way.co.uk/Misc/ -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00

Re: [Dorset] Micro SD memory cards.

2016-12-22 Thread Terry Coles
d fails. I now use Etcher (see https://etcher.io/[1] ) to copy images to and from SD Cards and haven't seen any problems recently (the first release was a bit buggy, but it gets regular updates). -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meet

Re: [Dorset] Micro SD memory cards.

2016-12-22 Thread Terry Coles
en you can expand it to fill the card (Raspbian has a tool for this), or create another partition for your data, which can be mounted at run-time. The last lot I bought for the WMT were about £4, but when I bought them in January, they were £3 each. -- Terry Coles -- Next

Re: [Dorset] Identifying USB Audio Adaptors (Was) Things discussed and results:

2016-12-15 Thread Terry Coles
On Saturday, 10 December 2016 12:00:37 GMT Terry Coles wrote: > On Saturday, 10 December 2016 11:45:03 GMT William R Sowerbutts wrote: > > You can write a udev rule to name the device according to the USB port it > > is plugged into (either on the host or a downstream hub). This sh

Re: [Dorset] Things discussed and results:

2016-12-10 Thread Terry Coles
the correct socket is used. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Distinguishing USB Devices. (Was: Things discussed and results:)

2016-12-10 Thread Terry Coles
one's a spare) until Monday, but I'll certainly have a look then. It'll need extensive testing to be sure of the solution though. Thanks for the ideas. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.o

Re: [Dorset] Things discussed and results:

2016-12-10 Thread Terry Coles
On Saturday, 10 December 2016 10:14:35 GMT Terry Coles wrote: > My cunning plan thereby comes crashing around my ears. I only have one of > the devices here at the moment, but it advertises iSerial as '0', so I've > no doubt the others will also be called that. > > The sys

Re: [Dorset] Things discussed and results:

2016-12-10 Thread Terry Coles
ut that would require that the Wimborne Model Town Staff have a means to create the specially crafted mp3 files. I'd rather not go down that path. Any other ideas? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2017-01-03 20:00 Meets, Mailing list, IRC,

Re: [Dorset] Next Meeting - (Less than) One Week Tonight

2016-12-01 Thread Terry Coles
On Thursday, 1 December 2016 17:28:16 GMT Terry Coles wrote: > All, > > This last week has been just one damn thing after another so I forgot the > usual reminder on Tuesday. Hopefully, I'm over the bad patch, so: > > The next meeting is now less than one week tonig

[Dorset] Next Meeting - (Less than) One Week Tonight

2016-12-01 Thread Terry Coles
/wiki/doku.php?id=meetings:pub#the_broadway Paul, Are you going? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING

Re: [Dorset] Tools / Methods to Add Content to Web Pages for Non-Techies

2016-11-21 Thread Terry Coles
start now, since we're still waiting for some hardware, but the priority is the bells, so I may not get far on this for a few weeks or months. I'll report on progress (with more questions I expect) in due course. -- Terry Coles -- Next meeting: Bournemouth, Tuesday,

Re: [Dorset] Tools / Methods to Add Content to Web Pages for Non-Techies

2016-11-21 Thread Terry Coles
the user doesn't break things, but since the data to be changed is all in simple strings, I see no need to rewrite what I have to put the data into a database. String handling I've done (in C and some other languages). Database queries have always seemed a bit of a black art to simple old me :-) Any co

[Dorset] Tools / Methods to Add Content to Web Pages for Non-Techies

2016-11-20 Thread Terry Coles
a starter (preferably in Python), I'd definitely give it a go. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING

Re: [Dorset] Syntax for aplay

2016-11-11 Thread Terry Coles
copied the text from within a terminal displaying the output of 'man aplay'. The last missing line, I typed myself. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dor

Re: [Dorset] Thunderbird stacking problem - Re: Syntax for aplay

2016-11-11 Thread Terry Coles
ED is dead. Bah! Exactly. There was me racking my brains to work out why the music wouldn't play, only to find out that there was nothing wrong with what I was doing; it was the music that was faulty ;-) -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meet

Re: [Dorset] Thunderbird stacking problem - Re: Syntax for aplay

2016-11-11 Thread Terry Coles
On Friday, 11 November 2016 13:47:40 GMT PeterM wrote: > On 11/11/16 13:38, Terry Coles wrote: > > Never mind, I've done it. > > Usually Thunderbird stacks all responses under the initial email so > that they are easy to follow, but on this occasion it has not happened. >

Re: [Dorset] Syntax for aplay

2016-11-11 Thread Terry Coles
On Friday, 11 November 2016 13:35:27 GMT Terry Coles wrote: > Now I am trying to work out how to direct the output of mpg123 to the same > audio devices. The format of the command seems to be different to aplay and > it keeps defaulting to the PC sound card. > > Any thoughts

Re: [Dorset] Syntax for aplay

2016-11-11 Thread Terry Coles
Now I am trying to work out how to direct the output of mpg123 to the same audio devices. The format of the command seems to be different to aplay and it keeps defaulting to the PC sound card. Any thoughts on that anyone? -- Terry Coles -- Next meeting: Bournemouth, Tu

Re: [Dorset] Syntax for aplay

2016-11-11 Thread Terry Coles
that, the following line was also stripped out: 'I've tried every possible incantation of -f that I can think of, but always get the same result.' On Friday, 11 November 2016 10:55:32 GMT Terry Coles wrote: > Hi, > > I've just received a set of these: > > https://thepihut.com/pro

[Dorset] Syntax for aplay

2016-11-11 Thread Terry Coles
is it that doesn't like the format; the device or the tool? 2. If it's the tool; how do I write it to make it work. BTW. I really want to do this using mpg123 eventually, but I haven't found a tutorial to help me make that work, so I started with this. -- Terry Coles [1] https

Re: [Dorset] Ending Playback in mpg321 from Within Python

2016-11-06 Thread Terry Coles
On Sunday, 6 November 2016 16:46:16 GMT Andrew wrote: > seem to just work on Ubuntu 16.04. I've attached a simple player program Andrew, The list doesn't accept attachments, can you send it to my address instead of the list? -- Terry Coles -- Next meeting: Bournemo

Re: [Dorset] Ending Playback in mpg321 from Within Python

2016-11-06 Thread Terry Coles
On Sunday, 6 November 2016 14:37:53 GMT William R Sowerbutts wrote: > Whipped this quick demo up; it will play at most five seconds of each MP3 > file in the current directory. Tested with both mpg321 and mpg123. Will, Thanks for this. I had got as far as getting Popen to play the music, (it

Re: [Dorset] Ending Playback in mpg321 from Within Python

2016-11-06 Thread Terry Coles
ard inputs. I'll see where this takes me. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Ending Playback in mpg321 from Within Python

2016-11-06 Thread Terry Coles
this from the OS), but I haven't found a way to obtain the PID of the mpg321 instance from within my script yet. That method also seems a bit 'harsh'. Has anyone got any suggestions? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-12-06 20:00 Meets, Mailing list

Re: [Dorset] Test

2016-11-02 Thread Terry Coles
one? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE L

Re: [Dorset] How to configure "Reply-To" correctly for list?

2016-10-31 Thread Terry Coles
ep threatening to abandon KDE, but the trouble is that I like more than I hate ;-) -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bugs well: http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] How to configure "Reply-To" correctly for list?

2016-10-30 Thread Terry Coles
rks fine. I also find that people who send to me and CC the list also cause me to get it wrong. Ralph, I have a vague recollection that this was changed some years ago to prevent another problem, but I can't remember what it was. -- Terry Coles -- Next meeting: Bourne

Re: [Dorset] How to configure "Reply-To" correctly for list?

2016-10-29 Thread Terry Coles
this > message.) All I did was click reply. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING Reporting bu

Re: [Dorset] Bluetooth speaker

2016-10-27 Thread Terry Coles
ting the shift key, whereas in Raspbian we had to reconnect.) The problem is in the low-level bluetooth code somewhere, not in the GUI tool provided to make the connections. I tracked it down on a x86 forum, but I can't remember which one. Do these symptoms look anything like yours? --

Re: [Dorset] SanDisk Secure Access Software in Linux

2016-10-25 Thread Terry Coles
I meant to send this to the list, but Tim CCs the List, so my message went to him instead... On Tuesday, 25 October 2016 12:46:50 BST Tim wrote: > On 25/10/16 11:18, Terry Coles wrote: > > Assuming that no-one on this list has got this to work, is anyone aware of > > a tool t

[Dorset] SanDisk Secure Access Software in Linux

2016-10-25 Thread Terry Coles
versatile. Assuming that no-one on this list has got this to work, is anyone aware of a tool that can be used under any OS? Could something be done with some kind of Portable App perhaps? -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets

[Dorset] Next Meeting - One Week Tonight

2016-10-25 Thread Terry Coles
All, The next meeting is one week tonight at The Broadway, Bournemouth on Tuesday, 2016-11-01 at 20:00. See: http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#the_broadway Paul, Are you going? My turn to drive. -- Terry Coles -- Next meeting: Bournemouth

[Dorset] Issues with Kubuntu 16.10

2016-10-15 Thread Terry Coles
://www.kubuntuforums.net/showthread.php?70939-Kontact-Error-Akonadi-Service-Not-Running=393896=1#post393896 Hopefully this might save one or two people some grief. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http

[Dorset] My Dell XPS-13 DE

2016-10-15 Thread Terry Coles
is currently unavailable because Dell are updating the XPS-13 to the Kaby Lake processor. Here we go again -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ New thread: mailto:dorset

Re: [Dorset] Restoring Grub on an EFI Machine

2016-10-06 Thread Terry Coles
On Wednesday, 5 October 2016 18:29:58 BST Terry Coles wrote: > My main gripe with Dell in this instance is that they actually charged more > for this machine than its Windows counterpart, but provided less support. > Windows customers get access to downloads of the driver, utilities and a

Re: [Dorset] Restoring Grub on an EFI Machine

2016-10-06 Thread Terry Coles
up questions in the past > with interesting answers. No such luck I'm afraid. Very few hits on 9350 and only about a dozen on XPS-13. Nothing that was useful. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://do

Re: [Dorset] Restoring Grub on an EFI Machine

2016-10-05 Thread Terry Coles
at they couldn't help me because this Operating System was unsupported. In the end I took legal advice and they gave me a new machine, but they still don't support it. How not to keep your customers happy. -- Terry Coles -- Next meeting: Bournemouth, Tuesday, 2016-11-01 20:00

<    6   7   8   9   10   11   12   13   14   15   >