Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error in process filter: Wrong type argument: stringp, nil

92 views
Skip to first unread message

A Soare

unread,
Nov 27, 2009, 5:10:08 AM11/27/09
to help-gn...@gnu.org
I got all the time this error:

error in process filter: Wrong type argument: stringp, nil

Can you help he understand its cause, please?

Thanks in advance,


Alin.

Joost Kremers

unread,
Nov 27, 2009, 7:58:53 AM11/27/09
to
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.


--
Joost Kremers joostk...@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

Peter Dyballa

unread,
Nov 27, 2009, 9:25:16 AM11/27/09
to A Soare, help-gn...@gnu.org

Am 27.11.2009 um 11:10 schrieb A Soare:

> error in process filter: Wrong type argument: stringp, nil


Could you launch GNU Emacs with --debug-init? You could also lookup
which process filter might cause this message:

C-h d process filter RET

--
Greetings

Pete

Engineer: a mechanism for converting caffeine into designs

Drew Adams

unread,
Nov 27, 2009, 10:19:54 AM11/27/09
to Joost Kremers, help-gn...@gnu.org
> > 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.

The error is in a process filter. Look for a function that starts a process and
defines a filter to receive output from the process.

`M-x set-variable debug-on-error t' will give you a backtrace, showing where the
error occurs. Load source files (not *.elc) first, to get a clearer backtrace.

Tim X

unread,
Nov 27, 2009, 6:29:59 PM11/27/09
to
Joost Kremers <joostk...@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

0 new messages