Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 26/05/2007, à 17:23

Centaurien

Plantage OOo au chargement d'un certain document odt

Bonjour,

J'ai télécharger le livre Simple comme Ubuntu au format OOo sur le site de framasoft, mais lorsque j'ouvre ce fichier, OOo se plante immédiatement. Je précise que j'ouvre d'autres fichiers sans problème (sxw, odt, doc). Auriez-vous une idée de ce qui peut se passer ou bien s'il y a un fichier log qui pourrait m'indiquer la raison du plantage ?
Merci pour votre attention à mon tout petit problème hmm

P.S. J'ai la version 2.2 d'Open Office et je suis sous kubuntu. Je précise aussi que le fichier s'ouvre sous windows avec la même version d'OOo.


----------------------------------------------------------------------------
Débutant Linux se faisant la main sous kubuntu
(Feisty, Gutsy puis Hardy)
----------------------------------------------------------------------------

Hors ligne

#2 Le 26/05/2007, à 17:28

krusaf

Re : Plantage OOo au chargement d'un certain document odt

va dans une console.

Et tape :

openoffice lenom_de_ton_fichier_a_ouvrir


(j'ai pas verifie)

Ca devrait marcher et ça t'affichera peut être sur al console plus d'informations mais rien n'est dit ...

Hors ligne

#3 Le 26/05/2007, à 17:42

Centaurien

Re : Plantage OOo au chargement d'un certain document odt

Ouh là là yikes ça me sort pas mal de chose :

root@ubuntu:~# ooffice writer /home/jp/Download/ubuntu_partie1.odt
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
root@ubuntu:~# Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:6557): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6557): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

(process:6567): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6567): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(process:6567): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6567): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(process:6567): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6567): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(process:6567): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:6567): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

Alors si quelqu'un y comprend quelque chose, qu'il me fasse signe !!!


----------------------------------------------------------------------------
Débutant Linux se faisant la main sous kubuntu
(Feisty, Gutsy puis Hardy)
----------------------------------------------------------------------------

Hors ligne

#4 Le 26/05/2007, à 18:57

krusaf

Re : Plantage OOo au chargement d'un certain document odt

ce qui me choque dans ton copier coller, c'est la ligne : Xlib: connection to ":0.0" refused by server

Le user avec lequel tu t'es loggué en console est différent de celui qui a lancé la session X.

Mais tu t'es connecté en root ?
Sous ubntu ça sert pas à grand chose de se loggueru en root. Qui plus le fichier se trouvant dans ta home directory (/home/jp) a du etre j'imagine télécharger via ton compte jp.

Ouvre une console sans etre root , et ouvre le fichier à nouveau cela devrait fonctionner. Ce que je n'explique pas c'est que tu ais l'erreur en cliquant sur le dit-fichier.


Tu peux me dire comment tu procedes en details stp avec quel compte tu utilises et quand ?


Mais sinon essaye ainsi :
log toi avec le login jp. Ouvre nautilus ou autre explorateur de fichier puis double clique sur le fichier simplement. Cela ne devrait pas planté.

Hors ligne

#5 Le 26/05/2007, à 20:59

Centaurien

Re : Plantage OOo au chargement d'un certain document odt

Bonjour et merci krusaf de t'intérésser à mon problème. Alors, voilà, je suis loggé avec jp. Si je double clique sur le fichier odt, cela plante de la même façon. Je retourne sous la console, en restant sous le même utilisateur et voilà les messages que je reçois :

X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

(process:5649): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5649): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

A ce moment, OOo s'ouvre (juste le splash screen) et une boite de dialogue me dit '/home/jp/writer n'existe pas' (ça je ne l'ai pas quand j'ouvre en cliquant dans l'explorateur de fichier). Je clique OK dans la boite de dialogue, puis vient:

(process:5649): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5649): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:5649): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5649): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

....... (La je passe un paquet de lignes identiques)

(process:5649): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5649): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

A ce moment, l'écran de récupération de document d'OOo s'ouvre en me demandant si je veux récupérer le fichier que j'essaye d'ouvrir (Si j'essaie, ça se replante) et la console affiche :

X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode:  144
  Minor opcode:  3
  Resource id:  0x0
Failed to open device

(process:5677): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5677): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

(process:5677): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function

(process:5677): Gdk-CRITICAL **: gdk_screen_get_font_options: assertion `GDK_IS_SCREEN (screen)' failed

Voilà.


----------------------------------------------------------------------------
Débutant Linux se faisant la main sous kubuntu
(Feisty, Gutsy puis Hardy)
----------------------------------------------------------------------------

Hors ligne

#6 Le 26/05/2007, à 22:17

krusaf

Re : Plantage OOo au chargement d'un certain document odt

A ce moment, OOo s'ouvre (juste le splash screen) et une boite de dialogue me dit '/home/jp/writer n'existe pas' (ça je ne l'ai pas quand j'ouvre en cliquant dans l'explorateur de fichier). Je clique OK dans la boite de dialogue,

Le fichier write n'existe pas donc c'est normal.

Mais je sèche là je sais pas pourquoi il ouvre pas ton fichier :s

Hors ligne

#7 Le 27/05/2007, à 11:18

Centaurien

Re : Plantage OOo au chargement d'un certain document odt

Effectivement je tapait : ooffice writer /home/jp/Download/ubuntu_partie1.odt
au lieu de : ooffice -writer /home/jp/Download/ubuntu_partie1.odt (tiret devant writer - cette option est d'ailleurs inutile pour ouvrir le fichier).

Sinon, personne n'a d'idée ?


----------------------------------------------------------------------------
Débutant Linux se faisant la main sous kubuntu
(Feisty, Gutsy puis Hardy)
----------------------------------------------------------------------------

Hors ligne

#8 Le 27/05/2007, à 11:25

Centaurien

Re : Plantage OOo au chargement d'un certain document odt

J'ai fait une recherche et je suis tombé la-dessus :

http://forum.ubuntu-fr.org/viewtopic.php?pid=943601

Apparemment, c'est un bug lié à Python sad


----------------------------------------------------------------------------
Débutant Linux se faisant la main sous kubuntu
(Feisty, Gutsy puis Hardy)
----------------------------------------------------------------------------

Hors ligne