unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
@ 2010-01-03 18:54 Drew Adams
  2010-01-03 19:21 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2010-01-03 18:54 UTC (permalink / raw)
  To: emacs-pretest-bug

emacs -Q

I tried to send a bug report using Help > Send bug report. When I hit C-c C-c, I
got this error:

Searching for program: no such file or directory, /bin/bash.

So I'm typing this into my mail client, Outlook, directly (copying and pasting
the version info etc.).

I would like to know a workaround soon, so I can send other bug reports in the
normal way. I have no problem sending bug reports in any Emacs release (20
through 23.1), and I've never previously had a problem sending a report for any
pretest version.


In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600)
 of 2010-01-02 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 18:54 bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash Drew Adams
@ 2010-01-03 19:21 ` Eli Zaretskii
  2010-01-03 19:29   ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2010-01-03 19:21 UTC (permalink / raw)
  To: Drew Adams, 5299

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Sun, 3 Jan 2010 10:54:13 -0800
> Cc: 
> 
> emacs -Q
> 
> I tried to send a bug report using Help > Send bug report. When I hit C-c C-c, I
> got this error:
> 
> Searching for program: no such file or directory, /bin/bash.
> 
> So I'm typing this into my mail client, Outlook, directly (copying and pasting
> the version info etc.).
> 
> I would like to know a workaround soon, so I can send other bug reports in the
> normal way. I have no problem sending bug reports in any Emacs release (20
> through 23.1), and I've never previously had a problem sending a report for any
> pretest version.

Does the below help?

  (setq mail-user-agent 'sendmail-user-agent)






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 19:21 ` Eli Zaretskii
@ 2010-01-03 19:29   ` Drew Adams
  2010-01-03 19:47     ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2010-01-03 19:29 UTC (permalink / raw)
  To: 'Eli Zaretskii', 5299

> > emacs -Q
> > 
> > I tried to send a bug report using Help > Send bug report. 
> > When I hit C-c C-c, I got this error:
> > 
> > Searching for program: no such file or directory, /bin/bash.
> 
> Does the below help?
>   (setq mail-user-agent 'sendmail-user-agent)

No, unfortunately. That raises this error:

 Sending...failed with exit value 1

And this is all there is in the *Messages* buffer about this:

 Sending...
 sendmail-send-it: Sending...failed with exit value 1







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 19:29   ` Drew Adams
@ 2010-01-03 19:47     ` Eli Zaretskii
  2010-01-03 19:55       ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2010-01-03 19:47 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5299

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Sun, 3 Jan 2010 11:29:07 -0800
> 
> > > emacs -Q
> > > 
> > > I tried to send a bug report using Help > Send bug report. 
> > > When I hit C-c C-c, I got this error:
> > > 
> > > Searching for program: no such file or directory, /bin/bash.
> > 
> > Does the below help?
> >   (setq mail-user-agent 'sendmail-user-agent)
> 
> No, unfortunately. That raises this error:
> 
>  Sending...failed with exit value 1
> 
> And this is all there is in the *Messages* buffer about this:
> 
>  Sending...
>  sendmail-send-it: Sending...failed with exit value 1

Then I don't understand how did it work for you in previous versions,
in "emacs -Q".  Did it?






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 19:47     ` Eli Zaretskii
@ 2010-01-03 19:55       ` Drew Adams
  2010-01-03 20:28         ` Lennart Borgman
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2010-01-03 19:55 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 5299

