Re: [OPEN-ILS-GENERAL] Overdue notices not sending error
Hi Robert, I would verify any addresses configured in the staff client Library Settings interface (actor.org_unit_setting table) look like valid email addresses. -b On Thu, Jul 23, 2009 at 9:52 AM, Soulliere, Robert robert.soulli...@mohawkcollege.ca wrote: Hi Guys, We are still having trouble in getting automatic email notifications to function. When I run the generate_circ_notices.plI get the following Warning in osrfsys.log: [2009-07-23 06:01:13] generate_circ_notices.pl [INFO:14462:CStoreEditor.pm:104:] editor[0|0] action.circulation.search : returned 1 result(s) [2009-07-23 06:01:13] generate_circ_notices.pl [WARN:14462:generate_circ_notices.pl:378:] notice: unable to send overdue email to robert.soulli...@mohawkcollege.ca: $VAR1 = bless( { 'prop' = {}, 'string' = 'Can\'t call method address on an undefined value at /usr/share/perl5/Email/Send/SMTP.pm line 24. ', 'type' = 'failure', 'errno' = 1 }, 'Return::Value' ); It seems to not like the sender address or information, but I am not sure if it is the setting in the opensrf.xml file or the settings in the staff client. I am not getting a bounce email notification sent to the addresses specified as the sender email. We have correct email addresses in the sender address set up in both the opensrf.sml file and in the staff client location configuration. Here is the notification section of opensrf.xml: notifications !-- global mail server settings -- smtp_serverlocalhost/smtp_server sender_addressrsoulli...@evergreen-server.mohawkcollege.ca /sender_address !-- Overdue notices -- overdue !-- optionally, you can define a sender address per notice type -- sender_addressrsoulli...@evergreen-server.mohawkcollege.ca /sender_address !-- The system can generate an XML file of overdue notices. This is the directory where they are stored. Files are named overdue.-MM-DD.xml -- notice_dir/openils/var/data/overdue/notice_dir combined_template/openils/var/data/overdue_notice.example/combined_template notice !-- Notify at 7 days overdue -- notify_interval7 days/notify_interval !-- Options include always, noemail, and never. 'noemail' means a notice will be appended to the notice file only if the patron has no valid email address. -- file_appendnoemail/file_append !-- do we attempt email notification? -- email_notifytrue/email_notify !-- notice template file -- email_template/openils/var/data/overdue_notice.example/email_template /notice /overdue !-- Courtesy notices -- predue notice !-- All circulations that circulate between 5 and 13 days -- circ_duration_range from5 days/from to13 days/to /circ_duration_range !-- notify at 1 day before the due date -- notify_interval1 day/notify_interval file_appendfalse/file_append email_notifytrue/email_notify email_template/openils/var/data/predue_notice.example/email_template /notice /predue /notifications I was wondering of the problem would most likely relate to: 1. The opensrf.xml file configuration 2. Setup in the staff client. 3.An issue with a perl script: /usr/share/perl5/Email/Send/SMTP.pm or generate_circ_notices.pl Thanks, Robert -- This E-mail contains privileged and confidential information intended only for the individual or entity named in the message. If the reader of this message is not the intended recipient, or the agent responsible to deliver it to the intended recipient, you are hereby notified that any review, dissemination, distribution or copying of this communication is prohibited. If this communication was received in error, please notify the sender by reply E-mail immediately, and delete and destroy the original message. -- Bill Erickson | VP, Software Development Integration | Equinox Software, Inc. / The Evergreen Experts | phone: 877-OPEN-ILS (673-6457) | email: erick...@esilibrary.com | web: http://esilibrary.com
[OPEN-ILS-GENERAL] ***SPAM*** Re: autogen error
i wouldent dont really how to validate a xml document to check whether its valid or not. all i can say for sure is that. i was able to use it accurately.the only thing i changed about the setup was the name of the topmost library. i have added a copy of my org unit types,my org units, as well as my opensrf_core.xml files.you can check them yourself just to be very sure of its validity the ou.csv contains my org units the outy.csv contains my org unit types tthe third one is the opensrf_core.xml file On 7/23/09, Bill Erickson erick...@esilibrary.com wrote: Mess: JPeer could not load all necesarry values from config This means there is something wrong with /openils/conf/opensrf_core.xml. This is where Jabber configs live. Did the file also change? Is the file valid XML? -b On Thu, Jul 23, 2009 at 11:47 AM, Nuku Ameyibor nayi...@gmail.com wrote: i changed the nmae of my topmost library in the organizational heirachy.i updated the org heirachy. when i tried to run autogen.sh i got errors. these are the errors. autogen.sh -c /openils/conf/opensrf.xml -u Updating fieldmapper * ! EXCEPTION ! * TYPE: OpenSRF::EX::Config Mess: Config Exception Mess: JPeer could not load all necesarry values from config Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm Time: Thu Jul 23 11:43:51 2009 Updating web_fieldmapper * ! EXCEPTION ! * TYPE: OpenSRF::EX::Config Mess: Config Exception Mess: JPeer could not load all necesarry values from config Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm Time: Thu Jul 23 11:44:11 2009 Updating OrgTree * ! EXCEPTION ! * TYPE: OpenSRF::EX::Config Mess: Config Exception Mess: JPeer could not load all necesarry values from config Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm Time: Thu Jul 23 11:44:32 2009 Updating OrgTree HTML * ! EXCEPTION ! * TYPE: OpenSRF::EX::Config Mess: Config Exception Mess: JPeer could not load all necesarry values from config Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm Time: Thu Jul 23 11:44:52 2009 Refreshing proximity of org units * ! EXCEPTION ! * TYPE: OpenSRF::EX::Config Mess: Config Exception Mess: JPeer could not load all necesarry values from config Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm Time: Thu Jul 23 11:45:12 2009 Done under normal circumstances it runs well but as soon as i changed the name of the topmost library in my heirachy i got errors. i also get erros when i am using the staff cient to login or using the dynamic catlalog in my opac. the slimpac catlog works fine anyways . any ideas anyone?? -- Bill Erickson | VP, Software Development Integration | Equinox Software, Inc. / The Evergreen Experts | phone: 877-OPEN-ILS (673-6457) | email: erick...@esilibrary.com | web: http://esilibrary.com ou.csv Description: Binary data outy.csv Description: Binary data ?xml version=1.0? config !-- bootstrap config for OpenSRF apps -- opensrf !-- The OpenSRF Routers's name on the network -- !-- You should never need to change thischange this -- router_namerouter/router_name routers !-- List of router domains we should register with. We must at least have our default jabber domain in here -- routerevergreen-server.localdomain/router /routers domains !-- Our jabber domain, currently only one domain is supported -- domainevergreen-server.localdomain/domain /domains usernameopensrf/username passwdevergreen/passwd port5222/port !-- log to a local file -- logfile/openils/var/log/osrfsys.log/logfile !-- Log to syslog. You can use this same layout for defining the logging of all services in this file -- !-- logfilesyslog/logfile sysloglocal2/syslog actloglocal1/actlog -- !-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -- loglevel1/loglevel !-- config file for the services -- settings_config/openils/conf/opensrf.xml/settings_config /opensrf !-- The section between gateway.../gateway is a standard OpenSRF C stack config file -- gateway !-- we consider ourselves to be the originating client for requests, which means we define the log XID string for log traces -- clienttrue/client !-- the routers's name on the network -- router_namerouter/router_name !-- jabber domains to connect to (domain1, domain2, ...) -- domains domainevergreen-server.localdomain/domain /domains !-- These are the services that the gateway will serve. Any other requests will
Re: [OPEN-ILS-GENERAL] autogen error
Bill Erickson said the following on 07/23/2009 02:21 PM: Mess: JPeer could not load all necesarry values from config This means there is something wrong with /openils/conf/opensrf_core.xml. This is where Jabber configs live. Did the file also change? Is the file valid XML? -b On Thu, Jul 23, 2009 at 11:47 AM, Nuku Ameyibor nayi...@gmail.com mailto:nayi...@gmail.com wrote: i changed the nmae of my topmost library in the organizational heirachy. i updated the org heirachy. when i tried to run autogen.sh i got errors. these are the errors. autogen.sh -c /openils/conf/opensrf.xml -u This looks like the problem. ^^^ You'll want that pointing at opensrf_core.xml, not just opensrf.xml.
Re: [OPEN-ILS-GENERAL] ***SPAM*** Re: autogen error
On Thu, Jul 23, 2009 at 2:35 PM, Nuku Ameyibornayi...@gmail.com wrote: i wouldent dont really how to validate a xml document to check whether its valid or not. It appears to be valid XML at least. the ou.csv contains my org units the outy.csv contains my org unit types I don't see anything obviously wrong with these either. Hrmm. I'd really expect to see some errors in the logs before you run autogen.sh, but I'm not sure what else to try. Maybe raise the logging level of your services and check for errors again. -- Jason Etheridge | VP, Tactical Development | Equinox Software, Inc. / The Evergreen Experts | phone: 1-877-OPEN-ILS (673-6457) | email: ja...@esilibrary.com | web: http://www.esilibrary.com
Re: [OPEN-ILS-GENERAL] Webinar, 3 p.m. ET 7/21: Evergreen and MARC Format for Holdings Data (MFHD)
Hello Karen, I was not able to attend this webinar, but am very interested in seeing it. Where can I find the video? Thanks, Dan W.
Re: [OPEN-ILS-GENERAL] autogen error
Have to agree with Bill here! Till he pointed out the typo I did not see it either : ) Of course I'm guessing you've probably run through this page http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors Cheers Bill Ott wrote: This looks like the problem. ^^^ You'll want that pointing at opensrf_core.xml, not just opensrf.xml. -- - - - - - - - - - - - - - - - - - - - - - - - - - Anoop Atre IS Developer Integrator, MnPALS PH: 507.389.5060 OF: 3022 Memorial Library (Office-ML 3022) -- Mit der Dummheit kämpfen Götter selbst vergebens ~ Johann Christoph Friedrich von Schiller