Skip to content

Instantly share code, notes, and snippets.

@APshenkin
APshenkin / gist:c7e94d40dcb6784db42f573da55c2102
Created February 28, 2020 23:11
worker_threads and asar pack
Process: Electron [12527]
Path: /Users/USER/*/Electron.app/Contents/MacOS/Electron
Identifier: com.github.Electron
Version: 9.0.0-beta.4 (9.0.0-beta.4)
Code Type: X86-64 (Native)
Parent Process: ??? [12525]
Responsible: iTerm2 [45627]
User ID: 501
Date/Time: 2020-02-29 02:10:44.037 +0300
@APshenkin
APshenkin / gist:bf812f94d3ff1a1059d043091500c64f
Last active January 10, 2020 11:36
Electron crash on child window closing
Operating system: Mac OS X
10.15.2 19C57
CPU: amd64
family 6 model 70 stepping 1
8 CPUs
GPU: UNKNOWN
Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x0
This file has been truncated, but you can view the full file.
2019-07-11 18:05:22,570 INFO waiting for poa-blockscout to die
2019-07-11 18:05:22,570 INFO stopped: poa-blockscout (terminated by SIGTERM)
2019-07-11 18:05:23,841 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-07-11 18:05:23,843 INFO supervisord started with pid 1
2019-07-11 18:05:24,845 INFO spawned: 'poa-blockscout' with pid 8
2019-07-11 18:05:25,200 INFO reaped unknown pid 55
2019-07-11 18:05:26,201 INFO success: poa-blockscout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
The database for Explorer.Repo has already been created
2019-07-11 18:05:26,711 INFO reaped unknown pid 69
2019-07-11 18:05:26,715 INFO reaped unknown pid 25
@APshenkin
APshenkin / log.log
Created June 27, 2019 05:56
Blockscout internal transaction error again
This file has been truncated, but you can view the full file.
iex(1)> 2019-06-27T01:15:04.843 application=explorer fetcher=internal_transaction count=2 import_id=5665154 transaction_id=5665250 [error] Could not insert all of chunk into Elixir.Explorer.Chain.InternalTransaction using options because of error.
Chunk Size: 447
Chunk:
[%{block_number: 8036991, call_type: :call, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<97, 115, 146, 187, 112, 148, 32, 155, 80, 202, 26, 120, 108, 149, 49, 157, 116, 141, 53, 180>>}, gas: #Decimal<974888>, gas_used: #Decimal<548734>, index: 0, input: %Explorer.Chain.Data{bytes: <<28, 255, 121, 205, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, 106, 243, 54, 214, 20, 173, 229, 204, 37, 42, 64, 112, 98, 184, 134, 26, 249, 152, 245, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 188, 36, 76, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68, 138, 80, 101, 174, 187, 142, 66, 63, 8, 150, 230, 1
@APshenkin
APshenkin / log.log
Created June 26, 2019 21:11
Blockschout exception
iex(1)> 2019-06-26T19:13:42.666 application=explorer fetcher=internal_transaction count=1 import_id=1681572 transaction_id=3019778 [error] Could not insert all of chunk into Elixir.Explorer.Chain.InternalTransaction using options because of error.
Chunk Size: 358
Chunk:
[%{block_number: 8035383, call_type: :call, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<56, 88, 204, 173, 48, 99, 7, 215, 22, 253, 187, 60, 175, 176, 210, 143, 152, 1, 1, 211>>}, gas: #Decimal<0>, gas_used: #Decimal<0>, index: 0, input: %Explorer.Chain.Data{bytes: ""}, inserted_at: #DateTime<2019-06-26 19:13:40.969712Z>, output: %Explorer.Chain.Data{bytes: ""}, to_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<181, 241, 36, 56, 150, 22, 197, 126, 62, 153, 164, 120, 159, 80, 109, 60, 205, 111, 240, 248>>}, trace_address: [], transaction_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<0, 100, 76, 184, 180, 216, 152, 113, 89, 62, 0, 168, 137, 145, 147, 117, 122, 90, 125, 184, 107, 112, 80, 231, 74, 30, 139, 1
Feature('@smoke Тесты футера');
let account = new dataTable(['login', 'password']);
account.add(['davert', '123456']);
account.add(['admin', '123456']);
Before((I, mainPage) => {
I.amOnPage("/about");
});
@APshenkin
APshenkin / gist:a1eade0efd432442f5ac9f34d5318e66
Created December 6, 2016 09:34
Waiting page loading fails, if trying to open with lots of content on real IOs Device
[[A[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"iOS","deviceName":"iPad Mini Innova","browserName":"Safari","udid":"8b0fc009a802d876e02f6ca4e532b8a9fbe1f0dc","platformVersion":"8.1.3","requestOrigins":{"url":"http://webdriver.io","version":"4.4.0","name":"webdriverio"}}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"iOS","deviceName":"iPad Mini Innova","browserName":"Safari","udid":"8b0fc009a802d876e02f6ca4e532b8a9fbe1f0dc","platformVersion":"8.1.3","requestOrigins":{"url":"http://webdriver.io","version":"4.4.0","name":"webdriverio"}},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]
[Appium] Creating new IosDriver session
[Appium] Capabilities:
[Appium] javascriptEnabled: true
[Appium] locationContextEnabled: true
[Ap