Comments (7)
I'm debugging this and I found that Terminalizer escalates these warnings into errors - this will be easy to fix. Whether or not a specific GTK theme actually has issues that may cause trouble is a different question, but there's no reason for Terminalizer to die with errors as a result of warnings that Electron doesn't really care about (as you can easily see by running Electron by itself).
As part of my debugging work I have updated package versions and I'm still seeing some trouble I'm looking into. I'll submit a pull request when I find the solutions.
from terminalizer.
Any updates on this? I see this when I execute terminalizer render recording.yml
:
Error:
Error:
(electron:16146): Gtk-WARNING **: 15:56:04.432: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(electron:16146): Gtk-WARNING **: 15:56:04.432: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
I don't know where those warnings come from, but they appear harmless - it took me a while to realize that apparently electron thinks they are deadly errors! Can't they be ignored somehow?
Running Ubuntu 18.04.
from terminalizer.
There probably is a flag in electron somewhere that tells it to ignore GTK warnings or at least not die when it sees a GTK warning.
from terminalizer.
Maybe add some default valid fallback values packaged in the release as a "workaround".
from terminalizer.
I was not able to ignore the error and ended up switching to a theme that the program did not complain about. I liked my theme before, but I also needed to run certain applications that would fail to load my GTK theme.
This is not a Terminalizer issue. Nor does it appear to be an Electron issue, but rather a GTK issue or how GTK is configured - based on seeing this warning pop up in non-Electron apps. Fix appears in #66
If the theme is open source, you could file an issue like this person, but the theme still hasn't been updated. Or get lucky and only have 1 or 2 errors that need to be fixed in your gtk.css file like this person. Or be like me: have a thousand deprecation warnings and realize updating the theme to remove those warnings isn't a viable solution.
from terminalizer.
The underlying issue is described here
#102
And fixed on PR #97
from terminalizer.
Hello,
When trying to render on Ubuntu Linux 4.17.11-041711-generic I get the following error :
Theme parsing error: gtk.css:6777:29: Missing opening bracket in color definition
Here is a demo of the issue : https://asciinema.org/a/nrVz5y3NxIXMDL99Y7NrNh90q
I don't really understand how this error makes it impossible for the app to work as I run many other Electron apps on my desktop and have never had such a problem (where the app will simply die for no apparent reason)
The theme file isn't even mine, pretty sure it is a standard theme that came with Ubuntu.
This is closed but for anyone who comes across this, you are probably using a Mac theme of some sort. In my case it is MacBuntu-Sierra-light. The gtk-3.0/gtk.css of that theme has some errors in it:
6777: text-shadow: 0 0 2px alpha #000, 0.3, 0 1px 2px alpha #000, 0.6;
6779: -gtk-icon-shadow: 0 0 2px alpha #000, 0.3, 0 1px 2px alpha #000, 0.6;
6785: box-shadow: 0 0 2px alpha #000, 0.3, 0 1px 2px alpha #000, 0.6;
these should read
6777: text-shadow: 0 0 2px alpha(#000, 0.3), 0 1px 2px alpha(#000, 0.6);
6779: -gtk-icon-shadow: 0 0 2px alpha(#000, 0.3), 0 1px 2px alpha(#000, 0.6);
6785: box-shadow: 0 0 2px alpha(#000, 0.3), 0 1px 2px alpha(#000, 0.6);
Hope that helps
from terminalizer.
Related Issues (20)
- "Error: Something went wrong, try again later" caused by nginx redirect HOT 3
- "TypeError: Cannot read property 'join' of undefined" on sharing error
- Can't render HOT 1
- --config does not accept .yaml
- Error "Failed to connect to the bus" when trying to render HOT 1
- Question: Omitting username and current location
- cannot render gif HOT 7
- Libva error HOT 1
- terminalizer needs dbus to render a gif?
- [Website] You can put any characters as your username, and that causes issues with certain characters. HOT 1
- Error when running render HOT 1
- Increasing fontsize leads to weird GIF HOT 1
- global configuration should be in .config/ not in home HOT 1
- No content frame rendering
- Dockerfile
- Render not using temporary directory HOT 1
- docs: Nyan cat link is broken HOT 1
- Trying to build binaries using pkg
- Too long recordings cannot be shared
- Still having problem for zsh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminalizer.