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

Refresh only happens after reboot. #23

Closed
gavin-orr opened this issue Apr 5, 2019 · 6 comments
Closed

Refresh only happens after reboot. #23

gavin-orr opened this issue Apr 5, 2019 · 6 comments

Comments

@gavin-orr
Copy link

gavin-orr commented Apr 5, 2019

If I leave my Ubuntu host running overnight, the APOD extension does not update with the latest APOD image.

For example
On the 5 April, the extension is still attempting to download the 4 April APOD image. The 5 April Image is available on the APOD website.

It looks like the date being used is the last Boot date not the current date ? If I then reboot, the latest APOD is downloaded.

NASA APOD extension: xdg-open https://apod.nasa.gov/apod/
Opening in existing browser session.
NASA APOD extension: https://api.nasa.gov/planetary/apod?api_key=De11HvVY6eKbT0ySGbRRTlkaAgjRIwUz0YmDzwg8&date=2019-04-04
NASA APOD extension: 942/1000 requests per hour remaining
NASA APOD extension: /home/gavin/.cache/apod/2019-04-04-Messier 2.jpg already downloaded

Thanks

  • Operating system with version (Debian 9, Fedora 26, Arch Linux, ...)
    Ubunto 18.10
  • GNOME version (gnome-shell --version)
    GNOME Shell 3.30.2
  • Installation method (via https://extensions.gnome.org/extension/1202/nasa-apod/, git, zip file)
    Via ttps://extensions.gnome.org/extension/1202/nasa-apod/
  • Logs (journalctl -f -o cat /usr/bin/gnome-shell) <- please don't forget this one
NASA APOD extension: https://api.nasa.gov/planetary/apod?api_key=XXXXXX&date=2019-04-04
NASA APOD extension: 943/1000 requests per hour remaining
NASA APOD extension: /home/XXXX/.cache/apod/2019-04-04-Messier 2.jpg already downloaded

xxx@yyy:~$ date
Fri  5 Apr 14:11:02 BST 2019
xxx@yyy:~$ journalctl -f -o cat /usr/bin/gnome-shell | tee /tmp/nasa.log
NASA APOD extension: xdg-open https://apod.nasa.gov/apod/
Opening in existing browser session.
NASA APOD extension: https://api.nasa.gov/planetary/apod?api_key=De11HvVY6eKbT0ySGbRRTlkaAgjRIwUz0YmDzwg8&date=2019-04-04
NASA APOD extension: 942/1000 requests per hour remaining
NASA APOD extension: /home/gavin/.cache/apod/2019-04-04-Messier 2.jpg already downloaded
Object St.Label (0x56144ddd2e40), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba2390 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:242 (7f01b9605ee0 @ 420)
#1   7ffc2cfef260 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#2   561450ba22f0 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:188 (7f01b9605d30 @ 166)
#3   7ffc2cff01e0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#4   7ffc2cff02b0 b   self-hosted:979 (7f01baef0280 @ 440)
#5   561450ba2240 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/utils.js:39 (7f01b962eb80 @ 236)
#6   561450ba21b8 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:224 (7f01b9605e50 @ 68)
#7   7ffc2cff2c40 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#8   561450ba2108 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:384 (7f01b962e3a0 @ 261)
#9   7ffc2cff3bc0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#10   561450ba2040 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:308 (7f01b962e160 @ 263)
#11   7ffc2cff4b40 b   self-hosted:979 (7f01baef0280 @ 440)
NASA APOD extension: Next check in 60 seconds @ local time 14:12
st_label_set_text: assertion 'ST_IS_LABEL (label)' failed
Object St.Label (0x56144fa58460), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba2390 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:242 (7f01b9605ee0 @ 420)
#1   7ffc2cfef260 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#2   561450ba22f0 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:188 (7f01b9605d30 @ 166)
#3   7ffc2cff01e0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#4   7ffc2cff02b0 b   self-hosted:979 (7f01baef0280 @ 440)
#5   561450ba2240 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/utils.js:39 (7f01b962eb80 @ 236)
#6   561450ba21b8 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:224 (7f01b9605e50 @ 68)
#7   7ffc2cff2c40 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#8   561450ba2108 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:384 (7f01b962e3a0 @ 261)
#9   7ffc2cff3bc0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#10   561450ba2040 i   /home/gavin/.local/share/gnome-shell/extensions/[email protected]/extension.js:308 (7f01b962e160 @ 263)
#11   7ffc2cff4b40 b   self-hosted:979 (7f01baef0280 @ 440)
NASA APOD extension: Next check in 60 seconds @ local time 14:12
st_label_set_text: assertion 'ST_IS_LABEL (label)' failed
NASA APOD extension: Next check in 21600 seconds @ local time 20:11
NASA APOD extension: Refresh done.
Object Meta.Background (0x56144fd63990), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba20c8 i   resource:///org/gnome/shell/ui/background.js:741 (7f01bac0c8b0 @ 22)
#1   561450ba2040 i   resource:///org/gnome/shell/ui/tweener.js:112 (7f01baed9040 @ 37)
#2   7ffc2cff44e0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f01baedb9d0 @ 54)
#3   7ffc2cff45b0 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f01baedba60 @ 1742)
#4   7ffc2cff4660 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:355 (7f01baedbaf0 @ 100)
#5   7ffc2cff46f0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:370 (7f01baedbb80 @ 10)
#6   7ffc2cff4770 I   resource:///org/gnome/gjs/modules/signals.js:128 (7f01baec18b0 @ 386)
#7   7ffc2cff4820 b   resource:///org/gnome/shell/ui/tweener.js:244 (7f01baed99d0 @ 159)
#8   7ffc2cff48f0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#9   7ffc2cff4990 b   resource:///org/gnome/shell/ui/tweener.js:219 (7f01baed9940 @ 15)
g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
Object Meta.Background (0x56144fd63990), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba20c8 i   resource:///org/gnome/shell/ui/background.js:741 (7f01bac0c8b0 @ 22)
#1   561450ba2040 i   resource:///org/gnome/shell/ui/tweener.js:112 (7f01baed9040 @ 37)
#2   7ffc2cff44e0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f01baedb9d0 @ 54)
#3   7ffc2cff45b0 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f01baedba60 @ 1742)
#4   7ffc2cff4660 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:355 (7f01baedbaf0 @ 100)
#5   7ffc2cff46f0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:370 (7f01baedbb80 @ 10)
#6   7ffc2cff4770 I   resource:///org/gnome/gjs/modules/signals.js:128 (7f01baec18b0 @ 386)
#7   7ffc2cff4820 b   resource:///org/gnome/shell/ui/tweener.js:244 (7f01baed99d0 @ 159)
#8   7ffc2cff48f0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#9   7ffc2cff4990 b   resource:///org/gnome/shell/ui/tweener.js:219 (7f01baed9940 @ 15)
g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
Object Meta.Background (0x56144fd63990), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba20c8 i   resource:///org/gnome/shell/ui/background.js:741 (7f01bac0c8b0 @ 22)
#1   561450ba2040 i   resource:///org/gnome/shell/ui/tweener.js:112 (7f01baed9040 @ 37)
#2   7ffc2cff44e0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f01baedb9d0 @ 54)
#3   7ffc2cff45b0 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f01baedba60 @ 1742)
#4   7ffc2cff4660 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:355 (7f01baedbaf0 @ 100)
#5   7ffc2cff46f0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:370 (7f01baedbb80 @ 10)
#6   7ffc2cff4770 I   resource:///org/gnome/gjs/modules/signals.js:128 (7f01baec18b0 @ 386)
#7   7ffc2cff4820 b   resource:///org/gnome/shell/ui/tweener.js:244 (7f01baed99d0 @ 159)
#8   7ffc2cff48f0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#9   7ffc2cff4990 b   resource:///org/gnome/shell/ui/tweener.js:219 (7f01baed9940 @ 15)
g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
Object Meta.Background (0x56144fd63890), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
== Stack trace for context 0x56144c05d1d0 ==
#0   561450ba20c8 i   resource:///org/gnome/shell/ui/background.js:741 (7f01bac0c8b0 @ 22)
#1   561450ba2040 i   resource:///org/gnome/shell/ui/tweener.js:112 (7f01baed9040 @ 37)
#2   7ffc2cff44e0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:208 (7f01baedb9d0 @ 54)
#3   7ffc2cff45b0 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:342 (7f01baedba60 @ 1742)
#4   7ffc2cff4660 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:355 (7f01baedbaf0 @ 100)
#5   7ffc2cff46f0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:370 (7f01baedbb80 @ 10)
#6   7ffc2cff4770 I   resource:///org/gnome/gjs/modules/signals.js:128 (7f01baec18b0 @ 386)
#7   7ffc2cff4820 b   resource:///org/gnome/shell/ui/tweener.js:244 (7f01baed99d0 @ 159)
#8   7ffc2cff48f0 b   resource:///org/gnome/gjs/modules/_legacy.js:82 (7f01baeb0b80 @ 71)
#9   7ffc2cff4990 b   resource:///org/gnome/shell/ui/tweener.js:219 (7f01baed9940 @ 15)
g_object_run_dispose: assertion 'G_IS_OBJECT (object)' failed
@Elinvention
Copy link
Owner

I think this happens only if you click on an image in Cache section in the settings?

@bernardolm
Copy link

And... If you uninstall, this keep running and updating the wallpaper. Probably stop only after reboot too.

@Elinvention
Copy link
Owner

Does this still happen? I can't reproduce it.

@bernardolm
Copy link

@Elinvention I'll test now and will back with feedback

@bernardolm
Copy link

@Elinvention after uninstall, running state stop 👍
The error noticed by me is gone.

@Elinvention
Copy link
Owner

Thanks for your feedback.

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

3 participants