MemeFiBot icon indicating copy to clipboard operation
MemeFiBot copied to clipboard

ERROR Unknown error: local variable 'nonce' referenced before assignment

Open wahyuda110 opened this issue 1 year ago • 11 comments

2024-03-31 12:45:49 | SUCCESS | 215 - 11 | Successful tapped! | Balance: 1148 (+265) | Boss health: 3852 2024-03-31 12:45:49 | INFO | 252 - Sleep 18s 2024-03-31 12:45:50 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:53 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:56 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:59 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:02 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:05 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:07 | SUCCESS | 215 - 11 | Successful tapped! | Balance: 1148 (+0) | Boss health: 3852 2024-03-31 12:46:07 | INFO | 252 - Sleep 16s 2024-03-31 12:46:08 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:11 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:14 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:17 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:20 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:23 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment

wahyuda110 avatar Mar 31 '24 12:03 wahyuda110

how to fix bro?

wahyuda110 avatar Mar 31 '24 12:03 wahyuda110

2024-03-31 12:45:49 | SUCCESS | 215 - 11 | Successful tapped! | Balance: 1148 (+265) | Boss health: 3852 2024-03-31 12:45:49 | INFO | 252 - Sleep 18s 2024-03-31 12:45:50 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:53 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:56 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:45:59 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:02 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:05 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:07 | SUCCESS | 215 - 11 | Successful tapped! | Balance: 1148 (+0) | Boss health: 3852 2024-03-31 12:46:07 | INFO | 252 - Sleep 16s 2024-03-31 12:46:08 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:11 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:14 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:17 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:20 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-03-31 12:46:23 | ERROR | 243 - 1 | Unknown error: local variable 'nonce' referenced before assignment

strangly in fact, this shouldn't be the case

shamhi avatar Mar 31 '24 14:03 shamhi

try to update repository, I added turbo and energy free boosts apply

shamhi avatar Mar 31 '24 14:03 shamhi

try to update repository, I added turbo and energy free boosts apply

already update repository and still get same error

2024-04-02 01:16:07 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:10 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:13 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:16 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:19 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment

EziiPz avatar Apr 01 '24 18:04 EziiPz

try to update repository, I added turbo and energy free boosts apply

already update repository and still get same error

2024-04-02 01:16:07 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:10 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:13 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:16 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:19 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment

python version?

shamhi avatar Apr 01 '24 18:04 shamhi

try to update repository, I added turbo and energy free boosts apply

already update repository and still get same error 2024-04-02 01:16:07 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:10 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:13 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:16 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:16:19 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment

python version?

10.9,, when the firstime bot working normaly, because i change api id and hast to another acccount, this error show up now

EziiPz avatar Apr 01 '24 18:04 EziiPz

but auto tap working normaly,, error always show up like this.

2024-04-02 01:33:59 | SUCCESS | 240 - ezii | Successful tapped! | Balance: 52486 (+990) | Boss health: 1929449 2024-04-02 01:33:59 | INFO | 284 - ezii| Minimum energy reached: 16 2024-04-02 01:33:59 | INFO | 285 - ezii| Sleep 200s 2024-04-02 01:34:01 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:34:04 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:34:07 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:34:10 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:34:13 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment 2024-04-02 01:34:16 | ERROR | 295 - 1 | Unknown error: local variable 'nonce' referenced before assignment

EziiPz avatar Apr 01 '24 18:04 EziiPz

and this. 2024-04-02 00:56:36 | ERROR | 97 - 1 | Unknown error while retrieving Access Token: 400, message='Bad Request', url=URL('https://api-gw-tg.memefi.club/graphql') 2024-04-02 00:56:39 | ERROR | 116 - 1 | Unknown error while retrieving Profile Data: 'NoneType' object is not subscriptable

EziiPz avatar Apr 01 '24 18:04 EziiPz

and this. 2024-04-02 00:56:36 | ERROR | 97 - 1 | Unknown error while retrieving Access Token: 400, message='Bad Request', url=URL('https://api-gw-tg.memefi.club/graphql') 2024-04-02 00:56:39 | ERROR | 116 - 1 | Unknown error while retrieving Profile Data: 'NoneType' object is not subscriptable

maybe you never don't write to original memefi bot?

shamhi avatar Apr 02 '24 12:04 shamhi

