Skip to content

Python 3 porting problem #56232

Closed
Closed

Description

@eqvis

Description of Issue

File "/usr/lib/python3/dist-packages/salt/modules/highstate_doc.py", line 626, in proccesser_markdown
requisites += _format_markdown_requisite(w.items()[0][0], w.items()[0][1])
TypeError: 'odict_items' object does not support indexing

What I did:

I used the example for highstate_doc adding some states to my top.sls.
Then I called: salt-call state.apply makereadme

Fixed by

replacing w.items() with list(w.items()) in above file

Activity

  1. xuhcc commented on Feb 26, 2020

    @xuhcc
    Contributor

    I got a similar error at states/acme.py", line 141, in cert. This patch resolves the issue: #56243

  2. added
    fixed-pls-verify
    bug
    Confirmed
    and removed on Apr 10, 2020
  3. added this to the Approved milestone on Apr 10, 2020
  4. sagetherage commented on May 19, 2020

    @sagetherage
    Contributor

    closing as fixed will be released in Sodium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedZRelease-Sodiumbugfixed-pls-verify

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions