[dolphin] [Bug 503250] New: dolphin_directorysizemode.upd hangs

[email protected]
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=503250

            Bug ID: 503250
           Summary: dolphin_directorysizemode.upd hangs
    Classification: Applications
           Product: dolphin
           Version: git-master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
$ /usr/libexec/kf6/kconf_update --debug
/usr/share/kconf_update/dolphin_directorysizemode.upd 
kf.config.kconf_update: Checking update-file
"/usr/share/kconf_update/dolphin_directorysizemode.upd" for new updates
kf.config.kconf_update: "dolphin_directorysizemode.upd" : Found new update
"convert-directorysizecount-to-directorysizemode"
kf.config.kconf_update: "dolphin_directorysizemode.upd" : 5 :' "File=dolphinrc"
':  Parse error
kf.config.kconf_update: "dolphin_directorysizemode.upd" : 6 :'
"Group=ContentDisplay" ':  Parse error
kf.config.kconf_update: "dolphin_directorysizemode.upd" : Running script
"dolphin_directorysizemode.py"
kf.config.kconf_update: About to run "/usr/bin/python3"
kf.config.kconf_update: Script contents is:
 "import fileinput\n\nfor line in fileinput.input():\n    if
line.startswith(\"DirectorySizeCount=true\"):\n       
print(\"DirectorySizeMode=ContentCount\")\n    if
line.startswith(\"DirectorySizeCount=false\"):\n       
print(\"DirectorySizeMode=ContentSize\")\n\nprint(\"# DELETE
DirectorySizeCount\")\n\n"
^[[Akf.config.kconf_update: "dolphin_directorysizemode.upd" : 7 :'
"Script=dolphin_directorysizemode.py,python3" ':  update script did not
terminate within 60 seconds: "/usr/bin/python3"
QProcess: Destroyed while process ("/usr/bin/python3") is still running.

And I think it slows down other parts of the startup, for example,
xwaylanvideobridge fails to start with kf.statusnotifieritem: KDE platform
plugin is loaded but SNI unavailable

STEPS TO REPRODUCE
1. Update to fc56f8f2f92b98ccb9a1da0ffcbb57d723dc33bb
2. /usr/libexec/kf6/kconf_update --debug
/usr/share/kconf_update/dolphin_directorysizemode.upd 

OBSERVED RESULT
The command takes a long time to execute

EXPECTED RESULT
The command should execute quickly

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.