[GH-ISSUE #414] Activation Code Error #360

Closed
opened 2026-03-02 23:39:45 +03:00 by kerem · 8 comments
Owner

Originally created by @songursamet on GitHub (Jan 4, 2022).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/414

My bot gives that error anyone can help me, please? I was using the same interact.jason 4-5 months ago.

Traceback (most recent call last):
  File "C:\Users\samet\Desktop\Insomniac\insomniac\action_get_my_profile_info.py", line 9, in get_my_profile_info
    profile_view = TabBarView(device).navigate_to_profile()
  File "C:\Users\samet\Desktop\Insomniac\insomniac\views.py", line 140, in navigate_to_profile
    self.navigate_to(TabBarTabs.PROFILE)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\views.py", line 203, in navigate_to
    raise LanguageNotEnglishException()
insomniac.views.LanguageNotEnglishException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 313, in run
    self.prepare_session_state(args, device_wrapper, app_version, save_profile_info=True)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 267, in prepare_session_state
    self.session_state.my_following_count = get_my_profile_info(device, self.username)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\action_get_my_profile_info.py", line 27, in get_my_profile_info
    print(COLOR_FAIL + describe_exception(e) + COLOR_ENDC)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\utils.py", line 370, in describe_exception
    trace = ''.join(traceback.format_exception(etype=type(ex), value=ex, tb=ex.__traceback__)) if with_stacktrace else ''
TypeError: format_exception() got an unexpected keyword argument 'etype'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\samet\Desktop\Insomniac\start.py", line 4, in <module>
    insomniac.run(activation_code)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\__init__.py", line 33, in run
    insomniac_session.run()
  File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 345, in run
    print(COLOR_FAIL + describe_exception(ex) + COLOR_ENDC)
  File "C:\Users\samet\Desktop\Insomniac\insomniac\utils.py", line 370, in describe_exception
    trace = ''.join(traceback.format_exception(etype=type(ex), value=ex, tb=ex.__traceback__)) if with_stacktrace else ''
TypeError: format_exception() got an unexpected keyword argument 'etype'
Originally created by @songursamet on GitHub (Jan 4, 2022). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/414 My bot gives that error anyone can help me, please? I was using the same interact.jason 4-5 months ago. ``` Traceback (most recent call last): File "C:\Users\samet\Desktop\Insomniac\insomniac\action_get_my_profile_info.py", line 9, in get_my_profile_info profile_view = TabBarView(device).navigate_to_profile() File "C:\Users\samet\Desktop\Insomniac\insomniac\views.py", line 140, in navigate_to_profile self.navigate_to(TabBarTabs.PROFILE) File "C:\Users\samet\Desktop\Insomniac\insomniac\views.py", line 203, in navigate_to raise LanguageNotEnglishException() insomniac.views.LanguageNotEnglishException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 313, in run self.prepare_session_state(args, device_wrapper, app_version, save_profile_info=True) File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 267, in prepare_session_state self.session_state.my_following_count = get_my_profile_info(device, self.username) File "C:\Users\samet\Desktop\Insomniac\insomniac\action_get_my_profile_info.py", line 27, in get_my_profile_info print(COLOR_FAIL + describe_exception(e) + COLOR_ENDC) File "C:\Users\samet\Desktop\Insomniac\insomniac\utils.py", line 370, in describe_exception trace = ''.join(traceback.format_exception(etype=type(ex), value=ex, tb=ex.__traceback__)) if with_stacktrace else '' TypeError: format_exception() got an unexpected keyword argument 'etype' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\samet\Desktop\Insomniac\start.py", line 4, in <module> insomniac.run(activation_code) File "C:\Users\samet\Desktop\Insomniac\insomniac\__init__.py", line 33, in run insomniac_session.run() File "C:\Users\samet\Desktop\Insomniac\insomniac\session.py", line 345, in run print(COLOR_FAIL + describe_exception(ex) + COLOR_ENDC) File "C:\Users\samet\Desktop\Insomniac\insomniac\utils.py", line 370, in describe_exception trace = ''.join(traceback.format_exception(etype=type(ex), value=ex, tb=ex.__traceback__)) if with_stacktrace else '' TypeError: format_exception() got an unexpected keyword argument 'etype' ```
kerem closed this issue 2026-03-02 23:39:45 +03:00
Author
Owner

@emre-aktas commented on GitHub (Jan 5, 2022):

Hello mate, if you have an activation code, can you write to me via mail or telegram? I would like to ask a few questions. Thank you for attention.

magma017@gmail.com
@emredeveloper

<!-- gh-comment-id:1005577706 --> @emre-aktas commented on GitHub (Jan 5, 2022): Hello mate, if you have an activation code, can you write to me via mail or telegram? I would like to ask a few questions. Thank you for attention. magma017@gmail.com @emredeveloper
Author
Owner

@songursamet commented on GitHub (Jan 5, 2022):

Hello mate, if you have an activation code, can you write to me via mail or telegram? I would like to ask a few questions. Thank you for attention.

magma017@gmail.com @emredeveloper

I'm sorry I don't have an activation code. I was using this bot for free a few months ago but I'm not sure if it works still or not.

<!-- gh-comment-id:1005588552 --> @songursamet commented on GitHub (Jan 5, 2022): > Hello mate, if you have an activation code, can you write to me via mail or telegram? I would like to ask a few questions. Thank you for attention. > > [magma017@gmail.com](mailto:magma017@gmail.com) @emredeveloper I'm sorry I don't have an activation code. I was using this bot for free a few months ago but I'm not sure if it works still or not.
Author
Owner

@dpw1 commented on GitHub (Feb 1, 2022):

I am experiencing the same issue. Just to make it clear, to use it I'll need to purchase an activation code regardless? I thought it was only for the additional features.

<!-- gh-comment-id:1026528274 --> @dpw1 commented on GitHub (Feb 1, 2022): I am experiencing the same issue. Just to make it clear, to use it I'll need to purchase an activation code regardless? I thought it was only for the additional features.
Author
Owner

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

Anyone found a fix for this one ?

<!-- gh-comment-id:1028506464 --> @lambonas commented on GitHub (Feb 3, 2022): Anyone found a fix for this one ?
Author
Owner

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

Not really. If the app is meant to be used only for paid users that is ok, but it would be nice to add it to the readme.

<!-- gh-comment-id:1029477164 --> @dpw1 commented on GitHub (Feb 3, 2022): Not really. If the app is meant to be used only for paid users that is ok, but it would be nice to add it to the readme.
Author
Owner

@lambonas commented on GitHub (Feb 4, 2022):

Not really. If the app is meant to be used only for paid users that is ok, but it would be nice to add it to the readme.

its not, I've activated and still get this error dude.

<!-- gh-comment-id:1029537666 --> @lambonas commented on GitHub (Feb 4, 2022): > Not really. If the app is meant to be used only for paid users that is ok, but it would be nice to add it to the readme. its not, I've activated and still get this error dude.
Author
Owner

@lambonas commented on GitHub (Feb 4, 2022):

@dpw1 the fix is here. https://github.com/alexal1/Insomniac/pull/415 thanks to @gtcdevop all is working well on my end, open up the device_dacade.py and edit the is alive code to server alive.

<!-- gh-comment-id:1029540038 --> @lambonas commented on GitHub (Feb 4, 2022): @dpw1 the fix is here. https://github.com/alexal1/Insomniac/pull/415 thanks to @gtcdevop all is working well on my end, open up the device_dacade.py and edit the is alive code to server alive.
Author
Owner

@alexal1 commented on GitHub (Mar 13, 2022):

Error was on latest Python version only, fixed in v3.8.1

<!-- gh-comment-id:1066155237 --> @alexal1 commented on GitHub (Mar 13, 2022): Error was on latest Python version only, fixed in v3.8.1
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/Insomniac#360
No description provided.