Release 2024.8.0

10 views
Skip to first unread message

Jim Easterbrook

unread,
Aug 20, 2024, 8:36:36 AM8/20/24
to pho...@googlegroups.com
Friends,

I've just released version 2024.8.0 of Photini.

The main change is a new map tab using Microsoft "Azure Maps". MS have
announced that Bing Maps will be withdrawn in June 2025 and Azure maps
is its replacement. I've also improved the other map tabs.

As always, please let me know if you find any problems.

--
Jim Easterbrook <http://www.jim-easterbrook.me.uk/>

Jim Easterbrook

unread,
Aug 22, 2024, 10:38:14 AM8/22/24
to pho...@googlegroups.com
On 20/08/2024 13:36, Jim Easterbrook wrote:
> Friends,
>
> I've just released version 2024.8.0 of Photini.

Newly released version 2024.8.1 reverts to the old Mapbox map on
computers where WebGL is not available, or is not compatible with the
latest Mapbox software.

Note that the new Azure map tab also fails on machines without WebGL,
but doesn't have an alternative.

Heikki Jussila

unread,
Aug 26, 2024, 4:49:30 AM8/26/24
to pho...@googlegroups.com
My Windows 11 setup (latest August updates) shows an error - log file attached, when  I try to use the outdoor or street map layout, but works when using satellite view. 

Azure Map works ok. so I guess webGL is working OK. 

Attached also two screenshots (satellite view with no errors) and (outdoor / Street with the error window).

Regards,
Heikki

--
Heikki Jussila
via Matteotti 6 int. 8
56124 Pisa (PI)
ITALIA
--


--
You received this message because you are subscribed to the Google Groups "photini" group.
To unsubscribe from this group and stop receiving emails from it, send an email to photini+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/photini/44bb5df1-51bf-4880-af5b-b463ecc7456a%40jim-easterbrook.me.uk.
photini_log_map_box.txt
Screenshot 2024-08-26 103700.png
Screenshot 2024-08-26 103530.png

Jim Easterbrook

unread,
Aug 26, 2024, 5:29:25 AM8/26/24
to pho...@googlegroups.com
On 26/08/2024 09:49, Heikki Jussila wrote:
> My Windows 11 setup (latest August updates) shows an error - log file
> attached, when  I try to use the outdoor or street map layout, but works
> when using satellite view.

I think this is because Windows doesn't use ISO names for locales. The
satellite view isn't labelled, so the language parameter is ignored. On
the others the language is invalid so you get an HTTP 400 error. (I
didn't catch this error in my testing as my Windows VM has WebGL disabled.)

Quick test: in a command window do

python3 -c "import locale; print(locale.getlocale())"

On Linux this gives me ('en_GB', 'UTF-8'). On my Windows 7 VM I get
('English_United Kingdom', '1252').

I'd better do a new release!

Jim Easterbrook

unread,
Aug 26, 2024, 5:50:04 AM8/26/24
to pho...@googlegroups.com
On 26/08/2024 10:29, Jim Easterbrook wrote:
>
> Quick test: in a command window do
>
>     python3 -c "import locale; print(locale.getlocale())"
>
> On Linux this gives me ('en_GB', 'UTF-8'). On my Windows 7 VM I get
> ('English_United Kingdom', '1252').

The Python documentation says 'locale.getlocale' and
'locale.getdefaultlocale' both return RFC 1766 language codes. (Not ISO
as I previously said.) On my Windows 7 VM I only get a valid language
code from 'getdefaultlocale'. In Python 3.11 onwards 'getdefaultlocale'
is deprecated.

See https://github.com/python/cpython/issues/82986 for more gory details.

Jim Easterbrook

unread,
Aug 26, 2024, 6:49:04 AM8/26/24
to pho...@googlegroups.com
On 20/08/2024 13:36, Jim Easterbrook wrote:
> Friends,
>
> I've just released version 2024.8.0 of Photini.

Newly released version 2024.8.2 should (I hope) fix problems on Windows
with localisation of maps.
Reply all
Reply to author
Forward
0 new messages