ProffieOS Workbench error

good day,coming of the back of my previous post the voice pack error is gone however i am unable to pull up the edit section of the proffie os workbench

it stays stuck on fetching edit options

I can look into it.
However, some more information might be needed, like:

  • what browser are you using?
  • what kind of computer (pc? mac? linux?)
  • what version of ProffieOS?
  • what prop?
  • post your config file?

Also, if you can check the “developer tools” to see if there is a backtrace or error of some sort there, that would be very helpful. (Let me know if you need help with this.)

chrome,pc,latest v8 proffie,fett 263 prop(i believe thats what its called)
myconfigexp2.h (51.8 KB)

i will include devtool errors asap

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘replaceAll’)
at style_arg_edits (app.html:651:37)
at make_style_field (app.html:704:10)
at updateEditPane (app.html:861:12)
at updateCurrentPreset (app.html:887:5)
at showCurrentPreset (app.html:874:3)
at SetPreset (app.html:918:3)

does this help?

also

app.html:699 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘TEMPLATE’)
at make_style_field (app.html:699:41)
at updateEditPane (app.html:861:12)
at updateCurrentPreset (app.html:887:5)
at showCurrentPreset (app.html:874:3)
at SetPreset (app.html:918:3)

hello i put the reply to the questions in post have you had a chance to look?,i have taken a lightsaber programming hiatus up until now so im back on it again

Sorry for the long delay.
I took a look at the code, and it’s a bit of a head-scratcher.

Two things that may help:

  1. Right before this error: style_arg_edits (app.html:651:37) there should be some printouts that might help, can you include the last 20-30 lines before this error?
  2. Can you run “list_named_styles” and then for each output line run “describe_named_style STYLE” in the serial monitor? (And paste the results here.)

1.ok i got what im sure is the code from above the error,ENABLING EDITING
app.html:481 Sending 19| get_max_blade_length 1
app.html:437 > 1,3,19|114

app.html:481 Sending 20| get_blade_dimming
app.html:437 > 1,5,20|16384

app.html:481 Sending 21| get_clash_threshold
app.html:437 > 1,4,21|3.00

app.html:481 Sending 22| get_gesture test
app.html:437 >
app.html:481 Sending 23| sd
app.html:437 > 1,12,23|SD Access ON

app.html:1630 ENABLING SETTINGS
app.html:649 Array(3)
app.html:652
base color

app.html:653 undefined
app.html:657 62194,20303,0
app.html:649 Array(3)
app.html:652
alt color

app.html:653 undefined
app.html:657 ~
app.html:649 Array(3)
app.html:652
style option

app.html:653 undefined
app.html:657 0
app.html:649 Array(3)
app.html:652
ignition option

app.html:653 undefined
app.html:657 ~
app.html:649 Array(3)
app.html:652
ignition time

app.html:653 undefined
app.html:657 500
app.html:649 Array(3)
app.html:652
igniti

app.html:653 undefined
app.html:657 ~
app.html:649 Array(3)

2.i think this is right

VOID ~

Style RAM = 1740

VOID ~

Style RAM = 1740

VOID ~

Style RAM = 1740

VOID ~

Style RAM = 1740

VOID ~

Style RAM = 1740

VOID ~

Style RAM = 1740

INT 10992

INT 10992

Battery voltage: 4.01

Ln 15, Col 46

Proffieboard V2

on COM6

2

Style RAM = 1728

VOID ~

Style RAM = 1728

VOID ~

Style RAM = 1728

VOID ~

Style RAM = 1728

VOID ~

Style RAM = 1728

VOID ~

Style RAM = 1728

VOID ~

Style RAM = 1728

INT 10992

Battery voltage: 4.01

Ln 15, Col 46

Proffieboard V2

on COM6

2

i used another version of proffie os workbench made by criptic96 and that actually loaded my edit options for about twenty seconds and then it froze,im going to grab the devlogs from there as well and see how they compare

errors here:

usb.js:23 [UsbInterop] USB read exception

  1. {attempt: 1, error: NetworkError: Failed to execute ‘transferIn’ on ‘USBDevice’: A transfer error has occurred.}

usb.js:23 [UsbInterop] USB read exception

  1. {attempt: 2, error: NetworkError: Failed to execute ‘transferIn’ on ‘USBDevice’: A transfer error has occurred.}

usb.js:23 [UsbInterop] USB read exception

  1. Object

usb.js:23 [UsbInterop] USB read exception

  1. Object

Like I told you before in a PM, but I thought it might be a good idea to also mention it here.

I had a (somewhat) similar problem, which I resolved using a different usb cable.

I noticed I had connection problems with the workbench, and also my own workbench version. When I went to investigate I found out the serial monitor from arduino IDE also had connection issues.

After using a different usb cable, most of my connection issues were gone.

Maybe it’s these things messing it up.
Let me do some testing…

ok new cable arrived no change at all

1 Like