Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having initialization issue #35

Open
kagnas opened this issue Feb 9, 2024 · 1 comment
Open

Having initialization issue #35

kagnas opened this issue Feb 9, 2024 · 1 comment

Comments

@kagnas
Copy link

kagnas commented Feb 9, 2024

Hello,

I have both Python 3.12 (64 bit) and Geosupport version 23d (64 bit) for Window on my computer. I have the FLs directory at C:\Program Files\Geosupport Desktop Edition\fls but I am getting the following error.

Original Code:

directory = r'C:\Program Files\Geosupport Desktop Edition\Fls'
from geosupport import Geosupport
g = Geosupport()
result = g.address(house_number=125, street_name='Worth St', borough_code='Mn')

Error

Traceback (most recent call last):
  File "C:\Users\kagnas\PycharmProjects\Geocoding\Geocoding Lesson 1\check.py", line 5, in <module>
    result = g.address(house_number=125, street_name='Worth St', borough_code='Mn')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\kagnas\PycharmProjects\Geocoding\Geocoding Lesson 1\venv\Lib\site-packages\geosupport\geosupport.py", line 117, in call
    raise GeosupportError(
geosupport.error.GeosupportError: ERROR ACCESSING GEOSUPPORT FILE: GRID1. NOTIFY SYSTEM SUPPORT ERROR ACCESSING GEOSUPPORT FILE: PAD. NOTIFY SYSTEM SUPPORT

I checked if the directory exists as well as GRID1 and PAD. Then, checked if it will initialize to the Geosupport library but I see that those two files are present in the directory, but the error persists attempting to initialize Geosupport. I was wondering if you please assist with this, thank you!

@ishiland
Copy link
Owner

which version of python-geosupport are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants