frame

Zerynth r2.0.0 (Beta) is here, help us testing!

GiacomoGiacomo Member
edited December 2016 in General

Hey there!

I am very pleased to announce that in January 2017 there will be a new Zerynth release: Zerynth r2.0.0!

We are working hard to improve every single tool of the Zerynth Stack to give you the best user experience possible. But to do this we need your help. Please help us testing the Zerynth r2.0.0 Beta version and report here in this thread any bug or suggestions to improve.


Zerynth r2.0.0 Beta - Installation Guide

To try the Beta version of Zerynth r2.0.0 you need to install it on your platform.

WARNING: Moving from Zerynth r1.0.* to version r2.0.0 some precautions must be taken to avoid incurring in problems. More info in the section Migration Guide of the documentation.

First of all, you need to download the Zerynth Installer from the following links:

After accepting the agreement conditions, you can choose between two options to complete the installation: online and offline.

  • If you choose the online installation, the required files are automatically downloaded and installed.

  • If you choose the Offline Installation you need to download also the offline package repository, from the following links: Windows, Mac, Linux


The Offline Installation meets the needs of educational and training courses, workshops or places with network and internet issues. It enables you downloading an offline package repository and share it with other people, to facilitate and speed up the installation operations.


Zerynth r2.0.0 Beta - New features and improvements

While other features and improvements are still in working progress and will be published with the official release, here is what you will find in the Beta.

Zerynth Studio

  • Rebuilt from scratch (on top of NW.js browser and ACE editor) to be faster and more performant

  • Improved UI/UX:

    • Simplified Package Manager and “virtualization”

    • Batteries included. All the required libraries, packages and drivers are installed with the first installation.

    • New one-click installation updates easily shown in the footer

    • Multiple consoles with different windows

  • Main editor features:

    • Syntax highlighting

    • Syntax  autocompletion

    • Automatic indent and outdent

    • Search and replace with regular expressions

    • Highlight matching parentheses

    • Displays hidden characters

    • Drag and drop text using the mouse

    • Line wrapping

    • Auto PEP8 functionality

    • Useful shortcuts

    • Over 20 themes

    • Font size settings

At the moment, projects can’t be sent to the Zerynth Cloud and cannot be published as community libraries. These features will be implemented with the official release of Zerynth 2.0.0

Toolchain

An important new Zerynth element has been introduced, the Zerynth Toolchain (ZTC).

The ZTC allows managing all the aspects of the typical Zerynth workflow. It can be used with a command line interface, like the common Linux, Windows or Mac terminals, or it can be integrated with a custom IDE.

You can find more info in the dedicated section of the documentation.

Documentation

This documentation applies for the Zerynth r2.0.0 Beta only. The current current official version (r1.0.0) refers to the current official documentation (http://doc.zerynth.com/).

  • Improved readability. We’ve added an index on the left of the page, so you can now walk through the documentation jumping from section to section without returning to the main page.

  • Improved content search. You can now search terms inside all the doc, and not only within the specific section you’re reading.

Supported boards

  • Flip&click

  • Arduino Due

  • Particle Photon

  • Mikroe Quail

  • Arduino/Genuino Zero. Yes! It’s now possible to program in Python for Genuino/Arduino Zero (Beta), the most voted board in our latest survey.

All the other boards already supported by the current official version (r1.0.0) are coming soon also for Zerynth r2.0.0


Two more things...

Zerynth Connector

The Zerynth Connector is the next Zerynth big thing: a device manager that will be compatible with many cloud providers (like Azure, Kinetis, Bluemix, Amazon), exposing a simple API based interface for data gathering, actuation and mobile integration.

Zerynth App

We are also working to make the Zerynth App the definitive tool for prototyping UI for connected devices. The update will be released directly with the official release of Zerynth r2.0.0.


Be the first to go PRO!

The Zerynth r2.0.0 January release will give you the possibility to do industrial developments of your IoT solutions thanks to Zerynth Studio PRO, that will include features like

  • Power Saving

  • Selectable RTOS

  • Over the Air update development

  • Hardware-driven Secured Firmware burned on the device at industrial volumes

  • ...and many more

Zerynth Studio PRO will be provided at yearly subscription basis (price info soon). As early adopter, you can receive a 6 months free-of-charge (100% discounted) access to Zerynth Studio PRO, by signing this form.


Not interested in going PRO? No problem, Zerynth Studio Free will provide you all the features to prototype your IoT solutions!


Happy coding!


Giacomo Baldi
Zerynth Head of Software Development
Tagged:

Comments

  • Like previous version 1.x some antivirus detect it as malware

  • Hello everyone, I have just downloaded ZERYNTH r2.0.0 (Beta) and tried to install OFFLINE to avoid the problem already reported previously (PROXY Company). Unfortunately, the installation is not completed successfully. In order to solve the problem I request your help by sending the ZERYNTH Installer Log : 


  • hi @lucio1960 the offline install package allows avoiding download of packages during the installation and it is designed for low bandwidth connections or for schools/workshops and similar occasions where multiple installations are executed in parallel. However, an internet connection is mandatory for the installation of Zerynth and also during the first use for the download of board specifics Virtual Machines. 
    Looking at your screenshot you posted it seems that your computer is not able to reach the Zerynth Server.

    hi @Mauro thanks for your feedback! Very helpful. We will try to modify our installer in order to avoid having it recognized as malware by antiviruses. Unfortunately I am not sure if this problem can be fixed by us, most of the time the heuristics at the basis of malware detectors identify custom installers as potentially dangerous programs.
    Can you please give us the detail of your antivirus and of your OS?

    Thanks again for your feedback!
    We'll keep you posted  

    Daniele Mazzei
    Zerynth Chief System Architect
  • lfcerflfcerf Member
    edited December 2016
    Hi guys,
    here is a little python script to change the name of old project folders from long 'cryptic' alphanumeric strings (UUIDs) to the "real" name of the project, extracted from the file 'project.md'. Run this script directly in the folder "projects".
    # Moving from Zerynth r1.0.* to version r2.0.0 some precautions 
    # must be taken to avoid incurring in problems. 
    # More info: https://docs.zerynth.com/latest/official/core.zerynth.docs/migration/docs/index.html
    
    # In particular, Zerynth r2.0.0 completely changes the way of managing projects. 
    # Existing projects can not be automatically opened by the new Zerynth. 
    # They can however be easily imported manually. 
    
    # Old projects can be found under:
    
    # C:/Users/username/zerynth/projects for Windows
    # ~/Documents/Zerynth/projects for Mac
    # ~/.zerynth/projects for Linux
    
    # Projects are saved under folders with long "cryptic" alphanumeric names (uuids). 
    
    # This script changes the name of the folders from uuids
    # to the "real" name of the project, extracted from the file 'project.md'
    
    # Run this script directly in the folder "projects".
    
    import re
    import os
    
    dir_in_curdir = filter(os.path.isdir, os.listdir(os.curdir))
    
    def get_valid_filename(any_string):
        s = re.sub('[^\w_.)( -]', '', any_string)
        return s
        
    for d in dir_in_curdir:
        os.chdir(d)
        # print os.path.abspath(os.curdir)
        if os.path.isfile('project.md'):
            with open('project.md', 'r') as f:
                first_line = f.readline().rstrip()
                s = get_valid_filename(first_line)
            os.chdir("..")
            if not os.path.isdir(s):
                os.rename(d, s)
        else:
            os.chdir("..")
    
    Hope this helps,
    Luigi
    Luigi F. Cerfeda
    IoT Applications Dev at Zerynth
  • lucio1960 said:
    Hello everyone, I have just downloaded ZERYNTH r2.0.0 (Beta) and tried to install OFFLINE to avoid the problem already reported previously (PROXY Company). Unfortunately, the installation is not completed successfully. In order to solve the problem I request your help by sending the ZERYNTH Installer Log : 


    Hello @lucio1960, ;
    I verified that the installation of Zerynth through a proxy is possible. I will add support for it in January. Stay tuned!
    Giacomo Baldi
    Zerynth Head of Software Development
  • colombod Member
    edited December 2016
    Getting error installing the beta, tried both online and offline install on Mac Os ElCapitone

    this is the log (same error in both situations)
    Starting installation at: 2016-12-24T20:14:11.739Z
    Getting package list...
    Removing /Users/xkx/.zerynth2/tmp/offline
    removed /Users/xkx/.zerynth2/tmp/offline
    Unlinking /Users/xkx/.zerynth2/tmp/offline-install-mac.tar:Error: ENOENT: no such file or directory, unlink '/Users/xkx/.zerynth2/tmp/offline-install-mac.tar'
    unpacking /Users/xkx/.zerynth2/tmp/offline-install-mac.tar.xz to /Users/xkx/.zerynth2/tmp/offline
    Called /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz on /Users/xkx/.zerynth2/tmp/offline-install-mac.tar.xz
    executing: /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz -d /Users/xkx/.zerynth2/tmp/offline-install-mac.tar.xz
    Called /usr/bin/tar on /Users/xkx/.zerynth2/tmp/offline-install-mac.tar to /Users/xkx/.zerynth2/tmp/offline
    executing: /usr/bin/tar

    Downloading Phase
    Getting package core.zerynth.toolchain
    Downloading core.zerynth.toolchain from /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar.xz
    Getting package sys.zerynth.runtime-mac
    Downloading sys.zerynth.runtime-mac from /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar.xz
    Unpacking Phase
    Unpacking core.zerynth.toolchain
    Removing /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain
    removed /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain
    Unlinking /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar:Error: ENOENT: no such file or directory, unlink '/Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar'
    unpacking /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar.xz to /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain
    Called /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz on /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar.xz
    executing: /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz -d /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar.xz
    Called /usr/bin/tar on /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain-r2.0.0.tar to /Users/xkx/.zerynth2/tmp/core.zerynth.toolchain
    executing: /usr/bin/tar
    Unpacking sys.zerynth.runtime-mac
    Removing /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac
    removed /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac
    Unlinking /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar:Error: ENOENT: no such file or directory, unlink '/Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar'
    unpacking /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar.xz to /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac
    Called /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz on /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar.xz
    executing: /Applications/Zerynth Studio.app/Contents/Resources/app.nw/xz/mac/bin/xz -d /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar.xz
    Called /usr/bin/tar on /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac-r2.0.0.tar to /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac
    executing: /usr/bin/tar

    Installing packages...
    [ztc]> Executing package install -p meta.zerynth.core:r2.0.0 --last --force --offline /Users/xkx/.zerynth2/tmp/offline
    Traceback (most recent call last):
      File "/Users/xkx/.zerynth2/tmp/core.zerynth.toolchain/ztc.py", line 99, in <module>
        import projects
      File "/Users/xkx/.zerynth2/tmp/core.zerynth.toolchain/projects/__init__.py", line 1, in <module>
        from .projectcmd import *
      File "/Users/xkx/.zerynth2/tmp/core.zerynth.toolchain/projects/projectcmd.py", line 24, in <module>
        import pygit2
      File "/Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac/lib/python3.5/site-packages/pygit2/__init__.py", line 32, in <module>
        from _pygit2 import *
    ImportError: dlopen(/Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac/lib/python3.5/site-packages/_pygit2.cpython-35m-darwin.so, 2): Library not loaded: /usr/local/opt/libgit2/lib/libgit2.24.dylib
      Referenced from: /Users/xkx/.zerynth2/tmp/sys.zerynth.runtime-mac/lib/python3.5/site-packages/_pygit2.cpython-35m-darwin.so
      Reason: image not found
    Install: 1
  • For some more context, I have anaconda installed for Python 3.5. I also have anaconda credentials and when using condo i need to provide my anaconda logins.
  • GiacomoGiacomo Member
    edited December 2016
    Thanks  @colombod ;
    that's a missing dependency in the miniconda distribution contained in sys.zerynth.runtime-mac. 

    I just released an update (r2.0.1) that should allow finishing the installation through an ugly hack. I will fix the runtime properly asap.

    The update should also fix:
    • compiler issues: libraries path was wrong and some supported features claimed as unsupported
    • sluggish compilation from Studio
    @lucio1960 I also added experimental support for proxies in r2.0.1. Please try the following procedure to confirm it is working for you:

    • before running the installer create the file C:\users\yourusername\zerynth2\cfg\proxy.json (create the folders as needed)
    • inside the proxy.json files specify the proxy info like this:

    {
      "http": "http://10.10.1.10:3128",
      "https": "http://10.10.1.10:1080"
    }

    where the values after ":" are the addresses of the http and https proxies respectively(with ports if needed).
    If your proxy needs authentication you should provide username and password in the url like this:

    {
      "http": "http://user:pass@10.10.1.10:3128",
      "https": "http://user:pass@10.10.1.10:1080"
    }

    You can then cross your fingers and start the installer.

    Let me know if it works for you and Merry Christmas!


    Giacomo Baldi
    Zerynth Head of Software Development
  • Giacomo said:
    lucio1960 said:
    Hello everyone, I have just downloaded ZERYNTH r2.0.0 (Beta) and tried to install OFFLINE to avoid the problem already reported previously (PROXY Company). Unfortunately, the installation is not completed successfully. In order to solve the problem I request your help by sending the ZERYNTH Installer Log : 


    Hello @lucio1960, ;
    I verified that the installation of Zerynth through a proxy is possible. I will add support for it in January. Stay tuned!
    Great news :)

    Thanks again for availability. A peaceful and successful 2017 for the whole team ZERYNTH.

    Luciano
  • Giacomo said:
    Thanks  @colombod 
    that's a missing dependency in the miniconda distribution contained in sys.zerynth.runtime-mac. 

    I just released an update (r2.0.1) that should allow finishing the installation through an ugly hack. I will fix the runtime properly asap.

    The update should also fix:
    • compiler issues: libraries path was wrong and some supported features claimed as unsupported
    • sluggish compilation from Studio
    @lucio1960 I also added experimental support for proxies in r2.0.1. Please try the following procedure to confirm it is working for you:

    • before running the installer create the file C:\users\yourusername\zerynth2\cfg\proxy.json (create the folders as needed)
    • inside the proxy.json files specify the proxy info like this:

    {
      "http": "http://10.10.1.10:3128",
      "https": "http://10.10.1.10:1080"
    }

    where the values after ":" are the addresses of the http and https proxies respectively(with ports if needed).
    If your proxy needs authentication you should provide username and password in the url like this:

    {
      "http": "http://user:pass@10.10.1.10:3128",
      "https": "http://user:pass@10.10.1.10:1080"
    }

    You can then cross your fingers and start the installer.

    Let me know if it works for you and Merry Christmas!


    I return to the office after January 9. As soon as possible I will verify the possibility of installation even with PROXY. Thanks again. Luciano
  • Hello, hi tried to follow the advice received from the forum to solve the problem of proxy but unfortunately the attempt was negative. I attached the two screenshots and log file created. Obviously I entered my username and passward instead of dots.

    We hope to solve with ZERYNTH 2.0.1

    Luciano
    proxy.JPG 37K
    proxy_2.JPG 40.4K
    proxy_3.JPG 122.6K
  • Hello @lucio1960,

    you also need to change the ip addresses and ports of proxies to the correct ones for your case (unless they really are 10.10.1.10:3128 and 10.10.1.10:1080). 

    Let me know!
    Giacomo Baldi
    Zerynth Head of Software Development
  • Thank you very much Daniele, then I await good news

    Luciano

  • GabrieleMGabrieleM Member, Administrator, Moderator
    Zerynth 2.0 is out!
    https://www.zerynth.com/blog/announcing-zerynth-2-0-the-full-stack-for-iot-and-embedded-python-development/
    Thank you everyone that helped us testing and keep sending us feedback!
    Co-founder and CEO at Zerynth
Sign In or Register to comment.

ZERYNTH Community

@ 2016 Zerynth.com, all rights reserved.