EDF file unknown extension

34 views
Skip to first unread message

Ayu Widi

unread,
Sep 30, 2022, 5:03:58 AM9/30/22
to Dataverse Users Community
Hello there,

I am currently running Dataverse 5.4.1 , i found something strange in my log file :
[2022-09-30T09:02:23.152+0000] [Payara 5.2021.4] [INFO] [] [edu.harvard.iq.dataverse.util.FileUtil] [tid: _ThreadID=72 _ThreadName=http-thread-pool::http-listener-1(1)] [timeMillis: 1664528543152] [levelValue: 800] [[
  edf is a file extension Dataverse doesn't know about. Consider adding it to the MimeTypeDetectionByFileExtension.properties file.]]

I thought there's a user need to upload .edf file and dataverse doesn't recognize the extension. How to deal with this issue? thank you..

Ayu Widi,
BRIN Indonesia

Philip Durbin

unread,
Sep 30, 2022, 9:16:33 AM9/30/22
to dataverse...@googlegroups.com
Hi Ayu,

What is a .edf file? Does it have a standard mimeType/contentType?

As the log message indicates, it's possible to add edf=[contentType] to https://github.com/IQSS/dataverse/blob/v5.11.1/src/main/java/propertyFiles/MimeTypeDetectionByFileExtension.properties so that .edf files are detected.

But we need the contentType. Please see the link above for examples.

Thanks,

Phil

p.s. Here's an example of adding .geojson as a recognized file type: https://github.com/IQSS/dataverse/pull/8262

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/13881035-5f45-4801-9362-dbf59c791552n%40googlegroups.com.


--

Ayu Widi

unread,
Sep 30, 2022, 10:20:23 AM9/30/22
to dataverse...@googlegroups.com

Hi, phillip
Thank you for the answers, 
Edf is file extension from CAD software.
I will try to add this extension as mentioned above.

Regards
Ayu, 
BRIN Indonesia

Sent from my iPhone

On 30 Sep 2022, at 20.16, Philip Durbin <philip...@harvard.edu> wrote:


You received this message because you are subscribed to a topic in the Google Groups "Dataverse Users Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dataverse-community/pH3xRMT4JWw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/CABbxx8E1Nv-BT%3D7jMCe5ALbSqF7MDCeOyv14U4ZvaEoVGU7h9Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages