meshmixerforum.com

Support => Bug Reports => Topic started by: Ageir on February 01, 2018, 06:29:21 AM

Title: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 06:29:21 AM
I get red blocks instead of the 3d objects in the meshmix menues. See attached photo.
This is most likely caused by my Windows (10) username. Göran.
This does not happen if I create a new user in Windows containing only letters A-Z. And installing meshmixer for that user.

The files do exist in the right path, meshmixer just can't find them.
If I copy the path by right clicking and pasting it into explorer I get this pathname for example:
C:/Users/Göran/Documents/meshmixer/libraries/parts/default/Primitives/1397485646_00001_torus.obj
The file exists and opens up just fine in the Win10 3d viewer.

I tested latest stable, and beta and the error occurs in both.

Hope this can be resolved in the next version  :D
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: MagWeb on February 01, 2018, 07:20:31 AM
Not sure if this is some special-char-on path issue.

A MESHMIX part needs a bundle of files in the same libraries directory to be displayed and work properly:
- a .obj
- a .png (the preview image shown in MESHMIX)
- a .prt (a text file where the parts settings are stored)

the bundle is named like this:
- "Something.obj"
- "Something.obj.png"
- "Something.obj.prt"
where "Something" is some number generated automatically creating a part. (This name isn't important but has to be the same for all 3 files)

If the image is missing MM replaces the missing preview with an overall red image.

Please check your libraries folders if there are 3 files for each part.
Also: please check if you can drag&drop such a part also if it shows up red (should work if only the image is missing)
If the .prt is missing too MM crashes (at least here)
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 08:02:11 AM
All three files are there. I can open the png files without a problem.
I can drag & drop the object to the workspace and it shows up there.
When dragging it shows the red block.
It has to be some internal error with file location for the png files.

I tried reinstalling it several times. Both stable and beta. And I removed the meshmixer directory from the Documents folder before installing again.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 08:32:39 AM
I tried creating new users once again.

I created a user with the name Åsa-Nisse. Installed meshmixer. Red boxes are there.
I created a user with the name Lasse-Maja. Installed meshmixer. No red boxes. It's working as it should.

Only difference I made was the username.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: MagWeb on February 01, 2018, 09:32:19 AM
You could try this:
Move the whole meshmixer folder to some different location (e.g. to your desktop or maybe at the top-level of C:)
Now starting MM there should pop up some dialog saying that there's something wrong with your meshmixer folder.
Use Redirect and browse to the new location. With the meshmixer directory selected confirm with Open.
Does that fix your issue?
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 01:24:40 PM
That worked! Thanks!

Shouldn't have to do it this way though.
Hope Autodesk finds a solution to this issue.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: MagWeb on February 01, 2018, 02:01:22 PM
Fine!

Now for I'm curious and to track down this issue:
Where did you move the meshmixer directory to? To desktop or to C ?
If you move the folder back to documents and redirect MM to this location once again: Does it work or fail once again?

Of course this should be fixed.
It would be great to report this issue using the bug report online form here:
http://download.autodesk.com/us/support/report_a_bug.html?SelProduct=Meshmixer (http://download.autodesk.com/us/support/report_a_bug.html?SelProduct=Meshmixer)
This way this issue is logged to the developers todo list.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 02:11:07 PM
I moved it to C:\

Tried moving it back to the documents folder. Not working again.
Moved it to the desktop, Not working.
Finally moved it back to C:\ And it's working again. :)
So I'm pretty sure it's a problem with the pathname.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: MagWeb on February 01, 2018, 02:16:30 PM
Agree now.

Wondering why only the preview images are that special char sensitive - no clue.
Definitely something for the coders...
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: Ageir on February 01, 2018, 02:21:42 PM
Yeah, I filed a bug report. Hopefully they can fix it in the next version.
Title: Re: Red blocks in meshmix when username is not using A-Z letters
Post by: MagWeb on February 01, 2018, 02:35:11 PM
Just a general (not at all MM related) note about special chars in paths:

As a beta tester of another program I could find a critical issue where ALL files within "documents" were deleted if there was a Space in the accounts name. Since that I avoid any spaces or special chars naming files or directories. Very rare case of course, but safety first...