Git Product home page Git Product logo

kbproide's People

Contributors

bavensky avatar birdtechstep avatar comdet avatar gr4vity4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kbproide's Issues

เวอร์ชัน macOS แสดงความผิดพลาดเมื่อเลือกบอร์ดเป็น Original Kidbright

เมื่อใช้เวอร์ชันสำหรับ 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

ปัญหาตอน คลิก Compile & Run

พบปัญหานี้ครับ

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

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)

No compilation or upload if /tmp is mounted noexec

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/out workspace

สวัสดีครับ

เนื่องจากเวลาเรา zoom in zoom out บล๊อคที่เราทำงานอยู่, บล๊อคที่เป็น side bar ถูกขยาย/ย่อขนาดตามไปด้วย เลยคิดว่าจะดีไหมครับ ถ้าเรา fix ขนาดของบล๊อคที่เป็น side bar ไว้ค่านึงหรือกำหนดขนาดจากหน้า settings แทนที่จะขึ้นกับขนาดของบล๊อคบน workspace เนื่องจากถ้า workspaceเรามีขนาดใหญ่ขึ้น การ zoom out เพื่อหาตำแหน่งวางบล๊อค เช่น function น่าจะถูกใช้บ่อยครับผม

ตัวอย่าง block side bar ตอน zoom out
tesr2

ValidationError: Progress Plugin Invalid Options

[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.

KBIDE Linux setup install.sh error ครับ

รายละเอียดตามนี้ครับ

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 exist

rm: 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 exist

done!

KB-IDE_v1.2.0_linux-arm has zero length sysroot files

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

KB-IDE Network error

พอเปิดขึ้นมาก็ขึ้นแบบนี้ครับ
ก่อนหน้านี้ใช้ได้ปกติ โหลดบอร์ด plugin ได้ปกติครับ
ลบลงใหม่ก็ยังเป็นครับ
(ลงเครื่องอื่นที่ไม่เคยใช้ก็เป็นครับ)

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)
1685432631710

win10 win7 คอมไพล์ปรกติผ่าน แต่ compile and run ติด Error

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
KbErr

saving project file including image wont work

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.

Error after install - 2019-06-22 : 08:41 AM

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)

setup เสร็จแล้วรันไม่ได้ครับ ลองทั้ง32/64 บน วินโดวส์ 10

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

ช่วยหน่อยครับ error macbook m1

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

Enable plugin download

I developed some plugins for KB IDE and I published them.
But there is a problem that I have to download the plugin manually and copy it to the plugin folder to use it.
The button download is not working.

What I should do to enable this button

Currently it shows this button.
image

Thanks

โครงสร้าง .json ในปลั๊กอิน ไม่ตรงกับใน KidBrightIDE

เดิมของ 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

เพิ่มบอร์ดและปลั๊กอิน จากลิ้ง GitHub ที่ชื่อมี underscore (_) ไม่ได้

คาดว่าเกิดจาก

/^http(s)?:\/\/(www\.)?github\.com\/[\-0-9A-Za-z]+\/[\-0-9A-Za-z]+\/$/g.test(

และ

if ((/^http(s)?:\/\/(www\.)?github\.com\/[\-0-9A-Za-z]+\/[\-0-9A-Za-z]+\/$/g).test(res)) {

ไม่ได้ใส่ underscore (_) ไว้

ตัวแปร = ตัวแปร จะขึ้น #VARIABLEundefined

สวัสดีครับ ขอบคุณทีมพัฒนามากๆสำหรับเครื่องมือดี ๆ keep up good work ครับ

วันนี้เจอปัญหาเวลาให้ค่าตัวแปร = ตัวแปรอีกตัวที่เป็นชนิด int
ตัวแปรที่โดนใส่ค่าจะกลายเป็นประเภท undifine ทันที แต่พอใส่ค่าเป็น math ก็จะกลับมาเป็น int ปกติ คิดว่าคงไปอ้างอิงประเภทตัวแปรจากตัวแปรอีกตัวยังไม่ได้ใช่รึป่าวครับ

ถ้าเราให้การกำหนด type ตัวแปร ถูกกำหนดครั้งเดียวตอนให้ค่าเริ่มต้นจะดีไหมครับ

af

m5stack related error

If NX-M5Stack chosen in the Board Manager, when starting KBIDE next time, Errors occur:

M5StackError

M5StackError2

Neither block nor text examples can be compiled properly.

I'm Using the KB-IDE_Portable_v1.2.0_win64.

error after run command git submodule update

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

บน 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

Imgur

Fatal Error หลังจากลบตัวอักษรตอนใส่ input parameter บนฟังก์ชัน

สวัสดีครับ

เวลาเราใส่ Function parameter ถ้าลบตัวอักษรจนหมดและกด backspace อีกครั้งจะเกิด error ที่ทำให้ระบบทำงานต่อไม่ได้ มีวิดีโอประกอบการทำ error ซ้ำครับ

https://youtu.be/kXu5RFMAwLw

Network error (im not a programmer)

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.