When trying rust2rpm in an openSUSE Tumbleweed container, it crashed trying to create the cache directory.
rust2rpm
Traceback:
ngompa@opensuse-tumbleweed-x86_64:~/foo> rust2rpm -p pbr Traceback (most recent call last): File "/usr/bin/rust2rpm", line 11, in <module> load_entry_point('rust2rpm==5', 'console_scripts', 'rust2rpm')() File "/usr/lib/python3.6/site-packages/rust2rpm/__main__.py", line 109, in main os.mkdir(CACHEDIR) FileNotFoundError: [Errno 2] No such file or directory: '/home/ngompa/.cache/rust2rpm'
This happened because ~/.cache didn't exist yet. When I create ~/.cache, it works perfectly.
~/.cache
Commit 2c1e19f fixes this issue
Metadata Update from @ignatenkobrain: - Issue set to the milestone: 6
Metadata Update from @ignatenkobrain: - Issue assigned to ngompa
Log in to comment on this ticket.