sumoprojects / SumoGUIWallet

Sumokoin GUI Wallet
Other
38 stars 46 forks source link

Python3 port #12

Closed Muxoid closed 6 years ago

Muxoid commented 6 years ago

I am trying to make a python 3.6, PytQt5 port because pyside QtWebkit has been deprecated on Arch Linux. I have run into a problem I was wondering if someone could point me in the right direction.

I have managed to get the process manager to sync with the blockchain but I can not get past this point.

screenshot_20171024_011952

It seems to be a problem with the sockets or with the IGD port mapping.

python wallet.py /home/shawnco/SumoGUIWallet/Resources/www/scripts/jquery-1.9.1.min.js c12f6098e641aaca96c60215800f18f5671039aecf812217fab3c0d152f6adb4 /home/shawnco/SumoGUIWallet/Resources/www/scripts/bootstrap.min.js 2979f9a6e32fc42c3e7406339ee9fe76b31d1b52059776a02b4a7fa6a4fd280a /home/shawnco/SumoGUIWallet/Resources/www/scripts/mustache.min.js 3258bb61f5b69f33076dd0c91e13ddd2c7fe771882adff9345e90d4ab7c32426 /home/shawnco/SumoGUIWallet/Resources/www/scripts/jquery.qrcode.min.js f4ccf02b69092819ac24575c717a080c3b6c6d6161f1b8d82bf0bb523075032d /home/shawnco/SumoGUIWallet/Resources/www/scripts/utils.js d0c6870ed19c92cd123c7443cb202c7629f9cd6807daed698485fda25214bdb4 /home/shawnco/SumoGUIWallet/Resources/www/css/bootstrap.min.css 2e4ceda16bdb9f59b01ee01552e8a353ee7cc4e4ebac7d51413106094384ef37 /home/shawnco/SumoGUIWallet/Resources/www/css/font-awesome.min.css b8b02026a298258ce5069d7b6723c2034058d99220b6612b54bc0c5bf774dcfb /home/shawnco/SumoGUIWallet/Resources/www/css/fonts/fontawesome-webfont.ttf 7b5a4320fba0d4c8f79327645b4b9cc875a2ec617a557e849b813918eb733499 /home/shawnco/SumoGUIWallet/Resources/www/css/fonts/glyphicons-halflings-regular.ttf e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456 /home/shawnco/SumoGUIWallet/Resources/www/css/fonts/RoboReg.ttf dc66a0e6527b9e41f390f157a30f96caed33c68d5db0efc6864b4f06d3a41a50 libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile [01:28:50] [INFO] Starting [Sumokoin GUI Wallet v.0.0.1]... Starting app... [01:28:50] [INFO] [sumokoind] started [01:28:50] [DEBUG] [sumokoind]>>> b'Creating the logger system' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.584651 Initializing cryptonote protocol...' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.584664 Cryptonote protocol initialized OK' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.584737 Initializing p2p server...' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.873628 Set limit-up to 2048 kB/s' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.873670 Set limit-down to 8192 kB/s' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.873682 Set limit-up to 2048 kB/s' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.873697 Set limit-down to 8192 kB/s' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.874469 Binding on 0.0.0.0:19733' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.874518 Net service bound to 0.0.0.0:19733' [01:28:50] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:50.874524 Attempting to add IGD port mapping.' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878832 No IGD was found.' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878873 P2p server initialized OK' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878923 Initializing core rpc server...' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878944 Binding on 127.0.0.1:19734' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878978 Core rpc server initialized OK on port: 19734' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.878989 Initializing core...' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.879320 Loading blockchain from folder /home/shawnco/.sumokoin/lmdb ...' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.879352 option: fast' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.879359 option: async' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.879362 option: 1000' [01:28:54] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:54.897098 Blockchain initialized. last block: 62753, d0.h0.m7.s41 time ago, current difficulty: 800152716' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769089 Core initialized OK' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769120 Starting core rpc server...' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769125 Run net_service loop( 2 threads)...' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769182 [SRV_MAIN]Core rpc server started ok' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769275 [SRV_MAIN]Starting p2p net loop...' [01:28:55] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:55.769298 [SRV_MAIN]Run net_service loop( 10 threads)...' [01:28:56] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:56.769527 [P2P1]' [01:28:56] [DEBUG] [sumokoind]>>> b'**********************************************************************' [01:28:56] [DEBUG] [sumokoind]>>> b'The daemon will start synchronizing with the network. It may take up to several hours.' [01:28:56] [DEBUG] [sumokoind]>>> b'' [01:28:56] [DEBUG] [sumokoind]>>> b'You can set the level of process detailization* through "set_log <level>" command*, where <level> is between 0 (no details) and 4 (very verbose).' [01:28:56] [DEBUG] [sumokoind]>>> b'' [01:28:56] [DEBUG] [sumokoind]>>> b'Use "help" command to see the list of available commands.' [01:28:56] [DEBUG] [sumokoind]>>> b'' [01:28:56] [DEBUG] [sumokoind]>>> b'Note: in case you need to interrupt the process, use "exit" command. Otherwise, the current progress won\'t be saved.' [01:28:56] [DEBUG] [sumokoind]>>> b'**********************************************************************' [01:28:57] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:28:57.388930 [P2P7]' [01:28:57] [DEBUG] [sumokoind]>>> b'**********************************************************************' [01:28:57] [INFO] You are now synchronized with the network [01:28:57] [DEBUG] [sumokoind]>>> b'' [01:28:57] [DEBUG] [sumokoind]>>> b'Please note, that the blockchain will be saved only after you quit the daemon with "exit" command or if you use "save" command.' [01:28:57] [DEBUG] [sumokoind]>>> b'Otherwise, you will possibly need to synchronize the blockchain again.' [01:28:57] [DEBUG] [sumokoind]>>> b'' [01:28:57] [DEBUG] [sumokoind]>>> b'Use "help" command to see the list of available commands.' [01:28:57] [DEBUG] [sumokoind]>>> b'**********************************************************************' [01:29:00] [INFO] [sumo-wallet-cli] started running WalletCliManager ^C[01:29:19] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:19.275192 [SRV_MAIN][node] Stop signal sent' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.002437 [SRV_MAIN]net_service loop stopped.' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.002462 [SRV_MAIN]p2p net loop stopped' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.005169 [node] Stop signal sent' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.005207 [SRV_MAIN]Stopping core rpc server...' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.005275 [SRV_MAIN]Node stopped.' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.005306 [SRV_MAIN]Deinitializing rpc server...' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.005353 [SRV_MAIN]Deinitializing p2p...' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.006481 [SRV_MAIN]Deinitializing core...' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.008129 [SRV_MAIN]Stopping cryptonote protocol...' [01:29:20] [DEBUG] [sumokoind]>>> b'2017-Oct-24 01:29:20.008154 [SRV_MAIN]Cryptonote protocol stopped successfully' Any help will be apreciated.

billaue2 commented 6 years ago

Thanks for your effort. I could help if you publish codes for testing.