Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Intermittent problem with jbrowse text-index #2354

Closed
bbimber opened this issue Sep 23, 2021 · 6 comments · Fixed by #2451
Closed

Intermittent problem with jbrowse text-index #2354

bbimber opened this issue Sep 23, 2021 · 6 comments · Fixed by #2451
Labels
bug Something isn't working

Comments

@bbimber
Copy link
Contributor

bbimber commented Sep 23, 2021

I have seen this intermittent problem locally (windows), and also in our TeamCity CI (linux and windows). I'm running a command like this:

/mnt/teamcity/work/5f343dad1177482/build/deploy/modules/jbrowse/external/jb-cli/cli-linux text-index --force --quiet --attributes Name,ID,gene_id,gene_name --file /mnt/teamcity/work/5f343dad1177482/build/deploy/files/JBrowseVerifyProject/@files/.jbrowse/resources/AB340AE2-FEC4-1039-9671-ADD9DBB5A1C0/AB340AE2-FEC4-1039-9671-ADD9DBB5A1C0fakeData.gff.gz

The error that happens is something like:

Error: ENOENT: no such file or directory, open
'/mnt/teamcity/temp/buildTmp/jbrowse-trix-sort-33244-1Oin84LV9tq0/0.tmp'
Code: ENOENT

It doesnt fail 100% of the time, but this isnt especially rare. Have you seen anything like this?

@bbimber bbimber added the bug Something isn't working label Sep 23, 2021
@cmdcolin
Copy link
Collaborator

have not seen that before...
can you run this with

DEBUG=*

as an environment variable?
on my machine that looks like

DEBUG=* jbrowse text-index ...

@cmdcolin
Copy link
Collaborator

also when you say windows is this Windows Subsystem for Linux or actual windows version of node?

@bbimber
Copy link
Contributor Author

bbimber commented Sep 24, 2021

windows version. it's definitely intermittent, but it has happened on both OS

@cmdcolin
Copy link
Collaborator

cmdcolin commented Sep 24, 2021

i ran a script to repeat indexing the file 100s of times on some of our test data files, large and small but didn't yet see this

set -o errexit
for i in {1..1000}; do echo $i; jbrowse text-index --file volvox.sort.gff3.gz --quiet; done;

ran it on a larger file too

if you have any info on node version, data file, or debug info it may be useful

@bbimber
Copy link
Contributor Author

bbimber commented Sep 24, 2021

i'll add the debug flag and see what happens

@cmdcolin
Copy link
Collaborator

thanks again for creating this bug, it should be fixed on main now

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants