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?
Sometimes, once in a while (especially when my Sidekiq worker works in the background), I get the error below:
My code:
MusicBrainz::Artist.find(mbid)Stack trace:
Any idea what's wrong? Is this because my tasks run concurrent, or is the error somewhere else on my side?