Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

File cache error while FileUtils.mkdir_p #28

Open
jtomaszewski opened this issue Apr 22, 2014 · 0 comments
Open

File cache error while FileUtils.mkdir_p #28

jtomaszewski opened this issue Apr 22, 2014 · 0 comments

Comments

@jtomaszewski
Copy link

Sometimes, once in a while (especially when my Sidekiq worker works in the background), I get the error below:

Errno::ENOENT: Errno::ENOENT: No such file or directory @ dir_s_mkdir - tmp

My code: MusicBrainz::Artist.find(mbid)
Stack trace:

39: File "[GEM_ROOT]/gems/musicbrainz-0.7.6/lib/musicbrainz/models/artist.rb" line 21 in find
40: File "[GEM_ROOT]/gems/musicbrainz-0.7.6/lib/musicbrainz/client.rb" line 19 in load
41: File "[GEM_ROOT]/gems/musicbrainz-0.7.6/lib/musicbrainz/client_modules/caching_proxy.rb" line 29 in get_contents
42: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 208 in mkdir_p
43: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 208 in each
44: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 222 in block in mkdir_p
45: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 222 in reverse_each
46: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 224 in block (2 levels) in mkdir_p
47: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 250 in fu_mkdir
48: File "/opt/rbenv/versions/2.1.1/lib/ruby/2.1.0/fileutils.rb" line 250 in mkdir

Any idea what's wrong? Is this because my tasks run concurrent, or is the error somewhere else on my side?

@jtomaszewski jtomaszewski changed the title Cache error File cache error while FileUtils.mkdir_p Apr 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant