realpython / realpython/materials

Arguments did not match any overloaded call

Open
#147 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
5.2k
Forks
5.3k
Avg merge
4d 10h
Merged PRs (30d)
10

Description

https://github.com/realpython/materials/blob/705d8c026c02ab4a7a40b3598a18f340bc9fe82c/build-a-gui-with-wxpython/mp3_tag_editor.py#L94

TypeError: ListCtrl.InsertItem(): arguments did not match any overloaded call:
  overload 1: argument 1 has unexpected type 'int'
  overload 2: argument 2 has unexpected type 'NoneType'
  overload 3: argument 2 has unexpected type 'NoneType'
  overload 4: argument 2 has unexpected type 'NoneType'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with mp3_tag_editor.py at line 94 and reproduce the reported ListCtrl.InsertItem() TypeError. Trace the arguments passed there and determine the change needed so the call matches a valid overload; done means the example runs without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.