GithubHelp home page GithubHelp logo

Comments (7)

semuadmin avatar semuadmin commented on June 27, 2024

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.

jxl77 avatar jxl77 commented on June 27, 2024

from pygpsclient.

semuadmin avatar semuadmin commented on June 27, 2024

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.

  1. How did you install Python 3.10 on your platform? Was it from the official Python.org download?
  2. 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.

  1. 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.

semuadmin avatar semuadmin commented on June 27, 2024

Hi @jxl77 Are you able to provide any further diagnostics on this, as per previous response?

from pygpsclient.

jxl77 avatar jxl77 commented on June 27, 2024

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.

semuadmin avatar semuadmin commented on June 27, 2024

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.

jxl77 avatar jxl77 commented on June 27, 2024

yes, we can close it

from pygpsclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.