Skip to content

File error if datasetname not provided #10

Closed

Description

@sr320

It appears that with both singleupload.py and multiupload.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.

Activity

  1. dhalperi commented on Oct 4, 2013

    @dhalperi
    Member

    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.

    • It worked
    • The dataset is visible in my account.

    What dataset are you trying with?

    Thanks,
    Dan

  2. sr320 commented on Oct 4, 2013

    @sr320
    Author

    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

  3. dhalperi commented on Oct 4, 2013

    @dhalperi
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions