After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661623 - gnome-shell-extension-tool crashed with NameError in __main__: name 'extensionjs_path' is not defined
gnome-shell-extension-tool crashed with NameError in __main__: name 'extensio...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.2.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 667187 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-13 04:10 UTC by wildjiji
Modified: 2012-01-03 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-shell-extension-tool: Fix error after creating extension (895 bytes, patch)
2011-10-13 04:48 UTC, Jasper St. Pierre (not reading bugmail)
needs-work Details | Review
gnome-shell-extension-tool: Fix error after creating extension (1.05 KB, patch)
2011-10-16 18:52 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review
gnome-shell-extension-tool: Use xdg-open (968 bytes, patch)
2011-10-20 19:32 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description wildjiji 2011-10-13 04:10:24 UTC
This bug has been reported here:

https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/853882

"gnome-shell-extension-tool is terminated without starting editor.

maybe, upstream bug.

[how to fix]
attached fix patch."

Fix patch :

https://launchpadlibrarian.net/80329224/gnome-shell-extension-tool-fix.diff
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-10-13 04:48:33 UTC
Created attachment 198905 [details] [review]
gnome-shell-extension-tool: Fix error after creating extension

Whoops, sorry, that's my bug. Here's a proper fix. We require that people submit patches in a 'git format-patch' format with a proper commit message. Additionally, the other change is unrelated.
Comment 2 drago01 2011-10-13 11:12:06 UTC
Review of attachment 198905 [details] [review]:

Code looks OK, subject/commit message OTOH is well too generic/non existent.
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-10-14 23:03:03 UTC
(In reply to comment #2)
> Review of attachment 198905 [details] [review]:
> 
> Code looks OK, subject/commit message OTOH is well too generic/non existent.

Suggest a better one?
Comment 4 Jasper St. Pierre (not reading bugmail) 2011-10-16 18:52:32 UTC
Created attachment 199137 [details] [review]
gnome-shell-extension-tool: Fix error after creating extension

Commit 7a8a00c7057d56350d4b5509cefd812a67d4b7d7 cleaned up the code to move all
files to a dictionary, which accidentally left an undefined "extensionjs_path"
error. Fix that error.



Is this a better commit message?
Comment 5 Ionut Biru 2011-10-20 16:21:37 UTC
gnome-open is deprecated. 

can we switch to gvfs-open?
Comment 6 Jasper St. Pierre (not reading bugmail) 2011-10-20 16:47:26 UTC
It would be xdg-open if anything, but sure.
Comment 7 Jasper St. Pierre (not reading bugmail) 2011-10-20 19:32:51 UTC
Created attachment 199574 [details] [review]
gnome-shell-extension-tool: Use xdg-open

gnome-open is deprecated



Quick fix.
Comment 8 drago01 2011-10-20 19:34:13 UTC
Review of attachment 199137 [details] [review]:

Looks good.
Comment 9 drago01 2011-10-20 19:34:44 UTC
Review of attachment 199574 [details] [review]:

That too.
Comment 10 Jasper St. Pierre (not reading bugmail) 2011-10-20 19:39:54 UTC
Attachment 199137 [details] pushed as 38c768f - gnome-shell-extension-tool: Fix error after creating extension
Comment 11 Jasper St. Pierre (not reading bugmail) 2012-01-03 15:23:56 UTC
*** Bug 667187 has been marked as a duplicate of this bug. ***