dordnung / System2

System2 Extension for Sourcemod
59 stars 16 forks source link

Problem using compression options #9

Closed nanociaglia closed 3 years ago

nanociaglia commented 5 years ago

I'm using a plugin that automatically uploads a demo from a gameserver to a webserver (similar as tAutoDemoUpload plugin) but there're some errors using system2 like this:

Error uploading demo demos/testing1.dem (Uploaded unaligned file size (75086725 out of 75083776 bytes))

Error uploading demo demos/testing2.bz2 (Can not open file to upload)

And sometimes it compress the demos but they're too small (22 bytes and there's nothing inside the packed file)

https://i.imgur.com/lUbTJg3.png

I've added you in steam friends so we can talk better there

PhlexPlexico commented 5 years ago

It seems that I'm having the same issue when trying to upload a raw demo with FTP. There was a problem: Uploaded unaligned file size (624559 out of 565248 bytes)

PhlexPlexico commented 5 years ago

Could it by chance be how the file size is determined for uploading files? For example

I haven't done any work with libcurl, but could it be somehow getting the filesize incorrectly and then sending it?

nanociaglia commented 4 years ago

This error still happening, any idea?

dordnung commented 4 years ago

Sorry I didn't had time for it. Could you send me a file which fails for you?

nanociaglia commented 4 years ago

Add me on discord nano#7638 or steam https://steamcommunity.com/id/nano2k06/ I'll give you everything to you

dordnung commented 4 years ago

I really tried to reconstruct the problem, but it never appeared. Maybe this was a libcurl problem and is now fixed. So please try the newest system2 version (3.3.0).

If it still not works it would really help, if you give me a file, which won't work for you