[digikam] [Bug 380805] New: Generating Gallery: "Could not load XSL file"

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] New: Generating Gallery: "Could not load XSL file"

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

            Bug ID: 380805
           Summary: Generating Gallery: "Could not load XSL file"
           Product: digikam
           Version: 5.6.0
          Platform: Other
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: HTMLGallery
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

First of all: digikam is a great piece of software and I thank all developers
of that.

I was very happy about the fact that it is possible again to create
HTML-Galleries. Unfortunatelly, every time I  try to create a gallery, the
generating process ends with the message, that the XSL file could not be
loaded.

Attached you will find the output of the generating process.

11:39:26 :: Starting to generate gallery...
11:39:26 :: 1 albums to process:
11:39:26 :: X:\blabla.JPG
11:39:26 :: Output directory: C:\Users\xxxxx\Pictures\Galery
11:39:26 :: Create directories
11:39:26 :: Copying theme
11:39:27 :: Generate images and XML files
11:39:27 :: Create directories
11:39:27 :: Create directories
11:39:27 :: Generating files for "blabla-dir"
11:39:50 :: Generating HTML files
11:39:50 :: Could not load XSL file '/C:/Program
Files/digiKam/data/digikam/themes/elegant//template.xsl'

This failure doesn't depend on the type of gallery nor on the location where
the gallery should be saved.

kind greetings from Stephan

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

Kurpfaelzer <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|Other                       |MS Windows

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
Look like the path is wrong :

'/C:/Program Files/digiKam/data/digikam/themes/elegant//template.xsl'

... it start with "/" like under Linux path. There is a bug in source code...

Can you confirm that 'C:/Program
Files/digiKam/data/digikam/themes/elegant//template.xsl" file exist in your
system ?

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #2 from Maik Qualmann <[hidden email]> ---
Git commit 0c1c206a5b6c5f7f15a04b08ed00651f2c640049 by Maik Qualmann.
Committed on 04/06/2017 at 10:38.
Pushed by mqualmann into branch 'master'.

fix path to XSL file under windows

M  +1    -1    utilities/assistants/htmlgallery/generator/gallerygenerator.cpp
M  +1    -1    utilities/assistants/htmlgallery/generator/gallerytheme.cpp

https://commits.kde.org/digikam/0c1c206a5b6c5f7f15a04b08ed00651f2c640049

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Maik Qualmann <[hidden email]> ---
I do not close this bug yet because not tested under Windows.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #4 from Kurpfaelzer <[hidden email]> ---
Thank you for your quick answer.

Indeed, it seems that the description of the path is wrong. Not onyl the slash
in front of the drive letter, but also the double-slash before the xsl-file.

The requested path exists and the xsl-file is stored in it.

Stephan

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #5 from [hidden email] ---
I start to rebuild the windows installer now. There will be updated in one
hour.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #6 from [hidden email] ---
Installer build is done. Uploading in GDrive under progress :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #7 from Kurpfaelzer <[hidden email]> ---
Many thanks for your correction.

The Gallery vould be cerated and it works!

BUT!!!!
All files and folders within the specified directory are obviously deleted
before.
Because I specifid my Pictures-folder, everything is deleted (and could't be
found anywhere). This is really a great pitty!

Stephan

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #8 from [hidden email] ---
You want mean the target directory used to export the gallery ? Yes, this must
be a temporary area.

You are right. We must fix this behavior.

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #9 from Maik Qualmann <[hidden email]> ---
Strangely we remove only recursively the theme directory. So that the copy does
not fail. So even if the directory (pictures) contains all the images, nothing
is deleted.

Maik

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #10 from Kurpfaelzer <[hidden email]> ---
The original pictures are placed in directory X:\
The output directory was set to : C:\Users\xxxxx\Pictues\

Everything which was placed in this output directory before was deleted.
The pictures in the source directory are all well.

The galery was created afterwards and everything which belongs to the galery
was placed perfectly.

The error is that all things which are already in the target directory are
deleted without any warnings. There is also no comment, that one should use a
temporary directory.

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

Maik Qualmann <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.6.0
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/dig
                   |                            |ikam/b576e320fe571afde7026d
                   |                            |18dce84c3d06e6ff62

--- Comment #11 from Maik Qualmann <[hidden email]> ---
Git commit b576e320fe571afde7026d18dce84c3d06e6ff62 by Maik Qualmann.
Committed on 04/06/2017 at 20:11.
Pushed by mqualmann into branch 'master'.

remove only the theme dir in the destination URL
FIXED-IN: 5.6.0

M  +2    -1    NEWS
M  +2    -4    utilities/assistants/htmlgallery/generator/gallerygenerator.cpp
M  +1    -1    utilities/assistants/htmlgallery/generator/gallerytheme.cpp

https://commits.kde.org/digikam/b576e320fe571afde7026d18dce84c3d06e6ff62

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #12 from Kurpfaelzer <[hidden email]> ---
@Gilles:
just a short question: have you had a chance already to check Maiks fixes and
to rebuild the windows installer? If so, I would try out the fix in a sandbox
whether it will work now.

THX in advance
Stephan

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #13 from [hidden email] ---
The patch is already included in source code and Windows installer re-build :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[digikam] [Bug 380805] Generating Gallery: "Could not load XSL file"

bugzilla_noreply
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=380805

--- Comment #14 from Kurpfaelzer <[hidden email]> ---
@all:
THX a lot. The creation of a HTML Gallery is currently working without deleting
any other directories or files within the target directory.
Thank you for your great work.

Just for you as an information:
if you're creating a second or more additional gallery in the same target
directory, the "index.html" file will point only to the last created gallery.
The galleries created before are hard to access afterwards.
Perhaps, this might be a good idea for the improvement of this great feature.

Kind greetings, Stephan

--
You are receiving this mail because:
You are the assignee for the bug.
Loading...