Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command prevents rendering #6

Open
mamert opened this issue Jun 3, 2019 · 0 comments
Open

Command prevents rendering #6

mamert opened this issue Jun 3, 2019 · 0 comments

Comments

@mamert
Copy link

mamert commented Jun 3, 2019

The following page shows only a white background with no text, when run in a freshly installed kweb:

<html>
<head>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type">
	<script type="text/javascript">
location.href = "file:///homepage.html?cmd=killall%20omxplayer.bin";
	</script>
</head>
<body>
	Some text that is supposed to show
</body>
</html>

(clarification for those not familiar: homepage.html doesn't exist, this kweb magic is supposed to call a command, not actually redirect)
Remove the location.href part, and it renders correctly.
Compiled as per instructions, on RPi3B+, Raspbian Stretch.
The only changes were to add killall in direct_commands, and useVideoplayer to false. Running with commands and javascript on.

What's weird is that I've built a couple pages like this earlier, on a RPi0W, and they worked, then. The card got damaged, and I restarted with a backup of the pages, on a fresh RPi3B+ installation.
First I installed kweb-1.7.9.8. It had this problem, and also CSS animations didn't... animate.
I found a couple passing mentions (from 2014!) of webkitgtk3 being responsible for the animations problem, so I uninstalled that and installed kweb-1.7.9.7. However, it behaves exactly the same (I launch via "kweb" command, and "about" shows 1.7.9.7).
I've done a "configuration | reset to defaults". I'd do more but I don't know where kweb stores all its settings.

How can I get some relevant debug information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant