and in the directoryReading the file and parsing 475 records. Please be patient.
- Chaucer ii.b10004592
- Chaucer And Dante : A Revaluation ii.b10060339
- Editing Chaucer : The Great Tradition ii.b10061174
But when I go to "publish harvested records" they vanish.
- Invalid record length "01269"
- Invalid record length "01298"
- Invalid record length "01379"
Thanks for these details. I'm looking into it.
--Casey
The invalid record length warnings are a bug in PHP MARC[1], the code
library Scriblio uses to read the MARC files. Dan Scott recommends
File_MARC[2], which has the advantage of being actively maintained,
but I've not had a chance to look into it. The short answer is that
you can usually ignore record length warnings.
[1]: http://sourceforge.net/projects/phpmarc/
[2]: http://pear.php.net/package/File_MARC/
The syntax of the source ID field comes from the way arrays are
addressed in PHP and the structure of the array that PHP MARC creates
to represent the MARC record. In the example below, [0] means the
first 035 field, just in case there's more than one.
--Casey
On Apr 18, 2008, at 10:09 AM, brownthebook wrote:
> I get the invalid record warnings and my records are also nowhere to
> be seen when I return the browse url.
> On a related issue, what is the [0] in the statement below? Is it to
Can anybody who's been struggling with this please update via SVN and
confirm that this solves the problem?
Then, after the SVN update, you'll need to try using the plugin before
the new table will show up.
--Casey
Dennis, I spent a while rummaging around in the code to remember which
tables are created when/by what plugin. Here's the list:
bSuite:
creates the wp_bsuite3_search table at activation
bSuite bStat:
creates the wp_bsuite3_hits and wp_bsuite3_refs_terms tables at
activation
Scriblio:
creates the wp_scrib_suggest when you click the "rebuild search
suggest table" button.
Scriblio catalog importer:
creates the wp_scrib_harvest table when you first use the importer
(though it's supposed to create it when activated).
Thanks for pointing out that a missing table might be the issue,
--Casey
On Apr 17, 2008, at 11:47 AM, Dennis Whiteman wrote:
Jonathan,
I'm grasping at straws, but can you confirm that the activate()
function (which creates the tables) is called inside greet() in your
importer.php?
function greet() {
$this->activate();
the greet() function is called when you go to Dashboard->Manage-
>Import->Scriblio Catalog Importer
On Apr 21, 2008, at 4:44 PM, Jonathan wrote:
> New to Scriblio - pretty keen on getting it set up and running. I'm
> running into an issue with the importing, though... I'm using the
> Scriblio III Catalog Importer on a test set of records from our III
> OPAC. It processes without any warnings/errors: 146 records
> harvested. with 0 warnings and 0 errors.
>
> But when I click on 'Publish Harvested Records,' nothing happens but
> the 'That's all folks. kthnxbye' message. Browsing to the /browse
> directory confirms that nothing was imported.
>
> Like another thread here, I don't have a wp_scrib_harvest table.
>
> Using current version of the scriblio plugin via svn (4/21 4:30pm)
>
> Any ideas? I followed the screencast and everything else works as
> advertised, but I may have missed something critical?
>
> -Jonathan
Thanks for your persistence, glad it's finally working for you.
How far back did you go on the fresh install? I think I've got the
same problem.
Eunice
At 09:03 AM 4/22/2008, you wrote:
>Casey,
>
>I got it to work after doing a fresh install. I was able to upload
>the test file and it worked well though not all of the covers seem to show up.
>
>Thanks for all your help.
>
>Edward
>
>On Tue, Apr 22, 2008 at 10:55 AM, Jonathan
><<mailto:jyou...@gmail.com>jyou...@gmail.com> wrote:
>
>Hi Casey,
>
>Yes, the activate() function is inside greet().
>
>I got the import function to work a few minutes ago by manually
>creating the wp_scrib_harvest table in my db. After I did that, the
>import worked like a charm. Hope that helps diagnose.
>
>Thanks,
>Jonathan.
>
>On Apr 22, 9:38 am, Casey Bisson
Eunice Riesberg
Northeast Iowa Library Service Area
415 Commercial St.
Waterloo, IA 50701
319-233-1200, 800-772-2023
319-233-1964 (fax)
ries...@neilsa.org
http://www.neilsa.org