Comments (7)
Hi @jxl77,
Sorry you're having difficulties. The 'Save Configuration' facility has been tested on a variety of Apple MacOS devices - both Intel and Apple Silicon - and I've not come across this issue before. I'm unable to reproduce the error on my own 2021 Macbook Pro (Apple M1 Max) running MacOS Sonama 14.2.1 and using versions of Python from 3.8 to 3.12.
When you say PyGPSClient 'crashes', is there a Python error traceback available at the terminal? Unfortunately the detailed configuration data doesn't really help me much.
Are you able to use any other function which involves a “write to disk” operation e.g. data logging or GPX track recording? If not, it may be a local Python write permissions issue.
Are you running PyGPSClient in a virtual environment or VM?
Where are you trying to save the configuration to?
Other than this error, does PyGPSClient run normally?
I note you're running MacOS 12 (Monterey) - do I take it your machine doesn't support later versions? I also note you're using one or two external monitors - does the issue still occur if you disconnect those monitors and just use the Macbook's native screen?
from pygpsclient.
from pygpsclient.
Your OS error report includes:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
This indicates an attempt to access unmapped memory. This may indicate a corrupt Python installation on your platform, though I'm at a loss to explain why this would only manifest itself during a Python write()
operation.
- How did you install Python 3.10 on your platform? Was it from the official Python.org download?
- Could you try running the following code snippet and let me know the response:
import tkinter
tcl = tkinter.Tcl()
print(f'tkinter version is {tcl.call("info", "patchlevel")}')
You should see something like this:
tkinter version is 8.6.13
If the reported tkinter version is less than 8.6.n, you'll need to reinstall Python from the official Python.org repository. PyGPSClient is only compatible with tkinter >= 8.6.
- You could also try running the following code snippet to establish if there is a general issue with Python file write permissions:
import os
fname = "testfile.txt"
with open(fname, "w", encoding="utf-8") as outfile:
print(f"file {fname} created OK")
outfile.write("this is a test")
print(f"file {fname} written OK")
os.remove(fname)
print(f"file {fname} deleted OK")
from pygpsclient.
Hi @jxl77 Are you able to provide any further diagnostics on this, as per previous response?
from pygpsclient.
Thanks for your concern.
Since my first trys, I have decided to upgrade my system to the latest Somona.
I have also cleaned my python installation (there were 4 versions installed by different manners)
Pygpsclient is now working properly.
The bad thing is that I can no longer reproduce the bug which could have originated from various sources.
Thanks for your efforts.
from pygpsclient.
Thanks for your concern.
Since my first trys, I have decided to upgrade my system to the latest Somona. I have also cleaned my python installation (there were 4 versions installed by different manners) Pygpsclient is now working properly.
The bad thing is that I can no longer reproduce the bug which could have originated from various sources.
Thanks for your efforts.
OK glad it's sorted. Are you happy to close the issue now?
from pygpsclient.
yes, we can close it
from pygpsclient.
Related Issues (20)
- PIL.Image has no attribute ANTIALIAS HOT 5
- 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.