In which Wildbook did the issue occur?
Setup on Azure Ubuntu, setup using Python Virtual Env. Following this setup guide: GitHub - WildMeOrg/wildbook-ia: Wildbook's Image Analysis (WBIA) backend service supporting machine learning for wildlife conservation
What operating system were you using? (eg. MacOS 10.15.3)
Ubuntu 18.04
What web browser were you using? (eg. Chrome 79)
Chromium ver 103.0.5060.134
What is your role on the site? (admin, researcher, etc)
Didn’t setup
What happened?
when try to upload, hit error (see below)
What are some steps we could take to reproduce the issue?
After setup complete, run the application using command:
$ python -m wbia.dev --dbdir wbia-data/ --web
Access localhost:5000, page able to load, click upload, upload page able to display, try to drag and drop an image, the following error:
[01:56:41] INFO [tornado.access] WALL=2022-08-18T015641+0 STATUS=304 METHOD=GET URL=/static/images/loading.gif IP=::1 app.py:61
TIME=14.41ms
INFO [wbia] [TRANSLATE] Calling: image_upload(<IBEISController(wbia-data) with UUID controller_inject.py:514
00230746-0d21-4d87-8b34-e40dffc856b9>)
INFO [wbia] request.files = ImmutableMultiDict([(‘image’, <FileStorage: apis.py:305
‘292714450_602227851289686_6921197523975960781_n-ro.jpg’ (‘image/jpeg’)>)])
INFO [wbia] [ibs] add_images manual_image_funcs.py:382
INFO [wbia] [ibs] len(gpath_list) = 1 manual_image_funcs.py:383
INFO [wbia] request.files = ImmutableMultiDict([(‘image’, <FileStorage: apis.py:305
‘292714450_602227851289686_6921197523975960781_n-ro.jpg’ (‘image/jpeg’)>)])
INFO [wbia] [ibs] add_images manual_image_funcs.py:382
INFO [wbia] [ibs] len(gpath_list) = 1 manual_image_funcs.py:383
INFO [wbia] Expected Function Definition: image_upload(cleanup=True, **kwargs) controller_inject.py:608
Received Function Definition: image_upload(<IBEISController(wbia-data) with UUID
00230746-0d21-4d87-8b34-e40dffc856b9>)
Received Function Parameters:
TypeError: generate2() got an unexpected keyword argument ‘futures_threaded’
Traceback (most recent call last):
File “/home/azureuser/wildbook-ia/wbia/control/controller_inject.py”, line 572, in
translate_wbia_webcall
output = func(**kwargs)
File “/home/azureuser/wildbook-ia/wbia/web/apis.py”, line 327, in image_upload
gid_list = ibs.add_images([upload_filepath], **kwargs)
File “/home/azureuser/.virtualenvs/cv/lib/python3.7/site-packages/utool/util_decor.py”, line
410, in wrp_asi
return func(self, input_, *args, **kwargs)
File “/home/azureuser/wildbook-ia/wbia/control/accessor_decors.py”, line 398, in wrp_adder
return func(*args, **kwargs)
File “/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py”, line 396, in
add_images
params_list = ibs._compute_image_uuids(gpath_list, **kwargs)
File “/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py”, line 276, in
_compute_image_uuids
futures_threaded=True,
TypeError: generate2() got an unexpected keyword argument ‘futures_threaded’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/azureuser/wildbook-ia/wbia/control/controller_inject.py", line 575, in
translate_wbia_webcall
output = func(ibs, **kwargs)
File "/home/azureuser/wildbook-ia/wbia/web/apis.py", line 327, in image_upload
gid_list = ibs.add_images([upload_filepath], **kwargs)
File "/home/azureuser/.virtualenvs/cv/lib/python3.7/site-packages/utool/util_decor.py", line
410, in wrp_asi
return func(self, input_, *args, **kwargs)
File "/home/azureuser/wildbook-ia/wbia/control/accessor_decors.py", line 398, in wrp_adder
return func(*args, **kwargs)
File "/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 396, in
add_images
params_list = ibs._compute_image_uuids(gpath_list, **kwargs)
File "/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 276, in
_compute_image_uuids
futures_threaded=True,
TypeError: generate2() got an unexpected keyword argument 'futures_threaded'
INFO [wbia] CAUGHT2: Exception('Expected Function Definition: image_upload(cleanup=True, controller_inject.py:965
**kwargs)\nReceived Function Definition: image_upload(<IBEISController(wbia-data) with UUID
00230746-0d21-4d87-8b34-e40dffc856b9>)\nReceived Function Parameters:\nTypeError: generate2()
got an unexpected keyword argument \'futures_threaded\'\nTraceback (most recent call last):\n
File "/home/azureuser/wildbook-ia/wbia/control/controller_inject.py", line 572, in
translate_wbia_webcall\n output = func(**kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/web/apis.py", line 327, in image_upload\n gid_list =
ibs.add_images([upload_filepath], **kwargs)\n File
"/home/azureuser/.virtualenvs/cv/lib/python3.7/site-packages/utool/util_decor.py", line 410, in
wrp_asi\n return func(self, input_, *args, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/accessor_decors.py", line 398, in wrp_adder\n
return func(*args, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 396, in add_images\n
params_list = ibs._compute_image_uuids(gpath_list, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 276, in
_compute_image_uuids\n futures_threaded=True,\nTypeError: generate2() got an unexpected
keyword argument \'futures_threaded\'\n\nDuring handling of the above exception, another
exception occurred:\n\nTraceback (most recent call last):\n File
"/home/azureuser/wildbook-ia/wbia/control/controller_inject.py", line 575, in
translate_wbia_webcall\n output = func(ibs, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/web/apis.py", line 327, in image_upload\n gid_list =
ibs.add_images([upload_filepath], **kwargs)\n File
"/home/azureuser/.virtualenvs/cv/lib/python3.7/site-packages/utool/util_decor.py", line 410, in
wrp_asi\n return func(self, input_, *args, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/accessor_decors.py", line 398, in wrp_adder\n
return func(*args, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 396, in add_images\n
params_list = ibs._compute_image_uuids(gpath_list, **kwargs)\n File
"/home/azureuser/wildbook-ia/wbia/control/manual_image_funcs.py", line 276, in
_compute_image_uuids\n futures_threaded=True,\nTypeError: generate2() got an unexpected
keyword argument \'futures_threaded\'\n')
ERROR [tornado.access] WALL=2022-08-18T015641+0 STATUS=500 METHOD=POST URL=/api/upload/image/ IP=::1 TIME=69.83ms app.py:61