I have installed kate editor from snap store on ubuntu 18.04. But when I am running kate from command, I am getting these errors:
/snap/kate/79/kf5-launch: line 60: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 63: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 73: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 76: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 77: /bin/chmod: Argument list too long
/snap/kate/79/kf5-launch: line 83: /usr/bin/cut: Argument list too long
/snap/kate/79/kf5-launch: line 83: /usr/bin/getent: Argument list too long
/snap/kate/79/kf5-launch: line 114: /bin/rm: Argument list too long
/snap/kate/79/kf5-launch: line 115: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 170: /bin/mkdir: Argument list too long
/snap/kate/79/kf5-launch: line 171: /bin/ln: Argument list too long
/snap/kate/79/kf5-launch: line 189: /bin/cat: Argument list too long
/snap/kate/79/kf5-launch: line 204: /snap/bin/kate: Argument list too long
/snap/kate/79/kf5-launch: line 204: /snap/bin/kate: Success
And kate editor is not running.
I have tried by increasing ulimit
as per https://unix.stackexchange.com/questions/45583/argument-list-too-long-how-do-i-deal-with-it-without-changing-my-command. But still not running.
Any help would be much appreciated.
Thanks
How are you starting kate? e.g. what command are you typing?
I have tried with only kate
and kate somefile.txt
. Same results.
Hmm, those should both work, and they’re showing you’re hitting the snap when you call them… Does ulimit -s
on your terminal show 8192
(that’s what it is on my system where kate doesn’t show this behaviour) when you run it? i.e. run the command ulimit
with -s
as a parameter should show you your current limit. (I’m basing the -s
parameter off your link to stack exchange that suggests this might be a stack size issue, but I’m not familiar with the behaviour pattern so it might be something else causing this)
Yes, ulimit -s
did show 8192
in my system. I also tried by increasing it like ulimit -s 65536
(as per the link). But result is the same. Can you please point out what other reason can be the cause of this?
It looks like you’re using a revision that is not currently in any channel. Try running sudo snap refresh --stable kate
to get the latest stable revision.
Just did that. This is the output.
snap "kate" has no updates available
Can you please try kate from candidate?
@jriddell, might be worth promoting rev 90 to stable. I have been using it successfully myself.
I’ve now promoted revision 91 of kate to stable, how is that working?
Kate is now opening, but the project plugin is not working. I cannot enable the project plugin.
The Project plugin seems to work for me. Can you check your have the Kate snap installed as a classic snap?
snap list kate
should say classic under Notes.
What about it doesn’t work?