smbclient.open_file() opens files with default share mode (read-only), which blocks subsequent rename/delete operations because the underlying SMB connection stays in the library's connection pool. Use share_access="rwd" to allow concurrent read/write/delete, making the move-after-read operation deterministically work. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| __init__.py | ||
| amazon_api.py | ||
| amazon_processor.py | ||
| database.py | ||
| mail_processor.py | ||
| main.py | ||
| scanner.py | ||
| scheduler.py | ||
| smb_processor.py | ||