question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong filename in output due to name conflict

See original GitHub issue

As discussed on Gitter with Michael Crusoe.

I have an issue with some output files having a wrong name, which only occurs on some machines. One of the outputs has a trailing _2 in its filename. I traced it down to filename conflict resolution in toil/cwl/cwltoil.py around line 860. However, I have no clue what triggers this name conflict, and I also don’t understand why this results in my output files being renamed to something unexpected. I’m using Toil 5.6.0 and cwltool 3.1.20211107152837.

Attached is an example of the generated output JSON file. According to MC the problem is in lines 972 & 1969. There’s a false positive for a name conflict. Yes, the files have the same name, but they are in different directories predict.json.gz .

┆Issue is synchronized with this Jira Story ┆friendlyId: TOIL-1170

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
gmloosecommented, Jun 14, 2022

I created a PR. I’m not sure how to write a test that properly tests this fix, because I haven’t been able to create a small example.

0reactions
mr-ccommented, Jun 20, 2022

Fixed in #4139

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error message reporting file name collision is misleading #516
I have a similar problem with CAW, but in our case, the problem with the two or more input files with the same...
Read more >
Conflict: Multiple assets emit to the same filename
I had the same problem, I found it was setting a static output file name that was causing my problem, in the output...
Read more >
Re: 3dBucket error: output dataset name 'filename" conflicts with ...
Hello, new user here and struggling with what probably is a basic error. Running the preprocessing I get this error and have searched...
Read more >
Name Conflict Warning - MATLAB Answers - MathWorks
When starting matlab R2010b, I see warning messages, one of which is shown as follows. I have many of this kind of messages...
Read more >
game maker - Output save file name conflict - Game Development ...
Do you get a particular error message when trying to load these save files? Is it possibly related to escaping the space character?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found