Skip to content

fix: use getint() for findSizeLimit to prevent TypeError - #172

Merged
anderslindho merged 1 commit into
ChannelFinder:masterfrom
roycpro:master
Aug 10, 2026
Merged

fix: use getint() for findSizeLimit to prevent TypeError#172
anderslindho merged 1 commit into
ChannelFinder:masterfrom
roycpro:master

Conversation

@roycpro

Copy link
Copy Markdown
Contributor

This MR fixes a runtime TypeError in the ChannelFinder store (cfstore) caused by configuration values being interpreted as strings instead of integers.

ERROR:recceiver.cfstore CF_COMMIT FAILURE: [Failure instance: Traceback: <class 'TypeError'>: 'str' object cannot be interpreted as an integer
/usr/lib/python3/dist-packages/twisted/python/threadpool.py:269:inContext
/usr/lib/python3/dist-packages/twisted/python/threadpool.py:285:
/usr/lib/python3/dist-packages/twisted/python/context.py:117:callWithContext
/usr/lib/python3/dist-packages/twisted/python/context.py:82:callWithContext
/usr/lib/python3/dist-packages/recceiver/cfstore.py:583:_commit_with_thread
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1307:poll
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1169:_update_channelfinder
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1185:cf_set_chunked
]

This MR fixes a runtime TypeError in the ChannelFinder store (cfstore) caused by configuration values being interpreted as strings instead of integers.
ERROR:recceiver.cfstore CF_COMMIT FAILURE: [Failure instance: Traceback: <class 'TypeError'>: 'str' object cannot be interpreted as an integer
/usr/lib/python3/dist-packages/twisted/python/threadpool.py:269:inContext
/usr/lib/python3/dist-packages/twisted/python/threadpool.py:285:<lambda>
/usr/lib/python3/dist-packages/twisted/python/context.py:117:callWithContext
/usr/lib/python3/dist-packages/twisted/python/context.py:82:callWithContext
/usr/lib/python3/dist-packages/recceiver/cfstore.py:583:_commit_with_thread
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1307:poll
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1169:_update_channelfinder
/usr/lib/python3/dist-packages/recceiver/cfstore.py:1185:cf_set_chunked
]
@sonarqubecloud

Copy link
Copy Markdown

@jacomago
jacomago requested review from anderslindho and jacomago and removed request for jacomagoAugust 10, 2026 06:30
@anderslindho
anderslindho merged commit 1738567 into ChannelFinder:masterAug 10, 2026
15 checks passed
@anderslindho

Copy link
Copy Markdown
Contributor

Thanks @roycpro!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@roycpro@anderslindho@jacomago