all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: error in process filter: Wrong type argument: stringp, nil
Date: Sat, 28 Nov 2009 10:29:59 +1100	[thread overview]
Message-ID: <87my27wnpk.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: slrnhgvj7a.esj.joostkremers@j.kremers4.news.arnhem.chello.nl

Joost Kremers <joostkremers@yahoo.com> writes:

> A Soare wrote:
>> I got all the time this error:
>>
>> error in process filter: Wrong type argument: stringp, nil
>>
>> Can you help he understand its cause, please?
>
> a function somewhere expects a string as argument but is getting nil.
>
> check the *Messages* buffer, it might contain a bit more info on where the error
> occurs.

Or better still, in addition to checking the messages buffer, look at
the backtrace (you may need to enable debug on error from the options
menu). The backtrace will tell you what function was executing when the
error occured. Often, looking at the  code for that function will show
you where the problem is. You can often use the backtrace to see where
the 'nil' value originated etc. The documentation for the function will
also give you some valuable insight. 

Tim

P.S. as a guess, I'd say there is a filter function associated with your
process that is expecting to be passed a string, but instead is being
passed a nil value. This could be an error in the process or an error in
the filter definition.  This is only a stab in the dark guess and could
be completely wrong.



-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-11-27 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11637.1259325961.2239.help-gnu-emacs@gnu.org>
2009-11-27 12:58 ` error in process filter: Wrong type argument: stringp, nil Joost Kremers
2009-11-27 15:19   ` Drew Adams
2009-11-27 23:29   ` Tim X [this message]
2009-12-08  8:26 A. Soare
  -- strict thread matches above, loose matches on Subject: below --
2009-11-27 10:10 A Soare
2009-11-27 14:25 ` Peter Dyballa

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=87my27wnpk.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.
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.