[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: e-blog.el help please
From: |
Anselm Helbig |
Subject: |
Re: e-blog.el help please |
Date: |
Thu, 27 Aug 2009 13:24:05 +0200 |
At Thu, 27 Aug 2009 02:58:16 -0700 (PDT),
rpd <richard@dickinson350.freeserve.co.uk> wrote:
>
>
> Hi
> I want to use e-blog.el to help post to my google blogger blogspot but it
> doesn't work
> (curl is installed & works - I am running Vista O/S).
>
> Here is the error message when I do M-x e-blog-new-post & after I have put
> in my username & pwd:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> call-process("curl" nil "*e-blog*" nil "--stderr" "/dev/null" "--header"
> nil "http://www.blogger.com/feeds/default/blogs")
> (let (feed) (set-buffer e-blog-buffer) (erase-buffer) (message "Requesting
> list of blogs...") (call-process "curl" nil e-blog-buffer nil "--stderr"
> "/dev/null" "--header" e-blog-auth e-blog-fetch-bloglist-url) (setq feed
> (buffer-substring ... ...)) (message "Requesting list of blogs... Done.")
> feed)
> e-blog-fetch-bloglist()
> (e-blog-parse-xml (e-blog-fetch-bloglist))
> (e-blog-setup-choose-buffer (e-blog-parse-xml (e-blog-fetch-bloglist)))
> e-blog-choose()
> (if (e-blog-check-authinfo) (e-blog-choose))
> e-blog-do-auth()
> (progn (e-blog-do-auth) (e-blog-choose))
> (if e-blog-auth (e-blog-choose) (progn (e-blog-do-auth) (e-blog-choose)))
> e-blog-new-post()
> call-interactively(e-blog-new-post)
> execute-extended-command(nil)
> call-interactively(execute-extended-command)
>
>
> Can anyone help me fix this please?
>From looking at the code, it seems like `e-blog-auth' is empty. This
should only be the case if the authentication failed. Do you see
anything suspicious in the *Messages* buffer? It's hard to tell what
is going on without actually running the code. 8-)
Maybe it works if you try another action first?
HTH,
Anselm
--
Anselm Helbig
mailto:anselm.helbig+news2009@googlemail.com
- Re: e-blog.el help please,
Anselm Helbig <=