Closed szymczag closed 1 year ago
Alright, this one was because of lack of bzip2
:
$ file lib/firefox.tar.bz2
lib/firefox.tar.bz2: bzip2 compressed data, block size = 900k
$ tar -xvf lib/firefox.tar.bz2
tar (child): cannot run bzip2: No such file or directory
tar (child): trying lbzip2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
after sudo apt install -y bzip2
I've tried again and I'm getting:
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location ./lib/chrome-linux/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
(Driver info: chromedriver=98.0.4755.0 (9d2bb122e34ec2449c9a81368cd6196b50ccb071-refs/heads/main@{#949505}),platform=Linux 5.15.0-75-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 178 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: '[cut]', ip: '[cut]', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-75-generic', java.version: '11.0.19'
Driver info: driver.version: unknown function=InitChromeWebDriver line=185
INFO[0026] Connecting to Instagram account... function=connectToInstagramWebDriver line=17
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xe8 pc=0x71bd23]
goroutine 1 [running]:
github.com/hbollon/igopher/internal/actions.connectToInstagramWebDriver(0xea1940)
/home/runner/work/IGopher/IGopher/internal/actions/login.go:19 +0x83
github.com/hbollon/igopher/internal/actions.ConnectToInstagram(...)
/home/runner/work/IGopher/IGopher/internal/actions/login.go:13
github.com/hbollon/igopher/internal/automation.LaunchBotTui()
/home/runner/work/IGopher/IGopher/internal/automation/bot.go:77 +0x279
main.main()
/home/runner/work/IGopher/IGopher/cmd/igopher/tui/IGopherTUI_prod.go:63 +0x12f
I've tried on two different linux hosts with exactly the same result.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please read the comments as well!
Hi there,
Describe the bug While running the app I'm getting an error:
To Reproduce Steps to reproduce the behavior:
Configure
and fill the username and password. Save and go back.Launch
, it will start the init process:INFO[0001] Downloading and installing dependencies... function=DownloadDependencies line=398 Linux_x64/949505/chrome-linux.zip sauce-connect.tar.gz: done! chrome-linux.zip: done! chromedriver.zip: done! firefox.tar.bz2: done! selenium-server.jar: done! htmlunit-driver.jar: done! geckodriver.tar.gz: done! proxy-login-automator: done! FATA[0038] Error handling firefox.tar.bz2: Error unzipping "./lib/firefox.tar.bz2": exit status 2 function=func1 line=504
$ cat logs/logs.log {"level":"info","msg":"Downloading and installing dependencies...","time":"2023-06-18T09:04:41Z"} {"level":"fatal","msg":"Error handling firefox.tar.bz2: Error unzipping \"./lib/firefox.tar.bz2\": exit status 2","time":"2023-06-18T09:05:12Z"} {"level":"info","msg":"Downloading and installing dependencies...","time":"2023-06-18T09:09:33Z"} {"level":"fatal","msg":"Error handling firefox.tar.bz2: Error unzipping \"./lib/firefox.tar.bz2\": exit status 2","time":"2023-06-18T09:10:10Z"}
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy