Skip to main content
Solved

Error when converting .osgb to .obj


I'm using a trial-version FME Desktop on macOS 10.14.I try to convert files in .osgb type to .obj type. Actually, the files in .osgb can be successfully read by Acute3D Viewer. But when I run the Reader, FME shows that 'OSG reader: An unknown exception occurred'.(The log text is recorded in .)

I haven't used FME before, so I wonder if I chose some parameters wrongly. The workspace is generated as follow.

I'm looking forward to anyone who has a solution or just some ideas about this.

Best answer by geosander

Hi @zsliu,

Could you please try reading just 1 single OSGB file? Simply start a new empty workspace (do not use the "Generate Workspace" option) and add an OSGB Reader yourself. Select a single file (not a whole folder) and start the translation. Do you get the same error again?

If you do, you should definitely submit a support case and attach one of the problematic OSGB files, so Safe support can have a look at it and hopefully fix this issue. This does sound like a bug.

Since you seem to be Chinese, I was just wondering: are there any named objects in your OSGB file that include Chinese characters? If you have the ability to edit the files, you could try and rename them using only ASCII characters, to test if FME can read them like that. Who knows, there might be an encoding issue or something...?

Good luck!

View original
Did this help you find an answer to your question?

2 replies

geosander
Forum|alt.badge.img+7
  • Best Answer
  • October 16, 2018

Hi @zsliu,

Could you please try reading just 1 single OSGB file? Simply start a new empty workspace (do not use the "Generate Workspace" option) and add an OSGB Reader yourself. Select a single file (not a whole folder) and start the translation. Do you get the same error again?

If you do, you should definitely submit a support case and attach one of the problematic OSGB files, so Safe support can have a look at it and hopefully fix this issue. This does sound like a bug.

Since you seem to be Chinese, I was just wondering: are there any named objects in your OSGB file that include Chinese characters? If you have the ability to edit the files, you could try and rename them using only ASCII characters, to test if FME can read them like that. Who knows, there might be an encoding issue or something...?

Good luck!


  • Author
  • October 17, 2018
geosander wrote:

Hi @zsliu,

Could you please try reading just 1 single OSGB file? Simply start a new empty workspace (do not use the "Generate Workspace" option) and add an OSGB Reader yourself. Select a single file (not a whole folder) and start the translation. Do you get the same error again?

If you do, you should definitely submit a support case and attach one of the problematic OSGB files, so Safe support can have a look at it and hopefully fix this issue. This does sound like a bug.

Since you seem to be Chinese, I was just wondering: are there any named objects in your OSGB file that include Chinese characters? If you have the ability to edit the files, you could try and rename them using only ASCII characters, to test if FME can read them like that. Who knows, there might be an encoding issue or something...?

Good luck!

 

Thanks a lot. Actually I have tried only reading 1 single OSGB file, but it also shows the same error......(Chinese characters not included). I'll submit a support case later.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings