Closed GoogleCodeExporter closed 9 years ago
looking in to this behavior for possible ways this may be tripping up people
generating multiple images sequentially, but considering this an enhancement.
Since the previous devs hadn't accounted for this functionality, I will
investigate myself and encourage anyone available to please assist in producing
test(s) to ensure the adding of this functionality is covered in unittest.
Original comment by allister...@gtempaccount.com
on 28 Jan 2011 at 1:09
It doesn't directly have anything to do with generating multiple images
sequentially. It only concerns the functionality of naming the output filename
in case it isn't defined in any catalog used in a build. The simplest example
would be that I have a single catalog file with no other included catalogs, but
without an Output File Name: specified. If I run instaUp2Date on this single
catalog file, it will fail with AttributeError.
The previous devs did account for this functionality. This is not an
enhancement, it is a fix.
If you look at the code where I'm pointing to, there is a comment saying
exactly what the intended functionality is, and there is an error in the
function call. You see a *working* example of os.path.splitext used within
os.path.join in the very next line. It's very simple oversight in the code.
Generating multiple images in one command was clearly of importance to Karl, if
you look at this issue:
http://code.google.com/p/instadmg/issues/detail?id=40&can=1
But he was likely always going by naming specifying his output filenames in the
.catalog files. This methodology doesn't work for me because I want to build at
multiple stages within one chain, and instaUp2Date's behaviour of only
retaining the innermost-nested Output File Name: argument when they are
specified prevents me from doing this. Whether that is intended behaviour or
not is outside the scope of this issue.
Original comment by t...@synthist.net
on 28 Jan 2011 at 3:37
You are absolutely correct. I had not looked at the comment and apologize for
the oversight. I will get on this as soon as possible and have changed the
type accordingly. Thank you for your explanation and patience with me.
Original comment by allister...@gtempaccount.com
on 28 Jan 2011 at 4:03
This change has been checked in and no complications have been reported.
Original comment by allister...@gtempaccount.com
on 15 Feb 2011 at 1:50
Original issue reported on code.google.com by
t...@synthist.net
on 23 Jan 2011 at 10:59