Skip to contentSkip to conversation

trouble with patman

U-Boot Hannes Schmelzer 2 participants 3 messages Feb 11, 2016 – Feb 15, 2016

lore
Share & tools
lore
#0 lore raw

hi,

i created some commit which i want to post into the mailing list usind patman.py.

I get following error, where i've no idea about the root cause ...

~/work/u-boot $ tools/patman/patman.py -n
Cleaned 1 patches
Traceback (most recent call last):
File "tools/patman/patman.py", line 158, in <module>
options.add_maintainers)
File "/home/schmelzerh/work/u-boot/tools/patman/series.py", line 222,
in MakeCcFile
raise_on_error=raise_on_error)
File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line
321, in BuildEmailList

     raw += LookupEmail(item, alias, raise_on_error=raise_on_error)

File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line
495, in LookupEmail
raise ValueError, msg
ValueError: Alias 'gpio' not found

any suggestions ?

many thanks and best regards,
Hannes

#1 lore raw

Hi Hannes,

Quoted 17 lines · Hannes Schmelzer

hi,

i created some commit which i want to post into the mailing list usind patman.py.

I get following error, where i've no idea about the root cause ...

~/work/u-boot $ tools/patman/patman.py -n
Cleaned 1 patches
Traceback (most recent call last):
File "tools/patman/patman.py", line 158, in <module>
options.add_maintainers)
File "/home/schmelzerh/work/u-boot/tools/patman/series.py", line 222, in
MakeCcFile
raise_on_error=raise_on_error)
File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line 321, in
BuildEmailList

Quoted 5 lines
    raw += LookupEmail(item, alias, raise_on_error=raise_on_error)

File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line 495, in
LookupEmail
raise ValueError, msg
ValueError: Alias 'gpio' not found

Do you have a gpio: tag in your patch subject? If so, patman will try to email the patch to the 'gpio' alias. You can use -t to ignore invalid aliases.

Quoted 6 lines

any suggestions ?

many thanks and best regards,
Hannes

Regards,
Simon

#2 lore raw
Quoted 1 line · Simon Glass

Hi Hannes,

Hi Simon,

Quoted 24 lines · Hannes Schmelzer
Quoted 17 lines

hi,

i created some commit which i want to post into the mailing list usind patman.py.

I get following error, where i've no idea about the root cause ...

~/work/u-boot $ tools/patman/patman.py -n
Cleaned 1 patches
Traceback (most recent call last):
File "tools/patman/patman.py", line 158, in <module>
options.add_maintainers)
File "/home/schmelzerh/work/u-boot/tools/patman/series.py", line 222, in
MakeCcFile
raise_on_error=raise_on_error)
File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line 321, in
BuildEmailList

Quoted 5 lines
     raw += LookupEmail(item, alias, raise_on_error=raise_on_error)

File "/home/schmelzerh/work/u-boot/tools/patman/gitutil.py", line 495, in
LookupEmail
raise ValueError, msg
ValueError: Alias 'gpio' not found

Quoted 3 lines

Do you have a gpio: tag in your patch subject? If so, patman will try to email the patch to the 'gpio' alias. You can use -t to ignore invalid aliases.

Yes ... that works for me.

Quoted 7 lines
Quoted 5 lines

any suggestions ?

many thanks and best regards,
Hannes

Regards,
Simonif

many thanks and best regards,
Hannes