Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • M mlib_devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ALPACA
  • CASPERCASPER
  • mlib_devel
  • Merge requests
  • !6

Handle user IP with no ports

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Brett Hopkins requested to merge basmundhopk/mlib_devel:brett/handle-empty-user-ip-ports into rfsocs/vmc-refactor Aug 19, 2026
  • Overview 0
  • Commits 1
  • Changes 1

gen_block_file.m can generate a module with an empty ports: entry when the module has no external ports (gateway-in & gateway-out). When parsed from YAML, this value becomes None. Probably won't happen in any real applications, but came up during testing.

_instantiate_user_ip() currently assumes usermodule['ports'] is always iterable, causing the backend to fail with:

TypeError: 'NoneType' object is not iterable
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: brett/handle-empty-user-ip-ports