[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-10-07 Thread Delan Azabani
This bug is fairly important, though not a blocker. If the images are
already being made, we won't be able to slip an update in, though we
could place an online update within the first few days of release. I
have some JavaScript knowledge, so I'll take a look and see what I can
do.

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-10-07 Thread Delan Azabani
Okay, here's the problem. Running gjs-console calls gjs-console.real,
but then only runs the first 'word' as JavaScript because the arguments
don't stay quoted. The rest is lost to other command line arguments. For
example, in gnome-shell-clock-preferences:

/usr/bin/gjs-console -c const ClockPreferences = ...

The above call turns into this:

/usr/bin/gjs-console.real -c const ClockPreferences = ...

As you can see, -c is now just const (obviously wrong) because of the
quoting dropped. I'm about to submit a patch to /usr/bin/gjs-console
that changes this line:

exec /usr/bin/gjs-console.real $@

to this:

exec /usr/bin/gjs-console.real $@

which fixes the problem.

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-10-07 Thread Delan Azabani

** Patch added: patch for /usr/bin/gjs-console
   
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/646877/+attachment/1678097/+files/gjs-console.patch

** Changed in: gnome-shell
   Status: New = Confirmed

** Changed in: gnome-shell
 Assignee: (unassigned) = Delan Azabani (delan-azabani)

** Changed in: gnome-shell (Ubuntu)
 Assignee: (unassigned) = Delan Azabani (delan-azabani)

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-10-07 Thread Delan Azabani
reported bug upstream

** Bug watch added: GNOME Bug Tracker #631653
   https://bugzilla.gnome.org/show_bug.cgi?id=631653

** Changed in: gnome-shell
   Importance: Undecided = Unknown

** Changed in: gnome-shell
   Status: Confirmed = Unknown

** Changed in: gnome-shell
 Remote watch: None = GNOME Bug Tracker #631653

** Changed in: gnome-shell
 Assignee: Delan Azabani (delan-azabani) = (unassigned)

-- 
Gnome 3's gjs-console doesn't quote arguments, breaking 
gnome-shell-clock-preferences
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-10-07 Thread Delan Azabani
upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=631653

** Package changed: gnome-shell (Ubuntu) = gjs (Ubuntu)

** Changed in: gjs (Ubuntu)
   Status: Confirmed = In Progress

** Project changed: gnome-shell = gjs

** Summary changed:

- Gnome 3's gnome-shell-clock-preferences doesn't launch
+ Gnome 3's gjs-console doesn't quote arguments, breaking 
gnome-shell-clock-preferences

-- 
Gnome 3's gjs-console doesn't quote arguments, breaking 
gnome-shell-clock-preferences
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-09-26 Thread Peter Fontaine
** Also affects: gnome-shell
   Importance: Undecided
   Status: New

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-09-25 Thread Fabio Marconi
Thanks for reporting this bug and any supporting documentation. Since
this bug has enough information provided for a developer to begin work,
I'm going to mark it as confirmed and let them handle it from here.
Thanks for taking the time to make Ubuntu better!

** Changed in: gnome-shell (Ubuntu)
   Status: Incomplete = Confirmed

** Tags added: amd64 maverick

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-09-24 Thread Delan Azabani
apport information

** Tags added: apport-collected

** Description changed:

  With Gnome 3's gnome-shell installed, opening clock preferences fails:
  
  de...@delan:~$ gnome-shell-clock-preferences 
JS LOG: Command line: /usr/bin/gjs-console.real ClockPreferences = 
imports.prefs.clockPreferences; ClockPreferences.main({ progName: 
'gnome-shell-clock-preferences', uiFile: 
'/usr/share/gnome-shell/clock-preferences.ui', localeDir: '/usr/share/locale' 
});
  JS ERROR: !!!   Exception was: SyntaxError: missing variable name
  JS ERROR: !!! lineNumber = '1'
  JS ERROR: !!! fileName = 'command line'
  JS ERROR: !!! stack = ''
  JS ERROR: !!! message = 'missing variable name'
  SyntaxError: missing variable name
+ --- 
+ Architecture: amd64
+ DistroRelease: Ubuntu 10.10
+ NonfreeKernelModules: nvidia
+ Package: gnome-shell 2.31.5-2ubuntu2
+ PackageArchitecture: amd64
+ ProcEnviron:
+  LANGUAGE=en
+  PATH=(custom, user)
+  LANG=en_AU.utf8
+  SHELL=/bin/bash
+ Tags: maverick
+ Uname: Linux 2.6.36-020636rc5-generic x86_64
+ UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev 
plugdev sambashare sudo tape video www-data

** Attachment added: Dependencies.txt
   
https://bugs.edge.launchpad.net/bugs/646877/+attachment/1633230/+files/Dependencies.txt

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 646877] Re: Gnome 3's gnome-shell-clock-preferences doesn't launch

2010-09-24 Thread Fabio Marconi
Hello Delan
Can you please run in a terminal
apport-collect -p gnome-shell 646877
Thanks
Fabio

** Package changed: ubuntu = gnome-shell (Ubuntu)

** Changed in: gnome-shell (Ubuntu)
   Status: New = Incomplete

-- 
Gnome 3's gnome-shell-clock-preferences doesn't launch
https://bugs.launchpad.net/bugs/646877
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs