Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.4.0-rc.3 won't start #743

Closed
dlnilsson opened this issue Mar 14, 2024 · 3 comments · Fixed by #744
Closed

v1.4.0-rc.3 won't start #743

dlnilsson opened this issue Mar 14, 2024 · 3 comments · Fixed by #744
Labels
bug Something isn't working

Comments

@dlnilsson
Copy link

Describe the bug
can't start v1.4.0-rc.3 on windows, clean install (removed %APPDATA%/Bazecor)

Screenshots

image

log:

DevTools failed to load source map: Could not load content for file:///C:/Users/XXXXXX/AppData/Local/Bazecor/app-1.4.0-rc3/resources/app/.webpack/renderer/main_window/index.js.map: Unexpected end of JSON input
index.js:8 Retrieving settings:  {backupFolder: 'C:\\Users\\XXXXXX\\Dygma\\Backups', backupFrequency: 0, language: 'english', darkMode: 'system', showDefaults: false, …}
index.js:8 Font face:  FontFace {family: 'Libre Franklin', style: 'normal', weight: 'normal', stretch: 'normal', unicodeRange: 'U+0-10FFFF', …}
index.js:8 settings already upgraded, returning
index.js:8 SerialPort devices find: [{…}]
index.js:8 Usable found devices: [{…}]
index.js:8 Usable found devices: [HIDDevice]
index.js:8 Checking:  HIDDevice {device: {…}, oninputreport: null, opened: false, vendorId: 13807, productId: 18, …}
index.js:8 checking if device is connected:  0 false
index.js:8 checking if device is supported:  0
index.js:8 Trying to connect HID
index.js:8 Checking connected & supported:  true false
index.js:6469 Devices Available: [Device]
index.js:8 TypeError: Cannot read properties of undefined (reading 'find')
    at index.js:6469:1139
    at Array.map (<anonymous>)
    at index.js:6469:814
    at index.js:6469:1956
    at ol (index.js:8:1233943)
    at kd (index.js:8:1254065)
    at index.js:8:1250669
    at w (index.js:8:1435039)
    at Immediate.I [as _onImmediate] (index.js:8:1435571)
    at process.processImmediate (node:internal/timers:476:21)
ps @ index.js:8
n.callback @ index.js:8
Fi @ index.js:8
vl @ index.js:8
xl @ index.js:8
Al @ index.js:8
(anonymous) @ index.js:8
wd @ index.js:8
dd @ index.js:8
$o @ index.js:8
kd @ index.js:8
(anonymous) @ index.js:8
w @ index.js:8
I @ index.js:8
processImmediate @ node:internal/timers:476

Desktop (please complete the following information):

  • OS: Windows 11 23H2
  • Bazecor Version:v1.4.0-rc.3
@dlnilsson dlnilsson added the bug Something isn't working label Mar 14, 2024
@panosz
Copy link

panosz commented Mar 14, 2024

same problem in ubuntu. I have also tried with rc.2 and I am seeing the same screen as @dlnilsson with both versions, along with this message printed in the terminal:

[20818:0315/002255.911281:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

removing USB Listeners

@skvvara
Copy link

skvvara commented Mar 14, 2024

That is because there is missing "neurons" key in config file. A workaround until it gets fixed is to add it. Open %AppData%\Bazecor\config.json add , "neurons": [] so it looks like this:

{
    "settings": {
        "backupFolder": "C:\\Users\\XXXXXX\\Dygma\\Backups",
        "backupFrequency": 0,
        "language": "english",
        "darkMode": "system",
        "showDefaults": false,
        "isStandardView": true,
        "allowBeta": true
    },
    "neurons": []
}

skvvara pushed a commit to skvvara/Bazecor that referenced this issue Mar 14, 2024
Signed-off-by: Mariusz Skwarczyński <mariusz.skwarczynski@gmail.com>
@alexpargon
Copy link
Contributor

alexpargon commented Mar 15, 2024

Hey there @skvvara ! yes, that's the case, i just fixed it myself but seeing you already created a PR, i will merge yours 👍🏻

@alexpargon alexpargon linked a pull request Mar 15, 2024 that will close this issue
alexpargon added a commit that referenced this issue Mar 15, 2024
fix: app crashes when there's no config file (#743)
unional pushed a commit to unional/Bazecor that referenced this issue May 19, 2024
Signed-off-by: Mariusz Skwarczyński <mariusz.skwarczynski@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants