Chromium import LDD not working
mestrini a commencé cette discussion dans Bug Reporting

As stated in the title I can't import an LDD format file using Chromium in Peppermint (debian linu😆 since the dialogue never shows up. Works fine in Firefox though.

EDIT:
Broswer specs: Version 53.0.2785.143 Built on Ubuntu , running on Peppermint 7 (64-bit)

11 réponses · Page 1 sur 1

If your browser console shows any errors, then it might help as well to find the issue.

Avatar de Scrubs
Administrateur

Hello,
After which step are you blocked in Chromium? Do you mean that the Import pop-up where you can select "Mecabricks" or "LDD" doesn't appear?
As Sim wrote, it would be easier if I could get what your browser console say.

Well, when clicking the "File" button nothing happens, neither visually nor in the log.

Yet, the log shows three three.js warning messages upon opening the Workshop: "THREE.WebGLProgram: gl.getProgramInfoLog() " (line 16531)

The code that 'fires' the warning messages should do it only when the variable 'programLog' isn't empty but it is empty and still fires???
<code>
else if ( programLog !== '' ) {
console.warn( 'THREE.WebGLProgram: gl.getProgramInfoLog()', programLog );
}
</code>

Avatar de Scrubs
Administrateur

Thank you for you post.
It is probably an issue with the upload library (plupload) that I used before. I started to get ride of it to replace it with lighter custom code but it is still in use for the LDD importer. Can you try to use the mosaic tool to see if you can upload an image? This one is based on my newer upload code.

I cannot really act on those warnings as this code is part of the three.js library and it looks like a webgl issue.
Anyway, you made me realise that I forgot to include the minified version of this file. I'll have to correct that 😉

"Anyway, you made me realise that I forgot to include the minified version of this file. I'll have to correct that"

Hehe, as a javascript programmer myself, my immediate thought was "why the full library script?" Since 40+K lines and 1,1MB is quite large for a single HTTP call I thought that maybe you altered it and the license required it to be uncompressed.

I'll check the mosaic tool (still to know what is it) to see if it works

Avatar de Scrubs
Administrateur

I made a major code update before going on holidays a couple of weeks ago and obviously I forgot this one in the production version 😛
It could have stayed here for a long time!

To activate the mosaic generator, click the icon with a brush and little squares in the left hand side tool bar in the workshop.

Good news, I think.
The mosaic file dialogue works nicely, i.e. pops-up the window as it should. Still, it can't import the .lxf file that way 😉

@Scrubs Don't know if you already fixed the issue but at work I'm using Chrome "Version 54.0.2840.71 m" in Windows 7 and the import LDD dialogue pops-up as expected

This sounds more like a chromium issue specific in the linux version. It's been working on Windows for quite a long time.

What you should test for Scrubs is that the mosaic imports correctly. It works similar as the lxf importer. So, if you can convert any image to a mosaic in Mecabricks, then the solution to this issue is to upgrade the lxf importer to use the same importer as the mosaic importer.

@Sim
The mosaic import and conversion of an image works fine. I guess it's like Scrubs said, an issue with the 'old ' upload library

Sorry for the bump but I came here to see if there was any fix. I can confirm that this is a Chromium Linux issue. And it still does not work.

Publicité
4 participants
Avatar de mestrini
Avatar de Scrubs
Avatar de Sim

LEGO, le logo LEGO, la minifigurine et les configurations des briques et tenons sont des marques déposées de LEGO Group of Companies. ©2024 The LEGO Group.

Mecabricks, le logo Mecabricks et tout le contenu non couvert par les droits d'auteur du groupe LEGO sont, sauf indication contraire, ©2011-2024 Mecabricks.