pwmarcz / autotable

An online mahjong table
https://pwmarcz.pl/autotable/about.html
Other
71 stars 22 forks source link

File format is not support in blender by make build #32

Closed sunnytse0326 closed 1 year ago

sunnytse0326 commented 1 year ago

When I try to make build with the command of "blender img/models.blend --background --python export.py -- img/models.auto.glb", I face the following issue:

File format is not supported in file '/Users/sunnytse0326/Desktop/autotable/img/models.blend'.

May I ask how can it be solved?

riichinomics commented 1 year ago

It's probably a blender version problem.

On Wed, 24 May 2023, 12:39 am Sunny Tse, @.***> wrote:

When I try to make build with the command of "blender img/models.blend --background --python export.py -- img/models.auto.glb", I face the following issue:

File format is not supported in file '/Users/sunnytse0326/Desktop/autotable/img/models.blend'.

May I ask how can it be solved?

— Reply to this email directly, view it on GitHub https://github.com/pwmarcz/autotable/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP2F5RPD2IF7EUKGCZH6QIDXHTK2FANCNFSM6AAAAAAYMCXEMM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sunnytse0326 commented 1 year ago

I am using the latest version 3.5, and I tried to install the older version from 2.79 - 2.93, which is also not working. Btw, I am using mac.

pwmarcz commented 1 year ago

Hi. The models.blend file is stored in Git LFS. Is it possible that you don't have Git LFS installed, and the actual file did not download?

(If Git LFS doesn't work, you should see a small text file instead of the 759 KB binary file.)

sunnytse0326 commented 1 year ago

Hi, I installed the Git LFS by using homebrew, and now the version is 3.3.0. After that, I removed all the files and pulled it again. It also shows the error.

Screenshot 2023-05-24 at 12 48 22 AM
pwmarcz commented 1 year ago

Hi, just to make sure:

sunnytse0326 commented 1 year ago

Hi, it works now after I tried git lfs install. Thanks for the help! Much appreciated!