Bug 2230704 - import declarations may only appear at top level of a module (gnome-shell-extension-openweather)
Summary: import declarations may only appear at top level of a module (gnome-shell-ext...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell-extension-openweather
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-09 20:25 UTC by Andre Robatino
Modified: 2024-02-09 01:25 UTC (History)
3 users (show)

Fixed In Version: gnome-shell-extension-openweather-121-6.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-09 01:25:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andre Robatino 2023-08-09 20:25:17 UTC
If I try to enable gnome-shell-extension-openweather in F39 (after first disabling extension version validation), by running gnome-extensions-app, there is the error message

import declarations may only appear at top level of a module

which prevents the extension from being enabled.

Reproducible: Always




gnome-shell-extension-openweather-121-2.fc39.noarch (running in clean F39 install from Fedora-Workstation-Live-x86_64-39-20230809.n.2.iso)

Comment 1 Hin-Tak Leung 2023-11-30 23:32:07 UTC
Yes, just upgraded and seeing this, after editing the metadata.json to add "45" in (https://bugzilla.redhat.com/show_bug.cgi?id=2248550).

Comment 2 Russell Odom 2023-12-04 14:39:40 UTC
See bug 2248550 comment 3. Looks like this extension may not get updated for GNOME 45, but there's an updated fork that Fedora could switch to.

Comment 3 Andre Robatino 2023-12-04 14:48:29 UTC
I did an ordinary user install using instructions posted by a commenter at https://extensions.gnome.org/extension/750/openweather/ . Works fine. Would still be nice to get a Fedora build. (I already have the broken Fedora package installed.)

1) mkdir temp
2) cd temp
3) git clone https://github.com/toppk/gnome-shell-extension-openweather.git
4) cd gnome-shell-extension-openweather
5) make && make install

Comment 4 Fedora Update System 2024-02-06 11:38:46 UTC
FEDORA-2024-e41db3f296 (gnome-shell-extension-openweather-121-6.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e41db3f296

Comment 5 Fedora Update System 2024-02-07 01:29:15 UTC
FEDORA-2024-e41db3f296 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e41db3f296`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e41db3f296

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-02-09 01:25:35 UTC
FEDORA-2024-e41db3f296 (gnome-shell-extension-openweather-121-6.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.