From john_burrell@hotmail.com Sun Feb 3 00:06:01 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 28757769B2 for ; Sun, 3 Feb 2013 00:06:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.273 X-Spam-Level: X-Spam-Status: No, score=-2.273 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.375] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AZIgS04gndoL for ; Sun, 3 Feb 2013 00:05:43 +0000 (UTC) X-Greylist: delayed 305 seconds by postgrey-1.34 at restaurant.gnome.org; Sun, 03 Feb 2013 00:05:43 UTC Received: from bay0-omc2-s17.bay0.hotmail.com (bay0-omc2-s17.bay0.hotmail.com [65.54.190.92]) by restaurant.gnome.org (Postfix) with ESMTP id 14A26760A7 for ; Sun, 3 Feb 2013 00:05:43 +0000 (UTC) Received: from BAY002-W110 ([65.54.190.124]) by bay0-omc2-s17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 2 Feb 2013 16:00:37 -0800 X-EIP: [HjmU5bgm7MpmFLydWdT4oIdg/+DiNXK0] X-Originating-Email: [john_burrell@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_32fbc907-97ad-4e79-9f9c-bdaa1b571734_" From: John Burrell To: "javascript-list@gnome.org" Subject: gjs-1.35.4 fails to compile Date: Sun, 3 Feb 2013 00:00:37 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 03 Feb 2013 00:00:37.0205 (UTC) FILETIME=[7EFAC850:01CE01A1] X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 00:06:01 -0000 --_32fbc907-97ad-4e79-9f9c-bdaa1b571734_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi When I try and compile gjs-1.35-4 I get: CCLD libregress.la make[1]: *** No rule to make target `/usr/share/gobject-introspection-1.0/t= ests/warnlib.c'=2C needed by `libwarnlib_la-warnlib.lo'. Stop. make[1]: Leaving directory `/usr/src/gnomeplatform/gjs/gjs-1.35.4' make: *** [all] Error 2 I've tried turning off the tests with --disable-tests but the configure scr= ipt doesn't recognize this. I'm using gobject-introspection-1.34.2 I've tried googling the error but get zero hits. Version gjs-1.34.0 compiles okay but gnome-shell-3.7.4 needs 1.35.4. Thanks for any help with this. John = --_32fbc907-97ad-4e79-9f9c-bdaa1b571734_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi

When I try and compile= gjs-1.35-4 I get:

 =3B CCLD =3B =3B =3B =3B lib= regress.la
make[1]: *** No rule to make target `/usr/share/gobject-intro= spection-1.0/tests/warnlib.c'=2C needed by `libwarnlib_la-warnlib.lo'. = =3B Stop.
make[1]: Leaving directory `/usr/src/gnomeplatform/gjs/gjs-1.3= 5.4'
make: *** [all] Error 2

I've tried turning off the tests wit= h --disable-tests but the configure script doesn't recognize this.
I'm u= sing gobject-introspection-1.34.2
I've tried googling the error but get = zero hits.
Version gjs-1.34.0 compiles okay but gnome-shell-3.7.4 needs = 1.35.4.

Thanks for any help with this.

John
= --_32fbc907-97ad-4e79-9f9c-bdaa1b571734_-- From john_burrell@hotmail.com Sun Feb 3 02:28:33 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id A941876A5C for ; Sun, 3 Feb 2013 02:28:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.274 X-Spam-Level: X-Spam-Status: No, score=-2.274 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.375] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6QMpRwAaSLAn for ; Sun, 3 Feb 2013 02:28:19 +0000 (UTC) Received: from bay0-omc2-s14.bay0.hotmail.com (bay0-omc2-s14.bay0.hotmail.com [65.54.190.89]) by restaurant.gnome.org (Postfix) with ESMTP id 50059769B2 for ; Sun, 3 Feb 2013 02:28:19 +0000 (UTC) Received: from BAY002-W142 ([65.54.190.125]) by bay0-omc2-s14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 2 Feb 2013 18:28:18 -0800 X-EIP: [pEsh1Ves64tsEANsRC1iog5vNq5GcPUt] X-Originating-Email: [john_burrell@hotmail.com] Message-ID: From: John Burrell To: "javascript-list@gnome.org" Subject: RE: gjs-1.35.4 fails to compile Date: Sun, 3 Feb 2013 02:28:17 +0000 Importance: Normal In-Reply-To: References: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Feb 2013 02:28:18.0081 (UTC) FILETIME=[20792910:01CE01B6] X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2013 02:28:33 -0000 From: john_burrell@hotmail.com=0A= To: javascript-list@gnome.org=0A= Subject: gjs-1.35.4 fails to compile=0A= Date: Sun=2C 3 Feb 2013 00:00:37 +0000=0A= =0A= =0A= =0A= =0A= >Hi=0A= >=0A= >When I try and compile gjs-1.35-4 I get:=0A= >=0A= >=A0 CCLD=A0=A0=A0=A0 libregress.la=0A= >make[1]: *** No rule to make target `/usr/share/gobject-introspection-1.0/= tests/warnlib.c'=2C needed by `libwarnlib_la-warnlib.lo'.=A0 >Stop.=0A= >make[1]: Leaving directory `/usr/src/gnomeplatform/gjs/gjs-1.35.4'=0A= >make: *** [all] Error 2=0A= >=0A= >I've tried turning off the tests with --disable-tests but the configure sc= ript doesn't recognize this.=0A= >I'm using gobject-introspection-1.34.2=0A= >I've tried googling the error but get zero hits.=0A= >Version gjs-1.34.0 compiles okay but gnome-shell-3.7.4 needs 1.35.4.=0A= =0A= Okay=2C I upgraded to gobject-introspection-1.35-4 and this fixed the probl= em.=0A= =0A= It would be nice if the gjs configure script gave an error unless gobject-i= ntrospection >=3D 1.35-? was found.=0A= =0A= John=0A= =0A= =0A= _______________________________________________=0A= javascript-list mailing list=0A= javascript-list@gnome.org=0A= https://mail.gnome.org/mailman/listinfo/javascript-list = From micahflee@riseup.net Mon Feb 11 06:36:08 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 1291E76953 for ; Mon, 11 Feb 2013 06:36:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4V5uaAYYv3Tt for ; Mon, 11 Feb 2013 06:35:57 +0000 (UTC) X-Greylist: delayed 408 seconds by postgrey-1.34 at restaurant.gnome.org; Mon, 11 Feb 2013 06:35:57 UTC Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by restaurant.gnome.org (Postfix) with ESMTP id 131BD762E6 for ; Mon, 11 Feb 2013 06:35:56 +0000 (UTC) Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 425E94A856 for ; Sun, 10 Feb 2013 22:29:07 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: micahflee@fruiteater.riseup.net) with ESMTPSA id 001F8D2B Message-ID: <51188FAF.9020402@riseup.net> Date: Sun, 10 Feb 2013 22:29:03 -0800 From: Micah Lee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: javascript-list@gnome.org Subject: How can you make an async http request to download a file in chunks? X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4E86C47A11540A56F784889" X-Virus-Scanned: clamav-milter 0.97.6 at mx1 X-Virus-Status: Clean X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 06:36:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4E86C47A11540A56F784889 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I just asked this question on stackoverflow, but hopefully somewhere here could help too: http://stackoverflow.com/questions/14806981/using-gjs-how-can-you-make-an= -async-http-request-to-download-a-file-in-chunks Basically, I'm trying to download a file and show the status of the download in a Gtk.ProgressBar. Any help or example code is appreciated, thanks! --=20 Micah Lee https://twitter.com/micahflee --------------enigD4E86C47A11540A56F784889 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJRGI+wAAoJELTSWh6ZmZaXi/8P/0N4QFVl0Gn4waTrt1/9pFQt ItRIc9Yg26uLevwnXwbC2KLqNwoQYlgibsaz8a7vq/HQmdESq6PBJ5ut0KWcD9jC iVYYqu3B0zEXq2XNHqxlzi5XQo9dh2pSh6czAUAc39l9L0b7udd1jjmYySNZJH55 QID3AUy6UqYy5lwN5oq1fYY8SSiKz6xRGEtU4DPLERvgyTkIOioJaAf2YvkfTBrH AmRR8yANCAzYFNqVpCz8w/5xN0NTmXWekOGbTSC3OqUY6LwET/ND1bfUlvAr+48Q ZkbelZDO5DctEvPAP9COVgf5RjIvoN2Y3ZOdYPOTSK5brMvvnjS9LcvEFBsKvbvN saBhW9dFIEJhe6IxHSa2aOnCqOPWKvK2CtXVOk8v0od1+XVo2JAYRCcV8AxH+nR5 8zTdoP/MTFeQmgcILfCrmGTi1bj/4h6/WQFj9Kw8CkpvcdxUIpuG9zMXY3MKwMLA mXXbzXkSt6KCYYoOq3JaF0kd+Lr26JbMl7FQSPXWEoHNLxloMY9e7JjKstyTOog/ hnAPrQFdviR5r5qUboaqRKURVODSjaWYvtsYRr+lULDGZqXezuH2DQy9NeDm8A30 KdBnxawiz2DbtC+d1vl2WNMxt9z/PinR4dAbK5/dAGwXoI6F8wk8Gjcd5StIxjuf DKdW1S2EGXjDCXfFHgC5 =XiGt -----END PGP SIGNATURE----- --------------enigD4E86C47A11540A56F784889-- From alan@akbkhome.com Mon Feb 11 10:43:55 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id EC81B76953 for ; Mon, 11 Feb 2013 10:43:55 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gajv63p4MPBv for ; Mon, 11 Feb 2013 10:43:54 +0000 (UTC) X-Greylist: delayed 2126 seconds by postgrey-1.34 at restaurant.gnome.org; Mon, 11 Feb 2013 10:43:54 UTC Received: from akbkhome.com (akbkhome.com [202.81.246.113]) by restaurant.gnome.org (Postfix) with ESMTP id 4AAA5762E6 for ; Mon, 11 Feb 2013 10:43:54 +0000 (UTC) Received: from akdesk64 ([192.168.0.40]) by akbkhome.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Mailfort v1.2) (envelope-from ) id 1U4qJD-0006NR-Bl; Mon, 11 Feb 2013 18:08:23 +0800 Message-ID: <5118C314.80607@akbkhome.com> Date: Mon, 11 Feb 2013 18:08:20 +0800 From: Alan Knowles User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Micah Lee Subject: Re: How can you make an async http request to download a file in chunks? References: <51188FAF.9020402@riseup.net> In-Reply-To: <51188FAF.9020402@riseup.net> Content-Type: multipart/alternative; boundary="------------040701010902030408030504" X-mailfort-sig: 6968d6f4d66bb9ed38515e5fcfa93773 Cc: javascript-list@gnome.org X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 10:43:56 -0000 This is a multi-part message in MIME format. --------------040701010902030408030504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The example looks good, http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Soup.Message.html#expand indicates there is a got_chunk signal of message, you might be able to hook into that to update the progress bar. you might be lucky and be able to get the header Content-Length, and use the length of the response_body to show the percentage complete..., but Soap is a touch klunky when it comes to introspection.. I'm not sure about gjs, but handling of non-utf8 characters in seed can seriously mess up the engine, so be careful.. Regards Alan On Monday, February 11, 2013 02:29 PM, Micah Lee wrote: > I just asked this question on stackoverflow, but hopefully somewhere > here could help too: > > http://stackoverflow.com/questions/14806981/using-gjs-how-can-you-make-an-async-http-request-to-download-a-file-in-chunks > > Basically, I'm trying to download a file and show the status of the > download in a Gtk.ProgressBar. Any help or example code is appreciated, > thanks! > > > > _______________________________________________ > javascript-list mailing list > javascript-list@gnome.org > https://mail.gnome.org/mailman/listinfo/javascript-list --------------040701010902030408030504 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
The example looks good,

http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Soup.Message.html#expand

indicates there is a got_chunk signal of message, you might be able to hook into that to update the progress bar.

you might be lucky and be able to get the header  Content-Length,  and use the length of the response_body to show the percentage complete..., but Soap is a touch klunky when it comes to introspection..

I'm not sure about gjs, but handling of non-utf8 characters in seed can seriously mess up the engine, so be careful..

Regards
Alan

On Monday, February 11, 2013 02:29 PM, Micah Lee wrote:
I just asked this question on stackoverflow, but hopefully somewhere
here could help too:

http://stackoverflow.com/questions/14806981/using-gjs-how-can-you-make-an-async-http-request-to-download-a-file-in-chunks

Basically, I'm trying to download a file and show the status of the
download in a Gtk.ProgressBar. Any help or example code is appreciated,
thanks!



_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

--------------040701010902030408030504-- From micahflee@riseup.net Mon Feb 11 19:42:15 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id CD52676AB0 for ; Mon, 11 Feb 2013 19:42:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a8UdPaxco-pC for ; Mon, 11 Feb 2013 19:42:05 +0000 (UTC) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by restaurant.gnome.org (Postfix) with ESMTP id 0EE7A76AA1 for ; Mon, 11 Feb 2013 19:42:04 +0000 (UTC) Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id D5A1D44D8D; Mon, 11 Feb 2013 11:42:02 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: micahflee@fruiteater.riseup.net) with ESMTPSA id 5938BD65 Message-ID: <51194985.4070606@riseup.net> Date: Mon, 11 Feb 2013 11:41:57 -0800 From: Micah Lee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: Alan Knowles Subject: Re: How can you make an async http request to download a file in chunks? References: <51188FAF.9020402@riseup.net> <5118C314.80607@akbkhome.com> In-Reply-To: <5118C314.80607@akbkhome.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF381BD1B44CAE997C7401E24" X-Virus-Scanned: clamav-milter 0.97.6 at mx1 X-Virus-Status: Clean Cc: javascript-list@gnome.org X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 19:42:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF381BD1B44CAE997C7401E24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you! This definitely helped, and I ended up getting it working. I attached callbacks to both the got_chunk and got_headers events. I posted my solution to stackoverflow: http://stackoverflow.com/questions/14806981/using-gjs-how-can-you-make-an= -async-http-request-to-download-a-file-in-chunks/14819550 I don't think the non-utf8 chars will be an issue here. The file I'm downloading is a .tar.gz, but the got_chunk event passes in a Soup.Buffer object instead of just a string, and in my tests it appears to be handling it fine. On 02/11/2013 02:08 AM, Alan Knowles wrote: > The example looks good, >=20 > http://www.roojs.org/seed/gir-1.2-gtk-3.0/gjs/Soup.Message.html#expand >=20 > indicates there is a got_chunk signal of message, you might be able to > hook into that to update the progress bar. >=20 > you might be lucky and be able to get the header Content-Length, and > use the length of the response_body to show the percentage complete...,= > but Soap is a touch klunky when it comes to introspection.. >=20 > I'm not sure about gjs, but handling of non-utf8 characters in seed can= > seriously mess up the engine, so be careful.. >=20 > Regards > Alan >=20 > On Monday, February 11, 2013 02:29 PM, Micah Lee wrote: >> I just asked this question on stackoverflow, but hopefully somewhere >> here could help too: >> >> http://stackoverflow.com/questions/14806981/using-gjs-how-can-you-make= -an-async-http-request-to-download-a-file-in-chunks >> >> Basically, I'm trying to download a file and show the status of the >> download in a Gtk.ProgressBar. Any help or example code is appreciated= , >> thanks! >> >> >> >> _______________________________________________ >> javascript-list mailing list >> javascript-list@gnome.org >> https://mail.gnome.org/mailman/listinfo/javascript-list >=20 --=20 Micah Lee https://twitter.com/micahflee --------------enigF381BD1B44CAE997C7401E24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJRGUmFAAoJELTSWh6ZmZaXi60QAITTgQhWxJHE7gfYL+crjtUg 7JAavJoSyfzshWTjyJrkC3nZwGtsKq2fnvyccX3RiAap1gptMVEJOC+OZaOuMAkr SMW4ctXeVDgehI+ok/9YjQ9rhJqNzyYqc7UJmcwpn4lzof1dOMYPL35qbm18QwQj XOPxEwbEJLktV9hc7GQFFLtwupSMErdr7EC0y/7ux4thIrdgdQ6W2kF9TEJVM0Ud J/GsepVphvbBYVrN2QVO9TCq4A7DLZoMi0OzFrTI3p7pn2pVZFC/FLgfh2lmqLHT DZri7B3AwWgM4xzw03P1X811IcRWKiDf9mIUCHqczqMoD6OpkSnr6m2ka3R9/TA3 evruGd87HRXoZucOdlU8Q79rPiHUVNX30K/XBQgydOI5J8eXG3ZQvO07BLgT35/z 02VL9+dMeRFQ/MkVrOYPIWBwKAIp6RXaD3wp88WkdzX+gBkKoPG9G7Pn9XZPSXke ptYZQhrAlV2VAwpJ7M/PAufVCHdVKzzoZaFIr4rge0wQf+cygUzlsY3plBkyQ9Ez IKESsQV43TPIYB/XMkt6pTIsfNvWvxt5Mvvhi25V2WlIRrnozNl+2I2/7+INEXqn cN51Onot+eF61sM+sKcHRzihOoMqG2918aCBylDNSGARW39UsOXhUC2QBHmPzGmA jhe9DWEOgbP5E7n+49xD =qk8d -----END PGP SIGNATURE----- --------------enigF381BD1B44CAE997C7401E24-- From micahflee@riseup.net Wed Feb 13 19:11:07 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 49224769B5 for ; Wed, 13 Feb 2013 19:11:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NewER-lSbJ6N for ; Wed, 13 Feb 2013 19:11:05 +0000 (UTC) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by restaurant.gnome.org (Postfix) with ESMTP id A765C7695E for ; Wed, 13 Feb 2013 19:11:05 +0000 (UTC) Received: from fulvetta.riseup.net (fulvetta-pn.riseup.net [10.0.1.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id AC2F347737 for ; Wed, 13 Feb 2013 11:11:03 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: micahflee@fulvetta.riseup.net) with ESMTPSA id 0D62E2B6 Message-ID: <511BE53E.9020302@riseup.net> Date: Wed, 13 Feb 2013 11:10:54 -0800 From: Micah Lee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: javascript-list@gnome.org Subject: Re: How can you make an async http request to download a file in chunks? References: <51188FAF.9020402@riseup.net> <5118C314.80607@akbkhome.com> <51194985.4070606@riseup.net> In-Reply-To: <51194985.4070606@riseup.net> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA9E59F04CDF2C56037C8BC12" X-Virus-Scanned: clamav-milter 0.97.6 at mx1 X-Virus-Status: Clean X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2013 19:11:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA9E59F04CDF2C56037C8BC12 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have one more related question, if you don't mind helping. I'm successfully able to download the file in chunks and update the progress bar, but I'm running into trouble trying to save the chunks to a file as I get them. The Soup.Buffer object confuses me, and I can't get the Gio.FileOutputStream.write() method to write any data. I posted another stackoverflow question with details: http://stackoverflow.com/questions/14861056/with-gjs-how-can-i-write-soup= -buffer-chunks-of-data-to-a-file Thanks! --=20 Micah Lee https://twitter.com/micahflee --------------enigA9E59F04CDF2C56037C8BC12 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJRG+U+AAoJELTSWh6ZmZaX1jwP/AzYWOnfiCjsoADmbetAJoUF Pbx1G9pSoXNp3MxRXx3qObbNSTb3LRRkolOZyFmtkt1QzaBlizW+fHHdQocf92rX zqqGWc4JGgPVPXJ7gD9Nvyl2aDIXNbFlS2VUShXNXsJMfXlrawK3xBvSm66FmInf e2bFn0McEns5VxzsgbYpYjAw5XfYA2bX6MCjE1iMqQ6YGnCDXoXCdKNaObVHv57E gLBE36QhV1DasOtNt99fdhlsK/pbkbMMrPHVarmrGCKxPJUzp91hApAZbYlFwlQX eL75JuAly9ncCAM1NWV9HZgh38kno/f+BLcrteI4E4sv5RLyRom1u06UbiRsdKp+ HSYtSPfQe/7l3qiBhMd2tYZx0SSSgPIB9UUnwWGGphtpbzIjduc8epM3Z/XOPITY RMCOt4oYbvfV6rzrB+HC3wPYuAPAmtHQyZEah6PaMq5A5016b5/BiCDKCoaZBdgm o3MvTc+jF+yN0f3xfuYGX5XaC6qz5e4gk6QHEnDGwunS0LX0PtMXWPbnHasqonsH g+/nnnK/ux0+x8G24VY4r9U15h9eWgvBgM3pe841Dui77Mf8k2rQmjbqOBM/70u+ Gop50Au/sbt/qBwYd24mAobHiZsf57JkArXC5h0LwyMUbuSLggzz70hIN0nivCs4 kb9CxGxvF26I+OI3kqHV =SCnP -----END PGP SIGNATURE----- --------------enigA9E59F04CDF2C56037C8BC12-- From alan@roojs.com Thu Feb 14 02:43:56 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 0998E769B5 for ; Thu, 14 Feb 2013 02:43:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eb0b10cb+qMN for ; Thu, 14 Feb 2013 02:43:54 +0000 (UTC) X-Greylist: delayed 2238 seconds by postgrey-1.34 at restaurant.gnome.org; Thu, 14 Feb 2013 02:43:54 UTC Received: from akbkhome.com (akbkhome.com [202.81.246.113]) by restaurant.gnome.org (Postfix) with ESMTP id 540737699E for ; Thu, 14 Feb 2013 02:43:54 +0000 (UTC) Received: from 255-001.netfront.net ([202.81.255.1] helo=[192.168.18.59]) by akbkhome.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Mailfort v1.2) (envelope-from ) id 1U5oDX-00013X-Fr; Thu, 14 Feb 2013 10:06:31 +0800 Message-ID: <511C46A5.9010009@roojs.com> Date: Thu, 14 Feb 2013 10:06:29 +0800 From: Alan Knowles User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: Micah Lee Subject: Re: How can you make an async http request to download a file in chunks? References: <51188FAF.9020402@riseup.net> <5118C314.80607@akbkhome.com> <51194985.4070606@riseup.net> <511BE53E.9020302@riseup.net> In-Reply-To: <511BE53E.9020302@riseup.net> Content-Type: multipart/alternative; boundary="------------050002080003010603090502" X-mailfort-sig: 1ff460d18ec9f9139ceed785ca37e83b X-Mailman-Approved-At: Thu, 14 Feb 2013 15:21:12 +0000 Cc: javascript-list@gnome.org X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 02:43:56 -0000 This is a multi-part message in MIME format. --------------050002080003010603090502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This has examples for Gio writing to files. - feel free to use it - it should be ok on gjs. http://git.roojs.org/?p=app.wkmirror;a=blob;f=File.js There may be an issue that when gjs internally creates a javascript string from the buffer, it trim's it at the \0 byte. which is why when I was doing something similar for website mirroring, we had to pass arrays of characters back and forth... (writeBinaryArray) in there. Regards Alan On Thursday, February 14, 2013 03:10 AM, Micah Lee wrote: > I have one more related question, if you don't mind helping. I'm > successfully able to download the file in chunks and update the progress > bar, but I'm running into trouble trying to save the chunks to a file as > I get them. > > The Soup.Buffer object confuses me, and I can't get the > Gio.FileOutputStream.write() method to write any data. > > I posted another stackoverflow question with details: > > http://stackoverflow.com/questions/14861056/with-gjs-how-can-i-write-soup-buffer-chunks-of-data-to-a-file > > Thanks! > > > > _______________________________________________ > javascript-list mailing list > javascript-list@gnome.org > https://mail.gnome.org/mailman/listinfo/javascript-list --------------050002080003010603090502 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This has examples for Gio writing to files. - feel free to use it - it should be ok on gjs.
http://git.roojs.org/?p=app.wkmirror;a=blob;f=File.js

There may be an issue that when gjs internally creates a javascript string from the buffer, it trim's it at the \0 byte. which is why when I was doing something similar for website mirroring, we had to pass arrays of characters back and forth... (writeBinaryArray) in there.

Regards
Alan



On Thursday, February 14, 2013 03:10 AM, Micah Lee wrote:
I have one more related question, if you don't mind helping. I'm
successfully able to download the file in chunks and update the progress
bar, but I'm running into trouble trying to save the chunks to a file as
I get them.

The Soup.Buffer object confuses me, and I can't get the
Gio.FileOutputStream.write() method to write any data.

I posted another stackoverflow question with details:

http://stackoverflow.com/questions/14861056/with-gjs-how-can-i-write-soup-buffer-chunks-of-data-to-a-file

Thanks!



_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

--------------050002080003010603090502-- From rwobben@hotmail.com Fri Feb 15 12:28:52 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id B279776A88 for ; Fri, 15 Feb 2013 12:28:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: 0.801 X-Spam-Level: X-Spam-Status: No, score=0.801 tagged_above=-999 required=2 tests=[BAYES_50=0.8, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LNL+2cQfTwWP for ; Fri, 15 Feb 2013 12:28:51 +0000 (UTC) X-Greylist: delayed 308 seconds by postgrey-1.34 at restaurant.gnome.org; Fri, 15 Feb 2013 12:28:51 UTC Received: from dub0-omc2-s27.dub0.hotmail.com (dub0-omc2-s27.dub0.hotmail.com [157.55.1.166]) by restaurant.gnome.org (Postfix) with ESMTP id 25830768F4 for ; Fri, 15 Feb 2013 12:28:50 +0000 (UTC) Received: from DUB121-W48 ([157.55.1.138]) by dub0-omc2-s27.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 15 Feb 2013 04:23:40 -0800 X-EIP: [UVqRS3SL2s1/vwgD17gTD5Cj89Bza/0y] X-Originating-Email: [rwobben@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_1fa33b5c-cea9-4c43-948c-7373db57ccc4_" From: Roelof Wobben To: Subject: build gjs from source build problem Date: Fri, 15 Feb 2013 12:23:40 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 15 Feb 2013 12:23:40.0629 (UTC) FILETIME=[49BA6850:01CE0B77] X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2013 12:28:52 -0000 --_1fa33b5c-cea9-4c43-948c-7373db57ccc4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I try to build gjs from source.At a moment I asked for package 'm= ozjs185' So I installed spidermonkey-1.8.5 without any problem. But after t= hat gjs is still complaining about a missing mozjs185 package. Where can I = find this package or which package provides this ? Roelof = --_1fa33b5c-cea9-4c43-948c-7373db57ccc4_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C
 =3B
I try to build gjs from source.
At a moment I a= sked for package 'mozjs185'
So I installed spidermonkey-1.8.5 without a= ny problem.
 =3B
But after that gjs is still complaining about a = missing mozjs185 package.
 =3B
Where can I find this package or w= hich package provides =3Bthis ?
 =3B
Roelof
 =3B
=
= --_1fa33b5c-cea9-4c43-948c-7373db57ccc4_-- From mozart.diniz@gmail.com Sat Feb 23 20:02:02 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id 42A39769A3 for ; Sat, 23 Feb 2013 20:02:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.698 X-Spam-Level: X-Spam-Status: No, score=-2.698 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H0A7zwxlTanr for ; Sat, 23 Feb 2013 20:01:52 +0000 (UTC) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by restaurant.gnome.org (Postfix) with ESMTP id E4056762E9 for ; Sat, 23 Feb 2013 20:01:51 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id m4so1356957lbo.0 for ; Sat, 23 Feb 2013 12:01:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=dUODh3sf4ovPDrfahgh+/8mjofxsMJvSLcOw0UnllCk=; b=n1V7NNcNEMpK3YmSqjIvzeJggjEk4ZrgaAi9PdNX5GD59I5wcTAp0NEXCnhx0NuVPK yZIMgqaV6qUOmQ3rXRqPsUBpIDlOJfSHTS1f1c4wv+sQxt15tKWOusVBirG1jxevd3JT loyyS+1YPUXL0INLlgueYDCzO3lqWMLjK8/XSjTu3544nw4kWljV93ChjFJjA7wel7Ul EDh+mY7qqOGPVBruGcOrpHl2+A7xIj7hYVIdjl/ni5NzDVHP8XjVFkuARz4Bd5eNh6Vb RaXdsoE3BJNh0pVdAQEboDbRC3BLiyKhxxd2rR6oHcW4JTzAiRgWytn/CT2/0ApU8xjm VhKg== MIME-Version: 1.0 X-Received: by 10.112.17.41 with SMTP id l9mr2434305lbd.91.1361649709294; Sat, 23 Feb 2013 12:01:49 -0800 (PST) Received: by 10.114.70.105 with HTTP; Sat, 23 Feb 2013 12:01:49 -0800 (PST) Date: Sat, 23 Feb 2013 17:01:49 -0300 Message-ID: Subject: Problems with Record Collection tutorial From: Mozart Diniz To: javascript-list@gnome.org Content-Type: multipart/alternative; boundary=f46d0401f9cb3b372704d669c76e X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 20:02:02 -0000 --f46d0401f9cb3b372704d669c76e Content-Type: text/plain; charset=ISO-8859-1 Hi all! Hello, I'm having problems running the Record Collection tutorial from Gnome live web site, throw follow exceptions: '"Gda.execute_non_select_command is not a function"' Anyone know what is? link: http://developer.gnome.org/gnome-devel-demos/unstable/record-collection.js.html.en Thanks. -- Mozart Diniz Desk: +55 (85) 3304.6530 Mobile: +55 (85) 9955.7744 Skype: mozartdiniz --f46d0401f9cb3b372704d669c76e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all!

Hello, I'm having problems running the Recor= d Collection tutorial from Gnome live web site, throw follow exceptions:

'"Gda.execute_non_select_command is not a f= unction"'

Anyone know what is?

link:=A0<= a href=3D"http://developer.gnome.org/gnome-devel-demos/unstable/record-coll= ection.js.html.en">http://developer.gnome.org/gnome-devel-demos/unstable/re= cord-collection.js.html.en

Thanks.

--
Mozart Diniz
Desk: +55 (85) 3304.6530
Mobile: +55 (85) 9955.7744
Skype: mozar= tdiniz
--f46d0401f9cb3b372704d669c76e-- From alan@roojs.com Mon Feb 25 02:36:20 2013 Return-Path: X-Original-To: javascript-list@gnome.org Delivered-To: javascript-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by restaurant.gnome.org (Postfix) with ESMTP id E3AAE76993 for ; Mon, 25 Feb 2013 02:36:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001] autolearn=ham Received: from restaurant.gnome.org ([127.0.0.1]) by localhost (restaurant.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OtKSZoTfKMuo for ; Mon, 25 Feb 2013 02:36:20 +0000 (UTC) Received: from akbkhome.com (akbkhome.com [202.81.246.113]) by restaurant.gnome.org (Postfix) with ESMTP id 1164C7631E for ; Mon, 25 Feb 2013 02:36:19 +0000 (UTC) Received: from 255-001.netfront.net ([202.81.255.1] helo=[192.168.18.59]) by akbkhome.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Mailfort v1.2) (envelope-from ) id 1U9nvJ-0003gC-On; Mon, 25 Feb 2013 10:36:14 +0800 Message-ID: <512ACE17.9040702@roojs.com> Date: Mon, 25 Feb 2013 10:36:07 +0800 From: Alan Knowles User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: Mozart Diniz Subject: Re: Problems with Record Collection tutorial References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070107050904010706000506" X-mailfort-sig: 42f1fa20a48618c96aaf9b8cfce3494f X-Mailman-Approved-At: Mon, 25 Feb 2013 18:47:44 +0000 Cc: javascript-list@gnome.org X-BeenThere: javascript-list@gnome.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: JavaScript in GNOME List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2013 02:36:21 -0000 This is a multi-part message in MIME format. --------------070107050904010706000506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit example code for gda is here for seed. http://git.roojs.org/?p=app.Builder.js it looks like you are calling execute_non_select_command on Gda, however you should call it on the object returned from Gda.Connection.open_from_string() Sorry I did used to have doc's generated for gda, but they have got lost somewhere. Regards Alan On Sunday, February 24, 2013 04:01 AM, Mozart Diniz wrote: > Hi all! > > Hello, I'm having problems running the Record Collection tutorial from > Gnome live web site, throw follow exceptions: > > '"Gda.execute_non_select_command is not a function"' > > Anyone know what is? > > link: > http://developer.gnome.org/gnome-devel-demos/unstable/record-collection.js.html.en > > Thanks. > > -- > Mozart Diniz > > Desk: +55 (85) 3304.6530 > Mobile: +55 (85) 9955.7744 > Skype: mozartdiniz > > > _______________________________________________ > javascript-list mailing list > javascript-list@gnome.org > https://mail.gnome.org/mailman/listinfo/javascript-list --------------070107050904010706000506 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
example code for gda is here for seed.
http://git.roojs.org/?p=app.Builder.js

it looks like you are calling execute_non_select_command on Gda, however you should call it on the object returned from Gda.Connection.open_from_string()

Sorry I did used to have doc's generated for gda, but they have got lost somewhere.

Regards
Alan


On Sunday, February 24, 2013 04:01 AM, Mozart Diniz wrote:
Hi all!

Hello, I'm having problems running the Record Collection tutorial from Gnome live web site, throw follow exceptions:

'"Gda.execute_non_select_command is not a function"'

Anyone know what is?


Thanks.

--
Mozart Diniz

Desk: +55 (85) 3304.6530
Mobile: +55 (85) 9955.7744
Skype: mozartdiniz


_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

--------------070107050904010706000506--