[Koha] How to calculate the fines in koha 2.2.8

thandu venkat narayana thandu_venkat at yahoo.com
Wed Sep 17 01:53:08 NZST 2008


Dear All,
 
How to calculate the fines in koha 2.2.8
 
Regards

T.Venkat Narayana
M.A.,M.L.I.Sc.;PGDLAN,
Assistant Librarian,
Sri Venkateswara Engineering College,
SURYAPET - A.P.
INDIA

--- On Thu, 4/9/08, koha-request at lists.katipo.co.nz <koha-request at lists.katipo.co.nz> wrote:

From: koha-request at lists.katipo.co.nz <koha-request at lists.katipo.co.nz>
Subject: Koha Digest, Vol 35, Issue 10
To: koha at lists.katipo.co.nz
Date: Thursday, 4 September, 2008, 4:27 AM

Send Koha mailing list submissions to
	koha at lists.katipo.co.nz

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.katipo.co.nz/mailman/listinfo/koha
or, via email, send a message with subject or body 'help' to
	koha-request at lists.katipo.co.nz

You can reach the person managing the list at
	koha-owner at lists.katipo.co.nz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha digest..."


Today's Topics:

   1. Re: Barcode not being generated in new MARC records
      (Bruce Raymond)
   2. Re: PDF error when producing more than 6 - 10 barcode labels
      (Bruce Raymond)
   3. Guided Reports - HTML output to the screen - download error
      (Bruce Raymond)
   4. Re: Guided Reports - HTML output to the screen - download
      error (Cab Vinton)
   5. Re: Guided Reports - HTML output to the screen - download
      error (Bruce Raymond)
   6. Re: bulkmarcimport.pl (thandu venkat narayana)


----------------------------------------------------------------------

Message: 1
Date: Wed, 3 Sep 2008 19:37:17 -0600
From: "Bruce Raymond" <braymond at regisjesuit.com>
Subject: Re: [Koha] Barcode not being generated in new MARC records
To: "Joe Atzberger" <ohiocore at gmail.com>
Cc: koha at lists.katipo.co.nz
Message-ID:
	<A59F0F5F9A16C943AFDB7F5FC59BCE620246C63F at exchange03a.RJHS.com>
Content-Type: text/plain; charset="us-ascii"

Thanks Joe. This addressed the problem by changing the barcode
autogeneration to incremental.  It also fixed a label printing problem I
was having.  The pdf generator was generating errors because of the home
branch style barcodes.

 

I would really prefer to use the branch style though, so I hope that
functionality will be restored in the future.  In the meantime it should
probably be removed as a choice since it is unreliable.

 

From: Joe Atzberger [mailto:ohiocore at gmail.com] 
Subject: Re: [Koha] Barcode not being generated in new MARC records

 

Bruce --

All forms of barcode autogeneration except incremental are problematic.
I strongly recommend against using them.

"Home branch" or "hbyymmincr" style barcodes, in
particular, are not
implemented in a widely applicable way.  It should not be used by
multi-branch libraries, or libraries with more than 9999 items, or
libraries with non-4-character branch codes, or libraries with digits or
underscores in their branch codes... or basically anyone.

The query that obtains the next valid barcode for hbyymmincr is:

        $query = "SELECT MAX(CAST(SUBSTRING(barcode,7,4) AS signed))
FROM items WHERE barcode REGEXP ?";
        my $sth=$dbh->prepare($query);
        $sth->execute("^[a-zA-Z]{1,}$year");


In this case, year would be "08", but you can see the flaws in this
query result in the extreme limitations above.  

You can print the branch and year directly on the barcode stickers and
spine labels you generate.  That info does not need to be part of the
barcode itself.

--Joe Atzberger,
LibLime

 

On Mon, Sep 1, 2008 at 11:31 PM, Bruce Raymond
<braymond at regisjesuit.com> wrote:


Installation details:  Koha 3.0 stable.
Setting details: Automatic barcode generation using the home branch
method
is turned on.

The automatic barcode generating has been working ok until a few days
ago.
Now no barcode is being generated.  The automatic setting is still set
on.

