ĞTest : Sakia 0.30 ( 0.30.11 )


#1

Hello everyone,

Sakia 0.30 is there !

New features

Sakia is finally being released on its new version. A lot of work has been done on this one and I hope you will like it :

  • A new UI which should be easier to understand. Inspired from thunderbird, every information is now available fast.
  • The possibility to handle your wallet in the same interface than your identity. It is advised to transfer your UD away from your main identity account to protect it from thiefts. :wink:
  • The secret key and the passwords are now both consirded secret and are no more saved on your harddisk. You will have to type boths, everytime ! This way I hope less users will forgot these elements of their accounts
  • Security has been enhanced and data is now being verified against many nodes on the network.
  • You do not need to know the adress of a node to create a new connection. Sakia is plugged by default on Ğtest currency.
  • And overall, less bugs, more stability :slight_smile: A lot of background job, like code rewriting and refactoring, has been done.

Instructions to install

You will have to remove your old Sakia directory before installing this one, even if you used the beta version.
On windows, the paths to remove is %APPDATA%\sakia directory.
On linux, you will find it in ~/.config/sakia

You can then install Sakia as usual. Download it from github for your OS : https://github.com/duniter/sakia/releases/tag/0.30.11
In next versions, this won’t be necessary and data will be upgraded by itself.


a épinglé ce sujet globalement #2

#3

Impossible d’installer Sakia, il me semble pourtant avoir supprimer proprement l’ancien avec
"sudo apt-get remove sakia"
J’ai un message “critical error” en le lançant avec
"sakia --currency gtest" :

An unhandled exception occured
----
Traceback (most recent call last):

File “sakia/main.py”, line 94, in
File “sakia/app.py”, line 223, in connection_exists
File “sakia/data/processors/connections.py”, line 36, in connections
File “sakia/data/repositories/connections.py”, line 82, in get_all
File “sakia/data/repositories/connections.py”, line 82, in
TypeError: init() takes from 3 to 8 positional arguments but 9 were given

Qu’est ce que j’ai mal fait…?


#4

Il faut aussi supprimer ton dossier ~/.config/sakia, surtout si tu as déja lancé une version beta auparavant !


#5

Ok je regarde ça en rentrant ce soir…


#6

C’est bon.
Et une commande apprise de plus…
merci


#7

Sakia 0.30.3 dispo ! :slight_smile:

  • Fixes crash with multiple wallet connections when new transactions arrived
  • Fixes issue detecting if an identity is a member or not
  • Fixes issue when 2 identities matches without checking for pubkey
  • Handle money destruction when a pubkey has less than 100 units in current base
  • Fixes bug in selecting language
  • New methods to detect sources : no more use of bma ‘/tx/sources’ url, only parse transactions and dividends

#8

Salut Inso

Je ne trouve pas le binaire à exécuter dans la version Linux zip (je suis sous Manjaro) ; j’ai loupé un truc…? Dans la version que j’avais avant (elle commençait à dater un peu ceci dit, c’était celle en cours pendant les RML8) il y était bien pourtant

Merci

Squeeek


#9

Fichier sakia.bin !


#10

Saperlipopette ! Je suis passé trop vite dessus, je l’ai pas vu parce qu’il n’apparaissait pas avec une icône de Sakia
Bon par contre il crie au démarrage…

$ ./sakia.bin
PyInstaller Bootloader 3.x
LOADER: executable is /home/youpeek/Downloads/apps-install/Duniter/Sakia/sakia.bin
LOADER: homepath is /home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: _MEIPASS2 is NULL
LOADER: archivename is /home/youpeek/Downloads/apps-install/Duniter/Sakia/sakia.bin
LOADER: Extracting binaries
LOADER: Executing self as child
LOADER: set _MEIPASS2 to /home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: LD_LIBRARY_PATH_ORIG=/opt/opencascade/lib
LOADER: LD_LIBRARY_PATH=/home/youpeek/Downloads/apps-install/Duniter/Sakia:/opt/opencascade/lib
PyInstaller Bootloader 3.x
LOADER: executable is /home/youpeek/Downloads/apps-install/Duniter/Sakia/sakia.bin
LOADER: homepath is /home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: _MEIPASS2 is /home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: archivename is /home/youpeek/Downloads/apps-install/Duniter/Sakia/sakia.bin
LOADER: Already in the child - running user's code.
LOADER: Python library: /home/youpeek/Downloads/apps-install/Duniter/Sakia/libpython3.5m.so.1.0
LOADER: Loaded functions from Python library.
LOADER: Manipulating environment (sys.path, sys.prefix)
LOADER: Pre-init sys.path is /home/youpeek/Downloads/apps-install/Duniter/Sakia/base_library.zip:/home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: sys.prefix is /home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: Setting runtime options
LOADER: Initializing python
LOADER: Overriding Python's sys.path
LOADER: Post-init sys.path is /home/youpeek/Downloads/apps-install/Duniter/Sakia/base_library.zip:/home/youpeek/Downloads/apps-install/Duniter/Sakia
LOADER: Setting sys.argv
LOADER: setting sys._MEIPASS
LOADER: importing modules from CArchive
LOADER: extracted struct
LOADER: callfunction returned...
LOADER: extracted pyimod01_os_path
LOADER: callfunction returned...
LOADER: extracted pyimod02_archive
LOADER: callfunction returned...
LOADER: extracted pyimod03_importers
LOADER: callfunction returned...
LOADER: Installing PYZ archive with Python modules.
LOADER: PYZ archive: out00-PYZ.pyz
LOADER: Running pyiboot01_bootstrap.py
LOADER: Running pyi_rth_qt5.py
LOADER: Running pyi_rth_qt5plugins.py
LOADER: Running pyi_rth_pkgres.py
LOADER: Running main.py
Traceback (most recent call last):
  File "sakia/main.py", line 16, in <module>
  File "/home/travis/.pyenv/versions/3.5.2/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "sakia/app.py", line 6, in <module>
  File "/home/travis/.pyenv/versions/3.5.2/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "site-packages/aiohttp/__init__.py", line 11, in <module>
  File "/home/travis/.pyenv/versions/3.5.2/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "site-packages/aiohttp/connector.py", line 4, in <module>
  File "/home/travis/.pyenv/versions/3.5.2/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "ssl.py", line 98, in <module>
  File "/home/travis/.pyenv/versions/3.5.2/lib/python3.5/site-packages/PyInstaller/loader/pyimod03_importers.py", line 573, in load_module
ImportError: /home/youpeek/Downloads/apps-install/Duniter/Sakia/_ssl.so: symbol SSLv3_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference
Failed to execute script main
LOADER: OK.
LOADER: Cleaning up Python interpreter.
LOADER: Back to parent (RC: 255)
LOADER: Doing cleanup
LOADER: Freeing archive status for /home/youpeek/Downloads/apps-install/Duniter/Sakia/sakia.bin

Un souci de dépendante peut-être, il faut que j’installe une lib ou une autre…?


#11

Tu tournes sous quel OS ?


#12

Voici la réponse.


#13

Ok, j’ai le meme problème sous archlinux. Faudrait que je fasse un build dédié depuis ma machine du coup. J’essaierai de te faire ça !

Sinon, il faudrait produire un package aur pour archlinux. Ca doit pas être ultra complexe à réaliser vu qu’on a déja toutes les commandes pour l’intégration continue :slight_smile:


#14

:heart_eyes:


#15

J’ai continuellement l’erreur suivante (sous Ubuntu-Gnome 16.04) :

    Task exception was never retrieved
future: <Task finished coro=<BlockchainService.handle_blockchain_progress() done, defined at sakia/services/blockchain.py:36> exception=TypeError("int() argument must be a string, a bytes-like object or a number, not 'BlockUID'",)>

    ----
    Traceback (most recent call last):

  File "asyncio/tasks.py", line 239, in _step

  File "sakia/services/blockchain.py", line 49, in handle_blockchain_progress

  File "sakia/services/identities.py", line 283, in handle_new_blocks

  File "sakia/services/identities.py", line 273, in parse_block

  File "sakia/services/identities.py", line 235, in _parse_certifications

  File "sakia/data/processors/certifications.py", line 71, in create_certification

  File "<attrs generated init 986fd8d68005efb2bfe7fbd4075432e54f205401>", line 8, in __init__
    self.written_on = __attr_convert_written_on(written_on)

TypeError: int() argument must be a string, a bytes-like object or a number, not 'BlockUID'

Apparemment, un type possible a été oublié. C’est assez gênant. Merci de regarder,

Gérard


#16

C’est quel version de sakia ?


#17

Oups ! Pardon. J’avais confondu le numéro de ma version et celle de la plus récente. Je vais tout de suite mettre à jour. Désolé.


#18

Pas de soucis, j’étais surpris parce que le tracelog correspondait pas du tout au code :slight_smile:


#19

Après mise à jour et effacement de ~/.config/sakia, j’ai tout de même eu cette erreur après récupération de l’identité :

Creating a client session outside of coroutine

client_session: aiohttp.client.ClientSession object at 0x7f25266c5128

----

[Présentation membre] vit
#20

Cette nouvelle version de Sakia requiert Qt 5.6+, mais mon Ubuntu 14.04 32bits n’accepte que la v5.5 max.

Donc il n’y aura plus de build 32bits Ubuntu de Sakia à l’avenir.
Désolé.

Je vais sûrement passer mon ordinateur portable en 64bit pour suivre les devs lors des RMLs.

Comme disait mon grand père :

“A un moment mon petit, dans la vie, c’est comme dans la voiture, faut passer la seconde !”