redpenguinyt/display3d

Open file failed

daxisunder opened this issue · 7 comments

Open file failed

Sorry, closed by accident. So, it outputs what I said earlier when testing the demo file. Installed with cargo, then compiled from source, the same issue. Now it's this weird bug.
Screenshot_2024-02-18-15-52-04_11090

I tried reinstalling rust and cargo, compiling again and rebooting, the same thing happens.
Screenshot_2024-02-18-16-02-25_26953

it looks like your terminal's executing cd -- display3d blahaj.obj -t 0,0,5.5. This would attempt to cd into a folder named display3d with a bunch of additional arguments, which cd isnt liking. You'll need to run display3d without the cd -- part

Also make sure that blahaj.obj is pointing to the actual blahaj's file path (in your case it'll be /home/daxis/display3d/resources/blahaj.obj if you've cloned the entire repo)

it looks like your terminal's executing cd -- display3d blahaj.obj -t 0,0,5.5. This would attempt to cd into a folder named display3d with a bunch of additional arguments, which cd isnt liking. You'll need to run display3d without the cd -- part

I understand what it's doing, I don't understand WHY it's doing that. As you can see in the screenshot, I didn't run cd, only the commands copied from your instructions. I tried deleting everything and compiling again, it's doing the same thing. Also, none of the other programs is doing that.

Also make sure that blahaj.obj is pointing to the actual blahaj's file path (in your case it'll be /home/daxis/display3d/resources/blahaj.obj if you've cloned the entire repo)

I cloned the entire repo and checked multiple times, everything is where it should be.

do you have any aliases that could be messing with the command actually being sent to the shell?

I'm using Zoxide but other than that, no.

have you tried running the command with Zoxide disabled/uninstalled?