> > > > emacs -Q
> > > > 
> > > > I tried to send a bug report using Help > Send bug report. 
> > > > When I hit C-c C-c, I got this error:
> > > > 
> > > > Searching for program: no such file or directory, /bin/bash.
> > > 
> > > Does the below help?
> > >   (setq mail-user-agent 'sendmail-user-agent)
> > 
> > No, unfortunately. That raises this error:
> > 
> >  Sending...failed with exit value 1
> > 
> > And this is all there is in the *Messages* buffer about this:
> > 
> >  Sending...
> >  sendmail-send-it: Sending...failed with exit value 1
> 
> Then I don't understand how did it work for you in previous versions,
> in "emacs -Q".  Did it?

Yes. It did and it still does. It works for emacs -Q in Emacs 20, 21, 22, and
23.1. And it has always worked for pretest binaries as well. I used `emacs -Q
--debug-init'.

Normally, when I hit C-c C-c it asks me if I want to send the bug and I answer
`yes'. It then opens a new Outlook message with the To and Subject fields
filled, and with text in the body telling me that my bug report is on the
clipboard. I just use C-a C-v in the body to replace that text with the report,
then click Send.

In the Emacs 23.1.91 pretest, , when I answer `yes' it raises the error.







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such  file /bin/bash
  2010-01-03 19:55       ` Drew Adams
@ 2010-01-03 20:28         ` Lennart Borgman
  2010-01-03 20:58           ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: Lennart Borgman @ 2010-01-03 20:28 UTC (permalink / raw)
  To: Drew Adams, 5299

On Sun, Jan 3, 2010 at 8:55 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> > > > emacs -Q
>> > > >
>> > > > I tried to send a bug report using Help > Send bug report.
>> > > > When I hit C-c C-c, I got this error:
>> > > >
>> > > > Searching for program: no such file or directory, /bin/bash.
>> > >
>> > > Does the below help?
>> > >   (setq mail-user-agent 'sendmail-user-agent)
>> >
>> > No, unfortunately. That raises this error:
>> >
>> >  Sending...failed with exit value 1
>> >
>> > And this is all there is in the *Messages* buffer about this:
>> >
>> >  Sending...
>> >  sendmail-send-it: Sending...failed with exit value 1
>>
>> Then I don't understand how did it work for you in previous versions,
>> in "emacs -Q".  Did it?
>
> Yes. It did and it still does. It works for emacs -Q in Emacs 20, 21, 22, and
> 23.1. And it has always worked for pretest binaries as well. I used `emacs -Q
> --debug-init'.
>
> Normally, when I hit C-c C-c it asks me if I want to send the bug and I answer
> `yes'. It then opens a new Outlook message with the To and Subject fields
> filled, and with text in the body telling me that my bug report is on the
> clipboard. I just use C-a C-v in the body to replace that text with the report,
> then click Send.
>
> In the Emacs 23.1.91 pretest, , when I answer `yes' it raises the error.


Didn't we make a special workaround on w32 for this to work? I thought
that workaround was needed. It did put the content of the bug report
on the clipboard etc.

Is that what you have been using before, Drew, or?






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 20:28         ` Lennart Borgman
@ 2010-01-03 20:58           ` Drew Adams
  2010-01-03 21:10             ` Lennart Borgman
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2010-01-03 20:58 UTC (permalink / raw)
  To: 'Lennart Borgman', 5299

> Didn't we make a special workaround on w32 for this to work? I thought
> that workaround was needed. It did put the content of the bug report
> on the clipboard etc.
> 
> Is that what you have been using before, Drew, or?

Sorry, I don't know what you are referring to, Lennart.

I have always used vanilla Emacs with `emacs -Q' to report bugs.  I have,
personally, never employed any "special workaround on w32".  I don't know
anything about such a workaround.

Or perhaps you are referring to something that Emacs did under the covers? If
so, I know nothing about it - I've never tried to follow the `report-emacs-bug'
code or the Emacs mail code.

Are you able to reproduce the bug using Jason's pretest build and `emacs -Q'?

There is nothing special at my end, AFAIK. I have Windows XP SP3. I do have
Cygwin installed on my computer, but I don't tell Emacs that in any way when I
use `emacs -Q'. I use Outlook 2003 as mail client. 







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such  file /bin/bash
  2010-01-03 20:58           ` Drew Adams
@ 2010-01-03 21:10             ` Lennart Borgman
  2010-01-03 21:26               ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: Lennart Borgman @ 2010-01-03 21:10 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5299

On Sun, Jan 3, 2010 at 9:58 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> Didn't we make a special workaround on w32 for this to work? I thought
>> that workaround was needed. It did put the content of the bug report
>> on the clipboard etc.
>>
>> Is that what you have been using before, Drew, or?
>
> Sorry, I don't know what you are referring to, Lennart.
>
> I have always used vanilla Emacs with `emacs -Q' to report bugs.  I have,
> personally, never employed any "special workaround on w32".  I don't know
> anything about such a workaround.
>
> Or perhaps you are referring to something that Emacs did under the covers? If
> so, I know nothing about it - I've never tried to follow the `report-emacs-bug'
> code or the Emacs mail code.


If you were using it you should have noticed because it was not
totally transparent. The trouble was the restriction on the command
line length in w32. Because of this we could not send the message this
way to the default mail client. Instead we did a two step workaround:

1) We first put the message on the clipboard and then created a
shorter mail message that said that the real content was on the
clipboard.

