Upgrade to 1.0.7 problem

3 views
Skip to first unread message

Philippe BEAU

unread,
Jun 20, 2009, 3:01:46 AM6/20/09
to qubi...@googlegroups.com
Hi All,

So at first, good job for the developpement team as use ICA-ATOM is really a pleasure :)

We've played with release 1.04 and then begin to work "seriously" with release 1.0.6 (start from clean install). As the 1.0.7 was released, i try to upgrade my 1.0.6 -> 1.0.7.
I've done this steps :

1. backup my 1.0.6 with "php symfony propel:data-dump dump.yml "
2. installed my 1.0.7 in another directory as a fresh install and configure this simply
3. do a clean of database "php symfony propel:insert-sql". Result was fine
4. Load 1.0.6 dump to the fresh configuration and here the error message :

# php symfony propel:data-load --dir=dump.yml
>> propel load data from "dump.yml"
QubitTaxonomy:
QubitTaxonomy_1:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 1
name: { de: 'Detailgrad der ErschlieÃung', en: 'Description Detail Levels', es: 'Descripción detalles de niveles', fr: 'Niveaux de détail de la description', it: 'livelli della completezza della descrizione', nl: 'Niveaus van detailbeschrijving', pt: 'Níveis de detalhamento descritivo', sl: 'podroben opis nivoja' }
QubitTaxonomy_2:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 2
name: { de: Rechtspersönlichkeit, en: 'Actor Entity Types', fr: 'Types d''entité acteur', it: 'tipi di entità dell''agente', nl: 'Soorten entiteiten', pt: 'Tipos de entidade', sl: 'tip entitet ustvarjalcev' }
QubitTaxonomy_3:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 3
name: { de: ErschlieÃungsstatus, en: 'Description Statuses', fr: 'Statuts de la description', it: 'stati della descrizione', nl: Beschrijvingsstatus, pt: 'Status da descrição', sl: 'statusi opisa' }
QubitTaxonomy_4:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 4
name: { de: ErschlieÃungsstufe, en: 'Levels of description', es: 'Niveles de descripción', fr: 'Niveau de description', it: 'livelli di descrizione', nl: Beschrijvingsniveaus, pt: 'Níveis de descrição', sl: 'nivo popisa' }
QubitTaxonomy_5:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 5
name: { de: Themen, en: Subjects, es: Materias, fr: Sujets, it: soggetti, nl: Onderwerpen, pt: Assuntos, sl: osebe }
QubitTaxonomy_6:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 6
name: { de: Bezeichnung, en: 'Actor Name Types', fr: 'Types de noms d''acteur', it: 'tipi di nome dell''agente', nl: 'Soorten naam van entiteiten', pt: 'Tipos de nome', sl: 'tip imen ustvarjalcev' }
QubitTaxonomy_7:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 7
name: { de: Anmerkungsarten, en: 'Note types', fr: 'Types de notes', it: 'tipi di nota', nl: 'Soorten aantekeningen', pt: 'Tipos de nota', sl: 'tip opomb' }
QubitTaxonomy_8:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 8
name: { de: Aufbewahrungsa' } en: 'Repository Types', es: 'tipos de repositorios', fr: 'Types de services d''archives', it: 'tipi di deposito', nl: 'Soorten bewaarplaatsen', pt: 'Tipos de entidades custo QubitTaxonomy_10: skladiÅ¡Ä
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 10
name: { de: Ereignistyp, en: 'Event Types', es: 'Tipo de evento', fr: 'Types d''événement', it: 'tipi di evento', nl: 'Soorten gebeurtenisen', pt: 'Tipos de evento', sl: 'tip dogodka' }
note: { en: 'Used to describe the types of Events that Actors and InformationObjects are related to.' }
QubitTaxonomy_11:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 11
name: { de: 'Qubit Einstellungskennzeichen', en: 'Qubit Setting Labels', es: 'Etiquetas de configuración de Qubit', fr: 'Ãtiquettes des paramètres Qubit', it: 'etichette delle impostazioni di Qubit', nl: 'Qubit instellings labels', pt: 'Etiquetas de configuração do Qubit', sl: 'Qubit nastavitve label' }
note: { en: 'An internal, uneditable taxonomy used to store and translate alternate app setting labels used in different Qubit distributions' }
QubitTaxonomy_12:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 12
name: { de: Orte, en: Places, es: Lugares, fr: Lieux, it: luoghi, nl: Plaatsen, pt: Locais, sl: kraji }
QubitTaxonomy_13:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 13
name: { de: Funktionen, en: Functions, es: Funciones, fr: Fonctions, it: funzioni, nl: Functies, pt: Funções, sl: funkcija }
QubitTaxonomy_14:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 14
name: { de: 'Historische Ereignisse', en: 'Historical Events', es: 'Sucesos históricos', fr: 'Ãvénements historiques', it: 'eventi storici', nl: 'Historische gebeurtenissen', pt: 'Eventos históricos', sl: 'zgodovinski dogodki' }
QubitTaxonomy_15:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 15
name: { de: Bestandsart, en: 'Collection Types', es: 'Tipos de colecciones', fr: 'Types de collection', it: 'tipi di collezione', nl: 'Soorten collectie', pt: 'Tipos de acervo', sl: 'tip zbirke' }
QubitTaxonomy_16:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 16
name: { de: Medientyp, en: 'Media Types', fr: 'Types de supports', it: 'tipi di media', nl: Bestandsformaten, pt: 'Tipos de mídia', sl: 'tip medija' }
QubitTaxonomy_17:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 17
name: { de: 'Repräsentationsformen digitaler Objekte', en: 'Digital Object Usages', es: 'Usos do los objetivos digitales', fr: 'Usages d''objets numériques', it: 'usi dell''oggetto digitale', nl: 'Gebruik digitaal object', pt: 'Usos do objeto digital', sl: 'raba digitalnega objekta' }
QubitTaxonomy_18:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 18
nega objekta' }Art des Physischen Objekts', en: 'Physical Object Type', fr: 'Type d''objet physique', it: 'tipo di oggetto fisico', nl: 'Soorten fysieke objecten', pt: 'Localização física', sl: 'tip fiz QubitTaxonomy_19:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 19
name: { de: Bezugsart, en: 'Relation Type', fr: 'Type de relation', it: 'tipo di relazione', nl: 'Soorten relaties', pt: 'Tipo de relação', sl: 'tip povezave' }
QubitTaxonomy_20:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 20
name: { de: Materialart, en: 'Material Type', fr: 'Types de documents', it: 'tipo di materiale', pt: 'Tipo de suporte', sl: 'tip materiala' }
QubitTaxonomy_21:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 21
name: { de: 'RAD Eintrag', en: 'RAD Note', fr: 'Note RDDA', it: 'nota RAD', sl: 'RAD opombe' }
note: { en: 'Note types that occur specifically within the Canadian Council of Archives'' ''Rules for Archival Description (RAD)''' }
QubitTaxonomy_22:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id: 22
name: { de: 'RAD Titeleintrag', en: 'RAD Title Note', fr: 'Note de titre RDDA', it: 'nota al titolo RAD', sl: 'RAD naslov opombe' }
note: { en: 'Title note types that occur specifically within the Canadian Council of Archives'' ''Rules for Archival Description (RAD)''' }
QubitTaxonomy_23:
created_at: '2009-05-19 22:15:49'
updated_at: '2009-05-19 22:15:49'
source_culture: en
id:
Fatal error: Undefined class constant 'MODS_TITLE_TYPE_ID' in dump.yml on line 136

I try to find some tips on Internet as well as i try to change the character set but nothing work better :(

for information, i'm running this under redhat 7.2 with mysql 4.1. If you have any information about this kind of issues, you're welcome.

Best Regards

Philippe,

David Juhasz

unread,
Jun 20, 2009, 6:59:37 PM6/20/09
to qubi...@googlegroups.com
Hi Philippe,

Thanks for you kind words!

You will need to "migrate" your data from the 1.0.6 version of ICA-AtoM before loading it in the 1.0.7 release, due to changes in the data structure between these versions. Please see this webpage instructions on migrating your data:
http://www.qubit-toolkit.org/wiki/index.php?title=Migration_task

Please post back to the list if you have any problems with the migration.


Regards,

David Juhasz,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | P: 604.527.2056 | F: 604.521.2059
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
To post to this group, send email to qubi...@googlegroups.com
To unsubscribe from this group, send email to qubit-dev+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/qubit-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


David Juhasz,
Software Engineer, Artefactual Systems Inc.

Philippe BEAU

unread,
Jun 22, 2009, 1:52:50 AM6/22/09
to qubi...@googlegroups.com
Hi David,

Thanks for your quick answer. Also, i have tested this before, but same problem. it's crashing next the php symfony propel:build-all-load --skip-forms step with the same error message.
How can i go /debug furthers details ? If needed i can reinstall the 1.0.6 release with data to do the backup/dump in another way.

Regards and thanks for your help

Philippe,

----- Mail Original -----
De: "David Juhasz" <da...@artefactual.com>
À: qubi...@googlegroups.com
Envoyé: Dimanche 21 Juin 2009 00h59:37 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: Re: Upgrade to 1.0.7 problem

David Juhasz

unread,
Jun 22, 2009, 11:16:55 AM6/22/09
to qubi...@googlegroups.com
Hi Phillipe,

The "MODS_TITLE_TYPE_ID" constant that is causing the problem was added in the 1.0.6 release and removed in the 1.0.7 release - sorry that it's causing you problems.   Since the system no longer uses the MODS title type taxonomy that is causing the problem, the best solution is to remove this data from your data dump.  To do so you will need to find and remove the following lines from your data file:

In the 'QubitTaxonomy' section:
  QubitTaxonomy_mods_title_type:
    source_culture: en
    id: <?php echo QubitTaxonomy::MODS_TITLE_TYPE_ID."\n" ?>
    name: { en: 'MODS Title Type' }
    note: { en: 'Alternate title types that occur specifically within The Library of Congress'' ''Metadata Object Description Schema (MODS)''' }

In the 'Qubit Terms' section:
  QubitTerm_mods_title_type_abbreviated:
    taxonomy_id: QubitTaxonomy_mods_title_type
    class_name: QubitTerm
    created_at: '2009-04-07 15:47:00'
    updated_at: '2009-04-07 15:47:00'
    source_culture: en
    name: { en: 'abbreviated' }
  QubitTerm_mods_title_type_translated:
    taxonomy_id: QubitTaxonomy_mods_title_type
    class_name: QubitTerm
    created_at: '2009-04-07 15:47:00'
    updated_at: '2009-04-07 15:47:00'
    source_culture: en
    name: { en: 'translated' }
  QubitTerm_mods_title_type_alternative:
    taxonomy_id: QubitTaxonomy_mods_title_type
    class_name: QubitTerm
    created_at: '2009-04-07 15:47:00'
    updated_at: '2009-04-07 15:47:00'
    source_culture: en
    name: { en: 'alternative' }
  QubitTerm_mods_title_type_uniform:
    taxonomy_id: QubitTaxonomy_mods_title_type
    class_name: QubitTerm
    created_at: '2009-04-07 15:47:00'
    updated_at: '2009-04-07 15:47:00'
    source_culture: en
    name: { en: 'uniform' }

If you are not comfortable doing this yourself, you can also email your data dump file to me directly and I will do the necessary edits and send back the revised file. :)
Reply all
Reply to author
Forward
0 new messages