conversion error
See original GitHub issueI’ve installed obj2gltf v0.1.7 using npm install -g obj2gltf
.
My node version is v7.5.0.
When I try to convert my file wall_and_door.obj, which you can find at https://github.com/andyli/aframe-test/tree/1fe0f0cc8af332b9a8c7880437a8678e99e3b6e2/wall_and_door, there is an error:
D:\andy\workspace\VRWorkshop\wall_and_door>obj2gltf wall_and_door.obj
C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\node_modules\cesium\Source\ThirdParty\crunch.js:43
var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);if(!ret&&filename!=no
Error
at new DeveloperError (C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\node_modules\cesium\Source\Core\DeveloperError.js:44:19)
at Function.Cartesian3.normalize (C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\node_modules\cesium\Source\Core\Cartesian3.js:422:19)
at LineStream.<anonymous> (C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\lib\obj.js:192:41)
at emitOne (events.js:96:13)
at LineStream.emit (events.js:189:7)
at readableAddChunk (_stream_readable.js:176:18)
at LineStream.Readable.push (_stream_readable.js:134:10)
at LineStream.Transform.push (_stream_transform.js:128:32)
at LineStream._pushBuffer (C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\node_modules\byline\lib\byline.js:126:17)
at LineStream._transform (C:\ProgramData\nvm\v7.5.0\node_modules\obj2gltf\node_modules\byline\lib\byline.js:117:8)
at LineStream.Transform._read (_stream_transform.js:167:10)
at LineStream.Transform._write (_stream_transform.js:155:12)
at doWrite (_stream_writable.js:329:12)
at writeOrBuffer (_stream_writable.js:315:5)
at LineStream.Writable.write (_stream_writable.js:241:11)
at ReadStream.ondata (_stream_readable.js:555:20)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Conversion errors - IBM
Type conversion errors. When you compile and run your job, check for implicit conversion warnings in the job log. Resolve the reported issues...
Read more >Conversion Errors - Alteryx Help
Conversion errors are reported when Alteryx cannot convert data from one field type to another. You can set a threshold for the number...
Read more >Data conversion errors - Sybase Infocenter
A data conversion error occurs when a value is out of the valid range. For example, if a DB2 source column with a...
Read more >A conversion error occurred while the program -- display data ...
HI all, Iam getting a dump error described below: A conversion error occurred while the program was trying to display data on the...
Read more >FIX: A data conversion error may occur when a Transaction ...
Fixes an issue in which a data conversion error may occur when a Transaction Integrator method is called after you convert a type...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@emackey This issue has been popping up and we have an issue open for this https://github.com/AnalyticalGraphicsInc/gltf-pipeline/issues/242. I think this should get fixed in the near future.
Fixed in #49