RE: [dspace-tech] Re: Weird Issue with PDF Opening

2020-05-26 Thread Cameron, Jacob
Thanks Euler.

I actually just withdrew the whole item from the collection, created a new 
submission with the same PDF and it worked fine.  I got tired of tinkering with 
it.  But it was 100% the coverpage that was causing the issue.  When I’m logged 
in, it doesn’t try to generate the coverage and displays right.  Not sure 
what’s going on there.  But issue was solved with a new submission.

Jake
--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756
This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail. Thank you.

From: dspace-tech@googlegroups.com  On Behalf Of 
euler
Sent: Tuesday, May 12, 2020 8:04 PM
To: DSpace Technical Support 
Subject: [dspace-tech] Re: Weird Issue with PDF Opening

Caution: This email was sent from someone outside of the University of 
Lethbridge. Do not click on links or open attachments unless you know they are 
safe. Please forward suspicious emails to 
phish...@uleth.ca.
Hi Jake,

I noticed that your repository have cover page generated upon download. I have 
this problem a long time ago when the pdf is either PDF/A compliant or it is a 
secured pdf where editing is not allowed. Since your repository is generating 
cover page on the fly, in a way it would like to edit the original pdf to 
insert the cover page. I don't know why it worked fine when you are logged in, 
so I might be wrong to assume that the pdf is secured or is PDF/A compliant.

Euler

On Wednesday, May 13, 2020 at 6:34:37 AM UTC+8, jacob.cameron wrote:
Hello Everyone,

DSpace 6.3, java 8 251, Windows Server 2019.

We have had several theses uploaded today and approved into our DSpace 
instance.  However, one of the documents throws an error when you try to open 
it.  But if you are logged in, it works fine.  There are no special 
authorizations on it.  It’s setup for anonymous read access.  Has anyone ever 
come across anything like this before?

https://opus.uleth.ca/handle/10133/5726

This is a first for me.  I’ve tried deleting the object, I’ve re-added it, I 
had the student resubmit their PDF.  I checked the database to be sure and it’s 
the same as anything else submitted.  But it always fails to open again if we 
are not logged in.  Any thoughts would be appreciated?

Thanks!

Jake
--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756
This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail. Thank you.

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/1050e849-7897-4969-bbbd-406b85d4e979%40googlegroups.com.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YTBPR01MB3919D6EF8C4A75CFB1CF5CBF84B00%40YTBPR01MB3919.CANPRD01.PROD.OUTLOOK.COM.


[dspace-tech] TOMCAT error

2020-05-26 Thread Gonzalo Villegas
Hello
after restarting Tomcat, the site shows an error and it is this:

Exception:
org.apache.jasper.JasperException: An exception occurred processing 
[index.jsp] at line [59]

