Workshop upload error.

Hi, I’m trying to upload 60Mb on the workshop and it say’s: “… ier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0”

The entire text is “Successfully saved to “temp.gma” [64.1 MB]
Garry’s Workshop Publisher 1.1
[Compiled Feb 22 2015 - 20:13:48]
Updating…
Compressing… [64.1 MB] => [63.7 MB]
Updating Addon…
Committing… (this can take a long time)
Success!
… ier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0
Deleting temporary gma…
Temporary gma deleted.
Deleting temporary addon.json…
Temporary addon.json deleted.
Update OK!
Finished running queue.”

Help please :confused:

Not too sure about the logs but I know if you have a txt file or a thumbs.db file, it won’t upload so check any folders for these.

Nothing of that. This is just music.

It’s a problem with Steam/SteamAPI, you can ignore it. It doesn’t affect the upload process.

But why my addon don’t want to be uploaded ?

It is uploaded. That error will occur regardless of whether it uploaded or not.

Here, the logs:

“Executing queue.
Creating addon from C:\Users\sylvain\Desktop\addon\lotr_musique_ep3…
Creating temporary addon.json.
Creating temporary gma.
Garry’s Mod Addon Creator 1.1
Looking in folder “C:/Users/sylvain/Desktop/addon/lotr_musique_ep3/”
sound/lotr/A_Storm_Is_Coming.mp3
[Filename contains captial letters]
sound/lotr/Andril.mp3
[Filename contains captial letters]
sound/lotr/Ash_and_Smoke.mp3
[Filename contains captial letters]
sound/lotr/Cirith_Ungol.mp3
[Filename contains captial letters]
sound/lotr/Hope_and_Memory.mp3
[Filename contains captial letters]
sound/lotr/Minas_Morgul.mp3
[Filename contains captial letters]
sound/lotr/Minas_Tirith.mp3
[Filename contains captial letters]
sound/lotr/The_Battle_of_the_Pelennor_Fields.mp3
[Filename contains captial letters]
sound/lotr/The_Black_Gate_Opens.mp3
[Filename contains captial letters]
sound/lotr/The_Ride_of_the_Rohirrim.mp3
[Filename contains captial letters]
sound/lotr/White_Tree.mp3
[Filename contains captial letters]
Successfully saved to “temp.gma” [45.1 MB]
Garry’s Workshop Publisher 1.1
[Compiled Feb 22 2015 - 20:13:48]
Storage Quota: 1.0 GB total, 340.3 MB free
Opening temp.gma
Compressing… [45.1 MB] => [44.7 MB]
Sending Addon to Steam…
Sending Icon to Steam…
Publishing “lotr_musique_ep3”…
(this can take a long time - it’s actually uploading the files right now…)
PublishWorkshopFile failed! (2)
… ier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0
Deleting temporary gma…
Temporary gma deleted.
Deleting temporary addon.json…
Temporary addon.json deleted.
[AVERTISSEMENT] Creation Failed!
Finished running queue.”

PublishWorkshopFile failed! (2)

That means “Generic Failure”.

Unfortunately I can’t tell you more.

Also, make all your file names lower case.
sound/lotr/A_Storm_Is_Coming.mp3 => sound/lotr/a_storm_is_coming.mp3

Ok.

[editline]24th March 2015[/editline]

I have removed all Caps and again same error.
Here the log:
Looking in folder “C:/Users/sylvain/Desktop/addon/lotr_musique_ep3/”
sound/lotr/a_storm_is_coming.mp3
sound/lotr/andril.mp3
sound/lotr/ash_and_smoke.mp3
sound/lotr/cirith_ungol.mp3
sound/lotr/hope_and_memory.mp3
sound/lotr/minas_morgul.mp3
sound/lotr/minas_tirith.mp3
sound/lotr/the_battle_of_the_pelennor_fields.mp3
sound/lotr/the_black_gate_opens.mp3
sound/lotr/the_ride_of_the_rohirrim.mp3
sound/lotr/white_tree.mp3
Successfully saved to “temp.gma” [45.1 MB]
Garry’s Workshop Publisher 1.1
[Compiled Feb 22 2015 - 20:13:48]
Storage Quota: 1.0 GB total, 340.3 MB free
Opening temp.gma
Compressing… [45.1 MB] => [44.7 MB]
Sending Addon to Steam…
Sending Icon to Steam…
Publishing “lotr_musique_ep3”…
(this can take a long time - it’s actually uploading the files right now…)
PublishWorkshopFile failed! (2)
… ier1\fileio.cpp (4002) : Assertion Failed: m_nNumRegisteredWriters == 0
Deleting temporary gma…
Temporary gma deleted.
Deleting temporary addon.json…
Temporary addon.json deleted.
[AVERTISSEMENT] Creation Failed!
Finished running queue.
Refreshing addon list.
Retreving list of Addons.

Error(2) is always the reason…

[editline]24th March 2015[/editline]

for 2 days now ;_;

I have retried today…

PublishWorkshopFile failed! (2)

again today:

PublishWorkshopFile failed! (2)

;; ;;

[editline]26th March 2015[/editline]

So, I have tried to upload my musics 1 by 1 and after 7.741 MB, it say’s the error.

Same error… I’m tired of this.

Try running this app: ( at your own risk )
https://dl.dropboxusercontent.com/u/10382947/CloudCleanse_addon_uploads.zip

It is made by Willox and should clean your Workshop Quota ( It will not affect your already uploaded addons ), maybe that is what causing your problems.

WinRaR say it’s an error.

WinRAR sucks.

Here’s a .zip that should work though.
https://dl.dropboxusercontent.com/u/10382947/CloudCleanse_addon_uploads.zip

Doesn’t work ;_;

[editline]27th March 2015[/editline]

I have launched it like 3 times to make sure all is clean and then I have uploaded but same error ;_;

Same fucking error again…

Error 2 is just a generic error that doesn’t point to a specific issue, meaning the program doesn’t really know why it’s failing. Your best chance would be to delete your bin folder and verify from Steam. Otherwise, trying on a different PC might help.

Always same error.