gsautter / goldengate-imagine

Automatically exported from code.google.com/p/goldengate-imagine
Other
1 stars 0 forks source link

article with phantom treatments #62

Closed myrmoteras closed 7 years ago

myrmoteras commented 7 years ago

@gsautter this is a very strange EJT article, that we can't fix, nor do we understand why the figurecitations are not linked in TB

image

the file name is 346-1786-1-PB. However this file has originally been uploaded as Bosselaers, J., _ Van Keer, J. (2016). A redescription of Harpactea dufouri (Thorell, 1873)(Araneae, Dysderidae), its occurrence outside the Balearic Islands, and some notes on

and this later name is still maintained in the metadat of the the treatment that is in TB.

https://zenodo.org/record/269002#.WJja_xorK0o that cites this treatment http://treatment.plazi.org/id/884C36210264FFF5FDAE5F8F2D76FD19

Also, in the dashboards Jeremey prepared, this document seems not to have a treatment included.

How can we fix this file? I have no tricks available anymore....

thanks for looking into this

donat

gsautter commented 7 years ago

OK, I'll go hunting this one instead of fixing whatever I figured out for #57 ...

gsautter commented 7 years ago

This one is not on Zenodo at all ... look at http://treatment.plazi.org/GgServer/xml/884C36210264FFF5FDAE5F8F2D76FD19 , there is no ID-Zenodo-Dep attribute. Keep in mind that you have to release the document (close it in GGI) for the Zenodo uploader to be able to take over. The uploader needs to be able to acquire the lock so it can write back the DOIs and HTTP URIs it gets from Zenodo in response to the upload.

However, in this instance, the problem is a different one: The document was uploaded to the XML Article Repo before (by Jeremy) via "Export -> Export Document to GoldenGATE Server", so the update cannot be forwarded from the IMF Repo to the XML based parts of TB, as the XML already exists.

gsautter commented 7 years ago

To bad I just had to go hunting figures again, was really looking forward to fixing #57 ...

myrmoteras commented 7 years ago

yes, it is in Zenodo

https://zenodo.org/record/269002#.WJjjbhorK0p

and here the figures https://doi.org/10.5281/zenodo.269003 https://doi.org/10.5281/zenodo.269004

myrmoteras commented 7 years ago

and the document name is this 346-1786-1-PB , last upload 2017-02-06 21:37:52

gsautter commented 7 years ago

Sure it's in Zenodo ... it's only that the Zenodo linkup attributes (ID-Zenodo-Dep of document and DOIs / HTTP URIs of figures) cannot be forwarded to the XML Article Repo or XML Treatment Repo because the document already exists there from Jeremy's earlier XML based upload ... the IMF Repo ==> XML Article Repo transfer does not overwrite an XML document it has not created itself, plainly to prevent data loss due to overwriting.

myrmoteras commented 7 years ago

how to fix it? the former upload has a very long document name that makes it very difficult to impossible to write scripts to get the dashboard. So Jeremy renamed and uploaded it. This had also a problem with the treatment, because the subsubsection type"nomenclature" has been missing, that is fixed in the other later filed.

gsautter commented 7 years ago

You can open GGE, use "File -> Load Document from GoldenGATE Server" to get the document list, find the document, and delete it. After that, you can open the IMF in GGI (also from the server), make some mini change, and then save and close it again. Instead, you can also just tell me you did the deletion, and I'll manually trigger the IMF Strore ==> XML Article Repo forward.

myrmoteras commented 7 years ago

ok - but which is the file name of the first file? I wanted to do this, but can't find the file.

gsautter commented 7 years ago

Look at http://treatment.plazi.org/id/884C36210264FFF5FDAE5F8F2D76FD19 ... "treatment provided by Jeremy (2017-02-06 12:14:22)" should give you all you need to use the filters. If not, the document name is visible in the docName attribute in http://treatment.plazi.org/GgServer/xml/884C36210264FFF5FDAE5F8F2D76FD19

myrmoteras commented 7 years ago

I don't find it. There is no such file, but the one with the short file name. Does this mean, that Jeremy has it open? image

gsautter commented 7 years ago

Try "Uloaded by - jeremy" and "Uploaded - less than - one week ago" ... but it's true, you cannot see the document if Jeremy still holds the lock.

myrmoteras commented 7 years ago

ok - you actually don't know whether it is there.

gsautter commented 7 years ago

It is there, and Jeremy does not hold the lock ... I meant "Open Document from GG Server" in GGE (E for Editor), not GGI.

In GGI, you see the the contents of IMF store. If you want to look at the XML Article Repo, you have to use GGE.

myrmoteras commented 7 years ago

I never heard anything from GGE. Where is it?

gsautter commented 7 years ago

You never knew GoldenGATE Editor, right? The good old piB Configuration, etc. ...

myrmoteras commented 7 years ago

I did not know that I can open IMF files with PiB. Or did we at produce boxex using piB?

image

http://treatment.plazi.org/GgServer/xml/884C36210264FFF5FDAE5F8F2D76FD19

also, load file from server does not work in PiB

gsautter commented 7 years ago

I did not mean you should open an IMF with piB ... just open the "Load from GG Server" dialog to the the document list from DIO (aka XML Article Repo), find Jeremy's prematurely uploaded document, and delete it via a right click and "Delete". All of that to make way for re-uploading the IMF through IMF store and then all the way through to TB after the old XML is out of the way.

gsautter commented 7 years ago

Nevermind, though, I've created a "force overwrite" admin action and will use it.