emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: OSiUX <xuiso@osiux.com.ar>
To: emacs-orgmode@gnu.org
Subject: Re: org-jira.el
Date: Mon, 9 Jan 2012 17:26:19 -0300	[thread overview]
Message-ID: <20120109202611.GA21181@merlot.gcoop.coop> (raw)
In-Reply-To: <868vlkvnc0.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3506 bytes --]

El vie, 06 ene 2012, Bao Haojun decía:

> Hi, OSiUX
> 
> OSiUX <xuiso@osiux.com.ar> writes:
> 
> > El lun, 02 ene 2012, Bao Haojun decía:
> >
> >> Hi, all
> >> 
> >> I have implemented org-jira.el, bringing org-mode and Jira system
> >> together.
> >> 
> >> Wrote a Wiki page for it on emacswiki:
> >> http://www.emacswiki.org/emacs/OrgJiraMode
> >> 
> >> Hope somebody find it useful, if he/she is also using Jira and loves
> >> org-mode.
> >> 
> >> 
> >> 
> >
> > after running Mx jira2-login, I get the following error:
> >
> >     Symbol's function definition is void: auth-source-search
> >
> > howto configure login?
> 
> I have fixed it. The auth-source-search is a new API from emacs24.
> 
> With the new code, you will be prompted for username and password if you
> are using a lower version of EMACS.
> 
> BTW, I have also renamed jira2 to jiralib, so after you check out the
> new code, you need change your .emacs accordingly:
> 
> #+begin_src emacs-lisp
> (setq jiralib-url "http://jira-host")
> (require 'org-jira) ;jiralib is not explicitly required, since org-jira will load it
> #+end_src
> 
> Thanks.
> 
> -- 
> All the best
> 
>  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                )) 
  (let ( ("soap-client.el") (url-package-version "1.0")              )) 
  (let ( ((url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5")    )) 
  (let ( ((url-request-coding-system (quote utf-8))                  )) 
  (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer          )) 
  (let ( ((url-retrieve-synchronously url))) (with-current-buffer    )) 
  (let ( (buffer (declare (special url-http-response-status))        )) 
  (let ( ((if (> url-http-response-status 299) (error "Error         )) 
  (let ( (retrieving WSDL: %s" url-http-response-status mime-part    )) 
  (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed )) 
  (let ( (to decode response from server")) (unless (equal (car      )) 
  (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server     )) 
  (let ( (response is not an XML document"                           )) 

... 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

-- 

::

  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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2012-01-09 20:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-02 12:08 org-jira.el Bao Haojun
2012-01-03  8:07 ` org-jira.el... and Org conventions (Bastien, Carsten and all) Sebastien Vauban
2012-01-03 15:53   ` Bao Haojun
2012-01-03 16:25     ` Sebastien Vauban
2012-01-03 16:28     ` Allen S. Rout
2012-01-04 16:47       ` Bastien
2012-01-04 17:13         ` Nick Dokos
2012-01-03 23:34   ` Standard property proposal (was: org-jira.el... and Org conventions (Bastien, Carsten and all)) Karl Voit
2012-01-04 16:50     ` Standard property proposal Bastien
2012-01-03 13:49 ` org-jira.el Marc Spitzer
2012-01-04 16:52 ` org-jira.el Bastien
2012-01-04 17:53   ` org-jira.el Nick Dokos
2012-01-05 10:00     ` org-jira.el Bastien
2012-01-05 14:42       ` org-jira.el Bao Haojun
2012-01-05 17:08         ` org-jira.el Jonathan Arkell
2012-01-06  0:32           ` org-jira.el Bao Haojun
2012-01-06 15:24           ` org-jira.el Bao Haojun
2012-01-04 18:36   ` org-jira.el Richard Riley
2012-01-04 19:49     ` org-jira.el Mehul Sanghvi
2012-01-05 10:01     ` org-jira.el Bastien
2012-01-05 15:42 ` org-jira.el OSiUX
2012-01-06  0:28   ` org-jira.el Bao Haojun
2012-01-06 15:54   ` org-jira.el Bao Haojun
2012-01-09 20:26     ` OSiUX [this message]
2012-01-10  2:40       ` org-jira.el Bao Haojun
  -- strict thread matches above, loose matches on Subject: below --
2009-06-03 15:25 org-jira.el Jonathan Arkell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120109202611.GA21181@merlot.gcoop.coop \
    --to=xuiso@osiux.com.ar \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).