Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P py_tools_ds
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Daniel Scheffler
  • py_tools_ds
  • Issues
  • #3

Closed
Open
Created Sep 25, 2017 by Daniel Scheffler@danschefOwner

TypeError: type() argument 1 must be str, not type

Traceback (most recent call last):
  File "/tmp/flink_plan504207454/plan.py", line 10, in <module>
    from gms.io.GMSPreprocessInputFormat import
GmsPreprocessInputFormat, SpillInputFormat
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/gms/io/GMSPreprocessInputFormat.py",
line 7, in <module>
    import gms_preprocessing.config as CFG
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/gms_preprocessing/__init__.py",
line 9, in <module>
    from . import algorithms
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/gms_preprocessing/algorithms/__init__.py",
line 10, in <module>
    from . import GEOPROCESSING
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/gms_preprocessing/algorithms/GEOPROCESSING.py",
line 54, in <module>
    from geoarray import GeoArray
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/geoarray/__init__.py",
line 7, in <module>
    from .baseclasses import GeoArray  # noqa: E402
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/geoarray/baseclasses.py",
line 27, in <module>
    from py_tools_ds.geo.coord_calc import get_corner_coordinates
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/py_tools_ds/geo/__init__.py",
line 2, in <module>
    from . import vector
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/py_tools_ds/geo/vector/__init__.py",
line 3, in <module>
    from . import geometry
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/py_tools_ds/geo/vector/geometry.py",
line 6, in <module>
    from .conversion import shapelyImPoly_to_shapelyMapPoly,
get_boxImXY_from_shapelyPoly, \
  File
"/home/hub-inf/python_GFZ/python/lib/python3.5/site-packages/py_tools_ds/geo/vector/conversion.py",
line 23, in <module>
    _T_polygon = TypeVar(Polygon)
  File "/home/hub-inf/python_GFZ/python/lib/python3.5/typing.py", line
406, in __new__
    self = super().__new__(cls, name, (Final,), {}, _root=True)
  File "/home/hub-inf/python_GFZ/python/lib/python3.5/typing.py", line
107, in __new__
    return super().__new__(cls, name, bases, namespace)
TypeError: type() argument 1 must be str, not type
Assignee
Assign to
Time tracking