Closed sr320 closed 10 years ago
Hi Steven,
First, I tried what you mentioned:
python tools/singleupload.py test.txt
processing chunk line 0 to 7 (8.10623168945e-05 s elapsed)
pushing test.txt...
parsing 693D9962...
code: 500 : {"Contact name":"sqlshare team","Message from SQLShare":"The database 'sqlshare' has reached its size quota. Partition or delete data, drop indexes, or consult the documentation for possible resolutions.\u000d\u000a at RestWebRole.Upload.UploadManagerV2._StartProcess(Object o) in C:\\Users\\UWCSE\\Documents\\Visual Studio 2010\\Projects\\New\\SQLShareService\\SQLShareService\\RestWebRole\\Upload\\UploadManagerV2.cs:line 289\u000d\u000a at System.Threading.ExecutionContext.runTryCode(Object userData)\u000d\u000a at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)\u000d\u000a at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)\u000d\u000a at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\u000d\u000a at System.Threading.ThreadHelper.ThreadStart(Object obj)","Name of the exception":"WebProtocolException","callstack":" at RestWebRole.SSRestImpl.GetUploadResultV2(String persist_id) in C:\\Users\\UWCSE\\Documents\\Visual Studio 2010\\Projects\\New\\SQLShareService\\SQLShareService\\RestWebRole\\RestFileUpload.cs:line 448\u000d\u000a at SyncInvokeGetUploadResultV2(Object , Object[] , Object[] )\u000d\u000a at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"}
finished test.txt
It didn't work because SQLShare was out of space again. (I did get this error!)
Next, I cleared some space off SQLShare and then tried again.
What dataset are you trying with?
Thanks, Dan
Each time I am using the complete path of file ie
!python /Users/sr320/sqlshare-pythonclient/tools/singleupload.py /Volumes/web/cnidarian/BiGo_lar_M3_methratio_v9_A.txt
maybe related to that syntax?
The files are all visible via title, but when I click on them I receive error, and unable to delete thanks
Nail head, meet Steven's hammer. Steven, meet nail head.
If you run git pull
to get the latest code, and then reinstall the code sudo python setup.py install
(probably), it should work now.
It appears that with both
singleupload.py
andmultiupload.py
if you do not provide datasetname-d
, the file will appear to successfully uploaded however cannot be rendered in web service. The fact that it cannot be rendered also means cannot delete.