[Xerte-dev] FW: [Xerte] Re: Importing re-zipped LOs
Ron Mitchell
ronm at mitchellmedia.co.uk
Tue Jul 24 14:23:26 BST 2012
continuing discussion from the main xerte list...
Julian you said "All goes OK, and it says import successful"
Are you testing this on the techdis install?
Do you not see any rogue html in that confirmation message even when
importing a correctly structured zip?
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 24 July 2012 13:55
To: Xerte discussion list
Subject: [Xerte] Re: Importing re-zipped LOs
It spits out an rlt, yes,
-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 24 July 2012 13:55
To: Xerte discussion list
Subject: [Xerte] Re: Importing re-zipped LOs
yes, it should do, and it does have checks, but they aren't working for some
reason.
Oh I bet I know why - did we change the export code to export to an RLT and
not an RLO?
On Tue, Jul 24, 2012 at 1:52 PM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> OK, if I do
>
> - export a LO
> - unzip it into a new folder
> - zip up that folder (right click on the folder, send to zip)
> - import
>
> All goes OK, and it says import successful. The LO appears in my
workspace. But I can't edit it or preview it.
>
> So the code that checks for a valid zip file isn't working correctly.
>
> I take the point that this is a bit like complaining you've burned
> your hand after poking it in the fire, but I can see this being a
> mistake people would make, and we ought to bomb out of the import if
> we find a zipped up folder (i.e. .rlt isn't in the root of the zip)
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 24 July 2012 13:46
> To: Xerte discussion list
> Subject: [Xerte] Re: Importing re-zipped LOs
>
> What message did you get when you imported it?
>
> On Tue, Jul 24, 2012 at 1:44 PM, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk> wrote:
>> I just exported an LO, unzipped it, re-zipped and imported it. No problem
I could see?
>>
>> Am I missing the point somewhere?
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
>> Tenney
>> Sent: 24 July 2012 13:22
>> To: Xerte discussion list
>> Subject: [Xerte] Re: Importing re-zipped LOs
>>
>> I didn't think I fixed it. Anyway.
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>> Lockley
>> Sent: 24 July 2012 12:43
>> To: Xerte discussion list
>> Subject: [Xerte] Re: Importing re-zipped LOs
>>
>> You didn't, Julian did, when Julian said nice once, I replied to that
>> email saying he'd fixed it
>>
>> On Tue, Jul 24, 2012 at 12:40 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:
>>> I don't recall testing or working on that myself. We did work on the
>>> message upon deletion of a project or folder and fixed that.
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk
>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>> Lockley
>>> Sent: 24 July 2012 12:27
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>
>>> Well as far as I am aware we made a successful import display the
>>> correct message last week?
>>>
>>> On Tue, Jul 24, 2012 at 12:20 PM, Ron Mitchell
>>> <ronm at mitchellmedia.co.uk>
>>> wrote:
>>>> But my screenshot was from the techdis install which has all the
>>>> latest svn code.
>>>>
>>>>
>>>>
>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian
>>>> Tenney
>>>>
>>>>
>>>> Sent: 24 July 2012 12:06
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>
>>>>
>>>> Nice one,
>>>>
>>>>
>>>>
>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>> Lockley
>>>> Sent: 24 July 2012 12:06
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>
>>>>
>>>> the SVN has been updated to fix the rogue html issue
>>>>
>>>> On Tue, Jul 24, 2012 at 11:48 AM, Ron Mitchell
>>>> <ronm at mitchellmedia.co.uk>
>>>> wrote:
>>>>
>>>> ok
>>>>
>>>> when trying to import a zip which contains a parent folder
>>>>
>>>> both 1.8 and 1.7 result in a message about trying to unzip a folder
name.
>>>> Both result in a project appearing in the workspace but can't be
>>>> previewed or edited.
>>>>
>>>>
>>>>
>>>> Error! Filename not specified.
>>>>
>>>>
>>>>
>>>> BTW
>>>>
>>>> when importing a zip without a parent folder both work ok but also
>>>> give a message with rogue html
>>>>
>>>> Error! Filename not specified.
>>>>
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>> Lockley
>>>>
>>>> Sent: 24 July 2012 11:20
>>>> To: Xerte discussion list
>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>
>>>>
>>>> Yes, I know, but that's what I wanted some one to test as it
>>>> sounded like when Simon imported a zip made in that way it wasn't
>>>> trapped by the import code.
>>>>
>>>>
>>>>
>>>> On Tue, Jul 24, 2012 at 11:14 AM, Ron Mitchell
>>>> <ronm at mitchellmedia.co.uk>
>>>> wrote:
>>>>
>>>>> that doesn't work and never has as far as I'm aware.
>>>>
>>>>> When you export from XOT or package from xerte it doesn't create a
>>>>> zip
>>>>
>>>>> with a parent folder inside it so this only really happens when
>>>>> people
>>>>
>>>>> zip manually and select the folder rather than the folder contents.
>>>>
>>>>>
>>>>
>>>>> -----Original Message-----
>>>>
>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>
>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>> Lockley
>>>>
>>>>> Sent: 24 July 2012 11:01
>>>>
>>>>> To: Xerte discussion list
>>>>
>>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>>
>>>>
>>>>> what happens if the root of the zip is a folder (which is what i
>>>>> think
>>>>
>>>>> Simon was suggesting)?
>>>>
>>>>>
>>>>
>>>>> On Tue, Jul 24, 2012 at 11:00 AM, Ron Mitchell
>>>>
>>>>> <ronm at mitchellmedia.co.uk>
>>>>
>>>>> wrote:
>>>>
>>>>>> Not sure what you want tested Pat?
>>>>
>>>>>> Import works in 1.8 and 1.7 just fine as far as I can tell - as
>>>>>> long
>>>>
>>>>>> as the rlt and xml files are in the root of the zip.
>>>>
>>>>>>
>>>>
>>>>>> -----Original Message-----
>>>>
>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>
>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>
>>>>>> Lockley
>>>>
>>>>>> Sent: 24 July 2012 09:48
>>>>
>>>>>> To: Xerte discussion list
>>>>
>>>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>>>
>>>>
>>>>>> hmmmm, but if the importer doesn't find an RLO it should fail
>>>>>> (and it
>>>>
>>>>>> won't go looking in a subfolder)
>>>>
>>>>>>
>>>>
>>>>>> Can some one test this?
>>>>
>>>>>>
>>>>
>>>>>> On Tue, Jul 24, 2012 at 8:48 AM, Simon Wood
>>>>>> <WoodSN2 at cardiff.ac.uk>
>>>>>> wrote:
>>>>
>>>>>>> Aha!
>>>>
>>>>>>>
>>>>
>>>>>>> Thanks Ron.
>>>>
>>>>>>>
>>>>
>>>>>>> I had tried both ways with OSX's built in zipper. But either way
>>>>
>>>>>>> produced
>>>>
>>>>>> the same result.
>>>>
>>>>>>>
>>>>
>>>>>>> Following your email I thought: I'll give it a try dropping all
>>>>>>> the
>>>>
>>>>>>> files
>>>>
>>>>>> (not in a folder) onto Yemu.
>>>>
>>>>>>>
>>>>
>>>>>>> It works!
>>>>
>>>>>>>
>>>>
>>>>>>> Obviously OSX tried to be "clever" and automatically added an
>>>>
>>>>>>> enclosing
>>>>
>>>>>> folder.
>>>>
>>>>>>>
>>>>
>>>>>>> THANK YOU!
>>>>
>>>>>>>
>>>>
>>>>>>> Simon
>>>>
>>>>>>>
>>>>
>>>>>>> On 23 Jul 2012, at 19:43, Ron Mitchell wrote:
>>>>
>>>>>>>
>>>>
>>>>>>>> Are you selecting the parent folder when zipping on the
>>>>>>>> contents of
>>>>
>>>>>>>> the folder? Your learningobject.rlt and associated files needs
>>>>>>>> to
>>>>
>>>>>>>> be inside the root of the zip not inside a folder e.g. you need
>>>>
>>>>>>>>
>>>>
>>>>>>>> \learningobject.rlt
>>>>
>>>>>>>> not
>>>>
>>>>>>>> \Making_multimedia_interactive_with_Xerte\learningobject.rlt
>>>>
>>>>>>>>
>>>>
>>>>>>>>
>>>>
>>>>>>>>
>>>>
>>>>>>>> -----Original Message-----
>>>>
>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>
>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of
>>>>>>>> Simon
>>>>
>>>>>>>> Wood
>>>>
>>>>>>>> Sent: 20 July 2012 14:41
>>>>
>>>>>>>> To: Xerte discussion list
>>>>
>>>>>>>> Subject: [Xerte] Re: Importing re-zipped LOs
>>>>
>>>>>>>>
>>>>
>>>>>>>> Julian sent me the one he used (thanks Julian); it imports fine
>>>>>>>> on
>>>>
>>>>>>>> our XOT install, think it may therefore be something to do with
>>>>
>>>>>>>> zipping software I'm using rather than our XOT install...
>>>>
>>>>>>>>
>>>>
>>>>>>>> On 20 Jul 2012, at 14:16, Julian Tenney wrote:
>>>>
>>>>>>>>
>>>>
>>>>>>>>> I just tried that with the beta code for 1.8 and it works OK.
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> -----Original Message-----
>>>>
>>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>
>>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of
>>>>>>>>> Simon
>>>>
>>>>>>>>> Wood
>>>>
>>>>>>>>> Sent: 20 July 2012 14:13
>>>>
>>>>>>>>> To: Xerte discussion list
>>>>
>>>>>>>>> Subject: [Xerte] Importing re-zipped LOs
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> Whilst I can import LOs into our XOT install now (thanks to
>>>>>>>>> Pat's
>>>>
>>>>>>>>> tireless
>>>>
>>>>>>>> efforts) I am encountering a problem with "re-zipped" LOs.
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> If I import a LO that I previously exported, no problem.
>>>>>>>>> However,
>>>>
>>>>>>>>> if I
>>>>
>>>>>>>> unzip that LO and then rezip it, it appears to import but when
>>>>>>>> I
>>>>
>>>>>>>> try to preview or edit it, it is "empty". On the server the
>>>>
>>>>>>>> data.xml file is missing an the preview.xml file is 0B.
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> I've tried using the zip built into OS X 10.6, and YemuZip
>>>>>>>>> which
>>>>
>>>>>>>>> can
>>>>
>>>>>>>> produce a "PC Zip" ie clean of OS X resource forks. Neither work.
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> Is anyone else having problem importing re-zipped learning
objects?
>>>>
>>>>>>>>> The
>>>>
>>>>>>>> reason I ask is because I was sent to LOs zipped together and
>>>>>>>> to
>>>>
>>>>>>>> import them I need to split them out.
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> Simon
>>>>
>>>>>>>>>
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> - -
>>>>
>>>>>>>>> Simon Wood
>>>>
>>>>>>>>> Officer for Technology Enhanced Education
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> Learning and Teaching Support
>>>>
>>>>>>>>> Cardiff University Registry
>>>>
>>>>>>>>> 30-36 Newport Road
>>>>
>>>>>>>>> Cardiff CF24 0DE
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> Tel: 029 2087 9428
>>>>
>>>>>>>>> Email: WoodSN2 at cardiff.ac.uk
>>>>
>>>>>>>>>
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> _______________________________________________
>>>>
>>>>>>>>> Xerte mailing list
>>>>
>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>>>>>
>>>>
>>>>>>>>> _______________________________________________
>>>>
>>>>>>>>> Xerte mailing list
>>>>
>>>>>>>>> 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
>>>>
>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>>>>
>>>>
>>>>>>>>
>>>>
>>>>>>>> _______________________________________________
>>>>
>>>>>>>> Xerte mailing list
>>>>
>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>>>
>>>>
>>>>>>>
>>>>
>>>>>>> _______________________________________________
>>>>
>>>>>>> Xerte mailing list
>>>>
>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>>
>>>>
>>>>>> _______________________________________________
>>>>
>>>>>> Xerte mailing list
>>>>
>>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>>
>>>>
>>>>>>
>>>>
>>>>>> _______________________________________________
>>>>
>>>>>> Xerte mailing list
>>>>
>>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>
>>>>
>>>>> _______________________________________________
>>>>
>>>>> Xerte mailing list
>>>>
>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>>
>>>>
>>>>>
>>>>
>>>>> _______________________________________________
>>>>
>>>>> Xerte mailing list
>>>>
>>>>> Xerte at lists.nottingham.ac.uk
>>>>
>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> Xerte mailing list
>>>>
>>>> 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
>>>> 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
>>>> 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
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>
>>>
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
More information about the Xerte-dev
mailing list