Closed florianduclot closed 2 years ago
Super helpful @florianduclot :) In the past, i've found that the PIL package required the png to be capitalized on mac or linux, even though the true file extension isn't actually capitalized... what I'll do is insert an exception, and hope that it covers it, e.g.
if (currentPlatform == 'Linux') or (currentPlatform == 'Darwin'):
try:
self.image = PIL.Image.open(os.path.join(scriptdir, "splash_050122.PNG"))
except FileNotFoundError:
self.image = PIL.Image.open(os.path.join(scriptdir, "splash_050122.png"))
Sounds good! Thanks a lot for yet another very prompt answer!
Describe the bug In a conda environment under Linux, starting
simba
fails with the following:To Reproduce Steps to reproduce the behavior: Install simba in a conda env:
Expected behavior Simba starts successfully.
Desktop (please complete the following information):
I indeed do not see the requested file in the installed simba package, but I do see that the file is present with the png extension in lower case. Changing this to lower case in
simBA.py
indeed seems to fix the issue and allow simba to start successfully. See below:Of course, the distinction between platforms there seems redundant if the filename is now the same... Hope this helps,