However, I failed to run the blogger commands. For example M-x
gblogger-blog throws a HTML file with the following error,
-:1: parser error : Start tag expected, '<' not found
The system cannot find the path specified.
^
unable to parse -
Do you have any idea why this is happening? And what is the `path'
that cannot be found?
PS: Also CC to me when replying.
Note that g-client has not been tested under Windows at all, so
I'm not too surprized it didn't work right away. That said, the
only external dependencies are xsltproc and curl -- the rest is
Emacs Lisp, so in principle it should work if the external
dependencies are present.
I installed curl and openssl for Windows. ``curl'' is in PATH. I could
even do M-! curl from within emacs.
But g-client is still throwing the same error.
(setq g-html-handler 'switch-to-buffer g-atom-view-xsl nil)
What the above does:
turn off the conversion from xml to xhtml and make g-client
switch to the "
*g-scratch*" buffer
where it places what it got from the server.
This will show you exactly what the curl invocation produced, and
might make it easier to track down the cause of the error.
And then after doing the usual M-x gblogger-blog .. a new buffer named
*g scratch* was opened with this text - "The system cannot find the
path specified."
That's all! any idea?
Try M-x customize-variable g-curl-program
and set it to the fully qualified path to the curl binary.
--Raman
:-(
M-! curl works, btw.. so it may not be curl path problem.
If you haven't go tthat, then nothing else is going to
work. Please check your installation, and make sure you've run
make config to set things up correctly.
Your problem is definitely one of emacs not finding curl
--Raman
I have no idea on how to find the "traceback" so that maybe I can try
printing the "path" that was being looked for?
(shell-command
(format "%s http://www.google.com"
g-curl-program))
and press C-j
This should launch g-curl-program and pull http://www.google.com
When you set g-curl-program, did you make sure to escape the '\'
in the filepath?
This is one more reason to install cygwin because that lets you
use the more sane filename separator '/'.
On Jun 7, 7:10 pm, ramanraman <tv.raman...@gmail.com> wrote:
> Type the following in the *scratch* buffer :
>
> (shell-command
> (format "%shttp://www.google.com"
> g-curl-program))
> and press C-j
>
> This should launch g-curl-program and pullhttp://www.google.com
Yes, it works as expected. I get the HTML of the page (for www.yahoo.com)
But still, M-x gblogger-blog fails with that error message.