Time  Nick     Message
18:06 rach     good morning
19:56 anacaona hello hello
23:16 indradg  good morning to all
23:31 indradg  chris, around?
23:32 chris    yep
23:32 indradg  brb
23:33 indradg  chris, say can I regenerate the marc_words table from the data in the other tables?
23:33 chris    i think so
23:34 chris    in the scripts dir
23:34 chris    in scripts/misc in ur koha install
23:34 chris    koha2marc.pl
23:35 chris    i think if you run that, with ur marc mappings set up, it will populate marc_words
23:36 indradg  hmmm
23:37 indradg  i may need to do that... my marc_words table got corrupted... REPAIR marc_words worked... but I suspect the table is not upto date... some searches are failing in 2.2.x
23:37 chris    right
23:37 chris    might be worth doing a mysqldump of the table
23:38 chris    then dropping the data, and try rebuilding it
23:38 indradg  yep!
23:38 indradg  I think I can get away dropping only these ->
23:38 indradg          print "deleting MARC tables\n";
23:38 indradg          $dbh->do("delete from marc_biblio");
23:38 indradg          $dbh->do("delete from marc_subfield_table");
23:38 indradg          $dbh->do("delete from marc_blob_subfield");
23:38 indradg          $dbh->do("delete from marc_word");
23:39 chris    yeah that sounds right
23:40 indradg  last week I finally managed to write my first MARC converter script to pull up data from a CSV file (exported from OOo Calc) and put them into a MARC record file
23:41 chris    excellent well done
23:41 indradg  its a butt-ugly hack... but it works correctly
23:41 chris    :)
23:41 chris    thats the main thing
23:42 indradg  the spreadsheet is being filled up by three hair-impaired persons
23:42 chris    hehe
23:43 chris    have you seen him bowling?
23:43 chris    very strange action
04:30 hdl      hi sylvain
04:30 Sylvain  salut hdl
05:11 hdl      Pour sauvegaredr les framework, utiliser mysqldump --where "frameworkcode='WEB'" kohatest --table marc_tag_structure -u loginkohaadmin -ppaswordkoha sur :
05:11 hdl      1: marc_tag_structure
05:12 hdl      2: marc_subfield_structure
05:12 hdl      3: biblio_framework
05:12 hdl      frameworkcode = 'WEB' étant bien sûr un exemple.
05:14 Sylvain  cool hdl
05:15 hdl      Pas de problème ;)
05:26 michael  hum je le note ;-)
05:26 michael  ... bonjour Sylvain... bonjour Henri-Damien ;-)
05:27 hdl      salut michael
05:27 michael  salut
05:28 michael  je me demandais, cette procédure de sauvegarde, elle génère un fichier .sql ?
05:29 michael  je comprends pas trop le "kohatest" dans ta commande ?
05:29 michael  je prends une conversation en cours ? j'ai raté des trucs sans doute... hum :-|
05:30 Sylvain  kohatest est le nom de la base je pense
05:31 Sylvain  et il faut répeter cette instruction sur les 3 tables citées par hdl
05:31 michael  oki
05:32 hdl      Tout à fait kohatest est le nom de la base koha
05:33 Sylvain  et pour le .sql il faut rajouter > test.sql à la finde l'instruction
05:34 hdl      merci pour la précision Sylvain
05:34 Sylvain  hé hdl, si on met les noms des trois tables à la suite ça fonctionne aussi
05:35 Sylvain  donc en une ligne avec un > à la fin on a le .sql qui correspond
05:35 Sylvain  pas besoin de s'embêter à faire un script :)
05:35 michael  pas mal... euh c'est moi où il y a du soleil dehors ?
05:35 michael  forecast et mozilla annoncent 13 C° sur Paris et un vent à 24 km/heure mais bon...
05:35 michael  je reste ici on y est bien... ;-)
05:35 Sylvain  je connaissais pas le --where c'est pratique
05:42 hdl      petit bémol toute fois, penser à supprimer la création des tables en début de fichier.
05:44 Sylvain  oui en effet, ça pourait donner de mauvaises surprises ;)
05:44 michael  et si on supprime sur une base mysql "en production", c'est pas problématique hdl ??
05:47 Sylvain  hdl --no-create-info comme option et c'est parfait
05:47 Sylvain  on n'a plus les creations de table en début de fichier
05:50 Sylvain  Sur ce, bon app'
06:02 michael  bon app'
06:03 mik_out  ha ha ha
07:07 hdl      mik_out : les informations supprimées par le  --no-create-info permettent de NE PAS *re*créer les tables marc_tag* marc_field* biblio_f* qui seraient recréées par le script généré par mysqldump.
07:08 hdl      Sylvain. Merci pour l'info, je le note et c'est un script super. Le seul hic encore, c'est que pour que la ligne fonctionne, il faut que l'on connaisse le frameworkcode. Je ne sais pas ce qu'utilisent les bibliothécaires.
09:00 hdl      owen
10:23 hdl      kados :
10:23 hdl      are you there