When publishing a new pubkey for a new account, the app cannot load
When we just published the pubkey, it is not yet present in the blockchain. This causes a crash when pressing OK at the end of the configure account process, because the WoT tab doesn't handle keys which are not present in the blockchain :
Traceback (most recent call last): File "/home/inso/code/ucoin/cutecoin/src/cutecoin/gui/mainwindow.py", line 96, in refresh tab_currency.refresh() File "/home/inso/code/ucoin/cutecoin/src/cutecoin/gui/currency_tab.py", line 45, in refresh self.community) File "/home/inso/code/ucoin/cutecoin/src/cutecoin/gui/community_tab.py", line 41, in init self.tabs_information.addTab(WotTabWidget(account, community), "Wot") File "/home/inso/code/ucoin/cutecoin/src/cutecoin/gui/wot_tab.py", line 42, in init self.draw_graph(self.account.pubkey) File "/home/inso/code/ucoin/cutecoin/src/cutecoin/gui/wot_tab.py", line 54, in draw_graph certifiers = self.community.request(bma.wot.CertifiersOf, {'search': public_key}) File "/home/inso/code/ucoin/cutecoin/src/cutecoin/core/community.py", line 136, in request data = req.get(**get_args) File "/home/inso/code/ucoin/cutecoin/lib/ucoinpy/api/bma/init.py", line 81, in get return self.get(**kwargs) File "/home/inso/code/ucoin/cutecoin/lib/ucoinpy/api/bma/wot/init.py", line 65, in get return self.requests_get('/certifiers-of/%s' % self.search, **kwargs).json() File "/home/inso/code/ucoin/cutecoin/lib/ucoinpy/api/bma/init.py", line 115, in requests_get raise ValueError('status code != 200 => %d (%s)' % (response.status_code, response.text)) ValueError: status code != 200 => 400 (No member matching this pubkey or uid)