erc-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-discuss] Re: /dcc send produces process errors near end of transmis


From: Brent Goodrick
Subject: [Erc-discuss] Re: /dcc send produces process errors near end of transmission
Date: Thu, 17 Jan 2008 06:49:27 -0800

Great! Thanks Michael!

Brent

On Jan 16, 2008 10:22 PM, Michael Olson <address@hidden> wrote:
"Brent Goodrick" <address@hidden> writes:

> Hi,
>
> I tried to send a file with DCC SEND from a ERC 5.2 client running
> under GNU Emacs 22.1 to a Chatzilla client. Both were running on the
> same machine, but I did not specify any special hostnames. I issued
> the /dcc send <nick> <filepath> command from the ERC client (from a
> "#erc@ simmons.freenode" buffer). I accepted the file on the Chatzilla
> client and was able to save that file from Chatzilla without
> error. However, once I accepted it from the Chatzilla client, in Emacs
> I then I immediately received Elisp errors (as taken from the
> *Messages* buffer):
>
> error in process sentinel: erc-dcc-send-sentinel: Wrong type argument:
> markerp, nil
> error in process sentinel: Wrong type argument: markerp, nil
> error in process sentinel: erc-dcc-send-sentinel: Wrong type argument:
> markerp, nil
> error in process sentinel: Wrong type argument: markerp, nil
>
> I think that the problem lies in erc-dcc-send-sentinel in that it uses
> the nil value returned from erc-dcc-member. The version of that
> function I see in my setup is:
>
> [snip]
>
> As a fix, I changed that function to test for that condition:
>
> [snip]
>
> The change above avoids passing a nil value to marker-buffer.
>
> Perhaps the above change would be suitable for the mainline version?

Thanks for the report and fix!  I've checked in a similar fix to the
development version of ERC.

--
      Michael Olson -- FSF Associate Member #652     |
 http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
         Programmer -- Hobbies: Lisp, HCoop          | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |


reply via email to

[Prev in Thread] Current Thread [Next in Thread]