have to sudo (run as root)??

Everything, that fits not well into other forums - Questions, Talk, Beta-Versions ...
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
akafox
Posts: 7
Joined: 26. Apr 17, 02:48
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

have to sudo (run as root)??

Postby akafox » 24. May 17, 22:26

Well I do have to run it as sudo silverjuke to start the program..which I find strange..why would I need root privileges to run silverjuke?
What is more strange is that I don't have to so that when using the MATE desktop. It installs fine runs without sudo and even makes a application launcher in the menu. When using siverjuke in LXDE however I MUST sudo silverjuke to run it and there is no menu launcher. I find the very odd.

This happens with normal 64-bit desktop and the raspberry pi (3) Either from the repository or from compiled source.

n1p
Posts: 1
Joined: 13. Nov 17, 23:00
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: have to sudo (run as root)??

Postby n1p » 18. Nov 17, 16:02

I am having the same problem under Lubuntu 17.04 & 17.10 64 bit

This has prevented me from being able to launch in startup to build a kiosk machine.

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: have to sudo (run as root)??

Postby Service-Team » 9. Feb 18, 20:31

this is this issue: https://github.com/silverjuke/silverjuke/issues/74 - it will be fixed in the upcoming 18.2 release


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Main Forum”