Closed lfrank closed 2 years ago
@lfrank There was a typo error in reporting the error, which makes this difficult to troubleshoot. I fixed the error reporting code, so please try again...
but you'll need to install kachery-cloud 0.1.26 from source, since that's not pushed to pypi yet.
pip install --upgrade git+https://github.com/flatironinstitute/kachery-cloud
Still having trouble with the error message on the client. I’ve checked and it is using 0.1.26
Exception: None
take message interrupted: 'errorMessage' Exception in thread SubscribeMessageWorker: Traceback (most recent call last): File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/workers.py", line 41, in run self._take_message() File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/pubnub.py", line 365, in _take_message self._process_incoming_payload(msg) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/workers.py", line 177, in _process_incoming_payload self._listener_manager.announce_message(pn_message_result) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/managers.py", line 198, in announce_message callback.message(self._pubnub, message) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/kachery_cloud/TaskBackend/PubsubListener.py", line 99, in message cb(channel=message.channel, message=message.message) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/kachery_cloud/TaskBackend/TaskClient.py", line 49, in handle_message error = message['errorMessage'] KeyError: 'errorMessage'
-- Loren M. Frank
Professor Howard Hughes Medical Institute Kavli Institute for Fundamental Neuroscience Departments of Physiology and Psychiatry University of California, San Francisco Office Phone: 415-502-7357
On Jul 7, 2022, at 6:16 AM, Jeremy Magland @.**@.>> wrote:
This Message Is From an External Sender This message came from outside your organization.
@lfrankhttps://urldefense.com/v3/__https://github.com/lfrank__;!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncVFif_igQ$ There was a typo error in reporting the error, which makes this difficult to troubleshoot. I fixed the error reporting code, so please try again...
but you'll need to install kachery-cloud 0.1.26 from source, since that's not pushed to pypi yet.
pip install --upgrade git+https://github.com/flatironinstitute/kachery-cloud
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/flatironinstitute/kachery-cloud/issues/8*issuecomment-1177598263__;Iw!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncXeIcC-pw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABV4PSJBWXBPYHBGK7R5MMLVS3KDXANCNFSM522VD3LA__;!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncVkbt4R2w$. You are receiving this because you were mentioned.
Also, just FYI, when I try to download a file for which an upload was previously requested I get
NWB file CH6120211203_OA2YVMLCC9.nwb does not exist locally; checking kachery
attempting to download uri sha1://89d8ba74d54d3be6f0e24a182e4f8e21d4e25524
Traceback (most recent call last):
File "/Users/loren/Src/NWB/notebooks/sharing_kachery_test.py", line 66, in
On Jul 7, 2022, at 9:50 AM, Frank, Loren @.**@.>> wrote:
Still having trouble with the error message on the client. I’ve checked and it is using 0.1.26
Exception: None
take message interrupted: 'errorMessage' Exception in thread SubscribeMessageWorker: Traceback (most recent call last): File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/workers.py", line 41, in run self._take_message() File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/pubnub.py", line 365, in _take_message self._process_incoming_payload(msg) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/workers.py", line 177, in _process_incoming_payload self._listener_manager.announce_message(pn_message_result) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/pubnub/managers.py", line 198, in announce_message callback.message(self._pubnub, message) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/kachery_cloud/TaskBackend/PubsubListener.py", line 99, in message cb(channel=message.channel, message=message.message) File "/Users/loren/opt/anaconda3/envs/spyglass/lib/python3.8/site-packages/kachery_cloud/TaskBackend/TaskClient.py", line 49, in handle_message error = message['errorMessage'] KeyError: 'errorMessage'
-- Loren M. Frank
Professor Howard Hughes Medical Institute Kavli Institute for Fundamental Neuroscience Departments of Physiology and Psychiatry University of California, San Francisco Office Phone: 415-502-7357
On Jul 7, 2022, at 6:16 AM, Jeremy Magland @.**@.>> wrote:
This Message Is From an External Sender This message came from outside your organization.
@lfrankhttps://urldefense.com/v3/__https://github.com/lfrank__;!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncVFif_igQ$ There was a typo error in reporting the error, which makes this difficult to troubleshoot. I fixed the error reporting code, so please try again...
but you'll need to install kachery-cloud 0.1.26 from source, since that's not pushed to pypi yet.
pip install --upgrade git+https://github.com/flatironinstitute/kachery-cloud
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/flatironinstitute/kachery-cloud/issues/8*issuecomment-1177598263__;Iw!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncXeIcC-pw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABV4PSJBWXBPYHBGK7R5MMLVS3KDXANCNFSM522VD3LA__;!!LQC6Cpwp!vBQOdvdYQYhRvKdHAZhr_pi5djJ4n9H3JQaGY3eUeJ-fgaeVtBIZHXDbP4QELsUKOWA1I9JkYnsu4YvyncVkbt4R2w$. You are receiving this because you were mentioned.
Using the backend script at [https://github.com/LorenFrankLab/spyglass/blob/nwb_kachery/src/spyglass/sharing_backend/sharing_backend_kachery.py]
produces the output below following a task request from a remote system:
The remote task request code is below:
On the remote system, I get