galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.39k stars 1k forks source link

null / -1 HID? #12068

Closed hexylena closed 2 years ago

hexylena commented 3 years ago

Spotted today during a class.

image

2021-05-28_15-12

history id b798433517f2aa48 for the european admins.

mvdbeek commented 3 years ago

Did you get there by clicking on re-run on an element of a mapped over collection ? In this case it's all normal, we just don't have a HID for the dataset collection, since the dataset collection is not actually part of a history

hexylena commented 3 years ago

I don't think that's how the student got there, the only collections in their history are multiqc outputs.

hexylena commented 3 years ago

https://usegalaxy.eu/u/helena-rasche/h/imported-transcriptomics

hexylena commented 3 years ago

And another one, different student this time.

I also encountered the -1 in the galaxy history, see screenshot below. This happened on 3 out of 4 of the fastqc jobs that I queued on the trimmomatic datasets while trimmomatic was still running, maybe this has something to do with it?

image

I don't think collections were used there either.

bgruening commented 3 years ago

grafik

This here is inside a collection. I guess this is all on usegalaxy.EU? Which is wired since we are on 21.01 and have not changed much recently besides adding the latest commits.

gmauro commented 3 years ago

It happens again and we realized that here https://help.galaxyproject.org/t/qualimap-multi-sample-bamqc-does-not-load-in-center-panel/6272/12 Screenshot from 2021-07-01 16-29-46 and I found this in the log

Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]: galaxy.web.framework.decorators ERROR 2021-07-01 16:01:27,337 [pN:main.web.4,p:3852348,w:4,m:0,tN:uWSGIWorker4Core0] Uncaught exception in exposed API method:
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]: Traceback (most recent call last):
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/web/framework/decorators.py", line 312, in decorator
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     rval = func(self, trans, *args, **kwargs)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/webapps/galaxy/api/tools.py", line 129, in build
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     return tool.to_json(trans, kwd.get('inputs', kwd), history=history)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/__init__.py", line 2178, in to_json
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     self.populate_model(request_context, self.inputs, state_inputs, tool_model['inputs'])
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/__init__.py", line 2232, in populate_model
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     tool_dict = input.to_dict(request_context)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 716, in to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     cond_dict["cases"] = list(map(nested_to_dict, self.cases))
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 714, in nested_to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     return input.to_dict(trans)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 734, in to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     when_dict["inputs"] = list(map(input_to_dict, self.inputs.values()))
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 732, in input_to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     return input.to_dict(trans)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 144, in to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     repeat_dict["inputs"] = list(map(input_to_dict, self.inputs.values()))
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/grouping.py", line 142, in input_to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     return input.to_dict(trans)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:   File "lib/galaxy/tools/parameters/basic.py", line 2273, in to_dict
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]:     d['options']['hdca'] = sorted(d['options']['hdca'], key=lambda k: k['hid'], reverse=True)
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]: TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Jul 01 16:01:27 sn06.galaxyproject.eu uwsgi[1940451]: 109.192.195.200 - - [01/Jul/2021:16:01:27 +0200] "GET /api/tools/toolshed.g2.bx.psu.edu/repos/iuc/qualimap_multi_bamqc/qualimap_multi_bamqc/2.2.2c/build?version=2.2.2c&__identifer=vbxf0z6wog8&tool_version=2.2.2c HTTP/1.1" 500 - "https://usegalaxy.eu/?tool_id=toolshed.g2.bx.psu.edu%2Frepos%2Fiuc%2Fqualimap_multi_bamqc%2Fqualimap_multi_bamqc%2F2.2.2c&version=2.2.2c&__identifer=vbxf0z6wog8" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0"
mvdbeek commented 2 years ago

Have you seen any of this recently ? I think https://github.com/galaxyproject/galaxy/pull/12721 should have fixed this.