2) This shorter message was sent to the default mail client and should
up for editing before sending.

I do not know if this works any more however. I do not use it myself
anymore since using it with web mail (gmail) is a bit clumsy. I just
cut and paste instead.

But for those using a w32 mail client it should still be usable I
believe. Or has someone found a workaround for the problem with the
command line length restriction?


> Are you able to reproduce the bug using Jason's pretest build and `emacs -Q'?
>
> There is nothing special at my end, AFAIK. I have Windows XP SP3. I do have
> Cygwin installed on my computer, but I don't tell Emacs that in any way when I
> use `emacs -Q'. I use Outlook 2003 as mail client.






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 21:10             ` Lennart Borgman
@ 2010-01-03 21:26               ` Drew Adams
  2010-01-03 21:33                 ` Lennart Borgman
  2010-02-20 17:32                 ` Drew Adams
  0 siblings, 2 replies; 13+ messages in thread
From: Drew Adams @ 2010-01-03 21:26 UTC (permalink / raw)
  To: 'Lennart Borgman'; +Cc: 5299

> >> Didn't we make a special workaround on w32 for this to 
> >> work? I thought that workaround was needed. It did put
> >> the content of the bug report on the clipboard etc.
> >>
> >> Is that what you have been using before, Drew, or?
> >
> > Sorry, I don't know what you are referring to, Lennart.
> >
> > I have always used vanilla Emacs with `emacs -Q' to report 
> > bugs.  I have, personally, never employed any "special
> > workaround on w32". I don't know anything about such a workaround.
> >
> > Or perhaps you are referring to something that Emacs did 
> > under the covers? If so, I know nothing about it - I've
> > never tried to follow the `report-emacs-bug'
> > code or the Emacs mail code.
> 
> If you were using it you should have noticed because it was not
> totally transparent. The trouble was the restriction on the command
> line length in w32. Because of this we could not send the message this
> way to the default mail client. Instead we did a two step workaround:
> 
> 1) We first put the message on the clipboard and then created a
> shorter mail message that said that the real content was on the
> clipboard.
> 
> 2) This shorter message was sent to the default mail client and should
> up for editing before sending.
> 
> I do not know if this works any more however. I do not use it myself
> anymore since using it with web mail (gmail) is a bit clumsy. I just
> cut and paste instead.
> 
> But for those using a w32 mail client it should still be usable I
> believe. Or has someone found a workaround for the problem with the
> command line length restriction?

Apparently, you _are_ talking about something that Emacs did, and not something
that we users did. When you say "we", you apparently mean Emacs.

In that case, yes, as I already indicated in detail earlier, I pasted the true
bug-report content to the email message prepared by Emacs (via my mail client).
Please read my earlier message that details this.

But I don't even get to that stage now. I don't get an email-client message
created. I doubt that Outlook is ever invoked in any way. As soon as I type
`yes' to confirm that I want to send a bug report, the error is raised.

> > Are you able to reproduce the bug using Jason's pretest 
> > build and `emacs -Q'?

Well, are you? Have you tried using Jason's build with emacs -Q and an external
email client? That is the first thing to try.







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such  file /bin/bash
  2010-01-03 21:26               ` Drew Adams
