Re: [OPEN-ILS-GENERAL] How do other systems handle print notices?
We have handled this in two different manners. Kathy is likely somewhat aware of both already, but for the benefit of everyone else: For the first, we started with consortia-wide printing at our central site. Generally, everyone got the same formatted output with minor changes. We handled that with the generate_circ_notices.pl script generating a single XML file for output that we then parsed with a PHP script for formatting on our ancient printers. Issues with that method included the catch that all notices were going out as the circ library, and we wanted billing notices to go out as the item owning library (but overdue to continue to use the circ library). The newer one, that we are officially doing a test run of today, uses a heavily modified generate_circ_notices.pl script to not only output the circs but a handful of OU settings. A PHP script then reads that XML file and generates PDF and/or CSV files based on the OU settings, followed by sending emails about the generated files. We are still limited to specific (in this case hard-coded) intervals, but libraries can customize their output greatly just by editing the OU settings. I was planning on doing the newer one entirely in perl (with no XML output needed), but found it easier to make PDF files in PHP, so I went back to using PHP to parse the XML file. Thomas Berezansky Merrimack Valley Library Consortium Quoting Aaron Zsembery azsemb...@pls-net.org: We have some libraries who have us print multi-part mailers , others who use PDF letters and a few who use stickers (which go on postcards). I am not sure exactly how ESI handled it, but I think they set up a script to run the various notifications and put a list of what library gets each type of notification in the script. Aaron Z Jr. Systems Administrator Pioneer Library System 2557 State Rt. 21 Canandaigua, New York 14424 Phone: (585) 394-8260 - Original Message - From: Steve Wills swi...@beyond-print.com To: Evergreen Discussion Group open-ils-general@list.georgialibraries.org Sent: Tuesday, January 10, 2012 5:20:29 PM Subject: Re: [OPEN-ILS-GENERAL] How do other systems handle print notices? I've also been working on this issue for Balsam and will second the call for info. I was thinking of adding a parmeter to take circ_lib from the command line, insert it into the QUERY in generate_notice_set() and feed it different templates for each respective library that needs it's own formatting. Right now I think we have a couple that want to stuff window envelopes but not everyone is asking for that. so def bump! Stev3 -Original Message- From: Kathy Lussier [mailto:kluss...@masslnc.org] Sent: Tuesday, January 10, 2012 03:37 PM To: ''Evergreen Discussion Group'' Subject: [OPEN-ILS-GENERAL] How do other systems handle print notices? Hi all, I've been exploring print billing notices and was wondering if others could share how they are handling print notices. I'm aware that print notices can be set up in opensrf.xml, but any template created here will be global. I've also been looking at some scripts based on the ones available at http://svn.open-ils.org/trac/ILS-Contrib/browser/ESI-Examples/trunk/notices to provide some level of customization for different. Are there other ways multi-site consortia are handling print notices? Thanks in advance for your feedback! Kathy Lussier - Kathy Lussier Project Coordinator Massachusetts Library Network Cooperative (508) 756-0172 (508) 755-3721 (fax) kluss...@masslnc.org IM: kmlussier (AOL Yahoo) Twitter: http://www.twitter.com/kmlussier
Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client
Jim Bond-Harris Rosary High School I am going to take an entirely different tack to your question. I'm going to ask if there is some specific reason you are trying Evergreen. Have you tried Koha? http://koha-community.org/ You might find it a good fit for your needs. Jason Stephenson Merrimack Valley Library Consortium
Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client
On Wed, Jan 11, 2012 at 03:22:33PM +, Jim Bond-Harris wrote: Need some help: I have EG 2.1.1 installed on Ubuntu LTS 10.04, running as a VM on top of ESXi as the host. I am logging in from a Windows 7 client, running the 2.1.1 client. The installation of the server seems to have been successful, HOWEVER, here is what happens: 1. All is running on the server. I can log in with my admin name/passwd through srfsh. I can access the starting page from the server (https://library.rosaryhs.local/xul/rel_2_1_1/server/main/ws_info.xul) Can you get to that URL from a web browser or curl or wget on the client machine?
Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client
No obvious errors in the logs, other that the 404 code indicating the file was not found. Are you doing any symlink trickery besides the link for the /openils/var/web/xul/server/? One possible gotcha is trying to put a particularly stamped version of the XUL files in a differently named directory. For example, let's say your client isn't actually stamped for rel_2_1_1, but for rel_2_1_0, and you took an existing /openils/var/web/xul/rel_2_1_1/ and renamed it to /openils/var/web/xul/rel_2_1_0/ to try to get things to match. However, there would then be files within the rel_2_1_0/ folder that have rel_2_1_1/ paths hard-coded. So your client might load rel_2_1_0/server/main/data.xul, which then tries to embed rel_2_1_1/server/main/ws_info.xul and fails. I don't think this matches what you've described so far, but it is one way to get a 404 for ws_info.xul. -- Jason Etheridge | Equinox Software, Inc. / The Open Source Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client
Jason Etheridge jason@... writes: No obvious errors in the logs, other that the 404 code indicating the file was not found. Are you doing any symlink trickery besides the link for the /openils/var/web/xul/server/? One possible gotcha is trying to put a particularly stamped version of the XUL files in a differently named directory. For example, let's say your client isn't actually stamped for rel_2_1_1, but for rel_2_1_0, and you took an existing /openils/var/web/xul/rel_2_1_1/ and renamed it to /openils/var/web/xul/rel_2_1_0/ to try to get things to match. However, there would then be files within the rel_2_1_0/ folder that have rel_2_1_1/ paths hard-coded. So your client might load rel_2_1_0/server/main/data.xul, which then tries to embed rel_2_1_1/server/main/ws_info.xul and fails. I don't think this matches what you've described so far, but it is one way to get a 404 for ws_info.xul. No, no symlinks except what was asked for in the install instructions. How would I tell if my staff client is 2.1.0 or 2.1.1? In the install, I specified 2.1.1, but looking at the client on the Windows side, all I see is 2.1. Then again, it would appear to be requesting rel_2_1_1 files, and that is how the directories are set on the server. One other little note: in the eg_conf file, I see the DocumentRoot value being **quoted** in the secure case (port 443), but **unquoted** for port 80! I think the quotes should not be there, but it did not seem to make a difference after I removed the quotes and restarted Apache. Does that detail sound suspicious to anyone else? Thanks, Jim
Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client
Can you paste it in a pastebin and share the link (better than attachment anyway for archival reasons)? http://paste.lisp.org/ Hope that helps, Chris - Original Message - From: Jim Bond-Harris jbondhar...@rosaryhs.com To: open-ils-general@list.georgialibraries.org Sent: Wednesday, January 11, 2012 4:49:03 PM Subject: Re: [OPEN-ILS-GENERAL] 2, 1, 1 server cannot provide pages for 2.1.1 client Jim Bond-Harris jbondharris@... writes: Dan Scott dan@... writes: Can you get to that URL from a web browser or curl or wget on the client machine? Yes, I can reach the page using Firefox on the client (although it reports that the Remote XUL uses a technology that is no longer available by default in Firefox. I created a document that shows all of the commands and responses I gave. I installed EG fresh on a new Ubuntu LTS 10.04 server today, and get exactly the same response for the Staff Client. There must be something I am answering incorrectly when I install it. Hopefully, someone can look at it and tell me what it is. Doesn't look like I can add attachments here, tho, so I guess it will have to wait until next week. Thanks in advance. -- Chris Sharp PINES Program Manager Georgia Public Library Service 1800 Century Place, Suite 150 Atlanta, Georgia 30345 (404) 235-7147 csh...@georgialibraries.org http://pines.georgialibraries.org/
Re: [OPEN-ILS-GENERAL] Client 2.1.1 login eror
On Wed, Jan 11, 2012 at 10:20 PM, j...@cdne.net wrote: Is the suggestion to rebuild with PG 8-4 instead of PG 9.0? It looks like there were a lot of failures creating the EG database. Or are there others on this list that use PG 9.0 backend? I don't think 8.4 is even an option for Evergreen 2.1. We run with 9.0, others run with 9.1. Here's your problem, right at the top of the PostgreSQL log: 2012-01-09 19:29:40 PST ERROR: type hstore does not exist at character 122 To wit: the hstore PostgreSQL contrib module wasn't added to the database; everything else fails after that.
Re: [OPEN-ILS-GENERAL] Client 2.1.1 login eror
Thanks for the great lead. I found the tips in the Upgrading EG 2.0 to 2.1 wiki guide http://open-ils.org/dokuwiki/doku.php?id=upgrading:evergreen:2.0_to_2.1.0 I'll give it a go and reply with result I don't think 8.4 is even an option for Evergreen 2.1. We run with 9.0, others run with 9.1. Here's your problem, right at the top of the PostgreSQL log: 2012-01-09 19:29:40 PST ERROR: type hstore does not exist at character 122 To wit: the hstore PostgreSQL contrib module wasn't added to the database; everything else fails after that.
Re: [OPEN-ILS-GENERAL] Client 2.1.1 login eror [SOLVED]
Thank you. I now have an operational EG install. as user postgres, run psql -f /usr/share/postgresql/9.0/contrib/hstore.sql evergreen prior to applying the evergreen database schema On Wed, Jan 11, 2012 at 09:05:21PM -0800, j...@cdne.net wrote: Thanks for the great lead. I found the tips in the Upgrading EG 2.0 to 2.1 wiki guide http://open-ils.org/dokuwiki/doku.php?id=upgrading:evergreen:2.0_to_2.1.0 I'll give it a go and reply with result I don't think 8.4 is even an option for Evergreen 2.1. We run with 9.0, others run with 9.1. Here's your problem, right at the top of the PostgreSQL log: 2012-01-09 19:29:40 PST ERROR: type hstore does not exist at character 122 To wit: the hstore PostgreSQL contrib module wasn't added to the database; everything else fails after that.