TUDelft-CITG / OpenCLSim

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.
https://openclsim.readthedocs.io
MIT License
14 stars 17 forks source link

ShapelyDeprecationWarning #102

Open GerbenJdeBoer opened 2 years ago

GerbenJdeBoer commented 2 years ago
  /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.