Ticket #804 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Windows previsualisation of PDF doesn't work

Reported by: olivier.touze@… Owned by: rspivak
Priority: P2 Milestone: CPS 3.4.0
Component: PortalTransforms Version: 3.3.4
Severity: normal Keywords: preview pdf html
Cc:

Description

CPS : 3.3.4-2 OS : Windows 2000 Pro


La prévisualisation des fichiers PDF ne fonctionne pas en environnement Windows alors que l'indexation du même document se fait bien.


J'ai utilisé les scripts de Marco PITON publiés sur le site CPS-Project.org et j'ai modifié le fichier pdf_to_html comme suit (fonction InvokeCommand?) :

Voici la partie du script publiée sur le site CPS-Project :

###--------------------------------------------- try:

htmlfile = "%s
%s.html" % (tmpdir, sansext(fullname)) html = open(htmlfile).read() htmlfile.close()

###---------------------------------------------

Et voici ce qu'il faut mettre à la place :

###--------------------------------------------- try:

htmlfile = open("%s
%s.html" % (tmpdir, sansext(fullname))) html = htmlfile.read() htmlfile.close()

###---------------------------------------------

Change History

comment:1 Changed 14 years ago by ogrisel <ogrisel@…>

  • Milestone changed from CPS 3.3.4 to CPS 3.3.5

comment:2 Changed 14 years ago by fguillaume

  • Milestone changed from CPS 3.3.5 to CPS 3.3.6

comment:3 Changed 14 years ago by fguillaume

  • Priority changed from P1 to P2
  • Keywords preview added; prévisualisation removed
  • Milestone changed from CPS 3.3.6 to CPS 3.4.0
  • Summary changed from Prévisualisation PDF ne fonctionne pas en environnement WINDOWS to Windows previsualisation of PDF doesn't work

Needs to be handled and tested by a windows user.

comment:4 Changed 14 years ago by rspivak

  • Owner changed from trac to rspivak

comment:5 Changed 14 years ago by rspivak

  • Status changed from new to assigned

comment:6 Changed 14 years ago by rspivak

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [30130]. More info about Windows in README

Note: See TracTickets for help on using tickets.