Page 4 sur 6

Re: OpenConcerto 1.4.2

Posté : jeu. oct. 06, 2016 3:18 pm
par GG001
Bonjour Guillaume,
Une chose que je voudrais savoir c'est si on peut faire plusieurs sortie du bilan et des journaux et grand livre !
J'ai essayé et il y a un message d'erreur qui apparait , il faudrait que l'on puisse faire plusieurs sortie pour un même
document !!!!!
Dans mes fichie j'ai plusieurs Société XXX01-42 ------> XXX01-48 ----> XXX01-50 XXX01-49 qu'est ce que c'est que toutes ces sociétés qui apparaissent avec 2016 2015 + Balance + Commandes + Devis + Fact + Historiq + Journaux
Je ne comprends pas pourquoi il y a toutes ces Société qui apparaissent ????
Éclairez moi un peut !!
GG

Re: OpenConcerto 1.4.2

Posté : ven. oct. 07, 2016 11:22 pm
par cyril
Bonjour,
j'ai un problème similaire à la mise à niveau.
Après avoir installé OC, j'ai tenter de faire la mise à jour de la BDD et là message d'erreur suivant :

Echec de mise à jour
org.openconcerto.utils.ExceptionHandler: Echec de mise à jour
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:121)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:125)
at org.openconcerto.erp.config.InstallationPanel$1$1.run(InstallationPanel.java:390)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.openconcerto.sql.utils.AlterTable.<init>(AlterTable.java:47)
at org.openconcerto.erp.config.InstallationPanel.updateToV1Dot4(InstallationPanel.java:2487)
at org.openconcerto.erp.config.InstallationPanel.access$11(InstallationPanel.java:1607)
at org.openconcerto.erp.config.InstallationPanel$1$1$5.create(InstallationPanel.java:373)
at org.openconcerto.sql.utils.SQLUtils$1.handle(SQLUtils.java:80)
at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:147)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:873)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:837)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:125)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:97)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:77)
at org.openconcerto.erp.config.InstallationPanel$1$1.run(InstallationPanel.java:360)
... 1 more

en regardant dans mon fichier "last log" j'ai trouvé une info compléentaire :

Warning:12907ms pour :UPDATE "OpenConcerto"."OpenConcerto56"."SAISIE_VENTE_FACTURE" SET "NET_A_PAYER"=("T_TTC"-"T_AVOIR_TTC")
Warning:1332ms pour :ALTER TABLE "OpenConcerto56"."ECRITURE"
ADD "NOM_PIECE" varchar(1024) default '' NOT NULL;
Warning:6079ms pour :ALTER TABLE "OpenConcerto56"."SAISIE_VENTE_FACTURE_ELEMENT"
ALTER COLUMN "POURCENT_REMISE" DROP NOT NULL,
ALTER COLUMN "POURCENT_REMISE" TYPE numeric(12,8),
ALTER COLUMN "POURCENT_REMISE" SET DEFAULT 0,
ADD "MONTANT_REMISE" numeric (16,8);
Warning:8586ms pour :ALTER TABLE "OpenConcerto56"."SAISIE_VENTE_FACTURE_ELEMENT"
ADD "ID_FAMILLE_ARTICLE" int DEFAULT 1,
ADD CONSTRAINT "SAISIE_VENTE_FACTURE_ELEMENT_ID_FAMILLE_ARTICLE_fkey" FOREIGN KEY ( "ID_FAMILLE_ARTICLE" ) REFERENCES "OpenConcerto"."OpenConcerto56"."FAMILLE_ARTICLE" ( "ID" );

CREATE INDEX "SAISIE_VENTE_FACTURE_ELEMENT_ID_FAMILLE_ARTICLE_fki" ON "OpenConcerto56"."SAISIE_VENTE_FACTURE_ELEMENT" ("ID_FAMILLE_ARTICLE");
Warning:9406ms pour :ALTER TABLE "OpenConcerto56"."SAISIE_VENTE_FACTURE_ELEMENT"
ADD "NIVEAU" integer DEFAULT 1 NOT NULL ;
Warning:4718ms pour :ALTER TABLE "OpenConcerto56"."DEVIS_ELEMENT"
ALTER COLUMN "POURCENT_REMISE" DROP NOT NULL,
ALTER COLUMN "POURCENT_REMISE" TYPE numeric(12,8),
ALTER COLUMN "POURCENT_REMISE" SET DEFAULT 0,
ADD "MONTANT_REMISE" numeric (16,8);
Warning:4687ms pour :ALTER TABLE "OpenConcerto56"."DEVIS_ELEMENT"
ADD "ID_FAMILLE_ARTICLE" int DEFAULT 1,
ADD CONSTRAINT "DEVIS_ELEMENT_ID_FAMILLE_ARTICLE_fkey" FOREIGN KEY ( "ID_FAMILLE_ARTICLE" ) REFERENCES "OpenConcerto"."OpenConcerto56"."FAMILLE_ARTICLE" ( "ID" );

CREATE INDEX "DEVIS_ELEMENT_ID_FAMILLE_ARTICLE_fki" ON "OpenConcerto56"."DEVIS_ELEMENT" ("ID_FAMILLE_ARTICLE");
Warning:6844ms pour :ALTER TABLE "OpenConcerto56"."DEVIS_ELEMENT"
ADD "NIVEAU" integer DEFAULT 1 NOT NULL ;
oct. 08, 2016 12:51:32 AM org.openconcerto.utils.ExceptionHandler display
INFOS: null

Je pense qu'il s'agit peut être de base de donnée que j'aurai modifié à l'époque à la main dans le XML.
Si vous avez en tout cas des éléments de réponse je suis preneur car je suis carrément dans de sales draps lundi si jamais !

Bonne nuit...

Re: OpenConcerto 1.4.2

Posté : sam. oct. 08, 2016 10:57 am
par guillaume
Bonjour,

Les logs sont assez flippants...des requêtes qui prennent plus 5 secondes à s’exécuter, c'est signe d'un serveur ou d'un PC qui a un gros problème ou à 15 ans d'age...

Le plus sage est de voir ça avec la hotline dès lundi.

Ça me fait penser que l'on devrait intégrer un système de benchmark dans OpenConcerto afin de permettre les problèmes en amont. :roll:

Cordialement,

Re: OpenConcerto 1.4.2

Posté : lun. oct. 10, 2016 5:24 pm
par seb
Bonjour,

j'ai exactement le même souci
que puis je faire ?

Re: OpenConcerto 1.4.2

Posté : lun. oct. 10, 2016 5:28 pm
par seb
Bonjour,
voici mon message d'erreur


Echec de mise à jour
org.openconcerto.utils.ExceptionHandler: Echec de mise à jour
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:121)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:125)
at org.openconcerto.erp.config.InstallationPanel$1$1.run(InstallationPanel.java:390)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.openconcerto.sql.utils.AlterTable.<init>(AlterTable.java:47)
at org.openconcerto.erp.config.InstallationPanel.updateToV1Dot4(InstallationPanel.java:2487)
at org.openconcerto.erp.config.InstallationPanel.access$11(InstallationPanel.java:1607)
at org.openconcerto.erp.config.InstallationPanel$1$1$5.create(InstallationPanel.java:373)
at org.openconcerto.sql.utils.SQLUtils$1.handle(SQLUtils.java:80)
at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:147)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:873)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:837)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:125)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:97)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:77)
at org.openconcerto.erp.config.InstallationPanel$1$1.run(InstallationPanel.java:360)
... 1 more

je ne sais pas que faire, je ne peux plus ouvrir OC
Que dois je faire?

Re: OpenConcerto 1.4.2

Posté : mer. oct. 12, 2016 9:01 am
par seb
bonjour,

je suis vraiment mal j'ai perdu tout ma comptabilité personne peut me dire d'ou vient ce problème dans la mise à jour.
Voir message précédent.

Merci

Re: OpenConcerto 1.4.2

Posté : mer. oct. 12, 2016 10:46 am
par guillaume
Bonjour,

Vous n'avez rien perdu.
Sans détail, pas simple de vous aider par forum interposé.
Le plus simple est de passer par la hotline, via jetons, etc...

Cordialement,

Re: OpenConcerto 1.4.2

Posté : mer. oct. 12, 2016 5:43 pm
par seb
bonsoir,

je remarque que nous sommes au moins deux à avoir eu le même problème
Il y deux jours je ne ne pouvais plus ouvrir OC et là oui mais je me retrouve avec le même
souci qu'avant d'essayer de faire une mise à jour je ne peux plus créer de ligne de saisie d'écritures.
Que puis je faire sans passer par la hotline (question de sous malheureusement)?

Cordialement,

Re: OpenConcerto 1.4.2

Posté : mer. oct. 12, 2016 5:52 pm
par seb
re,

voici le message d'erreur qui s'affiche :

Impossible d'insérer

unable to insert SQLRowValues on /SAISIE_KM/ : {NOM=gffdgh(class java.lang.String), DATE=Wed Oct 12 00:00:00 CEST 2016(class java.util.Date), ID_JOURNAL=2(class java.lang.Integer)} using {ID_JOURNAL=2, DATE=Wed Oct 12 00:00:00 CEST 2016, NOM=gffdgh}
org.openconcerto.utils.ExceptionHandler: Impossible d'insérer
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:121)
at org.openconcerto.sql.element.BaseSQLComponent.insert(BaseSQLComponent.java:707)
at org.openconcerto.erp.core.finance.accounting.element.SaisieKmSQLElement$SaisieKmComponent.insert(SaisieKmSQLElement.java:393)
at org.openconcerto.sql.element.BaseSQLComponent.insert(BaseSQLComponent.java:695)
at org.openconcerto.sql.view.EditPanel.ajouter(EditPanel.java:472)
at org.openconcerto.sql.view.EditPanel.actionPerformed(EditPanel.java:436)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.sql.SQLException: unable to insert SQLRowValues on /SAISIE_KM/ : {NOM=gffdgh(class java.lang.String), DATE=Wed Oct 12 00:00:00 CEST 2016(class java.util.Date), ID_JOURNAL=2(class java.lang.Integer)} using {ID_JOURNAL=2, DATE=Wed Oct 12 00:00:00 CEST 2016, NOM=gffdgh}
at org.openconcerto.sql.model.SQLRowValues.insertJustThis(SQLRowValues.java:1853)
at org.openconcerto.sql.model.SQLRowValuesCluster$Insert.execOn(SQLRowValuesCluster.java:1617)
at org.openconcerto.sql.model.SQLRowValuesCluster$Node.store(SQLRowValuesCluster.java:1529)
at org.openconcerto.sql.model.SQLRowValuesCluster$Node.access$3(SQLRowValuesCluster.java:1527)
at org.openconcerto.sql.model.SQLRowValuesCluster$2.handle(SQLRowValuesCluster.java:487)
at org.openconcerto.sql.model.SQLRowValuesCluster$2.handle(SQLRowValuesCluster.java:1)
at org.openconcerto.sql.utils.SQLUtils$2.handle(SQLUtils.java:147)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:873)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:837)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:125)
at org.openconcerto.sql.utils.SQLUtils.executeAtomic(SQLUtils.java:97)
at org.openconcerto.sql.model.SQLRowValuesCluster.store(SQLRowValuesCluster.java:454)
at org.openconcerto.sql.model.SQLRowValuesCluster.store(SQLRowValuesCluster.java:376)
at org.openconcerto.sql.model.SQLRowValuesCluster.store(SQLRowValuesCluster.java:371)
at org.openconcerto.sql.model.SQLRowValues.insert(SQLRowValues.java:1824)
at org.openconcerto.sql.model.SQLRowValues.insert(SQLRowValues.java:1808)
at org.openconcerto.sql.request.SQLRowView.insert(SQLRowView.java:346)
at org.openconcerto.sql.element.BaseSQLComponent.insert(BaseSQLComponent.java:703)
... 30 more
Caused by: java.sql.SQLException: Unable to insert prep388: INSERT INTO "OpenConcerto"."OpenConcerto48"."SAISIE_KM" ("MODIFICATION_DATE", "ID_USER_COMMON_MODIFY", "CREATION_DATE", "ID_USER_COMMON_CREATE", "ID_JOURNAL", "DATE", "NOM", "ORDRE") select ?, ?, ?, ?, ?, ?, ?, COALESCE(MAX("ORDRE"), 0) + 1 FROM "OpenConcerto"."OpenConcerto48"."SAISIE_KM" {1: TIMESTAMP '2016-10-12 19:51:09.061', 2: 2, 3: TIMESTAMP '2016-10-12 19:51:09.061', 4: 2, 5: 2, 6: TIMESTAMP '2016-10-12 00:00:00.0', 7: 'gffdgh'}
at org.openconcerto.sql.model.SQLRowValues$6.handle(SQLRowValues.java:1841)
at org.openconcerto.sql.model.SQLRowValues$6.handle(SQLRowValues.java:1)
at org.openconcerto.sql.model.ConnectionHandler.compute(ConnectionHandler.java:59)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:873)
at org.openconcerto.sql.model.SQLDataSource.useConnection(SQLDataSource.java:837)
at org.openconcerto.sql.model.SQLRowValues.insertJustThis(SQLRowValues.java:1831)
... 48 more
Caused by: org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "[11153] stream data key:900 pos:11 remaining:0". Possible solution: use the recovery tool; SQL statement:
INSERT INTO "OpenConcerto"."OpenConcerto48"."SAISIE_KM" ("MODIFICATION_DATE", "ID_USER_COMMON_MODIFY", "CREATION_DATE", "ID_USER_COMMON_CREATE", "ID_JOURNAL", "DATE", "NOM", "ORDRE") select ?, ?, ?, ?, ?, ?, ?, COALESCE(MAX("ORDRE"), 0) + 1 FROM "OpenConcerto"."OpenConcerto48"."SAISIE_KM" [90030-175]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:332)
at org.h2.message.DbException.get(DbException.java:172)
at org.h2.message.DbException.get(DbException.java:149)
at org.h2.index.PageDataIndex.getPage(PageDataIndex.java:240)
at org.h2.index.PageDataNode.getNextPage(PageDataNode.java:231)
at org.h2.index.PageDataLeaf.getNextPage(PageDataLeaf.java:396)
at org.h2.index.PageDataCursor.nextRow(PageDataCursor.java:93)
at org.h2.index.PageDataCursor.next(PageDataCursor.java:52)
at org.h2.index.IndexCursor.next(IndexCursor.java:274)
at org.h2.table.TableFilter.next(TableFilter.java:359)
at org.h2.command.dml.Select.queryGroup(Select.java:323)
at org.h2.command.dml.Select.queryWithoutCache(Select.java:627)
at org.h2.command.dml.Query.query(Query.java:314)
at org.h2.command.dml.Query.query(Query.java:284)
at org.h2.command.dml.Insert.insertRows(Insert.java:170)
at org.h2.command.dml.Insert.update(Insert.java:115)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:253)
at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:193)
at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:172)
at org.openconcerto.sql.model.SQLRowValues.insert(SQLRowValues.java:2295)
at org.openconcerto.sql.model.SQLRowValues$6.handle(SQLRowValues.java:1836)
... 53 more

Re: OpenConcerto 1.4.2

Posté : jeu. oct. 13, 2016 11:20 am
par imaf
BONJOUR,
quelqu'un pourrait m'explique comment enregistrer une facture d'achat qui a plusieurs TVA je suis embêté depuis ce matin merci :)