dspace-devel

Hi all,
- the good news is that I run a successful test of importing an entire
website of about 500 files to dspace. I transformed the structure of the
website in a flat one (moved all files in the same folder) and them
imported them all. It was a very complex website with pictures, movies
... It is just great.
- I run the mets exporter for a restricted item, and I got the error below
/dspace/bin/dsrun org.dspace.app.mets.METSExport metsexport -i hdl:123456789/4
Exporting item hdl:123456789/4
Exception in thread "main" org.dspace.authorize.AuthorizeException: Authorization denied for action
READ on BITSTREAM:10 by user 0
at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:129)
at org.dspace.content.Bitstream.retrieve(Bitstream.java:494)
at org.dspace.app.mets.METSExport.writeAIP(METSExport.java:267)
at org.dspace.app.mets.METSExport.main(METSExport.java:147)
if I run the mets exporter for all (-a) it stops in the restricted items with a similar error
- the upgrade from 1.1.1 to 1.2beta3 went without problem. I only noticed that in the documentation for updating from 1.1 to 1.2 nothing is mentioned about the changes in dspace.cfg for creative commons licenses. I just thought maybe a note could be added.
Robert asked a while ago on the technical list if people are willing to donate content for testing purposes. We have an entire community of about 1400 items we could donate for this, but most of them are print like material.
Cheers,
Gabriela
--
Gabriela Mircea
Information Technology Services
Robarts Library, 130 St. George St.
Toronto, ON, Canada, M5S 1A5
416 946 0114

On Wed, 2004-07-07 at 21:06, Gabriela Mircea wrote:
> Robert asked a while ago on the technical list if people are willing to donate content
> for testing purposes. We have an entire community of about 1400 items we could donate
> for this, but most of them are print like material.
Fantastic! I think this it would be worth our while doing this despite
the upcoming release - there will always be people with corner cases and
having a reference dataset to incorporate them into will help prevent
regression.
IIRC MIT had a server for the purposes of testing that they might be
willing to open to the wider community. Is this still the case, and who
is the admin? If so I'm happy to help set it up.
Gabriela, how many files (stored bitstreams) are there between the
items? When you say 'print like' do you mean PDF docs, or metadata
records representing physical resources?
jim

Hi Jim,
>Gabriela, how many files (stored bitstreams) are there between the
>items? When you say 'print like' do you mean PDF docs, or metadata
>records representing physical resources?
>
>
>
By "print like" I meant PDF docs.
Bitstreams are about 7000. I have a few websites of about 5800 files all
together, a couple of books of about 10 files (PDF) each, and the rest
of the items have only one bitstream.
Cheers,
Gabriela
--
Gabriela Mircea
Information Technology Services
Robarts Library, 130 St. George St.
Toronto, ON, Canada, M5S 1A5
416 946 0114

Hi guys,
I think the attached patch should fix Gabriela's bug here, but I'd
appreciate it if someone with a bit more experience of the
AuthorizeManager could give it the once over.
Alternatively, could you test the patch, Gabriela?
jim
On Wed, 2004-07-07 at 21:06, Gabriela Mircea wrote:
> Hi all,
>
> - the good news is that I run a successful test of importing an entire
> website of about 500 files to dspace. I transformed the structure of
> the website in a flat one (moved all files in the same folder) and
> them imported them all. It was a very complex website with pictures,
> movies ... It is just great.
>
> - I run the mets exporter for a restricted item, and I got the error
> below
> /dspace/bin/dsrun org.dspace.app.mets.METSExport metsexport -i hdl:123456789/4
> Exporting item hdl:123456789/4
> Exception in thread "main" org.dspace.authorize.AuthorizeException: Authorization denied for action
> READ on BITSTREAM:10 by user 0
> at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:129)
> at org.dspace.content.Bitstream.retrieve(Bitstream.java:494)
> at org.dspace.app.mets.METSExport.writeAIP(METSExport.java:267)
> at org.dspace.app.mets.METSExport.main(METSExport.java:147)
>
> if I run the mets exporter for all (-a) it stops in the restricted items with a similar error
>
> - the upgrade from 1.1.1 to 1.2beta3 went without problem. I only noticed that in the documentation for updating from 1.1 to 1.2 nothing is mentioned about the changes in dspace.cfg for creative commons licenses. I just thought maybe a note could be added.
>
> Robert asked a while ago on the technical list if people are willing to donate content for testing purposes. We have an entire community of about 1400 items we could donate for this, but most of them are print like material.
>
> Cheers,
> Gabriela
>

Hi Jim,
Thank you for the patch. I just tested it, and it works just fine.
Gabriela
Jim Downing wrote:
>Hi guys,
>
>I think the attached patch should fix Gabriela's bug here, but I'd
>appreciate it if someone with a bit more experience of the
>AuthorizeManager could give it the once over.
>
>Alternatively, could you test the patch, Gabriela?
>
>jim
>
>
>On Wed, 2004-07-07 at 21:06, Gabriela Mircea wrote:
>
>
>>Hi all,
>>
>>- the good news is that I run a successful test of importing an entire
>>website of about 500 files to dspace. I transformed the structure of
>>the website in a flat one (moved all files in the same folder) and
>>them imported them all. It was a very complex website with pictures,
>>movies ... It is just great.
>>
>>- I run the mets exporter for a restricted item, and I got the error
>>below
>> /dspace/bin/dsrun org.dspace.app.mets.METSExport metsexport -i hdl:123456789/4
>>Exporting item hdl:123456789/4
>>Exception in thread "main" org.dspace.authorize.AuthorizeException: Authorization denied for action
>>READ on BITSTREAM:10 by user 0
>> at org.dspace.authorize.AuthorizeManager.authorizeAction(AuthorizeManager.java:129)
>> at org.dspace.content.Bitstream.retrieve(Bitstream.java:494)
>> at org.dspace.app.mets.METSExport.writeAIP(METSExport.java:267)
>> at org.dspace.app.mets.METSExport.main(METSExport.java:147)
>>
>>if I run the mets exporter for all (-a) it stops in the restricted items with a similar error
>>
>>- the upgrade from 1.1.1 to 1.2beta3 went without problem. I only noticed that in the documentation for updating from 1.1 to 1.2 nothing is mentioned about the changes in dspace.cfg for creative commons licenses. I just thought maybe a note could be added.
>>
>>Robert asked a while ago on the technical list if people are willing to donate content for testing purposes. We have an entire community of about 1400 items we could donate for this, but most of them are print like material.
>>
>>Cheers,
>>