@ 2010-01-03 21:33                 ` Lennart Borgman
  2010-01-03 21:42                   ` Drew Adams
  2010-02-20 17:32                 ` Drew Adams
  1 sibling, 1 reply; 13+ messages in thread
From: Lennart Borgman @ 2010-01-03 21:33 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5299

On Sun, Jan 3, 2010 at 10:26 PM, Drew Adams <drew.adams@oracle.com> wrote:
>
> In that case, yes, as I already indicated in detail earlier, I pasted the true
> bug-report content to the email message prepared by Emacs (via my mail client).
> Please read my earlier message that details this.


Sorry, I missed the message where you described this. Yes, you were
using the workaround I described.


> But I don't even get to that stage now. I don't get an email-client message
> created. I doubt that Outlook is ever invoked in any way. As soon as I type
> `yes' to confirm that I want to send a bug report, the error is raised.
>
>> > Are you able to reproduce the bug using Jason's pretest
>> > build and `emacs -Q'?
>
> Well, are you? Have you tried using Jason's build with emacs -Q and an external
> email client? That is the first thing to try.


I believed it stopped working at some time, but I thought it was due
to some trouble I had with the gmail (additional) workaround (or maybe
some bad merge in my patched version) so I did not look further.

I have had a bit mess trying to get the gmail add-on to work. I would
prefer not to test at the moment.






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 21:33                 ` Lennart Borgman
@ 2010-01-03 21:42                   ` Drew Adams
  2010-01-03 21:45                     ` Lennart Borgman
  0 siblings, 1 reply; 13+ messages in thread
From: Drew Adams @ 2010-01-03 21:42 UTC (permalink / raw)
  To: 'Lennart Borgman'; +Cc: 5299

> >> > Are you able to reproduce the bug using Jason's pretest
> >> > build and `emacs -Q'?
> >
> > Well, are you? Have you tried using Jason's build with 
> > emacs -Q and an external email client? That is the
> > first thing to try.
> 
> I believed it stopped working at some time, but I thought it was due
> to some trouble I had with the gmail (additional) workaround (or maybe
> some bad merge in my patched version) so I did not look further.
> 
> I have had a bit mess trying to get the gmail add-on to work. I would
> prefer not to test at the moment.

Perhaps you can determine when it stopped working. I assume you mean that it
stopped working for "CVS" Emacs, sometime after 23.1 was released. The 23.1
release works fine.







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

* bug#5299: 23.1.91; Cannot send bug report - get error no such  file /bin/bash
  2010-01-03 21:42                   ` Drew Adams
@ 2010-01-03 21:45                     ` Lennart Borgman
  0 siblings, 0 replies; 13+ messages in thread
From: Lennart Borgman @ 2010-01-03 21:45 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5299

On Sun, Jan 3, 2010 at 10:42 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> >> > Are you able to reproduce the bug using Jason's pretest
>> >> > build and `emacs -Q'?
>> >
>> > Well, are you? Have you tried using Jason's build with
>> > emacs -Q and an external email client? That is the
>> > first thing to try.
>>
>> I believed it stopped working at some time, but I thought it was due
>> to some trouble I had with the gmail (additional) workaround (or maybe
>> some bad merge in my patched version) so I did not look further.
>>
>> I have had a bit mess trying to get the gmail add-on to work. I would
>> prefer not to test at the moment.
>
> Perhaps you can determine when it stopped working. I assume you mean that it
> stopped working for "CVS" Emacs, sometime after 23.1 was released. The 23.1
> release works fine.


Sorry, but I can't remember at the moment. There has been too many
small troubles around this.






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

* bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash
  2010-01-03 21:26               ` Drew Adams
  2010-01-03 21:33                 ` Lennart Borgman
@ 2010-02-20 17:32                 ` Drew Adams
  1 sibling, 0 replies; 13+ messages in thread
From: Drew Adams @ 2010-02-20 17:32 UTC (permalink / raw)
  To: 5299, 'Lennart Borgman'

This is still a bug. It prevents Windows users from filing Emacs bugs using `M-x
report-emacs-bug'.

In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600)
 of 2010-01-02 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'







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

end of thread, other threads:[~2010-02-20 17:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-03 18:54 bug#5299: 23.1.91; Cannot send bug report - get error no such file /bin/bash Drew Adams
2010-01-03 19:21 ` Eli Zaretskii
2010-01-03 19:29   ` Drew Adams
2010-01-03 19:47     ` Eli Zaretskii
2010-01-03 19:55       ` Drew Adams
2010-01-03 20:28         ` Lennart Borgman
2010-01-03 20:58           ` Drew Adams
2010-01-03 21:10             ` Lennart Borgman
2010-01-03 21:26               ` Drew Adams
2010-01-03 21:33                 ` Lennart Borgman
2010-01-03 21:42                   ` Drew Adams
2010-01-03 21:45                     ` Lennart Borgman
2010-02-20 17:32                 ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).