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

Constructor fails with value error #63

Open
pmallas opened this issue Jan 25, 2024 · 0 comments
Open

Constructor fails with value error #63

pmallas opened this issue Jan 25, 2024 · 0 comments

Comments

@pmallas
Copy link

pmallas commented Jan 25, 2024

---> 13 tz1 = tzwhere.tzwhere(forceTZ=True)

File ~\Miniconda3\envs\blah\Lib\site-packages\tzwhere\tzwhere.py:62, in tzwhere.init(self, forceTZ)
60 self.timezoneNamesToPolygons[tzname].append(poly)
61 for tzname, polys in self.timezoneNamesToPolygons.items():
---> 62 self.timezoneNamesToPolygons[tzname] = WRAP(polys)
64 if forceTZ:
65 self.unprepTimezoneNamesToPolygons[tzname] = WRAP(polys)

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (1, 2) + inhomogeneous part.

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

1 participant