Skip to content

Issue with mybinder #27

Closed
Closed

Description

@jan-janssen

At the moment it is not possible to execute the Aiida examples on mybinder, there seems to be an issue with the development versions.

03[/22/2025](https://hub.2i2c.mybinder.org/22/2025) 10:50:23 AM <98> aiida.scheduler.direct: [WARNING] Unrecognized job_state 'p' for job id Activating
03[/22/2025](https://hub.2i2c.mybinder.org/22/2025) 10:50:23 AM <98> aiida.engine.transports: [ERROR] Exception whilst using transport:
Traceback (most recent call last):
  File "[/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/engine/transports.py", line 106](https://hub.2i2c.mybinder.org/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/engine/transports.py#line=105), in request_transport
    yield transport_request.future
  File "[/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/engine/processes/calcjobs/manager.py", line 109](https://hub.2i2c.mybinder.org/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/engine/processes/calcjobs/manager.py#line=108), in _get_jobs_from_scheduler
    scheduler_response = scheduler.get_jobs(**kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/plugins/direct.py", line 269](https://hub.2i2c.mybinder.org/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/plugins/direct.py#line=268), in get_jobs
    job_stats = super().get_jobs(jobs=jobs, user=user, as_dict=as_dict)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/scheduler.py", line 361](https://hub.2i2c.mybinder.org/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/scheduler.py#line=360), in get_jobs
    joblist = self._parse_joblist_output(retval, stdout, stderr)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/plugins/direct.py", line 253](https://hub.2i2c.mybinder.org/srv/conda/envs/notebook/lib/python3.12/site-packages/aiida/schedulers/plugins/direct.py#line=252), in _parse_joblist_output
    this_job.wallclock_time_seconds = self._convert_time(job[3])

Activity

  1. jan-janssen commented on Mar 22, 2025

    @jan-janssen
    MemberAuthor

    @GeigerJ2 Do you have any idea what could cause the Unrecognized job_state 'p' for job id Activating error? I feel the other errors are related. For some strange reason the CI works fine while mybinder fails.

  2. jan-janssen commented on Apr 2, 2025

    @jan-janssen
    MemberAuthor

    It seems like this issue is resolved by #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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