From mboxrd@z Thu Jan 1 00:00:00 1970 From: OSiUX Subject: Re: org-jira.el Date: Mon, 9 Jan 2012 17:26:19 -0300 Message-ID: <20120109202611.GA21181@merlot.gcoop.coop> References: <86hb0ez4qr.fsf@gmail.com> <20120105154233.GA9939@merlot.gcoop.coop> <868vlkvnc0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkLnb-00054L-6Q for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 15:26:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkLnZ-0003kE-O6 for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 15:26:31 -0500 Received: from merlot.gcoop.coop ([67.208.113.123]:45111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkLnZ-0003k0-HY for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 15:26:29 -0500 Received: from merlot.gcoop.coop (merlot [127.0.0.1]) (Authenticated sender: xuiso@osiux.com.ar) by merlot.gcoop.coop (Postfix) with ESMTPSA id 36FEF148D70 for ; Mon, 9 Jan 2012 17:26:57 -0300 (ART) Content-Disposition: inline In-Reply-To: <868vlkvnc0.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El vie, 06 ene 2012, Bao Haojun dec=C3=ADa: > Hi, OSiUX >=20 > OSiUX writes: >=20 > > El lun, 02 ene 2012, Bao Haojun dec=C3=ADa: > > > >> Hi, all > >>=20 > >> I have implemented org-jira.el, bringing org-mode and Jira system > >> together. > >>=20 > >> Wrote a Wiki page for it on emacswiki: > >> http://www.emacswiki.org/emacs/OrgJiraMode > >>=20 > >> Hope somebody find it useful, if he/she is also using Jira and loves > >> org-mode. > >>=20 > >>=20 > >>=20 > > > > after running Mx jira2-login, I get the following error: > > > > Symbol's function definition is void: auth-source-search > > > > howto configure login? >=20 > I have fixed it. The auth-source-search is a new API from emacs24. >=20 > With the new code, you will be prompted for username and password if you > are using a lower version of EMACS. >=20 > BTW, I have also renamed jira2 to jiralib, so after you check out the > new code, you need change your .emacs accordingly: >=20 > #+begin_src emacs-lisp > (setq jiralib-url "http://jira-host") > (require 'org-jira) ;jiralib is not explicitly required, since org-jira w= ill load it > #+end_src >=20 > Thanks. >=20 > --=20 > All the best >=20 > Bao Haojun Hi Bao Haojun, I finally discovered the error, I was using an anonymous proxy server and JIRA apparently did not return the correct xml. Does not work in emacs, but in emacs 24 enabling the debug managed to capture the error:: (let ( (url-request-method "GET") (url-package-name ))=20 (let ( ("soap-client.el") (url-package-version "1.0") ))=20 (let ( ((url-mime-charset-string "utf-8;q=3D1, iso-8859-1;q=3D0.5") ))= =20 (let ( ((url-request-coding-system (quote utf-8)) ))=20 (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer ))=20 (let ( ((url-retrieve-synchronously url))) (with-current-buffer ))=20 (let ( (buffer (declare (special url-http-response-status)) ))=20 (let ( ((if (> url-http-response-status 299) (error "Error ))=20 (let ( (retrieving WSDL: %s" url-http-response-status mime-part ))=20 (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed ))=20 (let ( (to decode response from server")) (unless (equal (car ))=20 (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server ))=20 (let ( (response is not an XML document" ))=20 =2E.. then disable the proxy, start using emacs and execute org-jira-get-projects got the list of projects and then some issues. Excellent work, I hope that the error messages to help correct for emacs23 org-jira. Finally I would like to know where to change the path for the projects, actually: /home/.org-jira Thank you very much! I'll stop now copy and paste from jira to org-mode. ;-) Enviroment Emacs23: - Org-mode commit: 258aad0b9a428cec9195b22063e42df77dee19c2 - GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-10-25 on trouble, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e Enviroment Emacs24 - Org-mode commit: 56c73255c0bdd27ac42af0a02ecea9336c4594d6 - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of 2012-01-05 on zelenka, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e --=20 :: Osiris Alejandro Gomez (OSiUX) osiux@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJPC01rAAoJEKeZsiZ0yKP+PekQAKGkGrBGMdcFk0ZMRbu2bV6J pPfv5vgbI4zO/GE2SvgfXdvqrhMZYenbigQGro++47PoJqBQAIJpdWkHTaZRXLnp e2orQzYQeJB4VG1+CMmhx63CLIH9KCMmDEnnyIQ2aTGU1E5MzyrTWw27zRTgRK7a D2xTqZagwoRLFlcniNUVRJKqT/uxRQYZ5p4o7NWdoM+3OiBNqUFO3mziKqztJujr bh/X0mEr4yjseTsQSLQxSiwzH9o7b0zRho4eZZ/zCpnRBgn3VgFgfHjs1vLtXwOg pvR7IxUAwAZp4bPeZhWFEef/0kR9/9578o5RRm9lde/vpPsB9dY7iRLwJ2PRTKbR jzsMGONFQ/I+I3/3+O1+CKXzyQpW4bmd6OmurEV9pvpvAJLjzz5iLDhYHQ0mIwW/ NmXyXr2AWNZoB6785qkQaWXc/HNpBYF6Of0ykaxzbPFY1G1qU0IKZxgOdwmeB7jo HMceXnlKMztmSSi9qXnvLjVHPPcT552U2CMJMbVbfeFiVj7ctQg8TDByDXzn71WQ LFy2aS8bgyGeLU54ElnKPjKo28etKacMxrWpb87ZoknjZtexPzTxYVkGt848Tee1 fx66/c5E5TofGRqXeEyEGb85VD63wq2HFufqfcgvOH9k5rMfcg7v8FcmIkSal88w i6ip/TOTxkL0kZ9UyDPB =/ZH3 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--