Any suggestion about how to troubleshoot this problem?
--
View this message in context:
http://www.nabble.com/Barcode-not-being-generated-in-new-MARC-records-tp
19263641p19263641.html

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/1c48d730/attachment-0001.htm


------------------------------

Message: 2
Date: Wed, 3 Sep 2008 18:42:00 -0700 (PDT)
From: Bruce Raymond <braymond at regisjesuit.com>
Subject: Re: [Koha] PDF error when producing more than 6 - 10 barcode
	labels
To: koha at lists.katipo.co.nz
Message-ID: <19301708.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


I was using the homebranch method of barcode autogeneration.  When I switched
to the incremental barcode generation, the pdf generation worked correctly.


Bruce Raymond wrote:
> 
> Version info: Koha 3.0 stable.
> 
> When generating a sheet of barcode labels with more than 6 - 10 labels,  I
> get the message that the pdf file is corrupted.
> 
> Generating spine labels (simpler, no bar code) works fine.  No restriction
> on number of labels.
> 
> 
> 
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/PDF-error-when-producing-more-than-6---10-barcode-labels-tp19263658p19301708.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



------------------------------

Message: 3
Date: Wed, 3 Sep 2008 18:48:06 -0700 (PDT)
From: Bruce Raymond <braymond at regisjesuit.com>
Subject: [Koha] Guided Reports - HTML output to the screen - download
	error
To: koha at lists.katipo.co.nz
Message-ID: <19301762.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Koha 3.0 stable on Ubuntu 7.10 Using Mozilla Firefox 3.0.1 on Windows

When producing a guided report, the output is generated to the screen in
html, but when I attempt to download the report I receive the error:  Error
exporting report!



-- 
View this message in context:
http://www.nabble.com/Guided-Reports---HTML-output-to-the-screen---download-error-tp19301762p19301762.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



------------------------------

Message: 4
Date: Thu, 4 Sep 2008 00:01:29 -0400
From: "Cab Vinton" <bibliwho at gmail.com>
Subject: Re: [Koha] Guided Reports - HTML output to the screen -
	download	error
To: "Bruce Raymond" <braymond at regisjesuit.com>
Cc: koha at lists.katipo.co.nz
Message-ID:
	<835777770809032101t3a070fdfs5486763f7945265f at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

We had the same problem. Believe it was reported here:
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2360

Supposedly fixed, but requires a patch. Sorry, don't have any other details
....

Cab Vinton, Director
Sanbornton Public Library
Sanbornton, NH


On Wed, Sep 3, 2008 at 9:48 PM, Bruce Raymond <braymond at regisjesuit.com>
wrote:
>
> Koha 3.0 stable on Ubuntu 7.10 Using Mozilla Firefox 3.0.1 on Windows
>
> When producing a guided report, the output is generated to the screen in
> html, but when I attempt to download the report I receive the error: 
Error
> exporting report!
>
>
>
> --
> View this message in context:
http://www.nabble.com/Guided-Reports---HTML-output-to-the-screen---download-error-tp19301762p19301762.html
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>


------------------------------

Message: 5
Date: Wed, 3 Sep 2008 21:10:48 -0700 (PDT)
From: Bruce Raymond <braymond at regisjesuit.com>
Subject: Re: [Koha] Guided Reports - HTML output to the screen -
	download error
To: koha at lists.katipo.co.nz
Message-ID: <19303016.post at talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Can someone direct me to the source of the patch??  And possibly with
instruction for applying it?


Cab Vinton wrote:
> 
> We had the same problem. Believe it was reported here:
> http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2360
> 
> On Wed, Sep 3, 2008 at 9:48 PM, Bruce Raymond
<braymond at regisjesuit.com>
> wrote:
>>
>> Koha 3.0 stable on Ubuntu 7.10 Using Mozilla Firefox 3.0.1 on Windows
>>
>> When producing a guided report, the output is generated to the screen
in
>> html, but when I attempt to download the report I receive the error: 
>> Error
>> exporting report!
>>
>>
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Guided-Reports---HTML-output-to-the-screen---download-error-tp19301762p19301762.html
>> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 
> 

