[GH-ISSUE #13] error #185

Closed
opened 2026-03-13 23:06:52 +03:00 by kerem · 6 comments
Owner

Originally created by @077uyp on GitHub (Jan 6, 2022).
Original GitHub issue: https://github.com/alpkeskin/mosint/issues/13

Traceback (most recent call last):
File "/home/user/mosint/modules/SocialScan.py", line 1, in
from socialscan.util import Platforms, sync_execute_queries
File "/home/user/.local/lib/python3.9/site-packages/socialscan/util.py", line 9, in
import aiohttp
File "/usr/lib/python3/dist-packages/aiohttp/init.py", line 6, in
from .client import (
File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in
from . import hdrs, http, payload
File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in
from .http_parser import (
File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in
from .helpers import NO_EXTENSIONS, BaseTimerContext
File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in
class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str

Originally created by @077uyp on GitHub (Jan 6, 2022). Original GitHub issue: https://github.com/alpkeskin/mosint/issues/13 Traceback (most recent call last): File "/home/user/mosint/modules/SocialScan.py", line 1, in <module> from socialscan.util import Platforms, sync_execute_queries File "/home/user/.local/lib/python3.9/site-packages/socialscan/util.py", line 9, in <module> import aiohttp File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module> from .client import ( File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module> from . import hdrs, http, payload File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module> from .http_parser import ( File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module> from .helpers import NO_EXTENSIONS, BaseTimerContext File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module> class CeilTimeout(async_timeout.timeout): TypeError: function() argument 'code' must be code, not str
kerem closed this issue 2026-03-13 23:06:57 +03:00
Author
Owner

@opticoax747 commented on GitHub (Feb 3, 2022):

Same here, did u find a solution?

<!-- gh-comment-id:1028791953 --> @opticoax747 commented on GitHub (Feb 3, 2022): Same here, did u find a solution?
Author
Owner

@alpkeskin commented on GitHub (Feb 3, 2022):

What version of python are you using?

<!-- gh-comment-id:1028794028 --> @alpkeskin commented on GitHub (Feb 3, 2022): What version of python are you using?
Author
Owner

@opticoax747 commented on GitHub (Feb 3, 2022):

/mosint$ python3 --version
Python 3.7.3
@.***:~/mosint$

On Thu, Feb 3, 2022 at 10:45 AM Alp @.***> wrote:

What version of python are you using?


Reply to this email directly, view it on GitHub
https://github.com/alpkeskin/mosint/issues/13#issuecomment-1028794028,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5WACKML76OUAISQXCWHWTUZJFDJANCNFSM5LLZX4TA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID:
@.***>

<!-- gh-comment-id:1028853123 --> @opticoax747 commented on GitHub (Feb 3, 2022): /mosint$ python3 --version Python 3.7.3 ***@***.***:~/mosint$ On Thu, Feb 3, 2022 at 10:45 AM Alp ***@***.***> wrote: > What version of python are you using? > > — > Reply to this email directly, view it on GitHub > <https://github.com/alpkeskin/mosint/issues/13#issuecomment-1028794028>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AN5WACKML76OUAISQXCWHWTUZJFDJANCNFSM5LLZX4TA> > . > Triage notifications on the go with GitHub Mobile for iOS > <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> > or Android > <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. > > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@opticoax747 commented on GitHub (Feb 3, 2022):

both /mosint$ python3 --version
Python 3.7.3

and Python 2.7 are installed

can I force go to run with Python3?

<!-- gh-comment-id:1028854699 --> @opticoax747 commented on GitHub (Feb 3, 2022): > both /mosint$ python3 --version Python 3.7.3 and Python 2.7 are installed can I force go to run with Python3?
Author
Owner

@alpkeskin commented on GitHub (Feb 5, 2022):

I think there is a problem with your python version or the libraries you are using. The simple way is you can update the version of python3 and reinstall the aiohttp library.

<!-- gh-comment-id:1030610122 --> @alpkeskin commented on GitHub (Feb 5, 2022): I think there is a problem with your python version or the libraries you are using. The simple way is you can update the version of `python3` and reinstall the `aiohttp` library.
Author
Owner

@calganaygun commented on GitHub (Feb 5, 2022):

Hey, @opticoax747 I think this bug is related to socialscan package. Can you share your OS and aiohttp version?

To find the aiohttp version you're using:

python3 -m pip freeze | grep aiohttp
<!-- gh-comment-id:1030686645 --> @calganaygun commented on GitHub (Feb 5, 2022): Hey, @opticoax747 I think this bug is related to [socialscan package](https://github.com/iojw/socialscan). Can you share your OS and aiohttp version? To find the aiohttp version you're using: ````bash python3 -m pip freeze | grep aiohttp
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mosint#185
No description provided.