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 08/12/2018, à 19:36

asharak

[Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Bonjour,

Lorsque j'essaye d'ouvrir un .pdf, le logiciel utilisé plante, que ce soit le Visionneur de documents, Atril ou xpdf.

Lorsque je fais un clic droit sur le fichier, le dossier se ferme.

À noter que cela ne le fait pas avec tous les fichiers. Certains s'ouvrent, d'autres pas.

Redémarrer le PC n'y change rien.

Que faire ?

Dernière modification par asharak (Le 12/12/2018, à 18:07)

Hors ligne

#2 Le 08/12/2018, à 21:24

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Salut,

Lance ton lecteur de PDF dans un terminal et essaye d'ouvrir :
1/ un PDF fonctionnel et donne les retours complets
2/ un PDF qui fait planter et donne les retours complets

A+

[Edit] Question complémentaire : Un PDF que tu peux ouvrir, fonctionne-t-il à chaque fois correctement ?

Dernière modification par inbox (Le 08/12/2018, à 21:25)


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#3 Le 08/12/2018, à 23:22

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Aucun retour ne s'affiche dans le terminal lorsque le document s'ouvre. Un même document s'ouvre à chaque fois correctement.

Pour un document qui ne s'ouvre pas (à chaque fois) :

asharak@asharak-desktop:~$ evince
Erreur de segmentation (core dumped)
asharak@asharak-desktop:~$  

même chose avec atril

[Edit] le clic droit fonctionne correctement, c'est quand je clic ensuite sur propriétés que le dossier se ferme.

Dernière modification par asharak (Le 08/12/2018, à 23:40)

Hors ligne

#4 Le 09/12/2018, à 00:22

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Aurais-tu installé un thème graphique que tu aurais téléchargé ? En gros, utilises-tu un thème qui n'est pas d'origine ?


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#5 Le 09/12/2018, à 13:05

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Les curseurs n'étaient pas d'origine.

J'ai changé pour :

Thèmes
Applications : Ambiance
Curseurs : DMZ-Black
Icônes : Ubuntu-mono-dark

J'ai ensuite redémarré et relancé les opérations dans un terminal .

Pour les pdf qui s'ouvrent :

 asharak@asharak-desktop:~$ evince
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

pour les pdf qui ne s'ouvrent pas :

asharak@asharak-desktop:~$ evince
Erreur de segmentation (core dumped)
asharak@asharak-desktop:~$ 

Hors ligne

#6 Le 09/12/2018, à 13:18

Compte anonymisé

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Salut,
Les fichiers qui te font le défaut, viennes-t-ils tous de la même source ?
Ces fichiers s'ouvrent-t-il correctement sur une autre machine Linux ?
Ces fichiers s'ouvrent-t-il correctement sur une autre machine Windows ?
As-tu un de ces documents qui n'est ni confidentiel, et qui ne comporte aucune données personnelles ou sensibles que tu pourrais nous partager pour des tests ?

#7 Le 09/12/2018, à 13:19

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Dans ceux qui ne s'ouvrent pas, certains sont-ils publics ? Dis autrement, puis-je avoir un lien pour en télécharger et que tu n'arrives pas à ouvrir ?


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#8 Le 09/12/2018, à 13:40

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Les fichiers proviennent de diverses sources et s'ouvraient tous correctement avant la mise à niveau vers 18.04LTS.
Il n'y a pas de windows à la maison.
voici un des fichiers ne s'ouvrant plus :
https://www.dropbox.com/s/rjghdrryrh4kq … s.pdf?dl=0

Dernière modification par asharak (Le 09/12/2018, à 13:41)

Hors ligne

#9 Le 09/12/2018, à 14:03

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

J'ai affiché ton PDF, sans problème avec Evince.

Il faut donc envisager, soit un problème matériel (RAM ou disque dur), soit un problème système.

Pour tester la RAM, il faut démarrer en appuyant sur la touche Shift. La tu pourras choisir la 1ère ligne Memtest. Si des lignes avec du rouges apparaissent, ta mémoire est défectueuse.

Pour vérifier le disque dur, installe smarmontools. Ensuite, lance le test avec :

sudo smartctl -s on -a /dev/sdX

Remplacer le X de sdX par la lettre correspondant à ton disque dur.

On verra pour la suite, en fonction de ces résultats.


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#10 Le 09/12/2018, à 15:36

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Test mémoire effectué : aucun problème

Test disque dur :

asharak@asharak-desktop:~$ sudo smartctl -s on -a /dev/sda
[sudo] Mot de passe de asharak : 
smartctl 6.6 2016-05-31 r4324 [i686-linux-4.15.0-42-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate Barracuda 7200.12
Device Model:     ST3500413AS
Serial Number:    6VMSGCH7
LU WWN Device Id: 5 000c50 032e1f6d5
Firmware Version: JC45
User Capacity:    500107862016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sun Dec  9 14:34:56 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)	Offline data collection activity
					was completed without error.
					Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)	The previous self-test routine completed
					without error or no self-test has ever 
					been run.
Total time to complete Offline 
data collection: 		(  600) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  86) minutes.
Conveyance self-test routine
recommended polling time: 	 (   2) minutes.
SCT capabilities: 	       (0x103f)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   115   099   006    Pre-fail  Always       -       86882161
  3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   098   098   020    Old_age   Always       -       2744
  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   076   060   030    Pre-fail  Always       -       44226478
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7506
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   095   095   020    Old_age   Always       -       5617
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -       0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   098   000    Old_age   Always       -       5504
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   069   054   045    Old_age   Always       -       31 (Min/Max 30/31)
194 Temperature_Celsius     0x0022   031   046   000    Old_age   Always       -       31 (0 11 0 0 0)
195 Hardware_ECC_Recovered  0x001a   040   022   000    Old_age   Always       -       86882161
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       14205 (176 78 0)
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       3574636754
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       851030126

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

asharak@asharak-desktop:~$ 

Hors ligne

#11 Le 09/12/2018, à 15:45

Roschan

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Si ça ne marche avec *aucun* lecteur de pdf, il faut suspecter ce qu'ils ont en commun :

sudo apt install --reinstall poppler-data

Hors ligne

#12 Le 09/12/2018, à 15:52

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Roschan a écrit :

Si ça ne marche avec *aucun* lecteur de pdf, il faut suspecter ce qu'ils ont en commun :

sudo apt install --reinstall poppler-data

opération effectuée, ça ne change rien

Hors ligne

#13 Le 09/12/2018, à 16:12

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Ton disque a quelques problèmes :

195 Hardware_ECC_Recovered  0x001a   040   022   000    Old_age   Always       -       86882161
1 Raw_Read_Error_Rate     0x000f   115   099   006    Pre-fail  Always       -       86882161
  7 Seek_Error_Rate         0x000f   076   060   030    Pre-fail  Always       -       44226478
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       7506

Le disque a 313 jours complets d'utilisation. Il n'est donc plus tout jeune. Il doit commencer se faire vieux.

Je pense qu'il faudrait lancer un test sur ton disque. Lance donc :

sudo smartctl -t short /dev/sda

Puis :

sudo smartctl -l selftest /dev/sda

Et donne m'en les retours.

Dernière modification par inbox (Le 09/12/2018, à 16:14)


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#14 Le 09/12/2018, à 16:40

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

asharak@asharak-desktop:~$ sudo smartctl -t short /dev/sda
[sudo] Mot de passe de asharak : 
smartctl 6.6 2016-05-31 r4324 [i686-linux-4.15.0-42-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 1 minutes for test to complete.
Test will complete after Sun Dec  9 15:38:03 2018

Use smartctl -X to abort test.
asharak@asharak-desktop:~$ sudo smartctl -l selftest /dev/sda
smartctl 6.6 2016-05-31 r4324 [i686-linux-4.15.0-42-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      7507         -
# 2  Short offline       Completed without error       00%      7507         -
# 3  Short offline       Completed without error       00%      7507         -
# 4  Short offline       Completed without error       00%      7507         -
# 5  Short offline       Completed without error       00%      7507         -

asharak@asharak-desktop:~$ 

Hors ligne

#15 Le 09/12/2018, à 17:33

Compte anonymisé

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Chez moi document pdf aussi ouvrable avec Evince.
Ton fichier a été créé sous crocrotte.
Producteur : Acrobat Distiller 6.0.1 (Windows)
Créateur : Acrobat PDFMaker 6.0 for Word
Format PDF-1.5
Je réfléchis et reviens dès que possible.

#16 Le 09/12/2018, à 17:47

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Le test est passé sans problème.

Pour vérifier si cela peut être un problème de disque dur, il faudrait que tu enregistres le fichier dont tu m'as donné le lien sur une clef ou un disque USB. Ensuite, tu essaye de l'ouvrir depuis cet emplacement. Tu dis si le lecteur PDF plante ou si le PDF s'ouvre normalement.

Donne aussi le retour de :

cat /etc/apt/sources.list
ls -la /etc/apt/sources.list.d

Dernière modification par inbox (Le 09/12/2018, à 17:49)


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#17 Le 09/12/2018, à 17:52

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

fichier copié sur un disque dur externe, lorsque j'essaye de l'ouvrir, le lecteur plante

Hors ligne

#18 Le 09/12/2018, à 17:54

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

asharak@asharak-desktop:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
# deb-src http://archive.ubuntu.com/ubuntu xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://archive.ubuntu.com/ubuntu xenial universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://archive.ubuntu.com/ubuntu xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://archive.ubuntu.com/ubuntu xenial-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://archive.ubuntu.com/ubuntu xenial-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://archive.ubuntu.com/ubuntu xenial-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
asharak@asharak-desktop:~$ 
asharak@asharak-desktop:~$ ls -la /etc/apt/sources.list.d
total 32
drwxr-xr-x 2 root root 4096 nov.   2 12:20 .
drwxr-xr-x 6 root root 4096 nov.   2 13:42 ..
-rw-r--r-- 1 root root  117 nov.   2 12:20 dropbox.list
-rw-r--r-- 1 root root  117 nov.   2 12:20 dropbox.list.distUpgrade
-rw-r--r-- 1 root root  117 juil.  1  2017 dropbox.list.save
-rw-r--r-- 1 root root  556 nov.   2 12:20 libreoffice-ubuntu-ppa-xenial.list
-rw-r--r-- 1 root root  556 nov.   2 12:20 libreoffice-ubuntu-ppa-xenial.list.distUpgrade
-rw-r--r-- 1 root root  484 juil.  1  2017 libreoffice-ubuntu-ppa-xenial.list.save
asharak@asharak-desktop:~$ 

Hors ligne

#19 Le 09/12/2018, à 18:00

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

As-tu la possibilité de démarrer en session live ? Dans cette session, tu tenteras d'ouvrir un PDF qui plante et donner le résultat.


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#20 Le 09/12/2018, à 18:04

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

inbox a écrit :

As-tu la possibilité de démarrer en session live ?

C'est à dire ?

Hors ligne

#21 Le 09/12/2018, à 18:12

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Avec un live USB.


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#22 Le 09/12/2018, à 18:53

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

J'ai lu les explications, je patauge un peu.
Je n'ai ni clé usb ni image .iso à priori.

Hors ligne

#23 Le 09/12/2018, à 18:58

inbox

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

Tu télécharges cette image iso et tu crées une clef USB bootable comme indiqué dans la documentation préalablement citée.


Un problème résolu ? Indiquez le en modifiant le titre du sujet.

Hors ligne

#24 Le 09/12/2018, à 21:08

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

J'ai démarré avec une clé live usb, choisi essayer ubuntu, mais je n'ai plus accès à mes dossiers, j'ai du louper quelque-chose...

Hors ligne

#25 Le 09/12/2018, à 21:15

asharak

Re : [Résolu] Problème ouverture fichiers pdf sous Ubuntu 18.04.1 LTS

J'ai téléchargé le fichier via le lien laissé quelques post plus haut ainsi qu'un autre fichier que je ne parvenais plus à ouvrir.
Le premier fichier s'ouvre correctement et rien ne s'affiche dans le terminal.
Par contre le second à planté la première fois :

ubuntu@ubuntu:~$ evince
(evince:7049): GLib-GObject-CRITICAL **: 19:11:37.502: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
Erreur de segmentation (core dumped)
ubuntu@ubuntu:~$ 

À la seconde tentative, il s'est ouvert et rien ne s'est affiché dans le terminal.
Idem au troisième essai.

Dernière modification par asharak (Le 09/12/2018, à 21:17)

Hors ligne