Opened 3 months ago

Last modified 2 months ago

#6167 new defect

Release automation fails on Windows

Reported by: Ross Assignee:
Priority: P3 Milestone:
Module: Automation Keywords:
Cc: Sebastian, tlucas Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

Windows 10
Python 2.7

How to reproduce

  1. Setup repositories as described in #5994.
  2. Attempt to run release automation as described in #5994.

Observed behaviour

The release automation fails on Windows with the error:

Traceback (most recent call last):
  File "D:\dev\scratch5994\adblockpluschrome\build.py", line 17, in <module>
        import buildtools.build
  File "D:\dev\scratch5994\adblockpluschrome\buildtools\build.py", line 139, in <module>
    make_argument('output_file', nargs='?')
  File "D:\dev\scratch5994\adblockpluschrome\buildtools\build.py", line 42, in wrapper
    short_desc, long_desc = func.__doc__.split(os.linesep + os.linesep, 1)
ValueError: need more than 1 value to unpack

Expected behaviour

Release automation to successfully run on Windows too. We should probably split using regex as described by Wladimir here.

Change History (2)

comment:1 Changed 3 months ago by tlucas

  • Priority changed from Unknown to P3
  • Ready set

comment:2 Changed 2 months ago by fhd

  • Cc trev removed
Note: See TracTickets for help on using tickets.