Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1490432

Summary: gnome-weather-3.25.9x needs gjs >= 1.49.4
Product: [Fedora] Fedora Reporter: Yanko Kaneti <yaneti>
Component: gnome-weatherAssignee: Kalev Lember <klember>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: cosimo.cecchi, ignatenko, klember, mclasen, samuel-rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-weather-3.26.0-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-25 18:07:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yanko Kaneti 2017-09-11 14:28:58 UTC
Description of problem:
gnome-weather-3.25.92-1.fc27.noarch needs a newer gjs (specifically one built with mozjs52)

otherwise currently:
(org.gnome.Weather.Application:1450): Gjs-CRITICAL **: JS ERROR: SyntaxError: class is a reserved identifier @ resource:///org/gnome/Weather/Application/js/app/currentLocationController.js:33
JS_EvaluateScript() failed

Another way to "fix" it is to revert the two upstream patches modernizing the js class syntax.

Comment 1 Kalev Lember 2017-09-21 02:27:59 UTC
We now have gjs 1.50.0 and I've bumped the minimum required version in gnome-weather accordingly.

Comment 2 Fedora Update System 2017-09-21 02:29:59 UTC
gnome-weather-3.26.0-2.fc27 mozjs52-52.3.0-1.fc27 gjs-1.50.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-275b1e9bf2

Comment 3 Fedora Update System 2017-09-21 23:58:33 UTC
gjs-1.50.0-1.fc27, gnome-weather-3.26.0-2.fc27, mozjs52-52.3.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-275b1e9bf2

Comment 4 Fedora Update System 2017-09-25 18:07:25 UTC
gjs-1.50.0-1.fc27, gnome-weather-3.26.0-2.fc27, mozjs52-52.3.0-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.