|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
My Eng report is in a dir called English. My future French one will be in another dir planned to be called French.I changed the subject from "pictures/" to "../pictures/" in order to have all my pictures common to both reports but located in the root dir. At the end of the generated Eng report, I got the following message:Unable to write file 'C:\Documents and Settings\...\Report beta HTML\English\..\pictures\xxx.JPG'. Sharing Violation. File is already opened by another application/program and cannot be opened As far as I know, the JPG en question is closed and I've no other open app but Genopro Beta 15d.
Edited: Tuesday, April 1, 2008 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
This is not a bug in the report generator. If you have a sharing violation, it means some process is locking this file. Close all your applications or reboot your machine and you will see this message go away. GenoPro does not lock pictures, so this scenario is impossible.
|
|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
I did what you said and even more:- I rebooted and reran the report: same message. - I uninstalled Genopro and Genoprobeta 15d, ran my registry cleaner to clean the leftovers, reinstalled both Genopros, rebooted and reran the report: same message: Generated and written 141 pages in 2.125 seconds average performance of 66.35 pages per second Unable to write file 'C:\Documents and Settings\Jean-Claude\My Documents\Report beta HTML\English\..\pictures\TataSuzanneVilleparisis1989.JPG'. Sharing Violation. File is already opened by another application/program and cannot be opened Report Ready! Click on the "Close" button to continue. If you look at closely at the red message, you'll see that the 2 dots before \pictures seem strange. Maybe a string concatenation problem within the path. Anyway for your info, the report looks OK and the image in question is present within the individual frame. Thanks.
Edited: Tuesday, April 1, 2008 by
GenoProSupport
|
|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
I brought back this old error message as I've still got, today, the same kind of message when generating an FR or an ES Report:
This error is regarding, I suppose, my last processed Pict. However I'm glad to report that the subject Pict is successfully appearing in the Report, along with the other Picts. I reiterate that this error is probably due to a wrong path concatenation, i.e. the presence of this 'French\..\' as highlighted in red in the above screenshot. For info 1) the entry in my FR (and ES) Rep Config file is: <Parameters _PathPictures="../pictures/" />. Are the 2 dots not compatible? and 2) my Dirs are set up as follows: 
Can the problem be corrected? Thank you Genopro, JC
Edited: Tuesday, April 1, 2008 by
jcguasp
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
jcguasp (4/1/2008) 1) the entry in my FR (and ES) Rep Config file is: <Parameters _PathPictures="../pictures/" />. Are the 2 dots not compatible?The _PathPictures is designed to be a sub-directory of the report. It cannot start with a double dot to indicate a sibling folder. What you can do however is to specify a full path such as <Parameters _PathPictures="C:\Documents and Settings\Jean-Claude\My Documents\GenoPro Reports\Guasp Family\pictures\" /> |
Edited: Tuesday, April 1, 2008 by
GenoProSupport
|
|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
Dan: I followed what you said, i.e. I changed my Pict path to a full path.However, today I ran a FR Rep on Harry Potter's and noticed that all Picts are absent. Nae wonder because they're not in 'Guasp Family\pictures'. So for this reason, I maintain that a Relative path, e.g. '..\pictures' should be supported because I got the initial error again today, after changing back to '..\pictures'. Thank you, JC
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
jcguasp (5/8/2008)
Dan: I followed what you said, i.e. I changed my Pict path to a full path. However, today I ran a FR Rep on Harry Potter's and noticed that all Picts are absent. Nae wonder because they're not in 'Guasp Family\pictures'. You are right, the pictures will be on your local machine and not available on the web. The whole concept of report parameters configuration settings will be revised for GenoPro Gamma. The _PathPictures is will be probably be moved to the Options dialog. This is the screenshot of a suggestion from Ron last month. I don't want to change anything to GenoPro 2007 because of the high risk of breaking something, however GenoPro Gamma will be the best place to improve the product. One thing is the report parameters must be easily accessible and saved from GenoPro - no more need to edit Config.xml. I am sure you have seen the conversation Wrong language for Configuration Setting popup menu where I outlined some of the ideas to handle report parameters.
Edited: Thursday, May 8, 2008 by
GenoProSupport
|
|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
It looks OK but will this new Folder 'Browse...' button work when generating/publishing online?JC
Edited: Friday, May 9, 2008 by
jcguasp
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Monday, June 2, 2025
Posts: 4,886,
Visits: 22,796
|
jcguasp (5/9/2008) It looks OK but will this new Folder 'Browse...' button work when generating/publishing online?There are still several questions unanswered. One feature I am considering is having a Parameter Theme. The Parameter Theme would save the parameter configuration setting under a name. You would have a drop-down list to pick which parameter theme you want to use before generating a report. Under this approach, you could have as many themes as you wish, including the picture path, size of thumbnails and so on, all saved under a name. Since each theme would be stored on a separate XML file, you could even send the .xml theme to another user, so he/she can generate a report exactly as you did on your machine. If you create a theme for publishing online, then you could specify an URL for the _PathPictures . The Parameter Theme would be handled by GenoPro and would not affect the code in the report skin template.
Edited: Friday, May 9, 2008 by
GenoProSupport
|
|
|
Customers GenoPro version: 2.0.1.4
Last Login: Thursday, June 30, 2016
Posts: 141,
Visits: 294
|
I read that there are plans to change the way that _PathPictures= may be interpreted.I have been using: <Parameters _PathPictures="../pictures/" /> since V1.9 and it's been axactly what I wanted. My folders are arranged like this: 
Each name represents a family tree and the pictures folder contains all the pictures in a common folder. This was just what I wanted because a lot of the pictures are common to a number of the trees. If you make any changes, please don't break it! Thanks Frank1
|