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

ShapelyDeprecationWarning #102

Open
GerbenJdeBoer opened this issue Nov 12, 2021 · 0 comments
Open

ShapelyDeprecationWarning #102

GerbenJdeBoer opened this issue Nov 12, 2021 · 0 comments

Comments

@GerbenJdeBoer
Copy link
Contributor

  /OpenCLSim/openclsim/core/movable.py:72: ShapelyDeprecationWarning:
  
  The proxy geometries (through the 'asShape()', 'asPoint()' or 'PointAdapter()' constructors) are deprecated and will be removed in Shapely 2.0. Use the 'shape()' function or the standard 'Point()' constructor instead.
  
  /OpenCLSim/openclsim/core/movable.py:73: ShapelyDeprecationWarning:
  
  The proxy geometries (through the 'asShape()', 'asPoint()' or 'PointAdapter()' constructors) are deprecated and will be removed in Shapely 2.0. Use the 'shape()' function or the standard 'Point()' constructor instead.
  
  Exception ignored in: <function BaseGeometry.__del__ at 0x7f3b771d5280>
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/base.py", line 209, in __del__
      self._empty(val=None)
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/base.py", line 199, in _empty
      self._is_empty = True
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/proxy.py", line 44, in __setattr__
      object.__setattr__(self, name, value)
  AttributeError: can't set attribute
  Exception ignored in: <function BaseGeometry.__del__ at 0x7f3b771d5280>
  Traceback (most recent call last):
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/base.py", line 209, in __del__
      self._empty(val=None)
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/base.py", line 199, in _empty
      self._is_empty = True
    File "/usr/local/lib/python3.8/dist-packages/shapely/geometry/proxy.py", line 44, in __setattr__
      object.__setattr__(self, name, value)
  AttributeError: can't set attribute
  /OpenCLSim/openclsim/core/movable.py:57: ShapelyDeprecationWarning:
  
  The proxy geometries (through the 'asShape()', 'asPoint()' or 'PointAdapter()' constructors) are deprecated and will be removed in Shapely 2.0. Use the 'shape()' function or the standard 'Point()' constructor instead.
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