all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* error in process filter: Wrong type argument: stringp, nil
@ 2009-11-27 10:10 A Soare
  2009-11-27 14:25 ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: A Soare @ 2009-11-27 10:10 UTC (permalink / raw
  To: help-gnu-emacs

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.







^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Wrong type argument: stringp, nil
       [not found] <mailman.11637.1259325961.2239.help-gnu-emacs@gnu.org>
@ 2009-11-27 12:58 ` Joost Kremers
  2009-11-27 15:19   ` Drew Adams
  2009-11-27 23:29   ` Tim X
  0 siblings, 2 replies; 6+ messages in thread
From: Joost Kremers @ 2009-11-27 12:58 UTC (permalink / raw
  To: help-gnu-emacs

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                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Wrong type argument: stringp, nil
  2009-11-27 10:10 A Soare
@ 2009-11-27 14:25 ` Peter Dyballa
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2009-11-27 14:25 UTC (permalink / raw
  To: A Soare; +Cc: help-gnu-emacs


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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: error in process filter: Wrong type argument: stringp, nil
  2009-11-27 12:58 ` Joost Kremers
@ 2009-11-27 15:19   ` Drew Adams
  2009-11-27 23:29   ` Tim X
  1 sibling, 0 replies; 6+ messages in thread
From: Drew Adams @ 2009-11-27 15:19 UTC (permalink / raw
  To: 'Joost Kremers', help-gnu-emacs

> > 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Wrong type argument: stringp, nil
  2009-11-27 12:58 ` Joost Kremers
  2009-11-27 15:19   ` Drew Adams
@ 2009-11-27 23:29   ` Tim X
  1 sibling, 0 replies; 6+ messages in thread
From: Tim X @ 2009-11-27 23:29 UTC (permalink / raw
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: error in process filter: Wrong type argument: stringp, nil
@ 2009-12-08  8:26 A. Soare
  0 siblings, 0 replies; 6+ messages in thread
From: A. Soare @ 2009-12-08  8:26 UTC (permalink / raw
  To: Peter Dyballa; +Cc: Emacs   Help  [help-gnu-emacs]


> > 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
> 

Here is the output from debug:
gud-gdbmi-marker-filter is the filter you are talking about?






Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("//+" nil)
  gud-find-file(nil)
  gud-display-line(nil 34)
  gud-display-frame()
  gdb-frame-handler()
  gdb-done-or-error("frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",file=\"../csu/errno-loc.c\",line=\"34\"}" "109" done)
  gud-gdbmi-marker-filter("108^done,threads=[{id=\"1\",target-id=\"Thread 0xb77678d0 (LWP 23070)\",frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",args=[],file=\"../csu/errno-loc.c\",line=\"34\"},state=\"stopped\"}],current-thread-id=\"1\"\n(gdb) \n109^done,frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",file=\"../csu/errno-loc.c\",line=\"34\"}\n(gdb) \n")
  apply(gud-gdbmi-marker-filter "108^done,threads=[{id=\"1\",target-id=\"Thread 0xb77678d0 (LWP 23070)\",frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",args=[],file=\"../csu/errno-loc.c\",line=\"34\"},state=\"stopped\"}],current-thread-id=\"1\"\n(gdb) \n109^done,frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",file=\"../csu/errno-loc.c\",line=\"34\"}\n(gdb) \n")
  gud-marker-filter("108^done,threads=[{id=\"1\",target-id=\"Thread 0xb77678d0 (LWP 23070)\",frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",args=[],file=\"../csu/errno-loc.c\",line=\"34\"},state=\"stopped\"}],current-thread-id=\"1\"\n(gdb) \n109^done,frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",file=\"../csu/errno-loc.c\",line=\"34\"}\n(gdb) \n")
  gud-filter(#<process gud-emacs> "108^done,threads=[{id=\"1\",target-id=\"Thread 0xb77678d0 (LWP 23070)\",frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",args=[],file=\"../csu/errno-loc.c\",line=\"34\"},state=\"stopped\"}],current-thread-id=\"1\"\n(gdb) \n109^done,frame={level=\"0\",addr=\"0x001f2adb\",func=\"__errno_location\",file=\"../csu/errno-loc.c\",line=\"34\"}\n(gdb) \n")



____________________________________________________

Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers titres sur http://musiline.voila.fr







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-08  8:26 UTC | newest]

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

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.