Comments (5)
Hi @japs386
Sorry but I’m unclear where exactly you’re seeing this error. The pygnssutils library doesn’t use Pillow and as far as I’m aware PyGPSClient no longer uses the ANTIALIAS flag. Can you clarify which version of PyGPSClient you’re seeing this in and provide the FULL error traceback please. Thanks
from pygpsclient.
PyGPSClient: 1.3.25
[japs@japspc ~]$ pygpsclient
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib64/python3.9/tkinter/init.py", line 1892, in call
return self.func(*args)
File "/usr/local/lib/python3.9/site-packages/pygpsclient/app.py", line 556, in on_gnss_read
self.process_data(raw_data, parsed_data)
File "/usr/local/lib/python3.9/site-packages/pygpsclient/app.py", line 669, in process_data
frm.update_frame()
File "/usr/local/lib/python3.9/site-packages/pygpsclient/map_frame.py", line 108, in update_frame
self._draw_static_map(lat, lon)
File "/usr/local/lib/python3.9/site-packages/pygpsclient/map_frame.py", line 128, in _draw_static_map
Image.open(IMG_WORLD).resize((w, h), Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
from pygpsclient.
You’re using a very old version - the issue you’re referring to was addressed back in 1.3.28. I strongly recommend upgrading to the latest version 1.4.8.
python3 -m pip install —upgrade pygpsclient
If you’re able, I also recommend installing Python 3.12, which offers some worthwhile performance improvements.
from pygpsclient.
I just did a few minutes ago, but pygpsclient/map_frame.py still contains
Image.open(IMG_WORLD).resize((w, h)) # , Image.ANTIALIAS)
It may give rise to some confusion. Anyway problem solved.
from pygpsclient.
Not sure why a comment would cause confusion, but happy to remove it in next release.
Assuming you’ve upgraded, are you happy to close the issue?
from pygpsclient.
Related Issues (20)
- Pygpsclient crashes when "save configuration" on macos HOT 7
- Why the advanced configuratinos are hidden for socket server mode? HOT 3
- I'm getting a KeyError: 'serial_settings' from stream_handler.py when trying to use a socket as gnss source. Approx line 124 but I may have added some debug prints.
- KeyError: 'inactivity_timeout' when trying to use l-band spartn corrections:
- Support Ublox NTRIP Client (No MQTT) SPARTN format HOT 3
- Accuracy Estimate Reporting HOT 4
- SPARTN GNSS config - setting both key1 (CURRENT) and key2 (NEXT) to same value
- Aborts on macOS 13.2.1 with couldn't recognize data in image file iconmonstr-location-27-32.png HOT 5
- Saving L-band config into D9S HOT 4
- socket.timeout: timed out HOT 5
- KeyError on private RTCM3 messages HOT 3
- UI text unreadable in MacOS with Dark theme HOT 3
- Unable to start the Tk on Mac m1 HOT 2
- ValueError if pygpsclient starts without default configuration file
- Ublox Config Dialog with TCP Socket HOT 5
- Raspberry Pi 32-bit HOT 10
- incomplete configuration saving and loading HOT 4
- MacOSX 11.7.9 no idea what's wrong HOT 19
- vdop not populated for NMEA messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygpsclient.