konsumer / konsumer/hydro2sf2

IOError: [Errno 2] No such file or directory: '/tmp/tmpyLr_Ti_sf2/drumkit.xml'

Open
#1 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16
Forks
3
PR merge metrics
No merged PRs in 30d

Description

dude, i love your work.

however when i run
hydroToSf2 my.h2drumkit
i get the following error.

Traceback (most recent call last):
File "./hydro2sf2/hydroToSf2", line 243, in
main(sys.argv)
File "./hydro2sf2/hydroToSf2", line 238, in main
hydrogenToSf(drumkitDir,sf2,stereo,tempDir)
File "./hydro2sf2/hydroToSf2", line 128, in hydrogenToSf
hydroData = parseHydrogenDrumkit(path.join(drumkitDir,'drumkit.xml'))
File "./hydro2sf2/hydroToSf2", line 19, in parseHydrogenDrumkit
doc=xml.dom.minidom.parse(filename)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/tmp/tmpyLr_Ti_sf2/drumkit.xml'

is it my pythons issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hydro2sf2/hydroToSf2, especially hydrogenToSf and parseHydrogenDrumkit, then reproduce the reported hydroToSf2 my.h2drumkit command. Trace why the temporary path lacks drumkit.xml; done means the conversion completes without this IOError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
audio-video-rtc, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.