use python 3.11 and if you are on Mac use the Docker file

johnayinde avatar Jun 07 '24 09:06 johnayinde

use python 3.11 and if you are on Mac use the Docker file

I m using docker but have error

#9 7.104    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.1/301.1 kB 18.4 MB/s eta 0:00:00
#9 7.158 Building wheels for collected packages: pyaes, TgCrypto
#9 7.159   Building wheel for pyaes (setup.py): started
#9 7.275   Building wheel for pyaes (setup.py): finished with status 'done'
#9 7.276   Created wheel for pyaes: filename=pyaes-1.6.1-py3-none-any.whl size=26346 sha256=ab1f814f4555073f23fefb85524d2ff57db460de9819c32375873dcefb583d5e
#9 7.276   Stored in directory: /tmp/pip-ephem-wheel-cache-v38v4fzq/wheels/d6/84/5f/ea6aef85a93c7e1922486369874f4740a5642d261e09c59140
#9 7.279   Building wheel for TgCrypto (pyproject.toml): started
#9 7.360   Building wheel for TgCrypto (pyproject.toml): finished with status 'error'
#9 7.363   error: subprocess-exited-with-error
#9 7.363   
#9 7.363   × Building wheel for TgCrypto (pyproject.toml) did not run successfully.
#9 7.363   │ exit code: 1
#9 7.363   ╰─> [22 lines of output]
#9 7.363       running bdist_wheel
#9 7.363       running build
#9 7.363       running build_py
#9 7.363       creating build
#9 7.363       creating build/lib.linux-aarch64-cpython-310
#9 7.363       creating build/lib.linux-aarch64-cpython-310/tests
#9 7.363       copying tests/__init__.py -> build/lib.linux-aarch64-cpython-310/tests
#9 7.363       creating build/lib.linux-aarch64-cpython-310/tests/ctr
#9 7.363       copying tests/ctr/__init__.py -> build/lib.linux-aarch64-cpython-310/tests/ctr
#9 7.363       copying tests/ctr/test_ctr.py -> build/lib.linux-aarch64-cpython-310/tests/ctr
#9 7.363       creating build/lib.linux-aarch64-cpython-310/tests/cbc
#9 7.363       copying tests/cbc/__init__.py -> build/lib.linux-aarch64-cpython-310/tests/cbc
#9 7.363       copying tests/cbc/test_cbc.py -> build/lib.linux-aarch64-cpython-310/tests/cbc
#9 7.363       creating build/lib.linux-aarch64-cpython-310/tests/ige
#9 7.363       copying tests/ige/__init__.py -> build/lib.linux-aarch64-cpython-310/tests/ige
#9 7.363       copying tests/ige/test_ige.py -> build/lib.linux-aarch64-cpython-310/tests/ige
#9 7.363       running build_ext
#9 7.363       building 'tgcrypto' extension
#9 7.363       creating build/temp.linux-aarch64-cpython-310
#9 7.363       creating build/temp.linux-aarch64-cpython-310/tgcrypto
#9 7.363       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c tgcrypto/aes256.c -o build/temp.linux-aarch64-cpython-310/tgcrypto/aes256.o
#9 7.363       error: command 'gcc' failed: No such file or directory
#9 7.363       [end of output]
#9 7.363   
#9 7.363   note: This error originates from a subprocess, and is likely not a problem with pip.
#9 7.363   ERROR: Failed building wheel for TgCrypto
#9 7.364 Successfully built pyaes
#9 7.364 Failed to build TgCrypto
#9 7.364 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TgCrypto)
#9 ERROR: process "/bin/sh -c pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1
------
 > [bot 5/6] RUN pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt:
7.363       creating build/temp.linux-aarch64-cpython-310/tgcrypto
7.363       gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c tgcrypto/aes256.c -o build/temp.linux-aarch64-cpython-310/tgcrypto/aes256.o
7.363       error: command 'gcc' failed: No such file or directory
7.363       [end of output]
7.363   
7.363   note: This error originates from a subprocess, and is likely not a problem with pip.
7.363   ERROR: Failed building wheel for TgCrypto
7.364 Successfully built pyaes
7.364 Failed to build TgCrypto
7.364 ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TgCrypto)
------
failed to solve: process "/bin/sh -c pip3 install --no-warn-script-location --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

clever-giraffe avatar Jun 29 '24 11:06 clever-giraffe