Hi Paul,

On 8/20/2014 1:08, Paul McNett wrote:

...
It exists in python 2.7.6 too. Try running:
https://gist.github.com/pmcnett/f6dc17f645a994b4f189

Hhm, very strange I should have run into this problem some time ago.
Changing line 3227 to:
self.HomeDirectory  = os.path.split(val)[0]

fixes it for me, but why did we do a split and a join at this place in
the first place?

I had to have had a reason, but I'm at a loss for what it could've been. That line exists exactly as it was originally added in 2005:

commit 9eefca09deec292117763eaf51a9da818da1c79c
Author: Paul McNett <[email protected]>
Date:   Thu Oct 13 13:59:38 2005 +0000

Added HomeDirectory property to the report writer, which should always be the directory of the current report form xml file, so that images and other resources can always be found relative to the location of the report form
    file.
I saw that when I searched why this is happening now and not before and only thing I could think of was the upgrade of Python.

I say commit your suggested change.
Will do, but only next week as I won't get around to it today and then I am off for a few days.

Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to