Team Spartan Cookies & Milk Forums
SF upload file broken - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: SF upload file broken (/thread-725.html)



SF upload file broken - LocInt - 12-02-2015

[ERROR] addons/starfall/lua/vgui/starfall_filebrowser.lua:343: attempt to index global 'FileShare' (a nil value)
1. OnUploadComplete - addons/starfall/lua/vgui/starfall_filebrowser.lua:343
2. OnComplete - addons/starfall/lua/vgui/starfall_filebrowser.lua:435
3. func - addons/starfall/lua/starfall/sharedfiles.lua:341
4. unknown - lua/includes/modules/net.lua:32


RE: SF upload file broken - Person8880 - 12-02-2015

It's not broken in the way you think.

It's doing that because there's an error in the transfer, but the code that handles the error has a typo.


RE: SF upload file broken - LocInt - 12-02-2015

(12-02-2015, 06:36 PM)Person8880 Wrote: It's not broken in the way you think.

It's doing that because there's an error in the transfer, but the code that handles the error has a typo.

Big Grin damn typos haha. Now it keeps telling me that the current transfer is still on its way and not finished. Happened after the error.


RE: SF upload file broken - Person8880 - 12-02-2015

(12-02-2015, 06:38 PM)LocInt Wrote:
(12-02-2015, 06:36 PM)Person8880 Wrote: It's not broken in the way you think.

It's doing that because there's an error in the transfer, but the code that handles the error has a typo.

Big Grin damn typos haha. Now it keeps telling me that the current transfer is still on its way and not finished. Happened after the error.
Yep, that's because the error stopped it from finishing the transfer. You'll have to reconnect to be able to upload again, assuming it doesn't fail the transfer again.

The typo will be gone after the next server start so you'll be able to see what the actual problem is then otherwise.


RE: SF upload file broken - LocInt - 13-02-2015

(12-02-2015, 07:07 PM)Person8880 Wrote:
(12-02-2015, 06:38 PM)LocInt Wrote:
(12-02-2015, 06:36 PM)Person8880 Wrote: It's not broken in the way you think.

It's doing that because there's an error in the transfer, but the code that handles the error has a typo.

Big Grin damn typos haha. Now it keeps telling me that the current transfer is still on its way and not finished. Happened after the error.
Yep, that's because the error stopped it from finishing the transfer. You'll have to reconnect to be able to upload again, assuming it doesn't fail the transfer again.

The typo will be gone after the next server start so you'll be able to see what the actual problem is then otherwise.

After rejoining im getting: Upload failed: Uknown error. on the same file.


RE: SF upload file broken - Person8880 - 13-02-2015

Hah. Another typo is preventing it from resolving the error message properly...

Looks like you're hitting the storage quota. I'll increase it for now.


RE: SF upload file broken - LocInt - 14-02-2015

(13-02-2015, 07:01 PM)Person8880 Wrote: Hah. Another typo is preventing it from resolving the error message properly...

Looks like you're hitting the storage quota. I'll increase it for now.

This is what you get when your chips are around 2000 lines.