Issue1214

Title Patchbomb produces traceback in Windows
Priority bug Status need-eg
Superseder Nosy List martinoconnor, pmezard, tonfa
Assigned To Topics windows

Created on 2008-07-06.19:22:47 by martinoconnor, last changed 2008-09-07.12:08:35 by tonfa.

Messages
msg6982 (view) Author: tonfa Date: 2008-09-07.12:08:34
We need some more information on this. I can't find the version used to report
the bug (76855b09baf7).
msg6492 (view) Author: pmezard Date: 2008-07-09.08:51:02
Probably not.
The traceback lines no longer match my version, the only reason I can see
reading the code is you try to send a patch without a commit message. It can
happen if a raw diff was imported or through convert. Maybe you remember what
the commit looked like (or maybe you can even export it and paste it here if
it's not too long) ?
msg6491 (view) Author: martinoconnor Date: 2008-07-09.08:44:09
I recall that I was trying to use gmail as my smtp provider. Gmail requires me
to use TLS. Perhaps this might affect it?
msg6490 (view) Author: pmezard Date: 2008-07-09.08:41:27
I have no problem under Windows with crew tip and the same script
msg6489 (view) Author: pmezard Date: 2008-07-09.08:39:37
Can you reproduce it with a standalone script ? I cannot see this error with
crew tip and the following commands:

$ hg init t
$ cd t
$ echo a > a
$ hg ci -Am t
adding a
$ cd ..
$ hg clone t t2
updating working directory
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd t2
$ echo a >> a
$ hg ci -Am t2
$ hg email -r 1 -t pmezard@gmail.com
msg6475 (view) Author: martinoconnor Date: 2008-07-06.19:22:44
C:\Workspace-HG\crew-stable-patches>hg --traceback email -r 6486 -t mercurial-de
vel@selenic.com
This patch series consists of 1 patches.

Traceback (most recent call last):
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "hgext\patchbomb.pyc", line 364, in patchbomb
  File "hgext\patchbomb.pyc", line 316, in getexportmsgs
  File "hgext\patchbomb.pyc", line 204, in makepatch
IndexError: list index out of range
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial@selenic.com
** Mercurial Distributed SCM (version 76855b09baf7)
Traceback (most recent call last):
  File "hg", line 20, in <module>
    mercurial.dispatch.run()
  File "mercurial\dispatch.pyc", line 20, in run
  File "mercurial\dispatch.pyc", line 29, in dispatch
  File "mercurial\dispatch.pyc", line 45, in _runcatch
  File "mercurial\dispatch.pyc", line 364, in _dispatch
  File "mercurial\dispatch.pyc", line 417, in _runcommand
  File "mercurial\dispatch.pyc", line 373, in checkargs
  File "mercurial\dispatch.pyc", line 356, in <lambda>
  File "hgext\patchbomb.pyc", line 364, in patchbomb
  File "hgext\patchbomb.pyc", line 316, in getexportmsgs
  File "hgext\patchbomb.pyc", line 204, in makepatch
IndexError: list index out of range
History
Date User Action Args
2008-09-07 12:08:35tonfasetnosy: + tonfa
messages: + msg6982
2008-09-07 12:06:15tonfasetstatus: chatting -> need-eg
nosy: pmezard, martinoconnor
2008-08-04 15:18:30djcsettopic: - patch
nosy: pmezard, martinoconnor
2008-07-09 08:51:03pmezardsetnosy: pmezard, martinoconnor
messages: + msg6492
2008-07-09 08:44:09martinoconnorsetnosy: pmezard, martinoconnor
messages: + msg6491
2008-07-09 08:41:27pmezardsetnosy: pmezard, martinoconnor
messages: + msg6490
2008-07-09 08:39:38pmezardsetstatus: unread -> chatting
nosy: + pmezard
messages: + msg6489
2008-07-06 21:32:04martinoconnorsettitle: Patchbomb produces stacktrace in Windows -> Patchbomb produces traceback in Windows
2008-07-06 19:22:47martinoconnorcreate