[Xerte-dev] Re: Anyone seen Numbas

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Jun 12 13:33:08 BST 2013


I'd be keen to build that in, but I'm not sure it even could function away from the internet? Tom might know more?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 June 2013 13:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Anyone seen Numbas

Yeah I agree and it could be hosted side by side on the same server if someone wished...

What about the live maths transformations? Worth exploring or is MathJax the one, although doesn't it still require some server communication which might not be possible in some environments?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, June 12, 2013 1:20 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Anyone seen Numbas

I'm not interested in seeing this built into Toolkits. You can embed one in the other and have what you want without having to do the technical work.

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 June 2013 11:16
To: For Xerte technical developers
Subject: [Xerte-dev] Anyone seen Numbas

http://www.ncl.ac.uk/maths/numbas/

Stumbled across this... could we do something to integrate this into Xerte do you think or even "borrow" their maths formatting library as it's pretty neat and does it in real time... all clientside so could be an alternative to MathJax which still requires server access doesn't it?

Released under Apache 2.0 - not sure what that means for us though...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, June 12, 2013 11:00 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Mac Safari browser bug

Try opening /editor/wizard.fla in the Xerte svn

You'll need to save back to flash 8, nt sure if you can from cs5..?

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 June 2013 10:53
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Mac Safari browser bug

CS5... will that do?


Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, June 12, 2013 10:46 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Mac Safari browser bug

Have you got a copy of flash?

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 June 2013 10:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Mac Safari browser bug

Looks to me like that _blank is being accessed after upload.php has returned a result (onLoad) but then not sure what the line:

wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST");

is doing since it is still referencing POST also...

Not really sure where we go with this or whether we even spend a lot of time trying to fix it... is a high enough proportion of people using Safari?

If you have time and want to still in a few debug statements then I'll take another look at it. Can you send data to the console easily from Flash? Just stuff like "File sent", "onLoad fired" "Returned data:..." or whatever you think would help...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, June 12, 2013 10:32 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Mac Safari browser bug

It's done like this:

if(!xerte){
           if(_root.read_and_write=="true"){
                var result_lv:LoadVars = new LoadVars();
                var send_lv:LoadVars = new LoadVars();
               send_lv.filedata = wizard.xmlStr;
                send_lv.filename = wizard.fileName;
                send_lv.fileupdate = update; //update the play_XXX file or not?
                send_lv.filesize = wizard.xmlStr.length;
                send_lv.sendAndLoad(_root.savepath, result_lv, "POST");

                results_lv.onLoad = function(success:Boolean){

                     wizard.createEmptyMovieClip('getURLHelper', 9999);
                     wizard.getURLHelper.data = KOData.format();

                     wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST");

                }

           }
     }else{

The _blank is for the preview window (I think?)

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 12 June 2013 10:23
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Mac Safari browser bug


Hmm interesting. Anyone know if this is the likely cause? Does the wizard post the data to a _blank target?

Can this easily be changed to post somewhere else, possibly a hidden iframe or new window?

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Dave Burnett <d_b_burnett at hotmail.com<mailto:d_b_burnett at hotmail.com>> wrote:

What's the target?

"no, everything works in other browsers. I just fixed this though by first opening a window with javascript and then submitting the form to that window. safari doesn't like the _blank for some reason - user740521<http://stackoverflow.com/users/740521/user740521> Apr 5 at 20:41<http://stackoverflow.com/questions/15842043/php-post-array-empty-after-form-submit-on-safari-using-yii-framework#comment22543805_15842043>"





________________________________
From: J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk>
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Date: Tue, 11 Jun 2013 15:48:33 +0100
CC: graham at editeur.org<mailto:graham at editeur.org>
Subject: [Xerte-dev] Mac Safari browser bug
Hi,

Anyone out there with the ability to debug the wizard who is using a Mac?

This bug has been floating around now for a while now and I thought it was related to the Firefox Cookie bug but it doesn't appear to be... and ii've been able to reproduce it here...

Anyway, when you try to upload media in any browser other than Safari the file is POSTed to the script upload.php and this php file tries to write the data to server disk... If you monitor the Network in the Developer Tools or Firebug then you see the file upload.php appear...

If you try to do this in Safari though then upload.php never appears so doesn't appear to be POSTed to... if you press the little magnifying glass to preview the image then file_exists.php fires in both Safari and every other browser... strangely enough - if the file is very large then you get the progress bar which gradually increases as if the data is being sent....

Anyone have any idea why the wizard doesn't appear to POST to upload.php in Safari?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: Graham Bell [mailto:graham at editeur.org]
Sent: Friday, May 31, 2013 12:32 PM
To: Smith, John
Subject: Re: [Xerte] FW: Xerte (nice example and a browser bug report)

Hi John -- not sure how I find the version of Xerte -- it's provided to us by Alastair. I'll take a look at the console when I get a chance (next week, as I'm travelling at the moment).

Graham


Graham Bell
EDItEUR

Tel: +44 20 7503 6418
Mob: +44 7887 754958

EDItEUR Limited is a company limited by guarantee, registered in England no 2994705. Registered Office: United House, North Road, London N7 9DP, UK. Website: http://www.editeur.org




On 31 May 2013, at 07:15, Smith, John wrote:

Hi Graham,

I've had a look into this and I can't replicate it. I too am using Version 5.1.9 (6534.59.8) and it works as expected, not really sure why yours wouldn't. Are you using v2.0 of XOT or an older version?

Also, do you see any error messages in the console  when you do this?

*         Preferences --> Advanced, Check "Show develop in menu bar"
*         Menu-->Develop --> Show Web Inspector

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: Graham Bell [mailto:graham at editeur.org]
Sent: Monday, May 20, 2013 12:15 PM
To: Smith, John
Subject: Re: [Xerte] FW: Xerte (nice example and a browser bug report)

Hi John

I can easily replicate if I have to, but as I remember, the issue occurred when I tried to add an image to any of the pages.

Using any page template that allows you to add an image (for example the 'advanced image' page template, you click the [...] button and it opens a window that allows you to select an image file (typically JPEG or PNG). When you choose the file, a small upload progress window opens, followed by a window that says 'Success'. You can dismiss this, and the filename of the image is displayed. You can then use the magnifier icon (image inspector) to preview the image.

When using Safari (version 5.1.9), all goes as expected except that the upload progress happens too quickly. The filename appears, but clicking on the image inspector icon does not display the image -- it gives you an error that says 'you must select media before you can preview it'. Essentially, the image has not been uploaded. The screenshot attached shows the result of clicking the Image Inspector icon with an image that has been 'uploaded'.

Safari CAN preview images that have been uploaded previously on a PC, or via another Mac browser, and images 'uploaded' with Safari CANNOT be previewed with another browser, so the problem is not with the image inspector itself.

Now it has to be admitted that v5.1.9 of Safari is not the 'latest and greatest', but it's still reasonably common as the latest that can be run on the previous iteration of Mac OS X (Snow Leopard). I guess before you investigate further, you should try it out on current Safari on Mountain Lion.


Regards
Graham


Graham Bell
EDItEUR

Tel: +44 20 7503 6418
Mob: +44 7887 754958

EDItEUR Limited is a company limited by guarantee, registered in England no 2994705. Registered Office: United House, North Road, London N7 9DP, UK. Website: http://www.editeur.org




On 17 May 2013, at 21:59, Smith, John wrote:

Hi Graham,

Just following up on Alistair's email as I didn't get a reply, but I sent it back to the list...

I'll investigate this for you, I don't often use Safari but haven't noticed any issues when i have, although this hasn't been recently.

Can you tell me if its the upload button in the Flash wizard or the media upload button in the properties panel? And what is it that doesn't work? Do you get the file system popup? Can you choose a file? What happens once you've selected the file?

I suspect it might be session related, similar to the Firefox/Flash bug that took us a while to fix, but if it is this then it should be easy to implement a fix for Safari.

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Alistair McNaught <Alistair.McNaught at HEAcademy.ac.uk<mailto:Alistair.McNaught at HEAcademy.ac.uk>> wrote:


A colleague of mine has been working on this metadata LO - http://vle.jisctechdis.ac.uk/xerte/play_281

He wanted to report back an issue with Safari on a Mac. Highlighted below.

Any other Mac/Safari  users experienced this?

A

From: Graham Bell [mailto:graham at editeur.org]
Sent: 12 May 2013 16:19
To: Alistair McNaught
Subject: Xerte

Hi Alistair

Just another quick report on Xerte for the developers. I found the upload functionality for images and audio does not work in Safari -- but does work in Chrome on my Mac.

Now I've finished off the LO on metadata (let me know what you think!), I might have a go with the Toolkits tool. The LO was originally written as a single HTML5 page, so might well be suited.

Graham






Graham Bell
EDItEUR

Tel: +44 20 7503 6418
Mob: +44 7887 754958

EDItEUR Limited is a company limited by guarantee, registered in England no 2994705. Registered Office: United House, North Road, London N7 9DP, UK. Website: http://www.editeur.org<http://www.editeur.org/>





This email is confidential and may be privileged. If you are not the intended recipient please accept our apologies. Please do not disclose, copy, or distribute information in this email nor take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Please note that views expressed in this email are those of the author and do not necessarily represent those of the Higher Education Academy. Please note that this e-mail has been created in the knowledge that Internet e-mail is not a secure communications medium. We advise that you understand and observe this lack of security when e-mailing us. Although we have taken steps to ensure this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. The Higher Education Academy Registered No 4930131



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html<http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html>

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html<http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html>



<image002.png>

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html<http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c6219%2cen.html>

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html<http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name%2c15691%2cen.html>


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

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-dev mailing list Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html


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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130612/18dfa233/attachment-0001.html>


More information about the Xerte-dev mailing list