1 votes

Chargement du module : libubuntu_application_api_touch_mirclient.so.3.0.0' Ce module ne supporte pas propagateSizeHints().

J'obtiens cette erreur en essayant de construire mon paquet de clic pour mon téléphone nexus 4. Ce problème n'existe pas lorsque je construis pour le bureau :

Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
This plugin does not support propagateSizeHints()

L'erreur complète est ici :

enter image description here

Je ne sais pas comment résoudre ce problème. Une idée de ce que ça veut dire ?

1voto

William Points 21

Il y a quelque chose de similaire. Rapport de bogue pour l'application Calculatrice :

http://bazaar.launchpad.net/~gang65/ubuntu-calculator-app/ubuntu-calculator-app-install-fix/revision/218#app/CMakeLists.txt

Testé sur plusieurs appareils (arale, krillin exécutant rc-proposé) et krillin exécutant retail OTA-5.

Le lancement de la calculatrice fait apparaître la fenêtre de lancement, puis l'application meurt sans jamais afficher la fenêtre de la calculatrice.

L'application se lance bien sur le bureau.

Quelque chose s'est cassé entre la r182 (actuellement dans le magasin) et la r217.

Le journal contient :-

phablet@ubuntu-phablet:~/.cache/upstart$ cat application-click-com.ubuntu.calculator_ubuntu-calculator-app_2.0.217.log
libust[27746/27749]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27749]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27748]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[27746/27748]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
UbuntuWindow - regular geometry
UbuntuWindow - regular geometry
UbuntuWindow - regular geometry
This plugin does not support propagateSizeHints()

Correction commise à la branche (rev 218) : lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-install-fix (rev 218)

diff :

=== modified file 'app/CMakeLists.txt'
--- app/CMakeLists.txt  2015-07-20 19:23:20 +0000
+++ app/CMakeLists.txt  2015-07-31 11:54:58 +0000
@@ -3,14 +3,8 @@
   add_custom_target(ubuntu-calculator-app_QMlFiles ALL SOURCES ${QML_JS_FILES})
 endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")

-if(CLICK_MODE)
-  install(FILES graphics/${ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX})
-  install(FILES ${MAIN_QML} DESTINATION ${CMAKE_INSTALL_PREFIX})
-else (CLICK_MODE)
-  install(FILES graphics/${ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR})
-  install(FILES ${MAIN_QML} DESTINATION ${CMAKE_INSTALL_PREFIX}/${UBUNTU-CALCULATOR-APP_DIR})
-endif(CLICK_MODE)
-
+install(FILES graphics/${ICON_FILE} DESTINATION ${UBUNTU-CALCULATOR-APP_DIR})
+install(FILES ${MAIN_QML} DESTINATION ${UBUNTU-CALCULATOR-APP_DIR})

 add_subdirectory(engine)
 add_subdirectory(graphics)

=== modified file 'manifest.json.in'
--- manifest.json.in    2015-07-09 20:39:32 +0000
+++ manifest.json.in    2015-07-31 11:54:58 +0000
@@ -4,7 +4,7 @@
     "description": "Powerful and easy to use calculator.",
     "framework": "ubuntu-sdk-14.10",
     "hooks": {
-        "@APP_HARDCODE@": {
+        "calculator": {
             "apparmor": "@APP_HARDCODE@.apparmor",
             "desktop": "@CMAKE_INSTALL_DATADIR@/applications/ubuntu-calculator-app.desktop"
         }

0voto

Anon Points 11025

J'ai résolu ce problème en créant un nouveau projet dans le SDK, en utilisant le modèle :

enter image description here

Et je transfère mes fichiers de projet vers ce projet. Bien qu'il ne s'agisse pas d'une solution au bogue, c'était, à mon avis, la solution la plus rapide qui m'a permis de reprendre mon travail.

SistemesEz.com

SystemesEZ est une communauté de sysadmins où vous pouvez résoudre vos problèmes et vos doutes. Vous pouvez consulter les questions des autres sysadmins, poser vos propres questions ou résoudre celles des autres.

Powered by:

X