-- 
View this message in context:
http://www.nabble.com/Guided-Reports---HTML-output-to-the-screen---download-error-tp19301762p19303016.html
Sent from the Koha - Discuss mailing list archive at Nabble.com.



------------------------------

Message: 6
Date: Thu, 4 Sep 2008 09:56:26 +0530 (IST)
From: thandu venkat narayana <thandu_venkat at yahoo.com>
Subject: Re: [Koha] bulkmarcimport.pl
To: koha at lists.katipo.co.nz
Message-ID: <36232.54382.qm at web94907.mail.in2.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Dear All,
?
I am using koha 2.2.8 on windows, 
How to use bulkmarcimport.pl to add library records.
?
Regards
?
T.Venkat Narayana
M.A.,M.L.I.Sc.;PGDLAN,
Assistant Librarian,
Sri Venkateswara Engineering College,
SURYAPET - A.P.
INDIA

--- On Wed, 3/9/08, koha-request at lists.katipo.co.nz
<koha-request at lists.katipo.co.nz> wrote:

From: koha-request at lists.katipo.co.nz <koha-request at lists.katipo.co.nz>
Subject: Koha Digest, Vol 35, Issue 8
To: koha at lists.katipo.co.nz
Date: Wednesday, 3 September, 2008, 6:47 PM

Send Koha mailing list submissions to
	koha at lists.katipo.co.nz

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.katipo.co.nz/mailman/listinfo/koha
or, via email, send a message with subject or body 'help' to
	koha-request at lists.katipo.co.nz

You can reach the person managing the list at
	koha-owner at lists.katipo.co.nz

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha digest..."


Today's Topics:

   1. migrating winisis data into koha (Zahir Husain Mohamed Ismail)
   2. Quesitons about make_spellcheck_suggest.pl (Brendan Gallagher)
   3. Re: Quesitons about make_spellcheck_suggest.pl (Jesse Weaver)
   4. Re: Quesitons about make_spellcheck_suggest.pl (Brendan Gallagher)


----------------------------------------------------------------------

Message: 1
Date: Wed, 3 Sep 2008 10:11:46 +0530
From: "Zahir Husain Mohamed Ismail" <shammyac at gmail.com>
Subject: [Koha] migrating winisis data into koha
To: koha at lists.katipo.co.nz
Cc: venkat_222002 at yahoo.co.in
Message-ID:
	<ec9076c00809022141j7d73da5anf94290dc79c830e9 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear friends

I received ur mail thanks a lot

Rehamn i have been find ur solution i mean

C:\usr\koha228\scripts\misc\migration_tools>perl
bulkmarcimport.pl -

but how to import my *finaldata.mrc* in to this folder

its i can't understand please help me step by step its grate help for me
and
my institution

i have been import my (*finaldata.mrc*)  Koha Reservior through the web
interface.

but its not import by this way and i received following massage

*Import results :*

   *300 imported records*

   *0 not imported because already in DB*

   *0 not imported because already in farm*

   *0 not imported because they seems not to be MARC format (or ISBN/ISSN
   missing) !*

   *300 records parsed*

   *Back* <http://intranet/cgi-bin/koha/admin-home.pl>* *

   *therefore please help me how to import tis file *

please reply me


