objmc icon indicating copy to clipboard operation
objmc copied to clipboard

Not working on MacOS

Open Theblackdragon5 opened this issue 1 year ago • 6 comments

Description The Start Button is not working on Mac

Reproduction I selected a Obj file to convert, but it shows an error

Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/init.py", line 1948, in call return self.func(*args) ^^^^^^^^^^^^^^^^ File "/Users/minecraft/Documents/objmc/objmc.py", line 700, in start objmc(objs, texs, output, scale, offset, duration, easing, interpolation, colorbehavior, autorotate, autoplay, flipuv, noshadow, nopow) File "/Users/minecraft/Documents/objmc/objmc.py", line 320, in objmc tex = Image.open(texs[0]) ^^^^^^^^^^^^^^^^^^^ File "/Users/minecraft/objmc/lib/python3.11/site-packages/PIL/Image.py", line 3277, in open fp = builtins.open(filename, "rb") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IsADirectoryError: [Errno 21] Is a directory: '/Users/minecraft/Documents/objmc'

Environment: macOS High Sierra v. 10.13.6

  • Game Version: 1.20.4
  • GPU / CPU: 2,8 GHz Quad-Core Intel Xeon

Theblackdragon5 avatar Apr 12 '24 20:04 Theblackdragon5

looks like you selected a folder instead of a file

Godlander avatar Apr 13 '24 21:04 Godlander

looks like you selected a folder instead of a file

But I did select an obj

Theblackdragon5 avatar Apr 15 '24 11:04 Theblackdragon5

looks like you selected a folder instead of a file

objmc

Theblackdragon5 avatar Apr 21 '24 17:04 Theblackdragon5

you have not selected a texture

Godlander avatar Apr 22 '24 17:04 Godlander

you have not selected a texture

Do I have to pick one? What if I don’t have a texture?

Theblackdragon5 avatar Apr 25 '24 12:04 Theblackdragon5

There is no default texture that the script can use, so yes, you have to provide a texture for the model

vadim-soude avatar Apr 25 '24 13:04 vadim-soude