emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-jira.el


From: Bao Haojun
Subject: Re: [O] org-jira.el
Date: Tue, 10 Jan 2012 10:40:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt)

Hi OSiUX,



OSiUX <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]