-- 
<><><><><><><><><><><><><><><><><><><><><><><><>
"Trust in God. Always !"
(?`?.???) Always
`?.?(?`?.???) Keep
(?`?.???)?.?? Smiling!
`?.?.??

M.I.Zahir Hussain
Library Assiatant
Science Library
Faculty of Applied Sciences
South Eastern University of Sri Lanka
University Park
Sammanthurai # 32200
T.P. Office : 067 2260717
Home        : 067 2261283
Mobile       : 077 3305920
e-mail        : shammyac at gmail.com
                 : shammyac at seu.ac.lk
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/c585f589/attachment-0001.htm


------------------------------

Message: 2
Date: Wed, 3 Sep 2008 14:25:59 -0400
From: Brendan Gallagher <gallabr at biblio.org>
Subject: [Koha] Quesitons about make_spellcheck_suggest.pl
To: Koha Mailing List <koha at lists.katipo.co.nz>
Cc: Amy Terlaga <terlaga at biblio.org>
Message-ID: <F4D6FA5C-1309-4462-A0D9-C60C018D0111 at biblio.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi All -

I've been snooping around in the make_spellcheck_suggest.pl perl  
script and I've developed a few questions.

Looks like the script was originally written for Koha 2.4 CVS and  
hasn't quite been updated yet.
I've been working my way through updating the script (I'm on perl 5.10 

and koha 3.1).

Ok, my question is (or if someone has a better recommendation of a  
different path I should be chasing or working towards developing)

Could someone lead me to the new mysql database tables for marc_word  
(or another equivalent) and correct me if I am wrong but I am equating  
"marc_subfield_table" with the newer mysql table  
marc_subfield_structure (plus i need to change subfieldvalue to either  
tagfield or tagsubfield).  Below is the current part of the script  
that I am referencing,
"
my $query_words = "SELECT DISTINCT word, COUNT(word) FROM marc_word";
my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,  
COUNT(subfieldvalue) FROM marc_subfield_table";
my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio  
GROUP BY title";
my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM biblio  
GROUP BY author";
"

I do have the fuzzy searching set for my opac --> but I am just  
looking a little bit more (and some of my searches dealing with these  
"spellcheck" suggestions are working - you can see that I have got it
 
to populate some information in mysql database).

Here is a copy of the message I get when executing this script.  and I  
want to get ride of the "excute failed" -parts.

Step 1 of 5: Checking to make sure suggest tables exist
Use of uninitialized value $_ in pattern match (m//) at  
make_spellcheck_suggest.pl line 99.
All tables present ... moving along
Step 2 of 5: Deleting old data
Step 3 of 5: Creating non-distinct table from various Koha tables
Finished building marc_word list
Adding marc_word entries with the following tagsubfields:020a, 100a,  
110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,  
505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,  
730a, 740a, 800a, 830a,
DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where  
clause' at make_spellcheck_suggest.pl line 173.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at  
make_spellcheck_suggest.pl line 179.
0 more records added...
Finished building marc_subfield_table list
Adding marc_subfield_table entries with the following tags and  
subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,  
c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,  
600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,  
a, 740, a, 800, a, 830, a,
DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'  
doesn't exist at make_spellcheck_suggest.pl line 173.
DBD::mysql::st fetchrow_array failed: fetch() without execute() at  
make_spellcheck_suggest.pl line 179.
0 more records added...
57708 more records added...
83598 more records added...
Step 4 of 5: Deleting old distinct entries
Step 5 of 5: Creating distinct spellcheck table out of non-distinct  
table
Finished: total distinct items added to spellcheck: 81520


Thanks,

+++++++++++++++++++++++++++++++++++++++++++
Brendan A. Gallagher
Software Services Coordinator
Bibliomation, INC.
Middlebury, CT 06516
http://www.biblio.org
(203)577-4070 x119
+++++++++++++++++++++++++++++++++++++++++++


------------------------------

Message: 3
Date: Wed, 3 Sep 2008 12:44:27 -0600
From: "Jesse Weaver" <jesse.weaver at liblime.com>
Subject: Re: [Koha] Quesitons about make_spellcheck_suggest.pl
To: "Brendan Gallagher" <gallabr at biblio.org>
Cc: Koha Mailing List <koha at lists.katipo.co.nz>,	Amy Terlaga
	<terlaga at biblio.org>
Message-ID:
	<6bd6de210809031144t68efd2a2mfc20b1edbfa14468 at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Sep 3, 2008 at 12:25 PM, Brendan Gallagher
<gallabr at biblio.org>wrote:

> Hi All -
>
> I've been snooping around in the make_spellcheck_suggest.pl perl
> script and I've developed a few questions.
>
> Looks like the script was originally written for Koha 2.4 CVS and
> hasn't quite been updated yet.
> I've been working my way through updating the script (I'm on perl
5.10
> and koha 3.1).
>
> Ok, my question is (or if someone has a better recommendation of a
> different path I should be chasing or working towards developing)
>
> Could someone lead me to the new mysql database tables for marc_word
> (or another equivalent) and correct me if I am wrong but I am equating
> "marc_subfield_table" with the newer mysql table
> marc_subfield_structure (plus i need to change subfieldvalue to either
> tagfield or tagsubfield).  Below is the current part of the script
> that I am referencing,


marc_subfield_structure is present in both versions, and is different from
_table. It holds framework information (description of MARC subfields, and
what they mean, like the title or author), rather than the values of those
fields for any given record.


>
> "
> my $query_words = "SELECT DISTINCT word, COUNT(word) FROM
marc_word";
> my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,
> COUNT(subfieldvalue) FROM marc_subfield_table";
> my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio
> GROUP BY title";
> my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM
biblio
> GROUP BY author";
> "
>
> I do have the fuzzy searching set for my opac --> but I am just
> looking a little bit more (and some of my searches dealing with these
> "spellcheck" suggestions are working - you can see that I have
got it
> to populate some information in mysql database).
>
> Here is a copy of the message I get when executing this script.  and I
> want to get ride of the "excute failed" -parts.
>
> Step 1 of 5: Checking to make sure suggest tables exist
> Use of uninitialized value $_ in pattern match (m//) at
> make_spellcheck_suggest.pl line 99.
> All tables present ... moving along
> Step 2 of 5: Deleting old data
> Step 3 of 5: Creating non-distinct table from various Koha tables
> Finished building marc_word list
> Adding marc_word entries with the following tagsubfields:020a, 100a,
> 110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,
> 505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,
> 730a, 740a, 800a, 830a,
> DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where
> clause' at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> Finished building marc_subfield_table list
> Adding marc_subfield_table entries with the following tags and
> subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,
> c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,
> 600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,
> a, 740, a, 800, a, 830, a,
> DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'
> doesn't exist at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> 57708 more records added...
> 83598 more records added...
> Step 4 of 5: Deleting old distinct entries
> Step 5 of 5: Creating distinct spellcheck table out of non-distinct
> table
> Finished: total distinct items added to spellcheck: 81520
>

Koha 3.0's new database schema does make this a bit harder; the script
would
have to parse the record from the biblioitems.marcxml or biblioitems.marc
column, then find the words within that to add to the relevant tables.


>
>
> Thanks,
>
> +++++++++++++++++++++++++++++++++++++++++++
> Brendan A. Gallagher
> Software Services Coordinator
> Bibliomation, INC.
> Middlebury, CT 06516
> http://www.biblio.org
> (203)577-4070 x119
> +++++++++++++++++++++++++++++++++++++++++++
>
>
-- 
Jesse Weaver
Software Developer, LibLime
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/9b394fdf/attachment-0001.htm


------------------------------

Message: 4
Date: Wed, 3 Sep 2008 14:47:34 -0400
From: Brendan Gallagher <gallabr at biblio.org>
Subject: Re: [Koha] Quesitons about make_spellcheck_suggest.pl
To: "Jesse Weaver" <jesse.weaver at liblime.com>
Cc: Koha Mailing List <koha at lists.katipo.co.nz>,	Amy Terlaga
	<terlaga at biblio.org>
Message-ID: <B9F89948-FD35-4FB4-8C78-4D63ED69B130 at biblio.org>
Content-Type: text/plain; charset="us-ascii"

Thanks for the lead Jesse --

I'll continue to mess around with these and see what I can develop.

-Brendan

On Sep 3, 2008, at 2:44 PM, Jesse Weaver wrote:

> On Wed, Sep 3, 2008 at 12:25 PM, Brendan Gallagher  
> <gallabr at biblio.org> wrote:
> Hi All -
>
> I've been snooping around in the make_spellcheck_suggest.pl perl
> script and I've developed a few questions.
>
> Looks like the script was originally written for Koha 2.4 CVS and
> hasn't quite been updated yet.
> I've been working my way through updating the script (I'm on perl
5.10
> and koha 3.1).
>
> Ok, my question is (or if someone has a better recommendation of a
> different path I should be chasing or working towards developing)
>
> Could someone lead me to the new mysql database tables for marc_word
> (or another equivalent) and correct me if I am wrong but I am equating
> "marc_subfield_table" with the newer mysql table
> marc_subfield_structure (plus i need to change subfieldvalue to either
> tagfield or tagsubfield).  Below is the current part of the script
> that I am referencing,
>
> marc_subfield_structure is present in both versions, and is  
> different from _table. It holds framework information (description  
> of MARC subfields, and what they mean, like the title or author),  
> rather than the values of those fields for any given record.
>
>
> "
> my $query_words = "SELECT DISTINCT word, COUNT(word) FROM
marc_word";
> my $query_marc_subfields = "SELECT DISTINCT subfieldvalue,
> COUNT(subfieldvalue) FROM marc_subfield_table";
> my $query_titles = "SELECT DISTINCT title, COUNT(title) FROM biblio
> GROUP BY title";
> my $query_authors = "SELECT DISTINCT author, COUNT(author) FROM
biblio
> GROUP BY author";
> "
>
> I do have the fuzzy searching set for my opac --> but I am just
> looking a little bit more (and some of my searches dealing with these
> "spellcheck" suggestions are working - you can see that I have
got it
> to populate some information in mysql database).
>
> Here is a copy of the message I get when executing this script.  and I
> want to get ride of the "excute failed" -parts.
>
> Step 1 of 5: Checking to make sure suggest tables exist
> Use of uninitialized value $_ in pattern match (m//) at
> make_spellcheck_suggest.pl line 99.
> All tables present ... moving along
> Step 2 of 5: Deleting old data
> Step 3 of 5: Creating non-distinct table from various Koha tables
> Finished building marc_word list
> Adding marc_word entries with the following tagsubfields:020a, 100a,
> 110a, 130a, 240a, 245a, 245b, 245c, 245p, 246a, 246b, 440a, 440p,
> 505t, 511a, 534a, 600a, 610a, 611a, 630a, 650a, 651a, 700a, 710a,
> 730a, 740a, 800a, 830a,
> DBD::mysql::st execute failed: Unknown column 'tagsubfield' in
'where
> clause' at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> Finished building marc_subfield_table list
> Adding marc_subfield_table entries with the following tags and
> subfields:020, a, 100, a, 110, a, 130, a, 240, a, 245, a, 245, b, 245,
> c, 245, p, 246, a, 246, b, 440, a, 440, p, 505, t, 511, a, 534, a,
> 600, a, 610, a, 611, a, 630, a, 650, a, 651, a, 700, a, 710, a, 730,
> a, 740, a, 800, a, 830, a,
> DBD::mysql::st execute failed: Table 'koha.marc_subfield_table'
> doesn't exist at make_spellcheck_suggest.pl line 173.
> DBD::mysql::st fetchrow_array failed: fetch() without execute() at
> make_spellcheck_suggest.pl line 179.
> 0 more records added...
> 57708 more records added...
> 83598 more records added...
> Step 4 of 5: Deleting old distinct entries
> Step 5 of 5: Creating distinct spellcheck table out of non-distinct
> table
> Finished: total distinct items added to spellcheck: 81520
>
> Koha 3.0's new database schema does make this a bit harder; the  
> script would have to parse the record from the biblioitems.marcxml  
> or biblioitems.marc column, then find the words within that to add  
> to the relevant tables.
>
>
>
> Thanks,
>
> +++++++++++++++++++++++++++++++++++++++++++
> Brendan A. Gallagher
> Software Services Coordinator
> Bibliomation, INC.
> Middlebury, CT 06516
> http://www.biblio.org
> (203)577-4070 x119
> +++++++++++++++++++++++++++++++++++++++++++
>
>
> -- 
> Jesse Weaver
> Software Developer, LibLime

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.katipo.co.nz/pipermail/koha/attachments/20080903/47dca8fd/attachment.htm


------------------------------

_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


End of Koha Digest, Vol 35, Issue 8
***********************************



      Unlimited freedom, unlimited storage. Get it now, on
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.katipo.co.nz/pipermail/koha/attachments/20080904/116c87f6/attachment.htm


------------------------------

_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


End of Koha Digest, Vol 35, Issue 10
************************************



      Download prohibited? No problem. CHAT from any browser, without download. Go to http://in.webmessenger.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20080916/72ecbe5f/attachment-0001.htm 


More information about the Koha mailing list