unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Anselm Helbig <anselm.helbig+news2009@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: e-blog.el help please
Date: Thu, 27 Aug 2009 13:24:05 +0200	[thread overview]
Message-ID: <87zl9l33fu.wl%anselm.helbig+news2009@googlemail.com> (raw)
In-Reply-To: <mailman.5509.1251367107.2239.help-gnu-emacs@gnu.org>

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


       reply	other threads:[~2009-08-27 11:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5509.1251367107.2239.help-gnu-emacs@gnu.org>
2009-08-27 11:24 ` Anselm Helbig [this message]
2009-08-27  9:58 e-blog.el help please rpd
2009-08-27 10:26 ` ken
     [not found] ` <mailman.5514.1251368830.2239.help-gnu-emacs@gnu.org>
2009-08-28 12:33   ` Xah Lee

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87zl9l33fu.wl%anselm.helbig+news2009@googlemail.com \
    --to=anselm.helbig+news2009@googlemail.com \
    --cc=help-gnu-emacs@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.
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).