Comments (1)
The original email thread, with examples:
On Mon, Jun 3, 2019 at 9:43 AM Duane Costa [email protected] wrote:
Hi Gastil,
Thanks for providing an excellent description of the issue and a test data package on portal-d. I downloaded the EML and tried it out with function="information" and with/without manual upload so I could reproduce the behavior. It seems that better error reporting is needed here, either through a quality check or a more informative error message from PASTA. The current message is:
An entity failed to download successfully: packageId: knb-lter-mcr.999.1; entity name: This_is_a_test_entity_name; entity id: bcba6aa9830c4f64090882dd2e8acbee
Also, I'm not entirely sure what the behavior should be when function="information" in the metadata is combined with a manual upload. Those two things seem somewhat incompatible so perhaps this too should be flagged as an error. (??)
I'll enter all this info into the bug tracker.
Duane
On Sat, Jun 1, 2019 at 3:44 PM Gastil Gastil-Buhl [email protected] wrote:
Hi Duane,
No action item. Just fyi.
I just now diagnosed an error on my end, with my EML file, using evaluate on portal. I share it now, in case someone else has this error. It is trivial to fix, but for me was not trivial to solve.
The error was caused by having function="information" instead of function="download" as an attribute of the element to download the data file.
Now the strange part. This not only prevented the entity from downloading via the url in the eml, it actually caused the same error when I opted to manually select the file, using the form option. How strange is that?
I created a MRE test case, knb-lter-mcr.999 in portal-d. I uploaded revision 1 with function="download". Then I made a revision 2 with function="information". Revision 2 fails both in the usual load-from-url mode and the manual load option from portal's form.
In the test file, I used a direct url rather than one thru my optional-self-id system, to simplify the example. And I normally never use the manual upload. I was only using that for diagnosis. But that was the most strange part.
Now that my EML is fixed, having replaced function="information" with "download", my package evaluates fine. And this would not even have happened except I was uploading some hand-written EML from 2012, before we had the program writeEML.
Just stash this info in case someone else has problems that might be this.
Gastil
from ecc.
Related Issues (20)
- check to encourage better data set titles? HOT 2
- write a 2 pp summary of ECC activities for IMC annual mgt HOT 2
- summary presentation for IMC meeting
- Review TDWG checking of dateTimes
- temporalCoverage congruence
- consider adding hh:mm to the preferred list
- other congruence/compliance checkers we should be aware of
- new check - pubDate
- new checks, for EML 2.2
- Abstract grammar check
- new checks related to file size, presence and congruence HOT 4
- do we need a level for "ALERT" HOT 1
- Did 2019 hackathon identify any new potential checks? HOT 5
- infographic summarizing machine-readability check results HOT 8
- raise level of entityNameLength to "error" HOT 8
- received a suggestion: check creator email addresses
- new check: warn if no orcid id
- dataLoadStatus and dateTimes HOT 3
- may we add truncated date representations to dateTimeFormatString_list.csv HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecc.