I have compiled iFolder version 3.5.7039.1 from source using libflaim 4.9.989 on debian AMD64 unstable, and gotten it set up and working properly. However, with certain files, it absolutely will not upload the files. I believe I have figured out the problem, but I have no idea where to start with fixing it.

The problem is this: Any files that are an exact multiple of the chunk size will not upload because the last chunk it tries to send is null. The first file in the error log below was 16,384 bytes. Another one of them is 32,768 bytes. Deleting a single byte from the file allows it to upload. I'm using client version 3.4.6167.1.

I hope that this issue is easily fixable. I'm hoping to get this set up in a production environment soon. :) Upgrading from the ancient iFolder 2.1.

I am willing to test any fixes proposed.

Josh

--Simias.log snippet--

2007-04-14 19:27:53,868 [1084721504] DEBUG Simias.Sync.Log - Acquired Lock 
count = 1
2007-04-14 19:27:53,901 [1181436256] DEBUG 
Simias.Security.Web.AuthenticationModule - AuthenticationModule Init()
2007-04-14 19:27:54,539 [1181436256] DEBUG Simias.Sync.Log - Opening File 
/data/www/ifolder/simias/CollectionFiles/8f6fd216-49e1-4bb4-9606-b9d31c76c377/3f94dc9e-6c6f-4273-8b23-9186bffb9fea
2007-04-14 19:27:54,611 [1181436256] DEBUG Simias.Sync.Log - Closing File 
/data/www/ifolder/simias/CollectionFiles/8f6fd216-49e1-4bb4-9606-b9d31c76c377/3f94dc9e-6c6f-4273-8b23-9186bffb9fea
2007-04-14 19:27:54,813 [1089186144] DEBUG Simias.Sync.Log - Opening File 
/data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball
 Stats/Basketball Stats/obj/Release/Basketball_Stats.CrystalReport1.rpt
2007-04-14 19:27:54,828 [1181436256] DEBUG Simias.Sync.Log - Request Failed 
exception
Argument cannot be null.
Parameter name: buffer is null
 at (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
 at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x00000] at System.Web.HttpRequest.MakeInputStream () [0x00000] at System.Web.HttpRequest.get_InputStream () [0x00000] at Simias.Sync.Http.HttpService.WriteFile (System.Web.HttpRequest request, System.Web.HttpResponse response) [0x00000] at Simias.Sync.Web.SyncHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] 2007-04-14 19:27:54,850 [1089186144] DEBUG Simias.Sync.Log - Closing File /data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball Stats/Basketball Stats/obj/Release/Basketball_Stats.CrystalReport1.rpt
2007-04-14 19:27:54,858 [1181436256] DEBUG Simias.Sync.Log - Opening File 
/data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball
 Stats/Basketball Stats/obj/Release/Basketball_Stats.CrystalReport2.rpt
2007-04-14 19:27:54,865 [1084721504] DEBUG Simias.Sync.Log - Request Failed 
exception
Argument cannot be null.
Parameter name: buffer is null
 at (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
 at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x00000] at System.Web.HttpRequest.MakeInputStream () [0x00000] at System.Web.HttpRequest.get_InputStream () [0x00000] at Simias.Sync.Http.HttpService.WriteFile (System.Web.HttpRequest request, System.Web.HttpResponse response) [0x00000] at Simias.Sync.Web.SyncHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] 2007-04-14 19:27:54,868 [1181436256] DEBUG Simias.Sync.Log - Closing File /data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball Stats/Basketball Stats/obj/Release/Basketball_Stats.CrystalReport2.rpt
2007-04-14 19:27:54,883 [1089186144] DEBUG Simias.Sync.Log - Opening File 
/data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball
 Stats/Basketball Stats/obj/Release/Basketball_Stats.OpponentAll.rpt
2007-04-14 19:27:54,889 [1181436256] DEBUG Simias.Sync.Log - Request Failed 
exception
Argument cannot be null.
Parameter name: buffer is null
 at (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
 at (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:Read 
(int,int,byte[]&)
at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x00000] at System.Web.HttpRequest.MakeInputStream () [0x00000] at System.Web.HttpRequest.get_InputStream () [0x00000] at Simias.Sync.Http.HttpService.WriteFile (System.Web.HttpRequest request, System.Web.HttpResponse response) [0x00000] at Simias.Sync.Web.SyncHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] 2007-04-14 19:27:54,892 [1084721504] DEBUG Simias.Sync.Log - Closing File /data/www/ifolder/simias/SimiasFiles/08/8f6fd216-49e1-4bb4-9606-b9d31c76c377/test/Projects/Basketball Stats/Basketball Stats/obj/Release/Basketball_Stats.OpponentAll.rpt

--end error log--
_______________________________________________
ifolder-dev mailing list
[EMAIL PROTECTED]
http://forge.novell.com/mailman/listinfo/ifolder-dev

Reply via email to