Skip to content

Upload from GemPy fails #1

@flohorovicic

Description

@flohorovicic

I am trying to reproduce the model upload from GemPy (to update the example in the GemPy documentation, which is outdated). I followed the example in the tests:

geo_model = gp.generate_example_model(ExampleModel.ANTICLINE, compute_model=True)

foo = le_api.upload_mesh_to_new_space(
    space_name="new_space_name",
    data=geo_model.solutions.raw_arrays.meshes_to_subsurface(),
    file_name="test2",
    token=api_token
    )

I am getting an error:

Error uploading files: too many values to unpack (expected 2)

I tried several other models (also the ExampleModel.GRABEN from the documentation), same output.

GemPy and LE-API should be on newest state:

  • GemPy: '2024.2.0.3.dev0+gf344a731.d20240626'
  • LE-API: Version: 2024.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions