Bug 433858

Summary: opening a tar file leads to an error
Product: [Frameworks and Libraries] frameworks-karchive Reporter: Philippe ROUBACH <philippe.roubach>
Component: generalAssignee: David Faure <faure>
Status: REPORTED ---    
Severity: normal CC: alois1, kdelibs-bugs, kfm-devel, omerusta
Priority: NOR    
Version: 5.79.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=433749
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: what dolphin displays

Description Philippe ROUBACH 2021-03-02 12:59:08 UTC
Created attachment 136323 [details]
what dolphin displays

SUMMARY


STEPS TO REPRODUCE
1. make a complete backup with kbackup (80 GB)
2. click on the backup tar file
3. after several mns

OBSERVED RESULT

dolphin displays nothing and an error message

EXPECTED RESULT

dolphin dispalays the contents of the tar file

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

kde apps 20.12.2

After several mns Ark displays the contents of the tar file
Comment 1 Philippe ROUBACH 2021-03-02 13:01:16 UTC
The error message is "fail to open the file, non managed format".
Comment 2 Alois Wohlschlager 2021-03-02 14:03:02 UTC
My guess is that the KIO system fails somehow because the file is so big. Can you please follow the instructions [1] to get KIO debug output and report the output after you try to open the file again? "GUI (Qt5/KF5 instructions)" should be enough for a start.

[1] https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves
Comment 3 Philippe ROUBACH 2021-03-02 14:14:16 UTC
Where do you find kdebugsettings ?
Comment 4 Alois Wohlschlager 2021-03-02 14:17:41 UTC
You need to install it. Alternatively, you can also run the "export QT_LOGGING_RULES=…" command in the terminal before "kdeinit5".
Comment 5 Philippe ROUBACH 2021-03-03 08:59:00 UTC
Hello 

I followed the procedure but no log nowhere.
Comment 6 Philippe ROUBACH 2021-03-03 09:00:15 UTC
I asked for complete debug for kio archive
Comment 7 Alois Wohlschlager 2021-03-03 10:16:57 UTC
You must run "kdeinit5" in Konsole afterwards. Do not close the terminal, the log will appear there.
Comment 8 Philippe ROUBACH 2021-03-03 11:02:11 UTC
log_kio_archive: Starting 22304
log_kio_archive: 
log_kio_archive: 
log_kio_archive: "tar:/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: fullPath="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" path=""
log_kio_archive: Found. archiveFile="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" path="/"
log_kio_archive: Opening KTar on  "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Opening "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" failed.
log_kio_archive: "/"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/"
log_kio_archive: not found
log_kio_archive: "/mnt"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/"
log_kio_archive: "/mnt/" trying "/mnt"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "mnt"
log_kio_archive: "/mnt/sauv"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/"
log_kio_archive: "/mnt/sauv/" trying "/mnt"
log_kio_archive: "/mnt/sauv/" trying "/mnt/sauv"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "sauv"
log_kio_archive: "/mnt/sauv/roubach"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt/sauv/roubach"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: fullPath="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" path=""
log_kio_archive: Found. archiveFile="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" path="/"
log_kio_archive: Opening KTar on  "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Opening "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" failed.
log_kio_archive: "/"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/"
log_kio_archive: not found
log_kio_archive: "/mnt"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/"
log_kio_archive: "/mnt/" trying "/mnt"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "mnt"
log_kio_archive: "/mnt/sauv"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/"
log_kio_archive: "/mnt/sauv/" trying "/mnt"
log_kio_archive: "/mnt/sauv/" trying "/mnt/sauv"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "sauv"
log_kio_archive: "/mnt/sauv/roubach"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/" trying "/mnt/sauv/roubach"
log_kio_archive: not found
log_kio_archive: Path is a directory, not an archive.
log_kio_archive: returning name "roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: fullPath="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" path=""
log_kio_archive: Found. archiveFile="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" path="/"
log_kio_archive: Opening KTar on  "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Opening "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" failed.
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Need to open a new file
log_kio_archive: the full path is "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach"
log_kio_archive: "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" trying "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: fullPath="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar/" path=""
log_kio_archive: Found. archiveFile="/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" path="/"
log_kio_archive: Opening KTar on  "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar"
log_kio_archive: Opening "/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar" failed.
Comment 9 Alois Wohlschlager 2021-03-03 11:54:26 UTC
So KTar does not like the file. This will need further investigation. Can you reproduce the behavior with any other files (e.g. other weekly backups of similar size)?
Comment 10 Philippe ROUBACH 2021-03-03 12:19:08 UTC
As I said in description there is no problem with Ark. I get the contents after several MNS.
Comment 11 Philippe ROUBACH 2021-03-03 12:20:19 UTC
(In reply to Alois Wohlschlager from comment #9)
> So KTar does not like the file. This will need further investigation. Can
> you reproduce the behavior with any other files (e.g. other weekly backups
> of similar size)?

i did not get any other tar file. This the first time i use kbackup.
Comment 12 Philippe ROUBACH 2021-03-03 13:43:13 UTC
Next Sunday I will get another big tar file.
Comment 13 Philippe ROUBACH 2021-03-03 13:47:38 UTC
are you sure that dolphin gets a problem with the tar file ?

If we read the log it seems that dolphin get a problem with that kind of path "/mnt/sauv/roubach/".
Comment 14 Philippe ROUBACH 2021-03-05 11:07:33 UTC
There is no problem with kbackup incremental backup tar file (about 700 MB)
Comment 15 Philippe ROUBACH 2021-03-08 16:28:05 UTC
i got a new 84 GB tar file with kbackup.

same problem.
Comment 16 Bug Janitor Service 2021-03-23 04:33:45 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Philippe ROUBACH 2021-03-23 06:18:36 UTC
In my comment #15 I answer to the last question in comment #9.

Yes I can reproduce the problem with another big archive.
Comment 18 Ömer Fadıl USTA 2021-03-30 08:05:51 UTC
(In reply to Philippe ROUBACH from comment #17)
> In my comment #15 I answer to the last question in comment #9.
> 
> Yes I can reproduce the problem with another big archive.

May I ask a question, (that might be not related ) but in your screenshot the file name looks like have spaces but in your logs the file shown as filled with _  (underspace)

I mean in screen shot it looks like :
/mnt/sauv/roubach/Sauvegarde hebdomadaire complete_2021.02.28-13.16.12_1.tar
but in logs :
/mnt/sauv/roubach/Sauvegarde_hebdomadaire_complete_2021.02.28-13.16.12_1.tar

Just to be sure are you took those logs after renaming file or is there a problem about spaces in file names ?

So
after getting that error :
Could you try renaming that file  (without any space ) and try to observe if that same error occurs or not ? 

Thank you
Comment 19 Philippe ROUBACH 2021-03-30 09:15:21 UTC
Hello

Yes same problem with name without any space.