View Issue Details

IDProjectCategoryView StatusLast Update
0017477ScribusScripterpublic2025-03-28 21:18
Reporterpygmee Assigned Tocbradney  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.7.0 
Fixed in Version1.7.1.svn 
Summary0017477: ReadPDFOptions returns error
Description>>> readPDFOptions("/home/cedric/perso/activdesign/clients/ritimo/assemblage-passerelle-26/ritimo2-26.sla")

Traceback (most recent call last):
  File "<console>", line 1, in <module>
scribus.ScribusException: Impossible de lire les paramètres XML : noeud vide <firstUse> inattendu


Additional InformationPDF options of the document are the following. FirstUse is not a tag, but an attribute (indeed a node) and is not empty.

        <PDF firstUse="0" Thumbnails="0" Articles="0" Bookmarks="1" Compress="1" CMethod="0" Quality="0" EmbedPDF="0" MirrorH="0" MirrorV="0" Clip="0" rangeSel="0" rangeTxt="" RotateDeg="0" PresentMode="0" RecalcPic="1" FontEmbedding="0" Grayscale="0" RGBMode="1" UseProfiles="0" UseProfiles2="0" Binding="0" PicRes="100" Resolution="300" Version="15" Intent="1" Intent2="0" SolidP="sRGB display profile (ICC v2.2)" ImageP="sRGB display profile (ICC v2.2)" PrintP="ISO Coated v2 300% (basICColor)" InfoString="" BTop="0" BLeft="0" BRight="0" BBottom="0" useDocBleeds="0" cropMarks="0" bleedMarks="0" registrationMarks="0" colorMarks="0" docInfoMarks="0" markLength="20.0012598425197" markOffset="0" ImagePr="0" PassOwner="" PassUser="" Permissions="-4" Encrypt="0" UseLayers="1" UseLpi="0" UseSpotColors="1" doMultiFile="0" displayBookmarks="0" displayFullscreen="0" displayLayers="0" displayThumbs="0" hideMenuBar="0" hideToolBar="0" fitWindow="0" openAfterExport="0" PageLayout="0" openAction="">
            <Fonts Name="Slabo 13px Regular"/>
            <Fonts Name="Slabo 27px Regular"/>
            <Fonts Name="Zilla Slab Bold"/>
            <Fonts Name="Zilla Slab Medium"/>
            <Fonts Name="Zilla Slab Regular"/>
            <Fonts Name="Zilla Slab SemiBold"/>
            <Subset Name="Liberation Serif Bold"/>
            <Subset Name="Noto Serif Bold"/>
            <Subset Name="Noto Serif ExtraBold"/>
            <Subset Name="Noto Serif Italic"/>
            <Subset Name="Noto Serif Medium"/>
            <Subset Name="Noto Serif Regular"/>
            <Subset Name="Noto Serif SemiBold"/>
            <LPI Color="" Frequency="10" Angle="0" SpotFunction="0"/>
            <LPI Color="Black" Frequency="133" Angle="45" SpotFunction="3"/>
            <LPI Color="Cyan" Frequency="133" Angle="105" SpotFunction="3"/>
            <LPI Color="Magenta" Frequency="133" Angle="75" SpotFunction="3"/>
            <LPI Color="Yellow" Frequency="133" Angle="90" SpotFunction="3"/>
        </PDF>
TagsNo tags attached.
PatchNo

Activities

pygmee

2025-03-27 22:30

developer  

ritimo2-26.sla (1,581,924 bytes)

jghali

2025-03-28 19:41

administrator   ~0052357

readPDFOptions() does not read PDF options from a .sla, but from a file saved with savePDFOptions().

pygmee

2025-03-28 20:37

developer   ~0052359

you mean SavePDFOptions does this https://bugs.scribus.net/view.php?id=13029 (if evenif the printshop might ask for other specs than pdf options only)

jghali

2025-03-28 21:06

administrator   ~0052360

Yeah

cbradney

2025-03-28 21:18

administrator   ~0052362

Added some text as an error if a document is detected

Issue History

Date Modified Username Field Change
2025-03-27 22:30 pygmee New Issue
2025-03-27 22:30 pygmee File Added: ritimo2-26.sla
2025-03-28 19:41 jghali Note Added: 0052357
2025-03-28 20:37 pygmee Note Added: 0052359
2025-03-28 21:06 jghali Note Added: 0052360
2025-03-28 21:18 cbradney Assigned To => cbradney
2025-03-28 21:18 cbradney Status new => resolved
2025-03-28 21:18 cbradney Resolution open => fixed
2025-03-28 21:18 cbradney Fixed in Version => 1.7.1.svn
2025-03-28 21:18 cbradney Note Added: 0052362