studio icon indicating copy to clipboard operation
studio copied to clipboard

Erreur "Echec du chargement du pack d'histoires"

Open allergique opened this issue 1 year ago • 4 comments

Describe the bug Erreur "Echec du chargement du pack d'histoires" lors de l'ouverture dans l'éditeur

To Reproduce Steps to reproduce the behavior:

  1. Convertir ce pack d'histoires au format archive (éditable)
  2. Cliquer sur ouvrir ce pack d'histoires dans l'éditeur

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Logs

studio.log 2023-07-23 16:43:59,774 INFO [stu.web.Studio] (main) Running Studio 2023-07-23 16:43:59,871 INFO [stu.web.api.SockJsEventBusBridge] (main) Start Sockjs EventBus 2023-07-23 16:43:59,877 INFO [stu.web.Studio] (main) Opening URL http://localhost:8080/ in default browser... 2023-07-23 16:43:59,895 INFO [stu.web.ser.LibraryService] (main) library path : .\library (tmpdir path : .\tmp) 2023-07-23 16:43:59,906 INFO [stu.met.DatabaseMetadataService] (main) Read database .\db\unofficial.json 2023-07-23 16:43:59,907 INFO [stu.met.DatabaseMetadataService] (main) Read database .\db\official.json 2023-07-23 16:43:59,915 INFO [stu.met.DatabaseMetadataService] (main) Clean official packs in library database 2023-07-23 16:43:59,924 INFO [io.quarkus] (main) studio-web-ui 1.0.2 native (powered by Quarkus 2.15.3.Final) started in 0.147s. Listening on: http://localhost:8080 2023-07-23 16:43:59,925 INFO [io.quarkus] (main) Profile prod activated. 2023-07-23 16:43:59,926 INFO [io.quarkus] (main) Installed features: [awt, cdi, rest-client-reactive, rest-client-reactive-jackson, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, usb4java, vertx] 2023-07-23 16:44:02,007 INFO [stu.web.ser.StoryTellerService] (vert.x-eventloop-thread-5) Setting up story teller driver 2023-07-23 16:44:02,008 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-5) Initializing libusb... 2023-07-23 16:44:02,019 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-5) Hotplug is NOT supported. Scheduling task to actively poll USB device... 2023-07-23 16:44:02,021 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-5) Initializing libusb... 2023-07-23 16:44:02,023 INFO [stu.dri.usb.LibUsbDetectionHelper] (vert.x-eventloop-thread-5) Hotplug is NOT supported. Scheduling task to actively poll USB device... 2023-07-23 16:44:02,043 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 58024696-bc51-4c24-8391-c35a01601446 2023-07-23 16:44:02,044 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 6450ff5b-4cb1-4748-a847-5faba29be557 2023-07-23 16:44:02,044 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata ARCHIVE from pack: 6450ff5b-4cb1-4748-a847-5faba29be557.converted_1690122819091.zip 2023-07-23 16:44:02,064 INFO [stu.web.api.SockJsEventBusBridge] (vert.x-eventloop-thread-6) Sockjs open 2023-07-23 16:44:02,065 INFO [stu.web.api.LibraryController] (executor-thread-0) Library packs scanned in 23ms 2023-07-23 16:44:09,817 INFO [stu.web.ser.LibraryService] (executor-thread-0) Convert pack 58024696-bc51-4c24-8391-c35a01601446 to ARCHIVE 2023-07-23 16:44:09,817 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Pack is in FS format. Converting to ARCHIVE format 2023-07-23 16:44:09,818 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Reading FS format pack 2023-07-23 16:44:10,429 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Writing ARCHIVE format pack, using temporary : .\tmp\58024696-bc51-4c24-8391-c35a01601446.converted_1690123450429.zip 2023-07-23 16:44:11,958 INFO [stu.cor.v1.ser.StoryPackConverter] (executor-thread-0) Moving ARCHIVE format pack into local library: .\library\58024696-bc51-4c24-8391-c35a01601446.converted_1690123450429.zip 2023-07-23 16:44:11,959 INFO [stu.web.api.LibraryController] (executor-thread-0) Pack converted in 2142ms 2023-07-23 16:44:11,970 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 58024696-bc51-4c24-8391-c35a01601446 2023-07-23 16:44:11,971 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata ARCHIVE from pack: 58024696-bc51-4c24-8391-c35a01601446.converted_1690123450429.zip 2023-07-23 16:44:11,974 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata FS from pack: 6450ff5b-4cb1-4748-a847-5faba29be557 2023-07-23 16:44:11,975 INFO [stu.web.ser.LibraryService] (executor-thread-0) Read metadata ARCHIVE from pack: 6450ff5b-4cb1-4748-a847-5faba29be557.converted_1690122819091.zip 2023-07-23 16:44:11,987 INFO [stu.web.api.LibraryController] (executor-thread-0) Library packs scanned in 18ms 2023-07-23 16:44:19,288 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-5) Download pack '58024696-bc51-4c24-8391-c35a01601446.converted_1690123450429.zip' 2023-07-23 16:46:23,940 INFO [stu.web.api.LibraryController] (vert.x-eventloop-thread-0) Download pack '58024696-bc51-4c24-8391-c35a01601446.converted_1690123450429.zip'

A.actionNodes is undefined

Desktop and environment (please complete the following information):

  • OS: Win32
  • Browser Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
  • Java version: [e.g. JDK 11.0.6]
  • Maven version: [e.g. 3.6.0]
  • STUdio application version: 1.0.2

Additional context Add any other context about the problem here.

allergique avatar Jul 23 '23 14:07 allergique

Link to https://github.com/kairoh/studio/pull/96

NSV avatar Jul 25 '23 13:07 NSV

Merci pour le lien #96. Je vois bien le fichier "core/src/main/java/studio/core/v1/model/Transition.java" à modifier, mais comment retransformer les fichiers sources pour qu'ils soient exécutables?

allergique avatar Jul 27 '23 19:07 allergique

Attendre que la pull request soit accepté. Ou compiler soit même les sources, il faut suivre le README pour ça.

NSV avatar Jul 27 '23 20:07 NSV

D'accord, merci beaucoup pour ta réponse

allergique avatar Jul 28 '23 21:07 allergique