Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000674LuxRenderLuxBlendpublic2009-12-09 05:302009-12-22 01:49
ReporterSATtva 
Assigned ToDade 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version0.6 
Target VersionFixed in Version0.6.1 
Summary0000674: Importing lbm does not ensures proper system line endings
DescriptionWhen you export a material to lbm on the system with one line endings (say, on Windows with \r\n) and then import it on the system with another line endings (Linux with \n), LuxBlend crashes with python "invalid syntax" error.

The most trivial change to fix the problem is to open lbm file for reading with Universal line endings (patch included). The only problem would arise if python on the target system was compiled without ULE. However I don't think this could be an issue on any non-embedded system, so this fix should be enough.
TagsNo tags attached.
Mercurial Changeset #
Requires Documentation Update
Requires Exporter Update
Attached Filespatch file icon LuxBlend_0.1.py.mat-linebreaks.patch [^] (347 bytes) 2009-12-09 05:30 [Show Content]

- Relationships

-  Notes
(0001871)
Dade (developer)
2009-12-13 07:46

Patch applied. SATtva, can you check if it works .... well, it is just one bye long patch, I would be very surprised if it doesn't ^^
(0001872)
SATtva (developer)
2009-12-13 09:01

Surprisingly it's fixed now! :D

- Issue History
Date Modified Username Field Change
2009-12-09 05:30 SATtva New Issue
2009-12-09 05:30 SATtva File Added: LuxBlend_0.1.py.mat-linebreaks.patch
2009-12-12 11:47 Dade Status new => assigned
2009-12-12 11:47 Dade Assigned To => Dade
2009-12-13 07:46 Dade Note Added: 0001871
2009-12-13 07:46 Dade Status assigned => feedback
2009-12-13 09:01 SATtva Note Added: 0001872
2009-12-14 03:52 Dade Status feedback => resolved
2009-12-14 03:52 Dade Fixed in Version => 0.6.1
2009-12-14 03:52 Dade Resolution open => fixed
2009-12-22 01:49 jeanphi Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker