Hi there.
I am working with several pptx files via collabora web office.
Others are fine but only one file is causing error.
Inside of the iframe, there is an error message of IOException while loading.
And in the coolwsd.log (CODE server log),
it keeps saying permission denied like this.
ERR Cannot access path [/opt/cool/systemplate]: Permission denied| common/FileUtil.cpp:324
If it couldn’t access the path, why are other files work fine ?
Please let me know the options which can cause this error.
Thank you
Tex
June 22, 2023, 1:26am
2
Hey @changhyuns ,
Thanks for the post.
Could you give your:
Help > About info?
+ a little more info on your OS + install?
(Are you using the normal OS packages, a docker container, etc.)
And, if you can:
the problematic PPTX file?
I am working with several pptx files via collabora web office.
Others are fine but only one file is causing error.
Hmmm, that’s weird.
Are you doing anything different with this specific PPTX file compared to the others?
(Like this one might have an embedded video while the others don’t?)
And in the coolwsd.log (CODE server log), it keeps saying permission denied like this.
ERR Cannot access path [/opt/cool/systemplate]: Permission denied| common/FileUtil.cpp:324
Hmmm. Doing a search for this error, I only was able to find ONE other hit on a German forum:
And using a slightly different search, I was also able to come across a handful of:
but those were slightly different with:
INF No write access to path [/opt/cool/systemplate]: Permission denied| common/FileUtil.cpp:328
DBG Failed to remove [/opt/lool/child-roots/] only: Access to file denied| common/FileUtil.cpp:241
vs. your:
ERR Cannot access path [/opt/cool/systemplate]: Permission denied| common/FileUtil.cpp:324
Please let me know the options which can cause this error.
Hmmm, unsure. Once we get a little more info though, I think that’ll help.
@Tex
Hi there, I found the matter.
I tested all the slides i have, and found that
When the ppt slide contains [Linked File Objects],
there becomes multi - getFileInfo api calls.
when i opened the file,
it calls getFileInfo, and then calls getContents (read contents).
And while reading file content, when there are linked file objects,
it calls another getFileInfos to read linked files.
The error occurs there. I Think the original ppt file doesn’t have the
file info & contents info of the linked files inside of the slide.
Would you test it via ppt file?
Insert linked file in your slide .( [Insert] - [Object] - [From File] - [Select File] - [Check Link] - [Confirm] )
save your file.
open your file via Collabora Web Office.
Thanks for the reply.
Tex
July 6, 2023, 8:48am
4
Hi there, I found the matter.
Fantastic. Thanks for letting me know about the:
LINKED FILE inside the slide.
I haven’t had a chance to retest the steps on my end (hopefully this weekend!).
Do you happen to just have a broken sample PPT? Just attach it here.
That might make testing this way faster/easier.
Then, when we submit this issue to a developer, it can be an easy:
Open this document.
See it doesn’t work.
Then we could give the few steps explaining how that type of broken document was created.