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

Error messages in .xsession-errors #78

Open
claudiux opened this issue Oct 6, 2024 · 0 comments
Open

Error messages in .xsession-errors #78

claudiux opened this issue Oct 6, 2024 · 0 comments

Comments

@claudiux
Copy link

claudiux commented Oct 6, 2024

This message appears in ~/.xsession-errors when this applet starts:

(cinnamon:2294): Gjs-WARNING **: 23:11:08.600: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to use TextDecoder.
(Note that array.toString() may have been called implicitly.)
0 _parse() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":139:6]
1 spawn_command_line_async_promise/<() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":162:25]
2 spawn_command_line_async_promise() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":146:9]
3 QRedshift() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":371:13]
4 main() ["/usr/share/cinnamon/js/misc/fileUtils.js line 211 > Function":1321:9]
5 createApplet() ["/usr/share/cinnamon/js/ui/appletManager.js":597:24]
6 addAppletToPanels() ["/usr/share/cinnamon/js/ui/appletManager.js":372:33]
7 finishExtensionLoad() ["/usr/share/cinnamon/js/ui/appletManager.js":98:13]
8 _init/<() ["/usr/share/cinnamon/js/ui/extension.js":286:31]

Gjs-Message: 23:11:10.426: JS LOG: [LookingGlass/info] Loaded applet qredshift@quintao in 1865 ms

This error seems to come from certain stdout provided by spawn_* functions. Maybe use byte_array_to_string() to avoid this kind of message? See in QUtils.js.

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