View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013716BenderWeight Modulespublic2012-11-20 08:282013-04-02 14:22
ReporterJulien Finet 
Assigned Tojohan andruejol 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version1.1Fixed in Version1.1 
Summary0013716: Fail to write region.mha on installed windows build
DescriptionWhen Bender is installed on windows, the current directory is not writtable.
When running Armature Weight, it fails to write region.mha on the current directory
Additional InformationSuggestion:
Condition the writing of the region.mha image with DumpDebugImages and write dump images in the same directory than the weight directory
TagsNo tags attached.
Attached Files

 Relationships
child of 0013701closedYuanxin Liu Add module for skinning 

  Notes
(0031686)
Yuanxin Liu (developer)
2012-11-23 12:38

Fix is the git@github.com:kitleo/bender.git/heat-diffusion
(0032495)
Julien Finet (administrator)
2013-03-04 08:51

Save the debug images in a subdirectory (e.g. "debug" or "dump") of the weight images directory passed as parameter.
Create such subdirectory if needed.
For the CLIs that don't take a weight directory as input, dump images in /tmp (use kwsys to know what is the tmp directory).
(0032511)
johan andruejol (developer)
2013-03-05 14:36

Compute Armature Weight:
http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=926922cbd123f6dce0169148fca94d462040f354 [^]
and
http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=b7cba3aebb7b11994de3bcbadcca556ffe3d7fc4 [^]

Pose Body and Pose Labelmap:
http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=124a360e238f1ef0e68546a40910ff627e2d35f9 [^]

Volume Skinning:
http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=36a0d1cffcc90215f836af0b5ad9d99e4655bf22 [^]
(0032512)
Julien Finet (administrator)
2013-03-05 14:44
edited on: 2013-03-05 14:46

Please use env variable to find the temporary directory:
http://stackoverflow.com/questions/8087805/how-to-get-system-or-user-temp-folder-in-unix-and-windows [^]
And feel free to factorize all these functions into some bender util/io lib classes methods

(0032514)
johan andruejol (developer)
2013-03-05 17:05

Using env and factorized: http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=263f9873de33c980313978fd252eba5d48945ed6 [^]
(0032515)
Julien Finet (administrator)
2013-03-05 17:49

The code to find the temp directory could have been factorized, maybe creating a function such as GetDebugDirectory() would be better (than duplicating the WriteImage/WritePolyData function:
(0032520)
johan andruejol (developer)
2013-03-06 10:18

GetDebugDirectory() function:
http://public.kitware.com/gitweb?p=Bender/Bender.git;a=commit;h=14952d05227b60330df7d738959e0b749c6b2c88 [^]

 Issue History
Date Modified Username Field Change
2012-11-20 08:28 Julien Finet New Issue
2012-11-20 08:28 Julien Finet Status new => assigned
2012-11-20 08:28 Julien Finet Assigned To => Yuanxin Liu
2012-11-20 08:28 Julien Finet Relationship added child of 0013701
2012-11-23 12:38 Yuanxin Liu Note Added: 0031686
2012-11-23 12:38 Yuanxin Liu Status assigned => resolved
2012-11-23 12:38 Yuanxin Liu Resolution open => fixed
2013-01-17 17:53 Julien Finet Fixed in Version => 0.1
2013-03-04 08:51 Julien Finet Note Added: 0032495
2013-03-04 08:51 Julien Finet Assigned To Yuanxin Liu => johan andruejol
2013-03-04 08:51 Julien Finet Status resolved => assigned
2013-03-04 08:51 Julien Finet Target Version 0.1 => 1.1
2013-03-04 08:51 Julien Finet Resolution fixed => reopened
2013-03-04 08:51 Julien Finet Priority high => normal
2013-03-05 14:36 johan andruejol Note Added: 0032511
2013-03-05 14:36 johan andruejol Status assigned => resolved
2013-03-05 14:36 johan andruejol Resolution reopened => fixed
2013-03-05 14:44 Julien Finet Note Added: 0032512
2013-03-05 14:44 Julien Finet Status resolved => assigned
2013-03-05 14:44 Julien Finet Resolution fixed => reopened
2013-03-05 14:46 Julien Finet Note Edited: 0032512
2013-03-05 17:05 johan andruejol Note Added: 0032514
2013-03-05 17:05 johan andruejol Status assigned => resolved
2013-03-05 17:05 johan andruejol Resolution reopened => fixed
2013-03-05 17:49 Julien Finet Note Added: 0032515
2013-03-06 10:17 johan andruejol Status resolved => feedback
2013-03-06 10:17 johan andruejol Resolution fixed => reopened
2013-03-06 10:18 johan andruejol Note Added: 0032520
2013-03-06 10:18 johan andruejol Status feedback => resolved
2013-03-06 10:18 johan andruejol Resolution reopened => fixed
2013-04-02 14:22 Julien Finet Fixed in Version 0.1 => 1.1


Copyright © 2000 - 2018 MantisBT Team