Closed redcatjack closed 4 years ago
Weird, what's the directory for your addon? Could you post the Chrome logs by pressing Ctrl
+ Shift
+ i
and screenshotting the console? And GMAT logs, accessible by clicking the settings cog.
Addon Dir: D:\gmod_addons\bms_sounds1 https://i.imgur.com/S9KBIWC.png
GMAT Chrome Log:
internal/modules/cjs/loader.js:801 Uncaught Error: Cannot find module 'electron-connect'
Require stack:
- C:\Users\Jack\Desktop\GMAT\resources\app.asar\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:798)
at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (reset-search-paths.ts:41)
at Module._load (internal/modules/cjs/loader.js:691)
at Function.Module._load (electron/js2c/asar.js:748)
at Module.require (internal/modules/cjs/loader.js:853)
at require (internal/modules/cjs/helpers.js:74)
at index.html:6
2index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:652)
at EventEmitter.<anonymous> (script.js:648)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:51)
script.js:469 Object
script.js:469 Object
script.js:205 14
2index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:652)
at EventEmitter.<anonymous> (script.js:648)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:51)
index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:652)
at validateJsonForm (script.js:625)
at HTMLSelectElement.<anonymous> (script.js:371)
at HTMLSelectElement.dispatch (jquery.min.js:3)
at HTMLSelectElement.q.handle (jquery.min.js:3)
GMAT Log:
--- Beginning of log ---
[15:17]Garry's Mod Workshop Publisher 1.2
[15:17]
[15:17][Compiled Oct 12 2020 - 20:52:00]
[15:17]Getting published files..
[15:17]
[15:17] 1210539543 82.2 MB "rp_nova_prospekt_v8b"
[15:17] 833029343 76.5 MB "Black Mesa Source - Sounds 5 (FROM MOD VERSION)"
[15:17] 1136580520 17.5 MB "Edited HL2 Dispatch Voices"
[15:17] 833026108 269.0 MB "Black Mesa Source - Sounds 4 (FROM MOD VERSION)"
[15:17] 833015780 254.9 MB "Black Mesa Source - Sounds 3 (FROM MOD VERSION)"
[15:17] 833003558 274.0 MB "Black Mesa Source - Sounds 2 (FROM MOD VERSION)"
[15:17] 808986886 23.0 MB "|P-60| SCP Roleplay Content"
[15:17] 832992253 182.1 MB "Black Mesa Source - Sounds 1 (FROM MOD VERSION)"
[15:17] 726591469 304.9 MB "|P-60| Stalker RP Content"
[15:17] 439411045 45.3 MB "rp_c18_rcj_v3"
[15:17] 467056583 149.8 KB "[Blackout] Prop Pack"
[15:17] 350617892 6.3 MB "rp_rcj_blackmesa_v1"
[15:17] 414349051 105.3 MB "[Blackout] HL2RP Custom Content"
[15:17] 319797223 37.1 MB "CW: BMRP Content"
[15:17] 296461140 3.1 MB "Black Mesa Alarms"
[15:17] 247653016 1.2 MB "gm_papers_please"
[15:17] 212934772 51.8 MB "rp_precinct07_v1a"
[15:17] 151754420 10.1 MB "rp_destruction_v3"
[15:17]Done.
[15:17] 150899249 86.0 MB "Rp_City17 - Build 210"
[15:17]
I'm confused by this Do you have a model folder? Are you working with more than one addon?
Ah, you can safely ignore the model path, that was just a test with another addon that I know works. It still fails to create the GMA for both
Gotcha, could you tell me what it says if you try it with bms_sounds1
, just so I have an idea of what might be getting cut off?
Here you go, this is with "bms_sounds1" https://i.imgur.com/GVAfxH7.png
Looking into it right now, I think I know what the issue is.
Alright, try this version of GMAT, and see if it fixes your issue. If not, please send the latest lines in the GMAT log, I added some more info to them just in case this does not fix it. I even set up my working directory similar to yours to see if that was the issue.
Alright, try this version of GMAT, and see if it fixes your issue. If not, please send the latest lines in the GMAT log, I added some more info to them just in case this does not fix it. I even set up my working directory similar to yours to see if that was the issue.
Looks like you forgot to set the link public lol
Heh, sorry about that. https://drive.google.com/file/d/1noYhQevQio_c7arXBieXXX6dTQW_Wrrx/view?usp=sharing
Stills seems to have the same issue, https://i.imgur.com/YcqMw9f.png Here's the updates logs:
GMAT Chrome Log:
internal/modules/cjs/loader.js:801 Uncaught Error: Cannot find module 'electron-connect'
Require stack:
- C:\Users\Jack\Desktop\GMAT\resources\app.asar\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:798)
at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (reset-search-paths.ts:42)
at Module._load (internal/modules/cjs/loader.js:691)
at Function.Module._load (electron/js2c/asar.js:748)
at Module.require (internal/modules/cjs/loader.js:853)
at require (internal/modules/cjs/helpers.js:74)
at index.html:6
2index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:655)
at EventEmitter.<anonymous> (script.js:651)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:52)
script.js:472 Object
script.js:472 Object
script.js:203 D:/gmod_addons/bms_sounds1
script.js:206 14
2index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:655)
at EventEmitter.<anonymous> (script.js:651)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:52)
index.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:655)
at validateJsonForm (script.js:628)
at HTMLSelectElement.<anonymous> (script.js:373)
at HTMLSelectElement.dispatch (jquery.min.js:3)
at HTMLSelectElement.q.handle (jquery.min.js:3)
script.js:389 D:/gmod_addons/bms_sounds1
script.js:203 D:/gmod_addons/bms_sounds1
script.js:206 14
index.html#:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at populateAddonJSONInfo (script.js:655)
at EventEmitter.<anonymous> (script.js:651)
at EventEmitter.emit (events.js:210)
at Object.onMessage (init.ts:52)
script.js:389
GMAT LOG:
[16:9]Addon's directory: D:/gmod_addons/bms_sounds1
[16:9] sound/bms_ambience/machine_ambience/m_ambience_air_release1.wav
[16:9]Garry's Mod Addon Creator 1.1
[16:9] sound/bms_ambience/machine_ambience/m_ambience_auxlaser1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_brokenenergy1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_comp1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_comp2.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_comp3.wav
[16:9]Looking in folder "D:/gmod_addons/bms_sounds1/"
[16:9] sound/bms_ambience/machine_ambience/m_ambience_conveyor1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical2slower.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_data1.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical2slow.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical3.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical2.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical4.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical5.wav
[16:9] sound/bms_ambience/machine_ambience/m_ambience_electrical6.wav
...
If you want, I can send you the addon so you have the exact one for testing with
Yes, that would help. :) Thanks.
Yes, that would help. :) Thanks.
Here you go, just so you know it's just over 1gb in size (It's ALOT of .wav files lol) https://drive.google.com/file/d/1XB25NwUwK7qISU-bGKmzU0TBbYr8tJOh/view?usp=sharing
Hey @redcatjack! I know what the issue is now, and have an idea of how I can fix it. It's dealing with the way this GUI works and how it issues commands to gmad
and gmpublish
. Thanks for pointing this out to me because this would affect anyone with a lot of addon files to upload. I really appreciate this because it's just one of those things I probably would've never noticed. I should be able to push an update out tomorrow that fixes this, time permitting.
Alright, I fixed it! So the issue was gmad
takes a good >3 minutes to compile the GMA. So I've added a check to make sure it actually completes before showing the user the "Finished!" screen. So just keep in mind it does take a good while for it to complete. Update will be coming out in a bit. 😉
When attempting to make the GMA, it takes just a few seconds to "finish" and upon pressing "View" it just displays this error: https://i.imgur.com/fsMtYAs.png
This is using v2.1