56: SiteHomeProcessor [] chp = (SiteHomeProcessor []) 
CoreServiceFactory.getInstance (). GetPluginService (). GetPluginSequence 
(SiteHomeProcessor.class);
57: for (int i = 0; i https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/c8aa2c2c-e261-4a4f-ada4-23cabab05d9e%40googlegroups.com.


[dspace-tech] Re: dspace import csv MalformedSourceException error

2020-05-26 Thread Fatih Güneş
Dear Humberto,
As far as I remember, you need to add a plus sign (+) for id, when trying 
to insert.
Have a try, good luck.

On Saturday, May 23, 2020 at 5:52:36 PM UTC+3, Humberto Blanco Castillo 
wrote:
>
> Hi, 
> Im trying to import only metadata cvs file to dspace, im exec the 
> following command:
>
> /repository/bin/dspace import -b -m /tmp/MapFile -e hbla...@gmail.com 
>   -c 102266/20995 -s /tmp/Dspace_import_test.txt -i csv -w 
> -n -t
>
> and get the following error: 
>
> Owning  Collection: Articulos_test
> INFO: Dataloader will load data from the file specified in the command 
> prompt (and not from the Spring XML configuration file)
> INFO: Dataloader gr.ekt.bteio.loaders.CSVDataLoader@38154c71 will be used 
> for the import!
> Exception
> gr.ekt.bte.exceptions.MalformedSourceException: The requested column 1 
> does not exist
> at gr.ekt.bteio.loaders.CSVDataLoader.getRecords(CSVDataLoader.java:97)
> at gr.ekt.bteio.loaders.CSVDataLoader.getRecords(CSVDataLoader.java:125)
> at 
> gr.ekt.bte.core.TransformationEngine.transform(TransformationEngine.java:87)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addBTEItems(ItemImportServiceImpl.java:240)
> at 
> org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:381)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
> gr.ekt.bte.exceptions.MalformedSourceException: The requested column 1 
> does not exist
> at gr.ekt.bteio.loaders.CSVDataLoader.getRecords(CSVDataLoader.java:97)
> at gr.ekt.bteio.loaders.CSVDataLoader.getRecords(CSVDataLoader.java:125)
> at 
> gr.ekt.bte.core.TransformationEngine.transform(TransformationEngine.java:87)
> at 
> org.dspace.app.itemimport.ItemImportServiceImpl.addBTEItems(ItemImportServiceImpl.java:240)
> at 
> org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:381)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
> at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
> gr.ekt.bte.exceptions.MalformedSourceException: The requested column 1 
> does not exist
>
>
> this says that the column 1 dos not exist, i review the wiki ( 
> https://wiki.lyrasis.org/display/DSDOC6x/Batch+Metadata+Editing#BatchMetadataEditing-FileStructure)
>  
> there says that the first column must be the item id but its a new import 
> and not have item_id. 
>
> Any idea
>
> Humberto
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/b62c5c07-991b-4ac8-817c-8c90f64dfc1b%40googlegroups.com.


[dspace-tech] Re: Dspace-cris-5.8.1 internal system error

2020-05-26 Thread SamTube
I have also problem with Dspace cris 5.10. I have installed dspace cris for 
research data repository system. the system works fine but when we want to 
insert research data at the section Select the type(s) of content of the 
publication we missed dataset field. please any help me with this issue. 
thanks alot. there is no feild which say dataset in punlication type. but 
dspace cris works fine.

On Tuesday, March 13, 2018 at 7:43:05 PM UTC+3, Mohamad CHAITOU wrote:
>
> Dear all,
>
> I installed Dspace cris 5 on Ubuntu server 16 successfully. When I browse 
> for localhost:8080/jspui, the page opens. However, when I click on any of 
> the top menu fields such as  ("research ouputs" or " researchers" etc.) it 
> gives an "internal system error" or " document not found". Also when I 
> login using the admin account it gives the same error, though it indicates 
> that I am logged in.
> Note that "communities and collections" works fine ( I created a community 
> without errors).
> When I browse for "localhost:8080/xmlui" Tomcat gives: "Error 404 .The 
> origin server did not find a current representation for the target resource 
> or is not willing to disclose that one exists".
> When I browse for "localhost:8080:solr/search" Tomcat gives " 403 The 
> server understood the request but refuses to authorize it."
> I deployed all the webapps in [dspace-install]/webapps into 
> [tomcat]/webapps (by simply copying them from . [dspace-install]/webapps).
> Below is a part from the command output:  /dspace/bin/dspace version
> DSpace version:  CRIS-5.8.1-SNAPSHOT
>   SCM revision:  6abf691656214dcf672a82f2665b2c691447244d
> SCM branch:  dspace-5_x_x-cris
> OS:  Linux(amd64) version 4.4.0-116-generic
>   Applications:
> OAI at http://localhost:8080/jspui
> OAI at http://localhost:8080/jspui
> OAI at http://localhost:8080/jspui
> ...
>
> REST at http://localhost:8080/jspui
> RDF at http://localhost:8080/jspui
> JSPUI at http://localhost:8080/jspui
> JSPUI at http://localhost:8080/jspui
>  Discovery:  enabled.
>JRE:  Oracle Corporation version 1.8.0_161
>Ant version:  Apache Ant(TM) version 1.10.2 compiled on February 3 2018
>  Maven version:  3.5.3
>DSpace home:  /dspace
>
> I used tomcat 9.
> I verified the connectivity between dspace and database and it is ok 
> ([dspace-install]/bin/dispace database test)
> I verified that all webapps are running (curl -v -u user:pass 
> http://127.0.0.1:8080/manager/text/list)==>
>  HTTP/1.1 200
> < Cache-Control: private
> < Expires: Thu, 01 Jan 1970 02:00:00 EET
> < X-Content-Type-Options: nosniff
> < Content-Type: text/plain;charset=utf-8
> < Transfer-Encoding: chunked
> < Date: Tue, 13 Mar 2018 16:27:02 GMT
> <
> OK - Listed applications for virtual host [localhost]
> /:running:0:ROOT
> /rest:running:0:rest
> /swordv2:running:0:swordv2
> /sword:running:0:sword
> /docs:running:0:docs
> /rdf:running:0:rdf
> /jspui:running:88:jspui
> /examples:running:0:examples
> /host-manager:running:0:host-manager
> /solr:running:0:solr
> /xmlui:stopped:0:xmlui
> /manager:running:0:manager
> /oai:running:0:oai
> * Connection #0 to host 127.0.0.1 left intact
>
> Please find attached the log files of dspace and Tomcat.
> I hope to find some help.
> Thanks in advance!
>
>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/4fb33460-f0a6-4b26-9353-500a00c330b4%40googlegroups.com.


[dspace-tech] datacite mds test no longer available

2020-05-26 Thread Paul Warner
Hi,

The nice person at DataCite informed us that DataCite does not support a 
test version anymore for the mds interface that DSpace uses.  DataCite now 
has a REST Api as their main offering, and they offer a test version, 
api.test.datacite.org.  We are in the midst of a test for our Beta phase of 
our project, and want to use our test account.  I tried using the Fabrica 
url, doi.test.datacite.org, but while I can login myself directly here, 
DSpace gets a 404 when trying to register an item.  

2020-05-26 17:09:00,626 WARN  org.dspace.identifier.doi.DataCiteConnector @ 
While registration of DOI doi:10.0042/amad-22553, we got a http status code 
404 and the message "



Error


Cannot POST /doi/


".


We are running DSpace 6.3 with Postgresql 9.6.3.  Any suggestions?

Best regards,
Paul

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/39465010-c8e8-45bd-9a55-037ea8f609ae%40googlegroups.com.


[dspace-tech] AIP restore failed

2020-05-26 Thread Paul Münch
Hello,

I try to restore a DSpace test system from restored AIPs of the
productive system.

To remove the old test data I use '[dspace.dir]/bin/dspace database
clean' and '... database migrate'. After that I deleted the entire
assetstore.

To restoring the entire site I used the command from documentation:

[dspace]bin/dspace packager -s -a -t AIP -e  -i
/0 -o skipIfParentMissing=true
/full/path/to/your/site-aip.zip

And get this exception:

java.lang.RuntimeException: Can't create an Identifier!
    at
org.dspace.content.InstallItemServiceImpl.restoreItem(InstallItemServiceImpl.java:105)
    at
org.dspace.content.packager.PackageUtils.finishCreateItem(PackageUtils.java:524)
    at
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:525)
    at
org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1192)
    at
org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:292)
    at
org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:325)
    at
org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:325)
    at
org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:325)
    at org.dspace.app.packager.Packager.replace(Packager.java:734)
    at org.dspace.app.packager.Packager.main(Packager.java:370)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
    at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
java.lang.RuntimeException: Can't create an Identifier!

Do you have any advice?

Thanks in advance and kind regards,

Paul Münch


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/0c34487e-1108-ee6b-3beb-0e8ba9dada14%40staff.uni-marburg.de.