Kendryte IDE (ALPHA) ubuntu 18.04 “Fail to Start”



  • @GongT
    Did you manage to fix the pthread_setcancelstate issue?


  • |  Mod

    @pab said in Kendryte IDE (ALPHA) ubuntu 18.04 “Fail to Start”:

    @loboris You are right, it works now, but very badly, ld has a problem.

    [ INFO] [100%] Linking C executable gpio_led_standalone
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-vfprintf.o): in function `_vfprintf_r':
    [ INFO] vfprintf.c:(.text._vfprintf_r+0x66): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0xac): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0xd2): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0x682): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-fflush.o): in function `.L47':
    [ INFO] fflush.c:(.text._fflush_r+0x24): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-fflush.o):fflush.c:(.text._fflush_r+0x3a): more undefined references to `pthread_setcancelstate' follow
    [ INFO] collect2: error: ld returned 1 exit status
    

    It seems that ld can't find "pthread_setcancelstate" function, where is it? I already installed the dependencies.

    @Staff I cannot resolve this. Need someone help.



  • @loboris You are right, it works now, but very badly, ld has a problem.

    [ INFO] [100%] Linking C executable gpio_led_standalone
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-vfprintf.o): in function `_vfprintf_r':
    [ INFO] vfprintf.c:(.text._vfprintf_r+0x66): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0xac): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0xd2): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: vfprintf.c:(.text._vfprintf_r+0x682): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-fflush.o): in function `.L47':
    [ INFO] fflush.c:(.text._fflush_r+0x24): undefined reference to `pthread_setcancelstate'
    [ INFO] /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/bin/ld: /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../lib/gcc/riscv64-unknown-elf/8.2.0/../../../../riscv64-unknown-elf/lib/libc.a(lib_a-fflush.o):fflush.c:(.text._fflush_r+0x3a): more undefined references to `pthread_setcancelstate' follow
    [ INFO] collect2: error: ld returned 1 exit status
    

    It seems that ld can't find "pthread_setcancelstate" function, where is it? I already installed the dependencies.



  • @pab said in Kendryte IDE (ALPHA) ubuntu 18.04 “Fail to Start”:

    @GongT Thank you, it works. The windows looks good.
    I have a new problem now. I download a demo "GPIO_LED_STANDALONE", and build it.
    There are errors, here the log:
    /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../libexec/gcc/riscv64-unknown-elf/8.2.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
    It seems that the compiler can't find libmpfr.so.4, but there it is. Please help me check that.

    Are you shure you have libmpfr.so.4
    Ubuntu 18.04 has libmpfr.so.6 and you have to create a symlink for libmpfr.so.4

    sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4
    

    After the link is created everything should work.



  • @GongT Thank you, it works. The windows looks good.
    I have a new problem now. I download a demo "GPIO_LED_STANDALONE", and build it.
    There are errors, here the log:
    /home/pab/soft/k210/updater.beta.20190130.2.linux/KendryteIDE/LocalPackage/toolchain/bin/../libexec/gcc/riscv64-unknown-elf/8.2.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory
    It seems that the compiler can't find libmpfr.so.4, but there it is. Please help me check that.


  • |  Mod

    install libgconf-2.so.4

    apt install GConf2



  • @GongT I send the logs, please check that.


  • |  Mod

    Please zip "KendryteIDE\UserData\latest\user-data\logs\<Latest Item>", and send to us.
    <Latest Item> is something like: "20190130T203309"

    Email: songrenbo#canaan-creative.com



  • @latyas I use this version, but it has a new problem.Here is the log, please help me check that.
    SELF_VERSION=20190130.2
    isBuilt=true
    appRoot=/home/pab/下载/updater.beta.20190130.2.linux/KendryteIDE
    configFile=/home/pab/下载/updater.beta.20190130.2.linux/KendryteIDE/channel.json
    connecting

    Get thirdParty:http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/versions.json
    no action on: cmake
    no action on: hello-world-project
    no action on: cmake-list-files
    no action on: isp
    no action on: python2library
    no action on: openocd
    no action on: toolchain
    checking
    Get registry:http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/release/IDE.beta.json
    latest version: 1.30.2-beta
    latest patch: 20190130.2
    latest updater: 20190130.2
    found local version: app_1.30.2-beta_20190130.2
    version=1.30.2-beta
    patch=20190130.2
    local versions:
    1.30.2-beta @ 20190130.2
     
    version and patch both same, just start .
    check complete. 3 work to be done.

    ...
    work no name:
    work no name has done in 0.00s
    starting
    ...
    work launch application:
    found local version: app_1.30.2-beta_20190130.2
    version=1.30.2-beta
    patch=20190130.2
    local versions:
    1.30.2-beta @ 20190130.2
     
    /home/pab/下载/updater.beta.20190130.2.linux/KendryteIDE/Application/app_1.30.2-beta_20190130.2/kendryte-ide
    wd: /home/pab/下载/updater.beta.20190130.2.linux/KendryteIDE
    removing directory: /home/pab/下载/updater.beta.20190130.2.linux/KendryteIDE/UserData/latest/tmp...
    never exists...
    Error: application quit too early
    at ChildProcess.logExit (/home/pab/下载/updater.beta.20190130.2.linux/shell/electron-main/spawn.ts:193:11)
    at ChildProcess.emit (events.js:187:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
    Fail to Start
    try to start latest working version.
    found local version: app_1.30.2-beta_20190130.2
    version=1.30.2-beta
    patch=20190130.2
    local versions:
    1.30.2-beta @ 20190130.2
     
    Fail to Start
    no installed version to try


  • Staff



  • @GongT where is the newest? I can't find that.


  • |  Mod

    updated, please download newest version and try again.

    Note: delete Application directory first.



  • @GongT
    SELF_VERSION=20190130.3
    isBuilt=true
    appRoot=/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE
    configFile=/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/channel.json
    connecting

    Get thirdParty:http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/versions.json
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/cmake-linux.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/hello-world-project.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/cmake-list-files.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/isp.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/python2library.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/openocd-linux.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/toolchain-linux.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain
    checking
    Get registry:http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/release/IDE.alpha.json
    latest version: 1.30.2-alpha
    latest patch: 20190130.3
    latest updater: 20190130.3
    framework version has updated, from no any version to 1.30.2-alpha
    Will download object from:
    http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/release/alpha/v1.30.2/IDE.20190130.3.linux.7z
    extract to:
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Application/app_1.30.2-alpha_20190130.3
    check complete. 43 work to be done.

    ...
    work no name:
    work no name has done in 0.00s
    Downloading
    cmake: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/cmake-linux.7z
    work download - cmake: :
    check remote changed: {"if-none-match":""2e5fda1323f8634e645d858d7fd6b72e-2""}
    -> NOT changed. continue download (from 16099132).
    success, no need download any data.
    work download - cmake: has done in 0.10s
    Installing
    cmake: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake
    work extract (install) - cmake: :
    unzip /tmp/KendryteIDE_Cache/cmake-linux.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake -y /tmp/KendryteIDE_Cache/cmake-linux.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 16099132 bytes (16 MiB)
    Extracting archive: /tmp/KendryteIDE_Cache/cmake-linux.7z

    Path = /tmp/KendryteIDE_Cache/cmake-linux.7z
    Type = 7z
    Physical Size = 16099132
    Headers Size = 49651
    Method = LZMA2:26 LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    Everything is Ok
    Folders: 109
    Files: 5547
    Size: 103546604
    Compressed: 16099132
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake/cmake-linux
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake/cmake-linux, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake)
    work extract (install) - cmake: has done in 4.58s
    work no name:
    work no name has done in 0.00s
    Downloading
    hello-world-project: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/hello-world-project.7z
    work download - hello-world-project: :
    check remote changed: {"if-none-match":""3bbae5768909848f752028c9b7aba5e3""}
    -> NOT changed. continue download (from 687).
    success, no need download any data.
    work download - hello-world-project: has done in 0.16s
    Installing
    hello-world-project: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project
    work extract (install) - hello-world-project: :
    unzip /tmp/KendryteIDE_Cache/hello-world-project.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project -y /tmp/KendryteIDE_Cache/hello-world-project.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 687 bytes (1 KiB)
    Extracting archive: /tmp/KendryteIDE_Cache/hello-world-project.7z

    Path = /tmp/KendryteIDE_Cache/hello-world-project.7z
    Type = 7z
    Physical Size = 687
    Headers Size = 289
    Method = LZMA2:12
    Solid = +
    Blocks = 1
    Everything is Ok
    Folders: 2
    Files: 4
    Size: 614
    Compressed: 687
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project/hello-world-project
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project/hello-world-project, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/hello-world-project)
    work extract (install) - hello-world-project: has done in 2.02s
    work no name:
    work no name has done in 0.00s
    Downloading
    cmake-list-files: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/cmake-list-files.7z
    work download - cmake-list-files: :
    check remote changed: {"if-none-match":""a38e0dc1a78ba80a8beaab9db16a30d9""}
    -> NOT changed. continue download (from 2575).
    success, no need download any data.
    work download - cmake-list-files: has done in 0.15s
    Installing
    cmake-list-files: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files
    work extract (install) - cmake-list-files: :
    unzip /tmp/KendryteIDE_Cache/cmake-list-files.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files -y /tmp/KendryteIDE_Cache/cmake-list-files.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 2575 bytes (3 KiB)
    Extracting archive: /tmp/KendryteIDE_Cache/cmake-list-files.7z

    Path = /tmp/KendryteIDE_Cache/cmake-list-files.7z
    Type = 7z
    Physical Size = 2575
    Headers Size = 352
    Method = LZMA2:13
    Solid = +
    Blocks = 1
    Everything is Ok
    Folders: 1
    Files: 9
    Size: 7523
    Compressed: 2575
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files/cmake-list-files
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files/cmake-list-files, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/cmake-list-files)
    work extract (install) - cmake-list-files: has done in 2.02s
    work no name:
    work no name has done in 0.01s
    Downloading
    isp: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/isp.7z
    work download - isp: :
    check remote changed: {"if-none-match":""5d077ba31046f551d43e0288d446b63a""}
    -> NOT changed. continue download (from 15378).
    success, no need download any data.
    work download - isp: has done in 0.14s
    Installing
    isp: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp
    work extract (install) - isp: :
    unzip /tmp/KendryteIDE_Cache/isp.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp -y /tmp/KendryteIDE_Cache/isp.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 15378 bytes (16 KiB)
    Extracting archive: /tmp/KendryteIDE_Cache/isp.7z

    Path = /tmp/KendryteIDE_Cache/isp.7z
    Type = 7z
    Physical Size = 15378
    Headers Size = 182
    Method = LZMA2:48k
    Solid = -
    Blocks = 1
    Everything is Ok
    Folders: 1
    Files: 1
    Size: 34240
    Compressed: 15378
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp/isp
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp/isp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/isp)
    work extract (install) - isp: has done in 2.02s
    work no name:
    work no name has done in 0.00s
    Downloading
    python2library: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/python2library.7z
    work download - python2library: :
    check remote changed: {"if-none-match":""fc8cf59df21c9d08fe1fafdf031e90f4""}
    -> NOT changed. continue download (from 144332).
    success, no need download any data.
    work download - python2library: has done in 0.18s
    Installing
    python2library: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library
    work extract (install) - python2library: :
    unzip /tmp/KendryteIDE_Cache/python2library.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library -y /tmp/KendryteIDE_Cache/python2library.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 144332 bytes (141 KiB)
    Extracting archive: /tmp/KendryteIDE_Cache/python2library.7z

    Path = /tmp/KendryteIDE_Cache/python2library.7z
    Type = 7z
    Physical Size = 144332
    Headers Size = 2022
    Method = LZMA2:21
    Solid = +
    Blocks = 1
    Everything is Ok
    Folders: 2
    Files: 148
    Size: 1799596
    Compressed: 144332
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library/python2library
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library/python2library, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/python2library)
    work extract (install) - python2library: has done in 2.06s
    work no name:
    work no name has done in 0.01s
    Downloading
    openocd: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/openocd-linux.7z
    work download - openocd: :
    check remote changed: {"if-none-match":""cb03becfba1e191ac1cea5bf9715cdf3""}
    -> NOT changed. continue download (from 7694140).
    success, no need download any data.
    work download - openocd: has done in 0.13s
    Installing
    openocd: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd
    work extract (install) - openocd: :
    unzip /tmp/KendryteIDE_Cache/openocd-linux.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd -y /tmp/KendryteIDE_Cache/openocd-linux.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 7694140 bytes (7514 KiB)
    Extracting archive: /tmp/KendryteIDE_Cache/openocd-linux.7z

    Path = /tmp/KendryteIDE_Cache/openocd-linux.7z
    Type = 7z
    Physical Size = 7694140
    Headers Size = 258
    Method = LZMA2:24 BCJ
    Solid = +
    Blocks = 1
    Everything is Ok
    Folders: 1
    Files: 3
    Size: 26841384
    Compressed: 7694140
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd/openocd-linux
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd/openocd-linux, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/openocd)
    work extract (install) - openocd: has done in 2.85s
    work no name:
    work no name has done in 0.00s
    Downloading
    toolchain: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/3rd-party/download1/toolchain-linux.7z
    work download - toolchain: :
    check remote changed: {"if-none-match":""eba21b0201ffa8c252b9c4f692de47b9-18""}
    -> NOT changed. continue download (from 148717029).
    success, no need download any data.
    work download - toolchain: has done in 0.15s
    Installing
    toolchain: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain
    work extract (install) - toolchain: :
    unzip /tmp/KendryteIDE_Cache/toolchain-linux.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain -y /tmp/KendryteIDE_Cache/toolchain-linux.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 148717029 bytes (142 MiB)
    Extracting archive: /tmp/KendryteIDE_Cache/toolchain-linux.7z

    Path = /tmp/KendryteIDE_Cache/toolchain-linux.7z
    Type = 7z
    Physical Size = 148717029
    Headers Size = 19659
    Method = LZMA2:26 LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    Everything is Ok
    Folders: 157
    Files: 1638
    Size: 865533736
    Compressed: 148717029
    only child: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain/toolchain-linux
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain.rename-temp...
    never exists...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain/toolchain-linux, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain.rename-temp)
    removeDirectory(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain)
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain...
    rename(/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain.rename-temp, /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/LocalPackage/toolchain)
    work extract (install) - toolchain: has done in 18.63s
    work no name:
    work no name has done in 0.61s
    Installing
    app_1.30.2-alpha_20190130.3
    Downloading
    IDE: http://kendryte-ide.s3-website.cn-northwest-1.amazonaws.com.cn/release/alpha/v1.30.2/IDE.20190130.3.linux.7z
    work download - IDE: :
    check remote changed: {"if-none-match":""c617b186603f56f7c28a8d8ec6730917-5""}
    -> NOT changed. continue download (from 46788873).
    success, no need download any data.
    work download - IDE: has done in 0.14s
    Installing
    IDE: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Application/app_1.30.2-alpha_20190130.3
    work extract (install) - IDE: :
    unzip /tmp/KendryteIDE_Cache/IDE.20190130.3.linux.7z -> /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Application/app_1.30.2-alpha_20190130.3
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Updater/resources/app.asar.unpacked/node_modules/7zip-bin/linux/x64/7za -bso1 -bse1 -bsp2 x -o/home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Application/app_1.30.2-alpha_20190130.3 -y /tmp/KendryteIDE_Cache/IDE.20190130.3.linux.7z
    7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
    p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i3-5010U CPU @ 2.10GHz (306D4),ASM,AES-NI)
    Scanning the drive for archives:
    1 file, 46788873 bytes (45 MiB)
    Extracting archive: /tmp/KendryteIDE_Cache/IDE.20190130.3.linux.7z

    Path = /tmp/KendryteIDE_Cache/IDE.20190130.3.linux.7z
    Type = 7z
    Physical Size = 46788873
    Headers Size = 18542
    Method = LZMA2:26 LZMA:20 BCJ2
    Solid = +
    Blocks = 2
    Everything is Ok
    Folders: 549
    Files: 1333
    Size: 273781841
    Compressed: 46788873
    child dirs: bin, blink_image_resources_200_percent.pak, content_resources_200_percent.pak, content_shell.pak, icudtl.dat, kendryte-ide, libffmpeg.so, libnode.so, locales, natives_blob.bin, pdf_viewer_resources.pak, resources, snapshot_blob.bin, ui_resources_200_percent.pak, views_resources_200_percent.pak
    work extract (install) - IDE: has done in 5.72s
    starting
    ...
    work launch application:
    found local version: app_1.30.2-alpha_20190130.3
    version=1.30.2-alpha
    patch=20190130.3
    local versions:
    1.30.2-alpha @ 20190130.3
     
    /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/Application/app_1.30.2-alpha_20190130.3/kendryte-ide
    wd: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE
    removing directory: /home/pab/soft/k210/updater.alpha.20190130.3.linux/KendryteIDE/UserData/latest/tmp...
    never exists...
    Error: application quit too early
    at ChildProcess.logExit (/home/pab/soft/k210/updater.alpha.20190130.3.linux/shell/electron-main/spawn.ts:193:11)
    at ChildProcess.emit (events.js:187:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
    Fail to Start
    try to start latest working version.
    found local version: app_1.30.2-alpha_20190130.3
    version=1.30.2-alpha
    patch=20190130.3
    local versions:
    1.30.2-alpha @ 20190130.3
     
    Fail to Start
    no installed version to try

    This is new version log, please check that.



  • This post is deleted!

  • |  Mod

    Right click the log box, click Copy log, and paste it here.