Re: [ostorybook-dev] push de Frise chronologique

[ Thread Index | Date Index | More lists.tuxfamily.org/ostorybook-dev Archives ]


Bonjour,

Je ne peux pas ouvrir le fichier "Le Médecin malgré lui" qui me renvoie un message d'exception qui doit concerner l'importation d'une base de données : ( je joins le message complet)

Import SQL exception

Exception Message:
File not found: "script.sql in /home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk"; SQL statement: RUNSCRIPT FROM '/home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk' COMPRESSION ZIP [90124-189]

Stack Trace:
org.h2.jdbc.JdbcSQLException: File not found: "script.sql in /home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk"; SQL statement:


Voici ce que retourne la ligne de commande :

bernard@bernard:~$ ostorybook --dev
Java VM version:
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
starting oStorybook ...
oStorybook 5.05.04 alpha
Development test
Assistant from bundled file
Assistant from bundled file
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/usr/share/ostorybook/lib/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
query test OK

J'ai essayé avec un fichier personnel basique, ce qui permet d'afficher la fonction "Timeline View". La fenêtre n'est pas renseignée car je n'ai pas indiqué de date.

Amicalement,

Bernard


Le 11/05/2021 à 11:05, oStorybook a écrit :
Bonjour,

Je suis en retard. Traditionnellement je publie une version oStorybook
le 21 avril. Pourquoi ce jour-là? Parce que c’est le jour de mon
anniversaire. C’est aussi celui de la reine d’Angleterre. D’ailleurs mon
parrain, qui était amoureux de la-dite reine, ne se souvenait de mon
anniversaire que parce que c’était le même jour.

Bref, avec mes déménagements récents j’ai pris du retard. Mais j’avance,
je viens de faire un push pour avoir un état d’avancement lié à la frise
chronologique. Si vous voulez tester il faut ajouter le paramètre
« --dev » à la ligne de commande de lancement. Le fichier à utiliser
pour tester est « Le Médecin Malgré Lui » disponible sur le GIT à
l’adresse :
https://git.tuxfamily.org/ostorybook/code.git/tree/exemple/LeMedecinMalgreLui.osbk
J’ai fait aussi une petite (toute petite) doc disponible à :
https://git.tuxfamily.org/ostorybook/code.git/tree/doc/fr/wiki/view/Timeline.md

Bernard, si tu as des difficultés à installer et tester une version de
développement je te ferai une version "intermédiaire" empaquetée.

À vous lire.

Import SQL exception

Exception Message:
File not found: "script.sql in /home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk"; SQL statement:
RUNSCRIPT FROM '/home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk' COMPRESSION ZIP [90124-189]

Stack Trace:
org.h2.jdbc.JdbcSQLException: File not found: "script.sql in /home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk"; SQL statement:
RUNSCRIPT FROM '/home/bernard/apps/test_ostory/LeMedecinMalgreLui.osbk' COMPRESSION ZIP [90124-189]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
	at org.h2.message.DbException.get(DbException.java:179)
	at org.h2.message.DbException.get(DbException.java:155)
	at org.h2.command.dml.ScriptBase.openInput(ScriptBase.java:174)
	at org.h2.command.dml.RunScriptCommand.update(RunScriptCommand.java:44)
	at org.h2.command.CommandContainer.update(CommandContainer.java:78)
	at org.h2.command.Command.executeUpdate(Command.java:253)
	at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:184)
	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:158)
	at storybook.model.H2File.open(H2File.java:252)
	at storybook.App.openFile(App.java:328)
	at storybook.App.openFile(App.java:299)
	at storybook.action.MainAction.fileOpen(MainAction.java:59)
	at storybook.ui.MainMenu.lambda$initMenuFile$42(MainMenu.java:613)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Merci de signaler cette erreur à l'équipe de développement.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/