<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=Generator content="Microsoft Word 15 (filtered medium)">
<STYLE><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></STYLE>
</HEAD>
<BODY lang=EN-AU dir=ltr vLink=purple link=blue bgColor=white>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Greetings,</DIV>
<DIV> </DIV>
<DIV>It seems that “$debug && warn” is a popular style used in C4/Member 
already. I don’t think a system preference is needed. Just a $debug prepend, 
perhaps?</DIV>
<DIV> </DIV>
<DIV><A title=https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15795 
href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15795">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15795</A></DIV>
<DIV>Sign it off, kill it, suggest a counter-patch, whatever. I do think this 
addresses the issue.</DIV>
<DIV> </DIV>
<DIV>GPML,</DIV>
<DIV>Mark Tompsett</DIV>
<DIV> </DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=dcook@prosentient.com.au 
href="mailto:dcook@prosentient.com.au">David Cook</A> </DIV>
<DIV><B>Sent:</B> Wednesday, February 10, 2016 6:40 PM</DIV>
<DIV><B>To:</B> <A title=philippe.blouin@inlibro.com 
href="mailto:philippe.blouin@inlibro.com">'Philippe Blouin'</A> </DIV>
<DIV><B>Cc:</B> <A title=koha-devel@lists.koha-community.org 
href="mailto:koha-devel@lists.koha-community.org">koha-devel@lists.koha-community.org</A> 
</DIV>
<DIV><B>Subject:</B> Re: [Koha-devel] NorwegianPatronDB</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV class=WordSection1>
<P class=MsoNormal><A name=_MailEndCompose><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'>I 
think you’re right, Philippe.<o:p></o:p></SPAN></A></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'><o:p></o:p></SPAN> </P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'>I’ve 
noticed the same thing. In fact, the “Unable to load Koha::NorwegianPatronDB” 
was added after the fact to stop the absence of those libraries causing Koha to 
die. <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'><o:p></o:p></SPAN> </P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'>I 
don’t necessarily see the point of having that warning there though, as most 
Koha users probably aren’t going to use the 
NorwegianPatronDB.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'><o:p></o:p></SPAN> </P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'>Maybe 
that could have a system preference… so the warns (or the dying) only happens 
when the system preference is set?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'><o:p></o:p></SPAN> </P>
<DIV>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'>David 
Cook<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'>Systems 
Librarian<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'>Prosentient 
Systems<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'>72/330 
Wattle St, Ultimo, NSW 2007<o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><SPAN 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext; mso-fareast-language: en-us'><o:p></o:p></SPAN> </P>
<DIV 
style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 0cm; PADDING-LEFT: 4pt; BORDER-LEFT: blue 1.5pt solid; PADDING-RIGHT: 0cm">
<DIV>
<DIV 
style="BORDER-TOP: #e1e1e1 1pt solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0cm; PADDING-TOP: 3pt; PADDING-LEFT: 0cm; BORDER-LEFT: medium none; PADDING-RIGHT: 0cm">
<P class=MsoNormal><B><SPAN lang=EN-US 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'>From:</SPAN></B><SPAN 
lang=EN-US 
style='FONT-SIZE: 11pt; FONT-FAMILY: "Calibri",sans-serif; COLOR: windowtext'> 
koha-devel-bounces@lists.koha-community.org 
[mailto:koha-devel-bounces@lists.koha-community.org] <B>On Behalf Of 
</B>Philippe Blouin<BR><B>Sent:</B> Thursday, 11 February 2016 8:47 
AM<BR><B>To:</B> koha-devel@lists.koha-community.org<BR><B>Subject:</B> 
[Koha-devel] NorwegianPatronDB<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p></o:p> </P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt">Hi!<BR>I'm working on 3.22.02 and 
my logs are FILLED with the following warnings:<BR><BR>Members.pm: Unable to 
load Koha::<B>NorwegianPatronDB</B> at /blurred/C4/Members.pm line 46., referer: 
<A 
href="http://blurred/cgi-bin/koha/acqui/booksellers.pl">http://blurred/cgi-bin/koha/acqui/booksellers.pl</A><BR>admin-home.pl: 
Unable to load Koha::<B>NorwegianPatronDB</B> at /blurred/C4/Members.pm line 
46., referer: <A 
href="http://blurred/cgi-bin/koha/admin/preferences.pl">http://blurred/cgi-bin/koha/admin/preferences.pl</A><BR><BR>I 
look at the code, and beside wondering why that custom feature is so profoundly 
imbricated into master Koha, I was wondering what is not working.<BR><BR>So I 
hacked the code to add verbose => 1 on the can_load call, and found that 
NorwegianPatronDB was not compiling because it was missing the following 
libraries:<BR><BR>apt-get -y install libsoap-lite-perl<BR>apt-get -y install 
libcrypt-gcrypt-perl<BR>apt-get -y install libconvert-basen-perl<BR><BR>Those 
modules are specified as NOT mandatory in 3.22.  As such, I should not be 
flooded with Norwegian errors because they are not available, for a module which 
I and most do not care for.<BR><BR>Or am I getting it 
wrong?<BR><BR>Thanks<BR>Philippe<o:p></o:p></P></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Koha-devel mailing 
list<BR>Koha-devel@lists.koha-community.org<BR>http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<BR>website 
: http://www.koha-community.org/<BR>git : http://git.koha-community.org/<BR>bugs 
: http://bugs.koha-community.org/</DIV></DIV></DIV></BODY></HTML>