farnking / Test-Dragon-Forum-of-TBots

a fuzzer lab
1 stars 1 forks source link

Exception has occurred: SystemExit #17

Closed bettyteng21 closed 11 months ago

bettyteng21 commented 11 months ago

Bad connnection to the server for captcha

CnUserLoginWindow跳不出來

可以成功run,但是跳不出小視窗, 大概過了3分鐘就跳出這個error,terminal顯示如下

Starting Client TestDragon Task!
(^o^) CnTestDragon version 0.85.14 2023923
Warning: global project used before initialization.
It seems that the TestDragon API is not ready yet.
(0) Finished Waiting for tts: Hello, this your little T! It is so nice to see you again!
(0o0)
CnUser, done initiating this except CnUserLoginWindow!
(*o*) server not OK!
Bad connnection to the server for captcha!
Exception has occurred: SystemExit

File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 1598, in onCaptcha
  File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 1516, in __init__
  File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 603, in __init__
  File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 3472, in __init__
  File "C:\Users\betty\TestDragon\TestDragonPlayGround\CnTestDragon.py", line 94, in <module>
    CnTestingTask.CnTestDragonTask()
SystemExit: -1
farnking commented 11 months ago

剛才系統當了,已經重新開機。

bettyteng21 commented 11 months ago

剛剛誤關了,還是一樣沒解決

farnking commented 11 months ago

那個call stack還是一樣嗎?還有dump出來的螢幕資訊也確認沒有差異。 因為從這邊server看,好像是當在不同地方。 譬如login視窗有出來嗎?如果有出來,captcha有出來嗎?

bettyteng21 commented 11 months ago

和一開始一模一樣,有問題的地方也一樣,視窗也沒出來

farnking commented 11 months ago

我現在又把server打開了,你可以再試一次嗎?然後我們明天中午一點中在會議室一起debug,看server到底當在哪裡?

bettyteng21 commented 11 months ago

成功了~

bettyteng21 commented 11 months ago

但是又出現另一個問題,如下

details ``` Exception has occurred: SessionNotCreatedException Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 13409, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 15324, in webDriverManagerFromForum File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 71278, in start File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 71217, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 29797, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 39787, in __init__ File "C:\Users\farn\Documents\prgm\TestDragon\Server\clientDownloads\TestDragonr11921a25@ntu.edu.tw\TestDragonPlayGround\src\CnTestingTask.pyx", line 33606, in startMegaTBot selenium.common.exceptions.SessionNotCreatedException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line ```
bettyteng21 commented 11 months ago

解決了

farnking commented 11 months ago

你的帳號呢?

王凡

From: bettyteng21 @.> Sent: Wednesday, September 27, 2023 1:18 PM To: farnking/Test-Dragon-Forum-of-TBots @.> Cc: 王凡 @.>; Comment @.> Subject: Re: [farnking/Test-Dragon-Forum-of-TBots] Exception has occurred: SystemExit (Issue #17)

Closed #17https://github.com/farnking/Test-Dragon-Forum-of-TBots/issues/17 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/farnking/Test-Dragon-Forum-of-TBots/issues/17#event-10482626633, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFR6V33CFWHLMMUATA3VAZDX4OZHVANCNFSM6AAAAAA5HPWBUM. You are receiving this because you commented.Message ID: @.***>