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

Sloth does not check against openable extension #1

Open
illwieckz opened this issue Apr 4, 2017 · 0 comments

Comments

@illwieckz
Copy link
Member

commented Apr 4, 2017

In this repository, there is a floor_grate3_trans_d.xcf alongside floor_grate3_trans_d.png and Sloth tries to load the xcf one.

Traceback (most recent call last):
  File "…/sloth.py", line 1101, in <module>
    sg.generateSet(path, setname = a.root, cutextension = a.strip)
  File "…/sloth.py", line 641, in generateSet
    self.__analyzeMaps(shader)
  File "…/sloth.py", line 399, in __analyzeMaps
    img = Image.open(shader["abspath"]+os.path.sep+shader["diffuse"]+shader["ext"]["diffuse"], "r")
  File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2317, in open
    % (filename if filename else fp))
OSError: cannot identify image file '…/tex-exm_src.dpkdir/textures/shared_exm_src/floor_grate3_trans_d.xcf'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.