Crash with Stanford PLY Format import script #39883

Closed
opened 2014-04-24 21:37:31 +02:00 by Stan Down · 8 comments

System Information
windows seven 64, ATI HD6970 Catalyst 13.12

Blender Version
Blender 2.70 19e627c

Short description of error
crash when executing import PLY file
log file: http://www.pasteall.org/51101

Exact steps for others to reproduce the error
file > import > Stanford PLY

i don't know if the file.ply is corrupted

**System Information** windows seven 64, ATI HD6970 Catalyst 13.12 **Blender Version** Blender 2.70 19e627c **Short description of error** crash when executing import PLY file log file: http://www.pasteall.org/51101 **Exact steps for others to reproduce the error** file > import > Stanford PLY i don't know if the file.ply is corrupted
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Stony

Added subscriber: @Stony

Added subscriber: @mont29

Added subscriber: @mont29

Uh… Using coma instead of dot in floating number sounds horribly french and corrupted PLY… :P

We need that PLY file, in any case!

Uh… Using coma instead of dot in floating number sounds horribly french and corrupted PLY… :P We need that PLY file, in any case!
Author

here is the suspicious file :>

here is the suspicious file :>

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2014-04-25 19:42:30 +02:00

Bah… Stupid MS, they probably use locale data to write their floats, which ends to commas-separated floats, which is not and will never be and has never been a legal way to represent numbers computer-wise!

It would be easy to support this corrupted kind of ply files, but honestly, I’d rather not. This is a MS kinect stuff bug, not Blender’s, and I’m pretty sure you won’t find much programs reading that kind of file.

Note that as workaround, you can simply make a search & replace from , to . on the file (it’s an ASCII text one), should work then.

Bah… Stupid MS, they probably use locale data to write their floats, which ends to commas-separated floats, which is not and will never be and has never been a legal way to represent numbers computer-wise! It would be easy to support this corrupted kind of ply files, but honestly, I’d rather not. This is a MS kinect stuff bug, not Blender’s, and I’m pretty sure you won’t find much programs reading that kind of file. Note that as workaround, you can simply make a search & replace from `,` to `.` on the file (it’s an ASCII text one), should work then.
Author

ok thanks ;)

ok thanks ;)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#39883
No description provided.