Skip to content

AttributeError: 'NoneType' object has no attribute 'element_identifier' #18012

@bgruening

Description

@bgruening

Found this in our logs, on 24.0.

Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254906]: uvicorn.access INFO 2024-04-17 17:02:24,752 [pN:main.4,p:2379960,tN:MainThread] 138.51.65.224:0 - "GET /api/notifications/status?since=2024-04-17T15%3A02%3A19.366 HTTP/1.0" 200
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]: galaxy.web.framework.decorators ERROR 2024-04-17 17:02:24,754 [pN:main.4,p:2379949,tN:WSGI_1] Uncaught exception in exposed API method:
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]: Traceback (most recent call last):
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/web/framework/decorators.py", line 346, in decorator
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     rval = func(self, trans, *args, **kwargs)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/webapps/galaxy/api/tools.py", line 593, in create
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     return self.service._create(trans, payload, **kwd)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/webapps/galaxy/services/tools.py", line 171, in _create
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     vars = tool.handle_input(
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:            ^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/tools/__init__.py", line 1885, in handle_input
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     all_params, all_errors, rerun_remap_job_id, collection_info = self.expand_incoming(
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:                                                                   ^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/tools/__init__.py", line 1809, in expand_incoming
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     expanded_incomings, collection_info = expand_meta_parameters(trans, self, incoming)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/tools/parameters/meta.py", line 220, in expand_meta_parameters
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     expanded_incomings = permutations.expand_multi_inputs(incoming_template, classifier)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/util/permutations.py", line 36, in expand_multi_inputs
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     single_inputs, matched_multi_inputs, multiplied_multi_inputs = __split_inputs(inputs, classifier, key_filter)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/util/permutations.py", line 53, in __split_inputs
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     input_type, expanded_val = classifier(input_key)
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:                                ^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/tools/parameters/meta.py", line 204, in classifier
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     values = __expand_collection_parameter(
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:   File "/opt/galaxy/server/lib/galaxy/tools/parameters/meta.py", line 253, in __expand_collection_parameter
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     hda.element_identifier = element.element_identifier
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]:     ^^^^^^^^^^^^^^^^^^^^^^
Apr 17 17:02:24 sn06.galaxyproject.eu gunicorn[2254901]: AttributeError: 'NoneType' object has no attribute 'element_identifier'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions