[Dspace-tech] dspace 4.x discovery filter search
I am using dspace XMLUI 4.x version and very new in dspace. When we are using Apply button of dspace filter search portion,giving some filter value in it, it make a url like -- http://localhost:8080/xmlui/discover?filtertype_1=authorfilter_relational_operator_1=equalsfilter_1=Smithsubmit_apply_filter=Applyquery=; How this URL is creating? I can't find any source for this. Can anyone help me? -- View this message in context: http://dspace.2283337.n4.nabble.com/dspace-4-x-discovery-filter-search-tp4676736.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Fwd: Pls help: Dspace migration from 1.8.2 to 5 in new machine
Dear Team After various effort i am unable to upgrade DSPACE in system so i am planning to install same version of dspace. My database back file is shared with google if someone get any idea to help me. [dspace@sircdl root]$ /opt/dspace/bin/dspace database test Attempting to connect to database using these configurations: - URL: jdbc:postgresql://localhost:5432/dspace - Driver: org.postgresql.Driver - Username: dspace - Password: [hidden] - Schema: Testing connection... Connected successfully! On Wed, Feb 18, 2015 at 8:27 PM, Tim Donohue tdono...@duraspace.org wrote: Hi, In these DSpace logs, I'm seeing this same error over and over again: 2015-02-17 21:41:26,956 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL getDataSource Error - org.postgresql.util.PSQLException: FATAL: database dspace does not exist This error states that your database named dspace doesn't even exist, which is odd. In any case, regarding this other error: Error attempting to update Bitstream Format and/or Metadata Registries org.postgresql.util.PSQLException: ERROR: null value in column bitstream_format_id violates not-null constraint This error implies that in your bitstreamformatregistry table, at least one row has a value of null in the bitstream_format_id column. null is not a valid bitstream_format_id value, so DSpace doesn't know how to continue. You may want to inspect the values in your bitstream_format_registry table to see if there are any null values in there: SELECT * FROM bitstreamformatregistry; Finally, another question. By any chance do you have multiple DSpace databases in the same PostgreSQL database (perhaps under different schemas?). The behavior in your logs seems very odd. At one moment, DSpace cannot locate the database (FATAL: database dspace does not exist), and then later it seems like it can locate the database, but then the bitstreamformatregistry table has null values. I'm just trying to determine why this would be? - Tim On 2/18/2015 1:08 AM, इन्दु भूषण Indu Bhushan wrote: Apache Maven 3.0.5 , Java version: 1.8.0_31, Apache Ant(TM) version 1.8.2 , postgres (PostgreSQL) 9.0.3, Linux RHEL 5 Dear Sir Again I restored dspace.sql after dropdb. but as per status of info command it schema is not updating to to dspace 5. and also some error are shown in tomcat running screen when accessed dspace url. [dspace@sircdl root]$ ERROR: null value in column bitstream_format_id violates not-null constraint STATEMENT: INSERT INTO bitstreamformatregistry ( short_description,internal,description,bitstream_format_ id,mimetype,support_level) VALUES ( $1,$2,$3,$4,$5,$6) RETURNING null ERROR: there is no unique constraint matching given keys for referenced table item STATEMENT: CREATE TABLE versionitem ( versionitem_id INTEGER NOT NULL PRIMARY KEY, item_id INTEGER REFERENCES Item(item_id), version_number INTEGER, eperson_id INTEGER REFERENCES EPerson(eperson_id), version_date TIMESTAMP, version_summary VARCHAR(255), versionhistory_id INTEGER REFERENCES VersionHistory(versionhistory_id) ) LOG: unexpected EOF on client connection LOG: unexpected EOF on client connection LOG: unexpected EOF on client connection LOG: unexpected EOF on client connection LOG: unexpected EOF on client connection For more details all logs from dspace and tomcat are attached herewith. Pls reply soon With regards Indu Bhushan On Tue, Feb 17, 2015 at 9:11 PM, Tim Donohue tdono...@duraspace.org mailto:tdono...@duraspace.org wrote: Could you also check to see what errors are reported in your DSpace log files? Those files should be located at: [dspace.dir]/log/dspace.log.[__date] Where dspace.dir is configured in your dspace.cfg file. Based on what you've reported, it definitely looks like the database migration process has gotten confused. If it was halted unexpectedly due to a harddrive crash, it's possible that part of a migration was not completely successfully. But, the underlying errors (in the logs) should give us more information. Another question: Do you have a backup of your database from before you ran *any* migrations? According to your dspace database info command, it looks like the my-dspace-backup.sql file already included several migrations that were run on 2015-02-06 00:23:17 (specifically a 1.7 and 1.8 migration). Do you have a backup from prior to Feb 6, 2015 which had no migrations run on it yet? It might be worth trying the migration again from an older backup (if it is available). - Tim On 2/16/2015 5:58 AM, इन्दु भूषण Indu Bhushan wrote: Apache Maven *3.0.5* , *Java version: 1.8.0_31, Apache Ant(TM) version 1.8.2*, postgres (PostgreSQL) 9.0.3, Linux RHEL 5 Dear Sir After
Re: [Dspace-tech] Default settings for items per page and ascending/descending sorting
I created a issue in Jira to transform this hardcoded in parameter. https://jira.duraspace.org/browse/DS-2466 Rodrigo On Sat, Feb 21, 2015 at 6:27 PM, royopa roy...@gmail.com wrote: Hello! The default number of results are setted in class [dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java on line 55 and the default is 20 results. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java#L55 private int resultsPerPage = 20; Regards Rodrigo On Fri, Feb 6, 2015 at 11:13 PM, Terry Brady terry.br...@georgetown.edu wrote: I encountered this issue as well, and I needed to update the java code to make this change. https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SearchFacetFilter.java#L75 It might be useful to log this as a DSpace issue to make this item configurable. Terry 2015-02-04 8:58 GMT-08:00 Anisio Monteiro (IPEN/GDS-Informática) monte...@ipen.br: Hello, I'm here again, I would like to change the amount of items that is displayed by default, ie 10 items to 50 items, for example. Also, change the default order ascendant to descendant - the default is ascendent. Sorry if I was not very clear in the explanation doubt. Thanks for help! Best regards! -- Carlos ANISIO Monteiro mca...@gmail.com mca...@yahoo.com.br monte...@ipen.br IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São Paulo, Brasil CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622 Aquele que recebe de mim uma idéia tem aumentada a sua instrução sem que eu tenha diminuída a minha. Como aquele que acende sua vela na minha recebe luz sem apagar a minha. Que as idéias passem livremente de uns aos outros no planeta, para a instrução moral e mútua dos homens e a melhoria de sua condição...Invenções, portanto, não podem, na natureza, ser sujeitas à propriedade. (Thomas Jefferson) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Rodrigo Prado de Jesus http://about.me/royopa roy...@gmail.com -- Rodrigo Prado de Jesus http://about.me/royopa roy...@gmail.com -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Default settings for items per page and ascending/descending sorting
Hello! The default number of results are setted in class [dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java on line 55 and the default is 20 results. https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/BrowserScope.java#L55 private int resultsPerPage = 20; Regards Rodrigo On Fri, Feb 6, 2015 at 11:13 PM, Terry Brady terry.br...@georgetown.edu wrote: I encountered this issue as well, and I needed to update the java code to make this change. https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/SearchFacetFilter.java#L75 It might be useful to log this as a DSpace issue to make this item configurable. Terry 2015-02-04 8:58 GMT-08:00 Anisio Monteiro (IPEN/GDS-Informática) monte...@ipen.br: Hello, I'm here again, I would like to change the amount of items that is displayed by default, ie 10 items to 50 items, for example. Also, change the default order ascendant to descendant - the default is ascendent. Sorry if I was not very clear in the explanation doubt. Thanks for help! Best regards! -- Carlos ANISIO Monteiro mca...@gmail.com mca...@yahoo.com.br monte...@ipen.br IPEN/CNEN-SP - Av. Lineu Prestes, 2242 - Cidade Universitária, São Paulo, Brasil CEP 05508-000 Tel.(55)(11) 3133-8876 LINUX USER # 364622 Aquele que recebe de mim uma idéia tem aumentada a sua instrução sem que eu tenha diminuída a minha. Como aquele que acende sua vela na minha recebe luz sem apagar a minha. Que as idéias passem livremente de uns aos outros no planeta, para a instrução moral e mútua dos homens e a melhoria de sua condição...Invenções, portanto, não podem, na natureza, ser sujeitas à propriedade. (Thomas Jefferson) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 (Seattle, WA) -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Rodrigo Prado de Jesus http://about.me/royopa roy...@gmail.com -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Dspace 5 with Tomcat 8 on OSX
Hi Daniel, the exception is pretty self-explanatory. Make sure that Postgres is running, that dspace.cfg points at the correct postgres URL (hostname, port) and if the error message is still there, that it isn't blocked by a firewall. org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Imagemagick or xpdf or both? DSPACE 5
Thanks so much for this. I think this new direction should be reflected in official docs. The Official docs still reflect that xpdf is the recommended means of getting quality thumbs with dspace and makes little reference to its deprecation in place of imagemagick On 21/02/2015 20:40, Peter Dietz wrote: Hi Bobby, Don't use XPDF, I think we @deprecated it in DSpace 5, and the plan is to yank it out of DSpace in a future release. Getting XPDF enabled was a complete pain, as the dependencies for it don't readily exist, so installation was a heroic effort. Improved image quality of thumbs wasn't the main reason for adding imagemagick, installation simplicity was the main reason. The ImageMagick integration is the way to go. Getting it installed it probably as simple as yum install ImageMagick. Then run which convert to see where it got installed to, i.e. /usr/bin/ or /usr/local/bin I would remove XPDF from filter.plugins in dspace.cfg, once you get the image magick route working. Best of luck! Peter Dietz Longsight www.longsight.com http://www.longsight.com pe...@longsight.com mailto:pe...@longsight.com p: 740-599-5005 x809 On Fri, Feb 20, 2015 at 7:38 PM, Bobby bigbrov...@gmail.com mailto:bigbrov...@gmail.com wrote: Hi guys.. quick question.. am new to dspace.. am trying to get media thumbnail working for pdf.. most docs refer to using the xpdf package refer to in this doc http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/5.X however the official doc for dspace 5 claims it comes with pdf thumbnail support using imagemagick and ghostscript .. do I have to disable imagemagick filter before enabling xpdf? or can both of them co-exist in the same config file -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Fwd: How change default order by and number results in discovery
Hello! answering my own question, the default ORDER is setted in class [dspace-src]/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java on line 59: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java#L59 So, change the variable defaultOrder to SortOption.DESCENDING instead of SortOption.ASCENDING. I found a minor bug in constructor method for class BrowseIndex.java and I created a issue and PR to resolve this bug. Jira bug https://jira.duraspace.org/browse/DS-2465 Pull Request https://github.com/DSpace/DSpace/pull/869 If you can test and comment, I would appreciate it. Regards Rodrigo -- Forwarded message -- From: royopa roy...@gmail.com Date: Fri, Feb 20, 2015 at 10:25 PM Subject: How change default order by and number results in discovery To: dspace-tech dspace-tech@lists.sourceforge.net Hi In the page below I need change the default order to Descending instead of Ascending and the number of results to 35 instead of 20 results. [image: Inline image 1] Where would I can make this configuration? thanks -- -- Rodrigo Prado de Jesus http://about.me/royopa roy...@gmail.com -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette