From: "Bao Haojun" <baohaojun@gmail.com>
To: OSiUX <xuiso@osiux.com.ar>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-jira.el
Date: Tue, 10 Jan 2012 10:40:42 +0800 [thread overview]
Message-ID: <861ur82sb9.fsf@gmail.com> (raw)
In-Reply-To: <20120109202611.GA21181@merlot.gcoop.coop> (OSiUX's message of "Mon, 9 Jan 2012 17:26:19 -0300")
Hi OSiUX,
OSiUX <xuiso@osiux.com.ar> writes:
> 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
Great!
I was also using proxy through setting the url-proxy-services variable,
and the org-jira.el does not work. After some googling around, I found
that url-proxy-services supports disabling proxy for some hosts:
(setq url-proxy-services
(quote
(("http" . "localhost:8580")
("no_proxy" . "^[^.]*$\\|sina.com"))))
(just in case you don't know this already:-)
For the org-jira save path, I will make it a defcustom.
Thanks!
--
All the best
Bao Haojun
next prev parent reply other threads:[~2012-01-10 2:40 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 ` org-jira.el OSiUX
2012-01-10 2:40 ` Bao Haojun [this message]
-- 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861ur82sb9.fsf@gmail.com \
--to=baohaojun@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=xuiso@osiux.com.ar \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.