OpenConcerto 1.1 premières versions

kunta
Messages : 11
Enregistré le : ven. avr. 29, 2011 8:57 pm

ven. avr. 29, 2011 8:59 pm

Bonjour j'utilise la version multiposte sous windows avec un client sous linux.
Lors de la mise à jour en 1.1 la mise à niveau de la base prend un temps fou et je ne peux créer de caisse
Avatar du membre
guillaume
Messages : 2435
Enregistré le : ven. févr. 11, 2011 7:15 pm

sam. avr. 30, 2011 10:33 am

Bonjour,

La cause doit se trouver dans les fichiers logs, merci de nous les communiquer
pour vous débloquer.
Directeur technique d'OpenConcerto qui dans son temps libre s'occupe du forum.
Pour une assistance pro, nous sommes joignables à ILM Informatique contre quelques jetons.
Pensez aussi à lire le manuel !
Goose
Messages : 6
Enregistré le : lun. avr. 18, 2011 2:41 pm

dim. mai 01, 2011 5:32 pm

kunta a écrit :Lors de la mise à jour en 1.1 la mise à niveau de la base prend un temps fou
Idem, avec PostGreSQL, j'ai repris une install de 0 en suivant le tuto ici : http://www.openconcerto.org/forum/viewt ... p?f=4&t=33

Puis j'ai installé la v1.1 beta 2. La connexion se fait bien avec la base. Mais ça fait maintenant plus de 2h que j'ai cliqué sur "Mise à niveau de la base" et ça tourne encore...

Dans le log du jour, j'ai :

Code : Tout sélectionner

Exception in thread "Thread-5" java.lang.NullPointerException
	at org.openconcerto.utils.FileUtils.getFile(FileUtils.java:571)
	at org.openconcerto.utils.FileUtils.getShortCutFile(FileUtils.java:560)
	at org.openconcerto.utils.FileUtils.ln(FileUtils.java:604)
	at org.openconcerto.sql.PropsConfiguration$6.run(PropsConfiguration.java:540)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/jgrapht/Graph
	at org.openconcerto.sql.model.DBSystemRoot.getGraph(DBSystemRoot.java:182)
	at org.openconcerto.sql.model.SQLTable.getForeignKeysNames(SQLTable.java:573)
	at org.openconcerto.sql.model.SQLRowValues.changeFields(SQLRowValues.java:516)
	at org.openconcerto.sql.model.SQLRowValues.removeAll(SQLRowValues.java:538)
	at org.openconcerto.sql.model.SQLRowValues.clear(SQLRowValues.java:549)
	at org.openconcerto.sql.model.SQLRowValues.loadAll(SQLRowValues.java:724)
	at org.openconcerto.sql.model.SQLRowValues.setAll(SQLRowValues.java:713)
	at org.openconcerto.sql.model.SQLRowValues.loadAbsolutelyAll(SQLRowValues.java:943)
	at org.openconcerto.sql.model.SQLRow.createUpdateRow(SQLRow.java:878)
	at org.openconcerto.sql.model.SQLRow.asRowValues(SQLRow.java:916)
	at org.openconcerto.gestion.config.InstallationPanel.updateVariablePaye(InstallationPanel.java:426)
	at org.openconcerto.gestion.config.InstallationPanel.access$0(InstallationPanel.java:418)
	at org.openconcerto.gestion.config.InstallationPanel$1$1.run(InstallationPanel.java:71)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jgrapht.Graph
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 14 more
hirymnak
Messages : 34
Enregistré le : dim. févr. 20, 2011 5:47 pm

mar. mai 03, 2011 5:48 pm

Bonjour,

Je suis sous Ubuntu 10.04 en installation OpenConcerto 1.1 beta 2 en H2, et j'ai sensiblement le même problème :
lors de la mise à niveau de la base OpenConcerto depuis l'utilitaire de configuration (qui se lance bien cette fois et se connecte à la base avec succès), la barre de progression n'en finit plus de faire des allers et retours.

