Dear Dr. Jefferis,
Hello, I'm trying to use fafbseg functions but I keep receiving an error that I'm not authorized to access FlyWire API.
The dr_fafbseg() said like as below.
> dr_fafbseg()
FlyWire
----
Checking secrets folder for tokens from R: C:\Users\dell\.cloudvolume\secrets
Valid FlyWire ChunkedGraph token is set and found by R!
cloudvolume found a token at C:\Users\dell\.cloudvolume\secrets/cave-secret.json
Error in py_call_impl(x, dots$args, dots$keywords) :
requests.exceptions.HTTPError: 401 Client Error: UNAUTHORIZED for url:
https://prodv1.flywire-daf.com/segmentation/api/v1/table/fly_v31/roots_binarytoken found but python+cloudvolume access to FlyWire API is still failing!
Please ask for help at
https://groups.google.com/g/nat-user using the full output of dr_fafbseg.
1 FlyWire/CloudVolume credential files available at
C:\Users\dell\.cloudvolume\secrets
[1] "cave-secret.json"
Flywire cloudvolume URL: graphene://
https://prodv1.flywire-daf.com/segmentation/table/fly_v31Google FFN1 segmentation
----
• Set the `fafbseg.skelziproot` option:
`options(fafbseg.skelziproot="/path/to/zips")`
if you want to use FFN1 skeleton files!
Python
----
python: C:/Users/dell/AppData/Local/r-miniconda/envs/r-reticulate/python.exe
libpython: C:/Users/dell/AppData/Local/r-miniconda/envs/r-reticulate/python38.dll
pythonhome: C:/Users/dell/AppData/Local/r-miniconda/envs/r-reticulate
version: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:00) [MSC v.1929 64 bit (AMD64)]
Architecture: 64bit
numpy: C:/Users/dell/AppData/Local/r-miniconda/envs/r-reticulate/Lib/site-packages/numpy
numpy_version: 1.23.2
module available version path
1 cloudvolume TRUE 8.9.1 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\cloudvolume
2 DracoPy TRUE 1.2.0
3 meshparty TRUE 0.2.2 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\meshparty
4 skeletor TRUE 1.2.1 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\skeletor
5 pykdtree TRUE C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\pykdtree
6 pyembree TRUE 0.2.11 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\pyembree
7 caveclient TRUE 4.16.2 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\caveclient
8 pychunkedgraph TRUE 0.1.113 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\pychunkedgraph
9 igneous TRUE C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\igneous
10 pyarrow TRUE 9.0.0 C:\\Users\\dell\\AppData\\Local\\R-MINI~1\\envs\\R-RETI~1\\lib\\site-packages\\pyarrow
rJava
----
The rJava package is linked to the following JVM
java.version: 1.8.0_341
java.home: C:\Program Files\Java\jre1.8.0_341
java.class.version: 52.0
System java
----
(used as a fallback when rJava not available)
java run time found at: C:\PROGRA~1\COMMON~1\Oracle\Java\javapath\java.exe
java.version: 18.0.2.1
h5reg test
----
h5reg xform infrastructure OK!
xform test gave correct results