- Add ComboBox for ringtone selection in Call Settings - Convert MKV ringtones to WAV format (Linphone only supports WAV) - Fix ComboSetting to support dialPlan type for international prefix - Disable account devices feature to prevent API errors - Disable automatic update check on startup - Add ringtone fallback to default when custom file not found - Fix ringtone dropdown to not override setting on initialization Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
885 B
Markdown
Executable file
31 lines
885 B
Markdown
Executable file
# Python Wrapper Build Fixes
|
|
|
|
## Problem
|
|
|
|
The Python wrapper generation fails during build with errors:
|
|
|
|
1. `AttributeError: 'NoneType' object has no attribute 'split'` in metadoc.py
|
|
2. Exceptions about missing `maybenil`/`notnil` annotations in abstractapi.py
|
|
|
|
## Solution
|
|
|
|
### metadoc.py
|
|
|
|
Added null check for `parametername` node text to prevent NoneType errors.
|
|
|
|
### abstractapi.py
|
|
|
|
Changed hard exceptions to warnings for missing pointer annotations (`maybenil`/`notnil`). The code now defaults to `maybenil=True` when annotation is missing.
|
|
|
|
## Apply Patches
|
|
|
|
```bash
|
|
cd external/linphone-sdk
|
|
patch -p1 < ../../fixes/python-wrapper-build-fix/metadoc.patch
|
|
patch -p1 < ../../fixes/python-wrapper-build-fix/abstractapi.patch
|
|
```
|
|
|
|
## Files
|
|
|
|
- `metadoc.patch` - Null check fix for parametername parsing
|
|
- `abstractapi.patch` - Exception to warning conversion for pointer annotations
|