Bug#925423: elpa-debian-el: unable to report a bug in package reportbug

2019-03-25 Thread Salman Mohammadi
On Sun, 24 Mar 2019 22:19:58 -0300 David Bremner  wrote:

> If possible, I'd suggest using a different value of

> message-send-mail-function (I think it's initialized from
> send-mail-function).
>
> d
>
>

Dear David,

I assigned  *message-smtpmail-send-it* to the variable and I could send
the message with no problem without using an external mail client.



Bug#925423: elpa-debian-el: unable to report a bug in package reportbug

2019-03-25 Thread David Bremner
Salman Mohammadi  writes:

Control: reassign -1 emacs-common
Control: tag -1 upstream
Control: severity -1 normal

> The content of the variable *message-send-mail-function* as you have
> correctly guessed is *message-send-mail-with-mailclient*.

OK. I'm reassiging to emacs, since the problem is more general than this
one package.

> I don't know how to test this feature (e.g. sending using smtp) without
> spamming BTS.

You can change the the "To: " field in the composition buffer before
sending. I just changed my own address to test.

> I should also add that I have this bug only with *reportbug* package and
> not other packages, that I have previously tried.

I haven't checked all the details, but apparently any time the bug
script for a package (in /usr/share/bug//script) generates
information this is included as an attachement. On the whole this is
probably a good thing, most MUAs are much better at dealing with large
attachments than with miles of inline text.



Bug#925423: elpa-debian-el: unable to report a bug in package reportbug

2019-03-25 Thread Salman Mohammadi
Dear David,


The content of the variable *message-send-mail-function* as you have
correctly guessed is *message-send-mail-with-mailclient*.

I don't know how to test this feature (e.g. sending using smtp) without
spamming BTS.


I should also add that I have this bug only with *reportbug* package and
not other packages, that I have previously tried.


On Sun, 24 Mar 2019 22:19:58 -0300 David Bremner  wrote:

> Salman Mohammadi  writes:
>
> > Package: elpa-debian-el
> > Version: 37.8
> > Severity: important
> >
> > Dear Maintainer,
> >
> > I'm unable to report a bug which is affecting the package *reportbug*.
> >
> > Steps to reproduce:
> >
> > 1. M-x debian-bug
> > 2. Report a bug for a [P]ackage or [F]ile: P
> > 3. package name: reportbug
> > 4. Severity: normal
> > 5. (Very) brief summary of problem: dummy bug
> >
> >
> > but When I click on *Send Message*, a new window in Mozilla Thunderbird
> > will be shown with the following content:
> >
> >
> > --=-=-=
> > Content-Type: text/plain
> >
> > Package: reportbug
> > Version: 7.5.2
> > Severity: normal
>
> This seems to be an upstream bug in emacs. What is your setting of the
> variable message-send-mail-function (you can check with C-h v)?
>
> If, as I suspect, it is message-send-mail-with-mailclient, then I think
> I understand the problem you are seeing. Basically that function only
> supports text/plain messages, while debian-bug sends it MIME.
>
> If possible, I'd suggest using a different value of
> message-send-mail-function (I think it's initialized from
> send-mail-function).
>
> d
>
>



Bug#925423: elpa-debian-el: unable to report a bug in package reportbug

2019-03-24 Thread David Bremner
Salman Mohammadi  writes:

> Package: elpa-debian-el
> Version: 37.8
> Severity: important
>
> Dear Maintainer,
>
> I'm unable to report a bug which is affecting the package *reportbug*.
>
> Steps to reproduce:
>
> 1. M-x debian-bug
> 2. Report a bug for a [P]ackage or [F]ile: P
> 3. package name: reportbug
> 4. Severity: normal
> 5. (Very) brief summary of problem: dummy bug
>
>
> but When I click on *Send Message*, a new window in Mozilla Thunderbird
> will be shown with the following content:
>
>
> --=-=-=
> Content-Type: text/plain
>
> Package: reportbug
> Version: 7.5.2
> Severity: normal

This seems to be an upstream bug in emacs. What is your setting of the
variable message-send-mail-function (you can check with C-h v)?

If, as I suspect, it is message-send-mail-with-mailclient, then I think
I understand the problem you are seeing. Basically that function only
supports text/plain messages, while debian-bug sends it MIME.

If possible, I'd suggest using a different value of
message-send-mail-function (I think it's initialized from
send-mail-function).

d



Bug#925423: elpa-debian-el: unable to report a bug in package reportbug

2019-03-24 Thread Salman Mohammadi
Package: elpa-debian-el
Version: 37.8
Severity: important

Dear Maintainer,

I'm unable to report a bug which is affecting the package *reportbug*.

Steps to reproduce:

1. M-x debian-bug
2. Report a bug for a [P]ackage or [F]ile: P
3. package name: reportbug
4. Severity: normal
5. (Very) brief summary of problem: dummy bug


but When I click on *Send Message*, a new window in Mozilla Thunderbird
will be shown with the following content:


--=-=-=
Content-Type: text/plain

Package: reportbug
Version: 7.5.2
Severity: normal

Dear Maintainer,

-- Package-specific info:

--=-=-=
Content-Type: text/plain
Content-Disposition: attachment
Content-Description: Bug script output

** /home/salman/.reportbugrc:
reportbug_version "7.5.2"
mode novice
ui text
realname "Salman Mohammadi"
email "sal...@smoha.org"

--=-=-=
Content-Type: text/plain


*** Reporter, please consider answering these questions, where
appropriate ***

* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?

*** End of the template - remove these template lines ***


which makes it unable to send the message, because of the header. I get
the following message as the error message from BTS:

>Your message didn't have a Package: line at the very first line of the
>mail body (part of the pseudo-header), or didn't have a Package: line
>at all. Unfortunatly, this means that your message has been ignored
>completely.
>
>Without this information we are unable to categorise or otherwise deal
>with your problem report. Please _resubmit_ your report to
>sub...@bugs.debian.org and tell us which package the
>report is for. For help, check out
>https://www.debian.org/Bugs/Reporting.
>
>Your message was dated Sun, 24 Mar 2019 22:39:07 +0100 and had
>message-id 
>and subject reportbug: SOMETHING-HERE.
>The complete text of it is attached to this message.
>
>If you need any assistance or explanation please contact
>ow...@bugs.debian.org and include the the attached
>message.
>
>If you didn't send the attached message (spam was sent forging your
>from address), we apologize; please disregard this message



-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-debian-el depends on:
ii bzip2 1.0.6-9
ii dpkg 1.19.5
ii emacsen-common 3.0.4
ii reportbug 7.5.2
ii xz-utils 5.2.4-1

Versions of packages elpa-debian-el recommends:
ii emacs 1:26.1+1-3.2
ii emacs-gtk [emacs] 1:26.1+1-3.2
ii wget 1.20.1-1

elpa-debian-el suggests no packages.

-- no debconf information

--=-=-=--