En console, le traitement reste bloqué sur :

Code : Tout sélectionner

Loading:[...]/OpenConcerto/Configuration/ConfigCaisse.xml
Loading:[...]/.OpenConcerto/main.properties
Testing:H2:
3 mai 2011 19:17:12 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
Connexion réussie sur la base OpenConcerto
Loading configuration from:[...]/.OpenConcerto/main.properties
Le fichier log du jour :

Code : Tout sélectionner

3 mai 2011 19:17:30 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
Exception in thread "Thread-9" java.lang.NoClassDefFoundError: org/jgrapht/Graph
	at org.openconcerto.sql.model.DBSystemRoot.getGraph(DBSystemRoot.java:182)
	at org.openconcerto.sql.model.SQLTable.getForeignKeysNames(SQLTable.java:573)
	at org.openconcerto.sql.model.SQLRowValues.changeFields(SQLRowValues.java:516)
	at org.openconcerto.sql.model.SQLRowValues.removeAll(SQLRowValues.java:538)
	at org.openconcerto.sql.model.SQLRowValues.clear(SQLRowValues.java:549)
	at org.openconcerto.sql.model.SQLRowValues.loadAll(SQLRowValues.java:724)
	at org.openconcerto.sql.model.SQLRowValues.setAll(SQLRowValues.java:713)
	at org.openconcerto.sql.model.SQLRowValues.loadAbsolutelyAll(SQLRowValues.java:943)
	at org.openconcerto.sql.model.SQLRow.createUpdateRow(SQLRow.java:878)
	at org.openconcerto.sql.model.SQLRow.asRowValues(SQLRow.java:916)
	at org.openconcerto.gestion.config.InstallationPanel.updateVariablePaye(InstallationPanel.java:426)
	at org.openconcerto.gestion.config.InstallationPanel.access$0(InstallationPanel.java:418)
	at org.openconcerto.gestion.config.InstallationPanel$1$1.run(InstallationPanel.java:71)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.jgrapht.Graph
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 14 more
3 mai 2011 19:20:35 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
3 mai 2011 19:20:35 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
org.openconcerto.sql.model.DBStructureItemNotFound: Common is not a child of DBSystemRoot OpenConcerto
	at org.openconcerto.sql.model.DBStructureItem.getCheckedChild(DBStructureItem.java:87)
	at org.openconcerto.sql.model.DBSystemRoot.getRoot(DBSystemRoot.java:90)
	at org.openconcerto.gestion.config.ConfigCaissePanel$8$1.run(ConfigCaissePanel.java:381)
	at java.lang.Thread.run(Thread.java:662)
3 mai 2011 19:20:37 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
3 mai 2011 19:20:37 org.openconcerto.sql.model.DBSystemRoot setRootPathFromDS
ATTENTION: db default schema is PUBLIC and the schemas of DBSystemRoot OpenConcerto are empty ; the first created schema will become the default one
org.openconcerto.sql.model.DBStructureItemNotFound: Common is not a child of DBSystemRoot OpenConcerto
	at org.openconcerto.sql.model.DBStructureItem.getCheckedChild(DBStructureItem.java:87)
	at org.openconcerto.sql.model.DBSystemRoot.getRoot(DBSystemRoot.java:90)
	at org.openconcerto.gestion.config.ConfigCaissePanel$8$1.run(ConfigCaissePanel.java:381)
	at java.lang.Thread.run(Thread.java:662)
Visiblement, la classe org.jgrapht.Graph est introuvable dans le CLASSPATH.
Après interruption manuelle, la base n'a effectivement pas été mise à jour (tables manquantes en fichier log).

Cordialement
Avatar du membre
guillaume
Messages : 2435
Enregistré le : ven. févr. 11, 2011 7:15 pm

mer. mai 04, 2011 9:54 am

Bonjour,

La version ci-jointe devrait vous débloquer.
Fichiers joints
Test.zip
(2.19 Mio) Téléchargé 263 fois
Directeur technique d'OpenConcerto qui dans son temps libre s'occupe du forum.
Pour une assistance pro, nous sommes joignables à ILM Informatique contre quelques jetons.
Pensez aussi à lire le manuel !
hirymnak
Messages : 34
Enregistré le : dim. févr. 20, 2011 5:47 pm

mer. mai 04, 2011 2:29 pm

Bonjour,

Merci pour ce patch.
Je testerai prochainement.

Cordialement
hirymnak
Messages : 34
Enregistré le : dim. févr. 20, 2011 5:47 pm

jeu. mai 05, 2011 1:37 pm

Bonjour,

Je suis désolé d'insister… mais je rencontre encore un petit souci avec la 1.1 b2.
L'outil de configuration de la base de données semble faire son travail jusqu'au bout : le traitement de migration ne dure que quelques secondes.
Mais il semble que le migration n'ait pas été complète : de retour dans l'application OpenConcerto, au clic sur le bouton 'Modifier' de la liste des articles, la fenêtre d'édition de l'article ne s'ouvre pas, et le log du jour crache l'exception suivante :

Code : Tout sélectionner

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: unknown field INFOS in /ARTICLE/
	at org.openconcerto.sql.model.SQLTable.getField(SQLTable.java:622)
	at org.openconcerto.sql.element.BaseSQLComponent.getField(BaseSQLComponent.java:124)
	at org.openconcerto.sql.element.BaseSQLComponent.addView(BaseSQLComponent.java:194)
	at org.openconcerto.sql.element.BaseSQLComponent.addSQLObject(BaseSQLComponent.java:174)
	at org.openconcerto.sql.element.BaseSQLComponent.addSQLObject(BaseSQLComponent.java:170)
	at org.openconcerto.gestion.element.ReferenceArticleSQLComponent.addViews(ReferenceArticleSQLComponent.java:263)
	at org.openconcerto.sql.element.SQLComponent.uiInit(SQLComponent.java:143)
	at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:190)
	at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:129)
	at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:77)
	at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:59)
	at org.openconcerto.sql.view.ListeAddPanel.getEditFrame(ListeAddPanel.java:59)
	at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:45)
	at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:349)
	[je vous fais grâce du reste de la pile]
Au passage (problème beaucoup moins gênant, mais à signaler tout de même) j'ai tenté de vérifier le numéro de version, dans le Menu Aide/Informations. La fenêtre ne s'ouvre plus :

Code : Tout sélectionner

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/jgoodies/forms/layout/CellConstraints
	at org.openconcerto.ui.FormLayouter.<init>(FormLayouter.java:73)
	at org.openconcerto.ui.FormLayouter.<init>(FormLayouter.java:64)
	at org.openconcerto.gestion.action.AboutAction.createSoftwareInfoPanel(AboutAction.java:95)
	at org.openconcerto.gestion.action.AboutAction.actionPerformed(AboutAction.java:56)
	[je vous fais grâce des 38 autres traces]
Caused by: java.lang.ClassNotFoundException: com.jgoodies.forms.layout.CellConstraints
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 42 more
On y est presque, à quelques champs de base de données manquantes et une ou deux classes introuvables près ! ;-)
Cordialement
Goose
Messages : 6
Enregistré le : lun. avr. 18, 2011 2:41 pm

jeu. mai 05, 2011 8:13 pm

guillaume a écrit :Bonjour,

La version ci-jointe devrait vous débloquer.
Ok, la mise à niveau de la base semble se terminer (il n'y a pas de "popup" indiquant la fin, mais la barre de progression se fige et je n'ai plus de log d'erreur, j'en déduis que c'est ok).

Merci
orlane
Messages : 1
Enregistré le : ven. mai 06, 2011 4:21 pm

ven. mai 06, 2011 4:24 pm

Bonjour,

Tout d'abord, bravo pour votre logiciel ! Pourriez-vous m'indiquer quand la version 1.1 pour mac sera
disponible ? C'est surtout l'interface de caisse qui m'intéresse...
Merci pour vos réponses
Répondre