bad lexical cast on export from blender

Use this forum for general user support and related questions.
User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: bad lexical cast on export from blender

Post by Dade » Fri May 11, 2018 9:47 am

nocivo wrote:
Fri May 11, 2018 1:46 am
no ",". The output is the same of your. But the cornell scene is the only scene that start without error.
Have cloned the https://github.com/LuxCoreRender/LuxCore repository and other scenes do not work ? If you try:

Code: Select all

luxcoreui scenes/luxball/luxball.cfg
Does it work ?
Support LuxCoreRender project with salts and bounties

nocivo
Posts: 13
Joined: Sun Jan 28, 2018 5:33 am
Location: Japan
Contact:

Re: bad lexical cast on export from blender

Post by nocivo » Sat May 12, 2018 3:09 am

Hi Dade,
the scenes on github work well. The scenes exported using my blender installation, don't work.

Now I will try to reinstall blender using a clean installation. I will try also on windows to see if there is the same issue.
On linux, only me have this issue?

Thanks for your support

User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: bad lexical cast on export from blender

Post by Dade » Sat May 12, 2018 11:43 am

nocivo wrote:
Sat May 12, 2018 3:09 am
Now I will try to reinstall blender using a clean installation. I will try also on windows to see if there is the same issue.
On linux, only me have this issue?
There have been a couple of issues reported by Russian users (i.e. a radically different locale settings from western locales) and Linux but they ended to be related to some specific setting of their system, for instance, try to check this post and the solution described there: viewtopic.php?f=4&t=223&p=2854&hilit=locale#p2894

I have the feeling there is a problem with radically different locales like Russian and Japanese but we have not yet found the "smoking gun" proof (and solution).

As you have seen, LuxCore alone works fine, there may be some setting affecting LuxCore when running inside Blender.
Support LuxCoreRender project with salts and bounties

nocivo
Posts: 13
Joined: Sun Jan 28, 2018 5:33 am
Location: Japan
Contact:

Re: bad lexical cast on export from blender

Post by nocivo » Mon May 14, 2018 6:31 am

thanks Dade,
I solved by un-selecting the international fonts in blender, remove luxcore addon, restart blender and install again luxcore addon.
Before, I used the international fonts options with language setting on english, but I have activated it to read materials and objects name writed in other language like japanese. Now, with international fonts option disabled, I cannot read object and material name wrote with character different from Latin. If you will solve this it's better, but I don't know if it is a luxcore or blender bug.

thanks

User avatar
Dade
Developer
Posts: 1338
Joined: Mon Dec 04, 2017 8:36 pm

Re: bad lexical cast on export from blender

Post by Dade » Mon May 14, 2018 8:54 am

nocivo wrote:
Mon May 14, 2018 6:31 am
I solved by un-selecting the international fonts in blender, remove luxcore addon, restart blender and install again luxcore addon.
Before, I used the international fonts options with language setting on english, but I have activated it to read materials and objects name writed in other language like japanese. Now, with international fonts option disabled, I cannot read object and material name wrote with character different from Latin. If you will solve this it's better, but I don't know if it is a luxcore or blender bug.
The source of the problem is how locale is handled by C/C++ in general: it is a global setting so a change in Blender will affect LuxCore too. The reverse it also true: so I can not change the setting inside LuxCore or it would affect and break Blender.

It is also a problem hard to investigate for me because I'm from western country without a non-latin locale (i.e. Russian, Japanese, Chinese, etc.). I'm afraid will leave it as a known bug until someone pop up with a solution.
Support LuxCoreRender project with salts and bounties

Post Reply