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

Missing first letter from the description #78

Closed
pinbraerts opened this issue Jan 4, 2025 · 2 comments
Closed

Missing first letter from the description #78

pinbraerts opened this issue Jan 4, 2025 · 2 comments

Comments

@pinbraerts
Copy link

Describe the bug

Description is missing the first letter

To Reproduce

Steps to reproduce the behavior:

  1. Click on icon on your navbar
  2. See no first letter 'E' in the description

Expected behavior

The letter 'E' should be there

Screenshots

image

Decription from the APOD:

Explanation: Earth's orbit around the Sun is not a circle, it's an ellipse. The point along its elliptical orbit where our fair planet is closest to the Sun is called perihelion. This year perihelion is today, January 4, at 13:28 UTC, with the Earth about 147 million kilometers from the Sun. For comparison, at aphelion on last July 3 Earth was at its farthest distance from the Sun, some 152 million kilometers away. But distance from the Sun doesn't determine Earth's seasons. It's only by coincidence that the beginning of southern summer (northern winter) on the December solstice - when this H-alpha picture of the active Sun was taken - is within 14 days of Earth's perihelion date. And it's only by coincidence that Earth's perihelion date is within 11 days of the historic perihelion of NASA's Parker Solar Probe. Launched in 2018, the Parker Solar Probe flew within 6.2 million kilometers of the Sun's surface on 2024 December 24, breaking its own record for closest perihelion for a spacecraft from planet Earth.

Operating system with version

  • Ubuntu 22.04.5 LTS

GNOME Shell version

You can see your GNOME shell version from Settings->Details or gnome-shell --version.

  • 42.9

Installation method

  • zip file

Logs <- VERY IMPORTANT

Please paste below the relevant parts of journalctl -f -o cat /usr/bin/gnome-shell.
If you don't use systemd, you have to find where the logs are stored and paste them here.


Extension's settings

Some errors might be triggered by a specific set of settings. The command below outputs all of the extension settings that were changed from the default value.

If you installed the extension system-wide (e.g. from AUR or distro packages) the command is:
gsettings --schemadir /usr/share/gnome-shell/extensions/nasa_apod@elinvention.ovh/schemas/schemas/ list-recursively org.gnome.shell.extensions.nasa-apod.

Otherwise it is:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh/schemas/ list-recursively org.gnome.shell.extensions.nasa-apod.

org.gnome.shell.extensions.nasa-apod api-keys ['XXX', 'XXX']
org.gnome.shell.extensions.nasa-apod background-options 'scaled'
org.gnome.shell.extensions.nasa-apod download-folder ''
org.gnome.shell.extensions.nasa-apod hide false
org.gnome.shell.extensions.nasa-apod image-resolution 'hd'
org.gnome.shell.extensions.nasa-apod image-resolution-metered 'lowres'
org.gnome.shell.extensions.nasa-apod last-json "{\"copyright\":\"Barden Ridge Observatory\",\"date\":\"2025-01-04\",\"explanation\":\"rth's orbit around the Sun is not a circle, it's an ellipse. The point along its elliptical orbit where our fair planet is closest to the Sun is called perihelion. This year perihelion is today, January 4, at 13:28 UTC, with the Earth about 147 million kilometers from the Sun. For comparison, at aphelion on last July 3 Earth was at its farthest distance from the Sun, some 152 million kilometers away. But distance from the Sun doesn't determine Earth's seasons. It's only by coincidence that the beginning of southern summer (northern winter) on the December solstice - when this H-alpha picture of the active Sun was taken - is within 14 days of Earth's perihelion date. And it's only by coincidence that Earth's perihelion date is within 11 days of the historic perihelion of NASA's Parker Solar Probe. Launched in 2018, the Parker Solar Probe flew within 6.2 million kilometers of the Sun's surface on 2024 December 24, breaking its own record for closest perihelion for a spacecraft from planet Earth.\",\"hdurl\":\"https://apod.nasa.gov/apod/image/2501/20242112SolNeg.jpg\",\"media_type\":\"image\",\"service_version\":\"v1\",\"title\":\"Welcome to Perihelion\",\"url\":\"https://apod.nasa.gov/apod/image/2501/20242112SolNeg1024.jpg\"}\n"
org.gnome.shell.extensions.nasa-apod last-refresh uint64 1735988463008
org.gnome.shell.extensions.nasa-apod notify true
org.gnome.shell.extensions.nasa-apod pinned-background ''
org.gnome.shell.extensions.nasa-apod refresh-metered false
org.gnome.shell.extensions.nasa-apod set-background true
org.gnome.shell.extensions.nasa-apod transient true

Extension's version

gnome-extensions info nasa_apod@elinvention.ovh

nasa_apod@elinvention.ovh
  Name: NASA APOD Wallpaper Changer
  Description: Change your wallpaper daily to the NASA's astronomy picture of the day
  Path: /home/pinbraerts/.local/share/gnome-shell/extensions/nasa_apod@elinvention.ovh
  URL: https://github.com/Elinvention/gnome-shell-extension-nasa-apod
  Version: 39
  State: ENABLED
@pinbraerts
Copy link
Author

curl "https://api.nasa.gov/planetary/apod?api_key=$(cat apod.txt)&date=2025-01-04"

I suppose it's upstream bug

{
  "copyright": "Barden Ridge Observatory",
  "date": "2025-01-04",
  "explanation": "rth's orbit around the Sun is not a circle, it's an ellipse. The point along its elliptical orbit where our fair planet is closest to the Sun is called perihelion. This year perihelion is today, January 4, at 13:28 UTC, with the Earth about 147 million kilometers from the Sun. For comparison, at aphelion on last July 3 Earth was at its farthest distance from the Sun, some 152 million kilometers away. But distance from the Sun doesn't determine Earth's seasons. It's only by coincidence that the beginning of southern summer (northern winter) on the December solstice - when this H-alpha picture of the active Sun was taken - is within 14 days of Earth's perihelion date. And it's only by coincidence that Earth's perihelion date is within 11 days of the historic perihelion of NASA's Parker Solar Probe. Launched in 2018, the Parker Solar Probe flew within 6.2 million kilometers of the Sun's surface on 2024 December 24, breaking its own record for closest perihelion for a spacecraft from planet Earth.",
  "hdurl": "https://apod.nasa.gov/apod/image/2501/20242112SolNeg.jpg",
  "media_type": "image",
  "service_version": "v1",
  "title": "Welcome to Perihelion",
  "url": "https://apod.nasa.gov/apod/image/2501/20242112SolNeg1024.jpg"
}

@Elinvention
Copy link
Owner

Good catch, the API has this issue nasa/apod-api#119

@Elinvention Elinvention closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants