makerasia / kbproide Goto Github PK
View Code? Open in Web Editor NEWKB Pro IDE
License: MIT License
KB Pro IDE
License: MIT License
Sir,
I want to port KBProIDE to u-blox nina w102, but i have to change the partitions config to runs in 2Mb Flash.
Can you instruct me where the csv file ?
If works, i will do good blogs :)
https://loja.smartcore.com.br/pagina/blog-faq-familia-nina-u-blox-wifi-ble.html
เมื่อใช้เวอร์ชันสำหรับ macOS (KBIDE.Setup.0.3.1.mac.zip
) และเลือกบอร์ด KidBright (Original) ผ่าน Board Manager จะขึ้นความผิดพลาดดังนี้
Unhandled Error
Error: Cannot find module 'mkdirp'
at Object.<anonymous> (/Applications/kbide.app/Contents/boards/kidbright-arduino/compiler.js:2:16)
at Object.<anonymous> (/Applications/kbide.app/Contents/boards/kidbright-arduino/compiler.js:137:3)
at Module.fa16 (file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:3094:33)
at __webpack_require__ (file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:30:30)
at file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:94:18
at file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:97:10
at webpackUniversalModuleDefinition (file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:9:37)
at file:///Applications/kbide.app/Contents/platforms/arduino-esp32/package/arduino-esp32-actionbar/dist/arduino-esp32-actionbar.umd.js:10:3
ช่องsearch plugin มันไม่เด้งอันที่เราต้องการหาเด้งขึ้นมาครับ ต้องscrollเอาเองครับ
7:20: fatal error: DHTesp.h: No such file or directory
ลงpluginsแล้วนะครับ
พบปัญหานี้ครับ
Finding board
Error: EPERM: operation not permitted, open 'D:\KB-IDE/boards/kidbright-arduino/build/b4-e6-2d-a1-4c-85/user_app.cpp'
ผมใช้ เวอร์ชัน portable บน windows10 ครับ
Unhandled Error
TypeError: Cannot read property 'name' of null
at Blockly.BlockSvg.mutationToDom (app://./js/chunk-vendors.192f42e0.js:1689:1058113)
at Object.Blockly.Procedures.mutateCallers (app://./js/chunk-vendors.192f42e0.js:1689:954859)
at Blockly.BlockSvg.compose (app://./js/chunk-vendors.192f42e0.js:1689:1059594)
at Blockly.Mutator.workspaceChanged_ (app://./js/chunk-vendors.192f42e0.js:1689:836556)
at Blockly.WorkspaceSvg.Blockly.Workspace.fireChangeListener (app://./js/chunk-vendors.192f42e0.js:1689:671352)
at Blockly.Events.fireNow_ (app://./js/chunk-vendors.192f42e0.js:1689:648271)
When starting kbide a chromium error is displayed, and the compilation and download buttons are missing, if /tmp is mounted noexec. Approprate detection and message should be displayed. and preferably don't use /tmp to run programs as its a security risk allowing program execution there.
สวัสดีครับ
เนื่องจากเวลาเรา zoom in zoom out บล๊อคที่เราทำงานอยู่, บล๊อคที่เป็น side bar ถูกขยาย/ย่อขนาดตามไปด้วย เลยคิดว่าจะดีไหมครับ ถ้าเรา fix ขนาดของบล๊อคที่เป็น side bar ไว้ค่านึงหรือกำหนดขนาดจากหน้า settings แทนที่จะขึ้นกับขนาดของบล๊อคบน workspace เนื่องจากถ้า workspaceเรามีขนาดใหญ่ขึ้น การ zoom out เพื่อหาตำแหน่งวางบล๊อค เช่น function น่าจะถูกใช้บ่อยครับผม
[email protected] serve /home/dharmesh/Downloads/KBProIDE-v.1.2.0
vue-cli-service serve
INFO Starting development server...
ERROR ValidationError: Progress Plugin Invalid Options
options should NOT have additional properties
options should NOT have additional properties
options should NOT have additional properties
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
ValidationError: Progress Plugin Invalid Options
options should NOT have additional properties
options should NOT have additional properties
options should NOT have additional properties
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
at validateOptions (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack/node_modules/schema-utils/src/validateOptions.js:32:11)
at new ProgressPlugin (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack/lib/ProgressPlugin.js:62:3)
at new Progress (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/progress-webpack-plugin/index.js:25:21)
at new progressPlugin (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/progress-webpack-plugin/index.js:127:10)
at /home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack-chain/src/Plugin.js:14:18
at module.exports.toConfig (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack-chain/src/Plugin.js:78:22)
at /home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack-chain/src/Config.js:129:63
at Array.map (<anonymous>)
at module.exports.toConfig (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/webpack-chain/src/Config.js:129:40)
at Service.resolveWebpackConfig (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/@vue/cli-service/lib/Service.js:277:34)
at PluginAPI.resolveWebpackConfig (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/@vue/cli-service/lib/PluginAPI.js:132:25)
at serve (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/@vue/cli-service/lib/commands/serve.js:79:31)
at Service.run (/home/dharmesh/Downloads/KBProIDE-v.1.2.0/node_modules/@vue/cli-service/lib/Service.js:262:12)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
รายละเอียดตามนี้ครับ
sudo ./install.sh
Adding desktop shortcut, menu item and file associations for KB-IDE...xdg-mime: file '/home/yuki/Downloads/KBIDE/resources/makerasia-kbide.xml' does not existrm: cannot remove '/usr/local/bin/kbide': No such file or directory
Removing symlink failed. Hope that's OK. If not then rerun as root with sudo.
sed: can't read /home/yuki/Downloads/KBIDE/resources/desktop.template: No such file or directory
xdg-icon-resource: file '/home/yuki/Downloads/KBIDE/resources/icons/icons.png' does not exist
xdg-mime: file '/home/yuki/Downloads/KBIDE/resources/makerasia-kbide.xml' does not existdone!
This problem results in not being able to link code and download it, ld complains about truncated files.
Path of truncted files
KB-IDE/platforms/esp-idf/tools/xtensa-esp32-elf/xtensa-esp32-elf/sysroot
It is possible to replace them with the files from this tar file
https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz
as follows
Path of good files
xtensa-esp32-elf/xtensa-esp32-elf/sysroot
# Move old files out the way
mv KB-IDE/platforms/esp-idf/tools/xtensa-esp32-elf/xtensa-esp32-elf/sysroot KB-IDE/platforms/esp-idf/tools/xtensa-esp32-elf/xtensa-esp32-elf/sysroot.old
# Move in good ones
mv xtensa-esp32-elf/xtensa-esp32-elf/sysroot KB-IDE/platforms/esp-idf/tools/xtensa-esp32-elf/xtensa-esp32-elf
When it opens up, it looks like this.
Previously, it can be used normally, the plugin board can be loaded normally.
re-installed, it's still there.
Unhandled Promise Rejection
NonError: { code: -1,
message: 'Network Error',
error:
{ Error: Network Error
at e.exports (app://./js/chunk-vendors.096c7f1c.js:168:15184)
at XMLHttpRequest.h.onerror (app://./js/chunk-vendors.096c7f1c.js:168:14236)
config:
{ url: 'https://manage.kbide.org//_/items/version',
method: 'get',
params: [Object],
data: '{}',
headers: [Object],
baseURL: 'https://manage.kbide.org//_/',
transformRequest: [Array],
transformResponse: [Array],
paramsSerializer: [Function],
timeout: 600000,
adapter: [Function],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus] },
request: XMLHttpRequest {},
response: undefined,
isAxiosError: true,
toJSON: [Function] } }
at module.exports.input (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/ensure-error/index.js:14:10)
at handleError (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:21:10)
at reason (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:88:4)
at invokeFunc (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:160:19)
at trailingEdge (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:207:14)
at timerExpired (C:/Users/COREi3/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:195:14)
Error: Command failed: "C:\Program Files\kbide\platforms\esp-idf.\tools\xtensa-esp32-elf\bin\xtensa-esp32-elf-ar" cru "C:\Program Files\kbide\boards\esp32-doit\build\30-ae-a4-04-28-30\libmain.a" C:\Program Files\kbide\boards\esp32-doit\build\30-ae-a4-04-28-30\KBProTime.o C:\Program Files\kbide\boards\esp32-doit\build\30-ae-a4-04-28-30\KBProTime.o C:\Program Files\kbide\boards\esp32-doit\build\30-ae-a4-04-28-30\user_app.o C:\Program Files\kbide\boards\esp32-doit\build\30-ae-a4-04-28-30\main.o C:\Program Files\kbide\platforms\esp-idf.\tools\xtensa-esp32-elf\bin\xtensa-esp32-elf-ar: C:\Program: No such file or directory
when saving a project file.
if u use a block " create image from PNG file"
and when you open the project file, all the PNG files are disappeared from those blocks
all the graphic files have to be reloaded manually into the blocks again.
i am using windows 10 64bit version.
TypeError: Cannot read property 'incs' of undefined
on MacBook Pro Catalina
Lastest Version of KBIDE
Unhandled Error
TypeError: Cannot read property 'editor' of undefined
at Object.reportButton (app://./js/app.d520568f.js:1:85933)
at handleError (C:/Program Files/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:58:13)
at error (C:/Program Files/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:80:4)
at invokeFunc (C:/Program Files/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:160:19)
at trailingEdge (C:/Program Files/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:207:14)
at timerExpired (C:/Program Files/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:195:14)
Unhandled Error
Error: EPERM: operation not permitted, open 'C:/Program Files (x86)/kbide/INSTALLED'
at Module.56d7 (app://./js/app.c9a3c60d.js:1:106392)
at s (app://./js/app.c9a3c60d.js:1:5376)
at Object.0 (app://./js/app.c9a3c60d.js:1:13875)
at s (app://./js/app.c9a3c60d.js:1:5376)
at a (app://./js/app.c9a3c60d.js:1:388)
at 0 (app://./js/app.c9a3c60d.js:1:13840)
at app://./js/app.c9a3c60d.js:1:13845
It seems there' no documentation on how to create either boards or plugins for KBIDE in any place.
I expected to find those on https://kbide.org/guide but it just errors with a 404.
Would it be possible to have a link to docs in English?
#include "index.h"
Under the same heading as the file,Compile and return
10:43: fatal error: index.h: No such file or directory
Error: Command failed: "/Applications/kbide.app/Contents/platforms/esp-idf/tools/esptool" --chip esp32 --port "/dev/tty.usbserial-DA513SY4" --baud 115200 read_mac Traceback (most recent call last): File "esptool.py", line 35, in File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports.py", line 29, in File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports_posix.py", line 31, in File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module File "serial/tools/list_ports_osx.py", line 32, in ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found Failed to execute script esptool
เดิมของ KidBrightIDE โครงสร้างไฟล์ เป็นดังนี้
{
"name": {
"en": "iKB1",
"th": "iKB1"
},
"color": 180
}
ส่วนของ KBIDE มีดังนี้
{
"name": "ikb1",
"color": 180,
"title": "iKB1",
"author": "INEX",
"description": "ปลั๊กอินสำหรับบอร์ด iKB-1",
"git": "https://github.com/maxpromer/ikb1",
"image": "https://store.kidbright.info/upload/cover-image/1545744054-2Xxc0S.png",
"board": "kidbright",
"version": "2.1.1"
}
จะเห็นว่าออปเจค name มีรูปแบบที่ไม่ตรงกัน หากใช้แบบเดียวกับ KBIDE จะไม่ขึ้นชื่อปลั๊กอินในหน้าต่าง Plugin Manager และหากใช้รูปแบบ KBIDE ในโปรแกรม KidBrightIDE จะไม่ขึ้นชื่อปลั๊กอินในเมนู Plugins
คาดว่าเกิดจาก
และ
ไม่ได้ใส่ underscore (_) ไว้
สวัสดีครับ ขอบคุณทีมพัฒนามากๆสำหรับเครื่องมือดี ๆ keep up good work ครับ
วันนี้เจอปัญหาเวลาให้ค่าตัวแปร = ตัวแปรอีกตัวที่เป็นชนิด int
ตัวแปรที่โดนใส่ค่าจะกลายเป็นประเภท undifine ทันที แต่พอใส่ค่าเป็น math ก็จะกลับมาเป็น int ปกติ คิดว่าคงไปอ้างอิงประเภทตัวแปรจากตัวแปรอีกตัวยังไม่ได้ใช่รึป่าวครับ
ถ้าเราให้การกำหนด type ตัวแปร ถูกกำหนดครั้งเดียวตอนให้ค่าเริ่มต้นจะดีไหมครับ
The compiling and upload processes are OK. But after uploading, touching operations are useless,and there are not any outputs in the serial monitor windows.
has error after run command git submodule update by error message is :
Fetched in submodule path 'boards/arduino-uno', but it did not contain a09b1dcfe8ee8e9bc56b5c1d607dc1db3d402ebb. Direct fetching of that commit failed.
บน macOS เปิดโปรแกรมแล้วขึ้น error
TypeError: Cannot read property 'platform' of undefined
at g (app://./js/app.242cbfcb.js:1:157919)
at Object.T [as packages] (app://./js/app.242cbfcb.js:1:161348)
at Module.56d7 (app://./js/app.242cbfcb.js:1:87204)
at l (app://./js/app.242cbfcb.js:1:2324)
at Object.0 (app://./js/app.242cbfcb.js:1:7702)
at l (app://./js/app.242cbfcb.js:1:2324)
at a (app://./js/app.242cbfcb.js:1:388)
at 0 (app://./js/app.242cbfcb.js:1:7667)
at app://./js/app.242cbfcb.js:1:7672
สวัสดีครับ
เวลาเราใส่ Function parameter ถ้าลบตัวอักษรจนหมดและกด backspace อีกครั้งจะเกิด error ที่ทำให้ระบบทำงานต่อไม่ได้ มีวิดีโอประกอบการทำ error ซ้ำครับ
Unhandled Promise Rejection
NonError: { code: -1,
message: 'Network Error',
error:
{ Error: Network Error
at e.exports (app://./js/chunk-vendors.a56922d8.js:168:15184)
at XMLHttpRequest.h.onerror (app://./js/chunk-vendors.a56922d8.js:168:14236)
config:
{ url: 'https://manage.kbide.org//_/items/version',
method: 'get',
params: [Object],
data: '{}',
headers: [Object],
baseURL: 'https://manage.kbide.org//_/',
transformRequest: [Array],
transformResponse: [Array],
paramsSerializer: [Function],
timeout: 600000,
adapter: [Function],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus] },
request: XMLHttpRequest {},
response: undefined,
isAxiosError: true,
toJSON: [Function] } }
at module.exports.input (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/ensure-error/index.js:14:10)
at handleError (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:21:10)
at reason (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/electron-unhandled/index.js:88:4)
at invokeFunc (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:160:19)
at trailingEdge (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:207:14)
at timerExpired (C:/Users/bacc/AppData/Local/Programs/kbide/resources/app.asar/node_modules/lodash.debounce/index.js:195:14)
ตอนนี้ผมไม่สามารถเรียกใช้ I2C ที่อยู่ใน KBIDE/platforms/arduino-avr/sdk/libraries/ กับบอร์ด Arduino ได้ครับ
ขอบคุณครับ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.