Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Hamish McIntyre-Bhatty
On 31/12/2021 09:30, Terry Coles wrote: Hi, I've posted this query on the Raspberry Pi Forums, but with no response so far. As many of you are aware, I've been busy making changes to the hardware of the Music and Bells Player at the WMT. At the same time I've taken the opportunity to upgrade

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:26:25 GMT Terry Coles wrote: > The issue has been under discussion on the apscheduler github site: > > https://github.com/agronholm/apscheduler/discussions/570 > > The question is should I wait awhile or downgrade tzlocal to 2.x as > suggested in that discussion.

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Keith Edmunds
> No specific new error, just thsame as before. Terry, I'm trying to help you here but you need to help me. Let's try one more time: what error do you get when you try to import zoneinfo? I get this: $ ipython3 Python 3.9.2 (default, Feb 28 2021, 17:03:44) Type 'copyright', 'credits' or

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:42:08 GMT Keith Edmunds wrote: > > No specific new error, just thsame as before. > > Terry, I'm trying to help you here but you need to help me. Let's try one > more time: what error do you get when you try to import zoneinfo? Keith, I hadn't tried to run it using

[Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
Hi, I've posted this query on the Raspberry Pi Forums, but with no response so far. As many of you are aware, I've been busy making changes to the hardware of the Music and Bells Player at the WMT. At the same time I've taken the opportunity to upgrade the OS to bullseye, which I suspect has

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Keith Edmunds
OK, so we've fixed the "I can't install zoneinfo" problem. I'll let someone else battle whatever the remaining problem is. -- Great music, chat and even some wit. Join me every Friday evening at 8pm for Keith's Music Box: Follow: https://www.facebook.com/KMBEngland On Friday go to:

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Keith Edmunds
> when I tried to install zoneinfo it failed zoneinfo is part of the Python Standard Library, so you shouldn't need to install it. > from zoneinfo import ZoneInfo > > to the program and still got the error. What error do you get? -- Great music, chat and even some wit. Join me every

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:34:08 GMT Keith Edmunds wrote: > What error do you get? See my response to Hamish. -- Terry Coles -- Next meeting: Online, Jitsi, Tuesday, 2022-01-04 20:00 Check to whom you are replying Meetings, mailing list, IRC, ...

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:38:30 GMT Keith Edmunds wrote: > I read all the replies in this thread but didn't see what error you got > when you tried to import zoneinfo. Sorry, I misread your question. No specific new error, just thsame as before. -- Terry Coles --

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:41:16 GMT Terry Coles wrote: > Is there any penalty in getting several hundred kilobytes of Warnings > written to the console 24/7? OK. I've searched through /var/log/ and there doesn't seem to be any entries to any of the logs that were written the last time I

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Stephen Wolff
Hi terry, I think ipython is a distraction. How do you run your program? Is it with python app.py If so what do you get when you do python (To bring up python command line, it’ll say which version of python you’re running) > On 31 Dec 2021, at 11:51, Terry Coles wrote: > > On Friday,

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
Stephen, On Friday, 31 December 2021 12:29:40 GMT Stephen Wolff wrote: > I think ipython is a distraction. How do you run your program? Is it with > > python app.py No. I have: #!/usr/bin/env python3 as the first line in the program, the file is made executable and I launch it with:

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 10:07:02 GMT Hamish McIntyre-Bhatty wrote: > Sounds a bit complicated! Yes. I found it a bit impenetrable with multiple ways to fix the problem. > What error(s) did you get when trying to install zoneinfo? Also which > ways did you try (pip, setup.py install,

Re: [Dorset] I'm Having Trouble with apscheduler and pytz Under bullseye

2021-12-31 Thread Keith Edmunds
I read all the replies in this thread but didn't see what error you got when you tried to import zoneinfo. -- Great music, chat and even some wit. Join me every Friday evening at 8pm for Keith's Music Box: Follow: https://www.facebook.com/KMBEngland On Friday go to:

Re: [Dorset] Cannot Set the Volume Using amixer under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 17:03:07 GMT PeterMerchant wrote: > On my desktop (Kubuntu 20.04) > > Amixer gives: > > peterm@peterm-MBB-34204H:~$ amixer > Simple mixer control 'Master',0 >Capabilities: pvolume >Playback channels: Front Left - Front Right >Limits: Playback 0 - 31 >

[Dorset] Cannot Set the Volume Using amixer under bullseye

2021-12-31 Thread Terry Coles
I'm beginning to think that upgrading the music and bells Pis to bullseye might have been a bit premature. I cannot get amixer to work properly. The sound card is an Adafruit Speaker Bonnet. The code shown below worked under buster. Here is the configuration: pi@minster-bells:~ $ amixer

Re: [Dorset] Cannot Set the Volume Using amixer under bullseye

2021-12-31 Thread Patrick Wigmore
On Fri, 31 Dec 2021 16:21:34 +, Terry Coles wrote: > I need the volume to be controllable from my Python program, so I > set it once at the beginning when the program is launched, eg: > > amixer -c 0 set PCM 100 This looks like it should be a valid command, based on the configuration you

Re: [Dorset] Cannot Set the Volume Using amixer under bullseye

2021-12-31 Thread PeterMerchant
On 31/12/2021 16:21, Terry Coles wrote: I'm beginning to think that upgrading the music and bells Pis to bullseye might have been a bit premature. I cannot get amixer to work properly. The sound card is an Adafruit Speaker Bonnet. The code shown below worked under buster. Here is the

Re: [Dorset] Cannot Set the Volume Using amixer under bullseye

2021-12-31 Thread Terry Coles
On Friday, 31 December 2021 17:40:58 GMT Patrick Wigmore wrote: > This looks like it should be a valid command, based on the > configuration you listed and according to the amixer man page that's > in the Debian bullseye alsa-utils package. It was certainly valid when I originally wrote it about