Re: [Dspace-tech] Item submission details in Manakin
Gary, In the DSpace 1.5 XMLUI, the entire configurable submission process is controlled by the Cocoon flowscript (javascript) in: [dspace-src]/dspace-xmlui/dspace-xmlui-api/src/main/resources/Submission/submission.js The final step that is processed within any configurable Submission process (JSPUI or XMLUI) is the Complete step. In particular, the processing class at: org.dspace.submit.step.CompleteStep Essentially, there are two steps which must *always* exist to allow DSpace to function properly: SelectCollectionStep and CompleteStep. These two steps are auto-loaded when your /config/item-submission.xml configuration file is read by org.dspace.app.util.SubmissionConfigReader That's all a bit of background...now to your actual question. There are two routes to adding this ID to your umrestricted table after an item has been submitted: (1) Change the default CompleteStep to add this ID. The disadvantage here is that the ID will be added *BEFORE* any workflow approval takes place (assuming you have collections which may have approval workflows). So, there's still a chance the item may not be approved, and never make it into archived state in DSpace. (2) Change the org.dspace.content.InstallItem class to add this ID. This 'InstallItem' class is what is called on completion of the workflow approval process (if one exists). It's role is to actually install an item into DSpace (and assign the official handle, etc). This is where I'd recommend you add your embargo code, as it is only called once an item is fully archived within DSpace, and it is called once for *every* item coming into DSpace. Hopefully that helps some! - Tim Gary McGath wrote: I previously asked about general information on finding one's way around Manakin, without success. Taking that to mean that there aren't any overall road maps available, I'll recast my question in terms of what I'm trying to do. I am attempting to implement an embargo feature on the XMLUI side of DSpace 1.5. For this, I'm making some use of Embargo V2 (http://wiki.dspace.org/index.php/Embargo_on_Bitstream_v2_%28JSP%29), but that's oriented toward the JSP user interface, so a lot has to be re-invented. I've figured out large parts of it, and even added Oracle SQL to that page, but need some help on the remaining bits. I've added an embargo date to the license page. My code subclasses dspace-xmlui/dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/LicenseStep.java to put the embargo date field into the page, and dspace-api/src/main/java/org/dspace/submit/step/LicenseStep.java to process the embargo date. This ultimately needs to add the ID of the created item to the umrestricted table which is defined by Embargo V2, and put the embargo date into the date.available metadata for the item. This can only be done at the conclusion of creating the item (or so I assume), but I'm having an oddly hard time figuring out where that final step is done. Can someone give me a pointer on that? -- Tim Donohue Research Programmer, Illinois Digital Environment for Access to Learning and Scholarship (IDEALS) University of Illinois at Urbana-Champaign [EMAIL PROTECTED] | (217) 333-4648 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Manakin twobox
Still struggling with this, but have some progress to report. In the Manakin Submission aspect, DescribeStep.java has comments that a twobox type must be taken care of in the theme: // We don't have a twobox field, instead it's just a // one box field that the theme can render in two columns. // Both onebox and twobox consist a free form text field // that the user may enter any value. The difference between // the two is that a onebox should be rendered in one column // as twobox should be listed in a two column format. Since this // decision is not something the Aspect can effect we merely place // as a render hint. So, looking to a JSP interface as an example, I was guessing that the text boxes should be named dc_subject_0 and dc_subject_1 . So I placed the following in the theme: !-- Make TwoBox for dc_subject fields -- input !-- xsl:attribute name=idsubmission_StepTransformer_field_dc_subject/xsl:attribute -- xsl:attribute name=classds-text-field submit-text/xsl:attribute xsl:attribute name=namedc_subject_0/xsl:attribute xsl:attribute name=typetext/xsl:attribute !-- xsl:attribute name=value/xsl:attribute -- /input input !-- xsl:attribute name=idsubmission_StepTransformer_field_dc_subject/xsl:attribute -- xsl:attribute name=classds-text-field submit-text/xsl:attribute xsl:attribute name=namedc_subject_1/xsl:attribute xsl:attribute name=typetext/xsl:attribute !-- xsl:attribute name=value/xsl:attribute -- /input But this didn't do the trick (with or without id's). After some experimenting I came up with the following results. dc_subject_0, dc_subject_1 - Values not display after Add button, Values not retained. dc_subject, dc_subject_0 - Only dc_subject displayed and retained. dc_subject, dc_subject_1 - Both displayed, Only dc_subject_1 retained. Could someone explain what is happening or point out a better way to get a twobox display in Manakin? Thanks, Andy From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Smith, Andrew J Sent: Monday, June 09, 2008 11:59 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Manakin twobox Hello, Has anyone run into Manakin 1.1 not properly handling the input type of twobox from the input-forms.xml? I have a couple of instances in which the JSP interface properly shows a twobox field with two text boxs and an Add, while only one text box and the Add button occur in the manakin interface. Thanks, Andy - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] filter-media error in DSpace 1.4.2
There is no fix - it is essentially a bug within PDFBox. In 1.5, there is a workaround that catches the out of memory exceptions, and skips the record. G Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: No wonder I didn't get any responses on my previous message...no one recognized the job name! :-) Sorry...the job that is getting the following error is filter-media. It intermittently gets the following error and a JAVA heap space error which someone way-back-when told me was supposed to be a bug that was going to be fixed. Does anyone know if there is a fix for it yet? I'm afraid our full-text search is not accurate because this job is blowing up mid-stream. Thanks, Sue p.s. rim-filter is just our name for the media-filter job with a couple of delete files added... Sue Walker-Thornton NASA Langley Research Center 757-224-4074 Error: Exception in thread main java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.HashMap.addEntry(HashMap.java:753) at java.util.HashMap.put(HashMap.java:385) at org.fontbox.cmap.CMap.addMapping(CMap.java:132) at org.fontbox.cmap.CMapParser.parse(CMapParser.java:153) at org.pdfbox.pdmodel.font.PDFont.parseCmap(PDFont.java:535) at org.pdfbox.pdmodel.font.PDFont.encode(PDFont.java:387) at org.pdfbox.util.PDFStreamEngine.showString(PDFStreamEngine.java:325) at org.pdfbox.util.operator.ShowText.process(ShowText.java:64) at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452 ) at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:21 5) at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174) at org.pdfbox.util.PDFTextStripper.processPage(PDFTextStripper.java:336) at org.pdfbox.util.PDFTextStripper.processPages(PDFTextStripper.java:259) at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216) at org.pdfbox.util.PDFTextStripper.getText(PDFTextStripper.java:149) at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java :110) at org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java :155) at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilte rManager.java:340) at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterMana ger.java:309) at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilt erManager.java:274) at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(Media FilterManager.java:242) at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.ja va:193) -Original Message- From: dspace home directory [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 1:05 AM To: [EMAIL PROTECTED] Subject: Output from cron command Your cron job on odyssey /dspace/bin/rim-filter /dspace/bin/rim-filter.log produced the following output: - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech This email has been scanned by Postini. For more information please visit http://www.postini.com - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Internal System Error
Hello, I'm in the process of upgrading my dspace 1.4.2 implementation to dspace 1.5. Currently I have atest machine where I have dspace 1.4.2 installed, I've used Maven to download the source code for dspace 1.5. I've followed the directions to upgrade, but when I start my new instance of dspace 1.5 I am getting a Internal server error, but nothing is being reported to the log file, and no trace stack is being sent either. the page displayed looks like this: null Internal System Error The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. Leave a message for the null administrators. Go to the DSpace home page Any help would be appreciated. I'm running it with Tomcat 5.25, Postgres 8.0 and java1.5. _ It’s easy to add contacts from Facebook and other social sites through Windows Live™ Messenger. Learn how. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Fedora discussion skypecast tomorrow
Hi Michele, For those who may be interested but were unable to attend the Skypecast, were there any conclusions that could be distilled into a wiki page or summary email? Thanks, Elliot Michele Kimpton wrote: Hi all, Tomorrow DSpace Foundation and Fedora Commons will be meeting with a few key folks from each community to begin the discussions on identifying ways the communities can work together to advance the missions of both organizations and communities. This will be the first in many discussions with our communities in the hopes of coming up with tangible ways to easily work together. In our effort to make these discussions as transparent and participatory we have set up a skypecast. Skypecast is a broadcast of the meeting available for anyone with a skype account to listen in and participate. The Skypecast can accommodate 100 people. In addition to the Skypecast, we will post the notes from the meeting on our wikis, and hope to have a recording of the meeting that anyone can download. We realize the technology, language and timing to get massive transparent participation is very limited. However, we promise to continue to make all discussions open and have multiple opportunities to voice your opinion, this being the first of many possible opportunities. If you would like to listen in tomorrow(Tuesday 1pm EDT, GMT-5 hours) , the meeting will go for 3 or 4 hours and you can log in at: https://skypecasts.skype.com/skypecasts/skypecast/detailed.html?id_talk=4668237 or search for DSpace at: https://skypecasts.skype.com/skypecasts/home You must have a skype account to join the meeting and currently skypecast does not support MAC. I would also welcome any input you would like to send me directly or by skype at mbkimpton. Michele - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- View this message in context: http://www.nabble.com/DSpace-Fedora-discussion-skypecast-tomorrow-tp17736293p17767939.html Sent from the DSpace - Tech mailing list archive at Nabble.com. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech