parsing errors

Asked by michael

I got these parsing errors. Do not know what the mean, or how to fix.

https://postimg.cc/nsLcZzSr

Any help will be greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

In checking further, I got a page, that had many different sentences, in different languages. Using Google Translate, most said to do virus scan.

Revision history for this message
michael (yellupcm-gmail) said :
#2

Did two scans, first had three Trojans. I deleted them. The second scan is what you see.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

What is the output of:

apt-cache policy okular; lsb_release -a; uname -a

Thanks

Revision history for this message
michael (yellupcm-gmail) said :
#4

michael@michael-Inspiron-531:~$ apt-cache policy okular; lsb_release -a; uname -a
okular:
  Installed: 4:19.12.3-2ubuntu1
  Candidate: 4:19.12.3-2ubuntu1
  Version table:
 *** 4:19.12.3-2ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Linux michael-Inspiron-531 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
michael@michael-Inspiron-531:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I suggest you report a bug with your findings.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

You should have mentioned the name of the program that you used, I assume it was clamtk, wasn't it?

Revision history for this message
michael (yellupcm-gmail) said :
#7

Yes.

https://postimg.cc/pyBGPrZF

Filed bug report. 1884815

Revision history for this message
michael (yellupcm-gmail) said :
#8

Manfred
I was looking through Applications. I saw an icon I didn't know what it did. Menu Editor, clicked on it, this is what came up.

https://postimg.cc/87jXr09B

Clicked on details. Got this.

https://postimg.cc/nsLcZzSr

Clicked middle icon on right side. I got a page, that had many different sentences, in different languages. Using Google Translate, most said to do virus scan. Did two scans, first had three Trojans. I deleted them. The second scan is what you see. Later, I clicked Menu Editor again, this is what I got.

https://postimg.cc/pyBGPrZF

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#9

My interpretation of what you see:

The "Menu Editor" starts clamtk to check the *.dektop files for wrong entries, and clamtk complains about some configuration settings in these files that it deems not correct.

When you click the middle icon on the right side in the first line (.../clamtk-kde.desktop), you see the contents of that desktop file. It starts with

[Desktop Entry]
Name=clamtk
Exec=clamtk %F
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;application/octet-stream;
X-KDE-StartupNotify=true;
Actions=openScanner;

[Desktop Action openScanner]
Icon=clamtk
Exec=clamtk %F
Name=Scan for threats...
Name[af]=Skandeer vir virusse...
Name[ar]=إمسح للكشف عن الفيروسات
Name[ast]=Buscar amenaces...
Name[az]=Təhlükə mövcudluğuna yoxla...
...

Yes, of course you see the text "Scan for viruses" in different languages, because that is the purpose of a *.desktop file - giving a description for an executable program in whatever language you have selected as your desktop language.

According to https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html the clamkt scanner is right, when it complains about "Type=Service", because the value 'Service' is not valid. This is something that comes from Debian and should probably be reported as bug there.

For several other messages showing "Unknown error. Desktop file appears to be are valid.":
The error message is incomprehensible. I assume that it comes from clamtk and might be reported as bug against clamtk. The message does not tell what clamtk deems wrong, so I cannot judge what okular should change to make the error disappear.

Overall I do not see any severe problem or malware or trojans.

Revision history for this message
michael (yellupcm-gmail) said :
#10

Manfred
Thank you for the explanation. Will mark as solved. Will file bug reports.

Revision history for this message
michael (yellupcm-gmail) said :
#11

Thanks Manfred Hampl, that solved my question.