[Xerte] Re: Xerte 2.16 Inconsistent inclusion of Page Wizard based pages
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Tue Jun 14 12:13:15 BST 2011
SO perhaps we can try and load it again,, assuming the zip process is incomplete: in which case add the last line of code below the prompt:
mdm.Dialogs.prompt("The model data failed to load");
this.load(this.rlmFile); //so try again?
That should keep looping all the while the file hasn't loaded...
From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 14 June 2011 07:24
To: Xerte discussion list
Subject: [Xerte] Re: Xerte 2.16 Inconsistent inclusion of Page Wizard based pages
The intermittent nature of the problem has delayed my posting earlier as everything has worked correctly, whilst I have been watching for it to go wrong again.
However this morning I opened explorer on my projects "pages" folder. When I started the process of adding a page using the Model Answer page wizard I was able to observe the process in terms of changes to folders. The process and outcome went as follows
1. Select the interface icon
2. Click on the templates menu
3. Click on a Page Wizard from the list of available wizards e.g. e) Interactivity / Annotated Diagram
4. When the Browse for Computer dialogue opens I navigate to the project folder,
5. Expand the project folder,
6. Expand the Pages folder (which I created earlier to hold each page wizard folder).
7. Select the Pages folder
8. Click on the Make New Folder button
9. Enter a name for the new folder e.g. Model Answer
10. Click off the folder name to ensure the name change is saved. The new folder appeared in the project's pages folder, I opened the folder in Explorer and it was, as expected at this point, empty.
11. Ensure the newly named folder is selected.
12. Click the OK button. No change to the folder it remained empty
13. The confirm dialogue is displayed asking if I want to Open the wizard? Still empty
14. Select not to open the wizard. The folder was populated with the three model files and a common folder. In Xerte the page failed to be added to the project and the last page in the project was highlighted as the current page.
This suggests that there is no point in the process where the user can grant more time to Xerte by delaying an action, as the critical tasks all take place after the final "Open the page wizard" dialogue.
I will take a look at the new editor.swf to see if I can duplicate the problem using that.
Kind regards
Johnathan
On 13 June 2011 10:37, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
I just committed an editor.swf that does false or 'false' so give it a whirl: it goes in [xerte]/tools
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Tom Reijnders
Sent: 10 June 2011 19:30
To: Xerte discussion list
Subject: [Xerte] Re: Xerte 2.16 Inconsistent inclusion of Page Wizard based pages
Could this be the same as the "false" and false??? I noticed when just updating my local svn copy, that you changed the unpacking for templates, but not for the page wizards. It only checks for "false"...
Op 10-6-2011 17:06, Julian Tenney schreef:
If you want to look at the code, look at the function insertPageWizard() in the editor.fla.
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 10 June 2011 14:17
To: Xerte discussion list
Subject: [Xerte] Re: Xerte 2.16 Inconsistent inclusion of Page Wizard based pages
I would guess that the process for creating a project from a project template would be fairly similar to the process for creating a page from a Page Wizard but I have no knowledge of the code in the Xerte engine.
The only other factor that has changed is that the computer I am using is much faster than the old XP box I have used up till now.
My thought was that there was a time issue somewhere e.g. the code that processed the files and deleted the common folder when done was perhaps trying to run before the files had been unpacked and saved to the folder. Would the duration of the timer be affected by the processing power of the computer?
Kind regards
Johnathan
On 10 June 2011 13:04, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
No, nothing has changed in there. There is a timer thing going on when creating a template project, to give zinc time to unzip the zip and let everything happen: because zinc doesn't give any events for this stuff, I had to take a punt at a '3 seconds ought to be long enough' approach.
I wonder if that timer thing is also in the code that opens a page wizard: but I think, before I look, they are both handled by the same functionality??
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 10 June 2011 10:41
To: Xerte discussion list
Subject: [Xerte] Xerte 2.16 Inconsistent inclusion of Page Wizard based pages
I have been creating a couple of test projects recently using Xerte 2.16 and the current release of the Page Wizards on a computer running Windows 7.
I am adding new pages using the following sequence
1.
1. Select the interface icon
2. Click on the templates menu
3. Click on a Page Wizard from the list of available wizards e.g. e) Interactivity / Annotated Diagram
4. When the Browse for Computer dialogue opens I navigate to the project folder,
5. Expand the project folder,
6. Expand the Pages folder (which I created earlier to hold each page wizard folder).
7. Select the Pages folder
8. Click on the Make New Folder button
9. Enter a name for the new folder e.g. AnnotatedDiagram
10. Click off the folder name to ensure the name change is saved.
11. Ensure the newly named folder is selected.
12. Click the OK button.
13. The confirm dialogue is displayed asking if I want to Open the wizard?
14. I have tested both situations i.e. When clicking Yes and when clicking No.
Most of the time on completion of the sequence the Page appears listed in the project structure panel if I did not choose to open the Wizard. If I chose to open the Wizard the wizard opens, and on closing the wizard the page is listed in the project structure. Which is exactly what is supposed to happen.
However sometimes, and it is happening quite frequently, the page is not listed in the project structure. If I selected to open the wizard the last page in the project wizard opens. On closing the wizard the new page is not listed in the project structure. On examining the Pages folder the new page's folder has been created containing the xml, rlm and xwd files, but it also contains the page wizard's common folder (normally this would not be there. I think it gets copied there and is then deleted by Xerte once any required files have been copied to the Project's common folder).
When this occurs I generally repeat the process but select to use the folder originally created when I made my first attempt. When prompted that the folder is not empty I select to use the folder and then the Page Wizard entry process completes correctly and the common folder in the Page's folder is usually (but not in every case) deleted.
The current release of the Page Wizards does not contain any of the recent modifications to achieve a common set of rlm files. Most of the Page Wizards in the current release have been in use without change for months, some over a year.
Did anything change in Xerte 2.16 that would affect the process of creating a Page Wizard based page?
Could it be something to do with Windows 7?
The current situation does not prevent the use of Page Wizards, it is just a bit frustrating and inconvenient.
Anyone any ideas that might resolve this situation?
Kind regards
Johnathan
1.
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110614/3f64bdcb/attachment-0001.html>
More information about the Xerte
mailing list