You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this tool for the first time but running into a bit of an issue in the first cell. I'd uploaded a very basic .bib with a single entry and got an error (below). Then I tried using the example .bib used within /diversityStatement under the assumption that if any file should work, that one should, and got the same error. Looking closer at the error, it seemed like an error exists within the ethnicolr library, so I tried rerunning the initial cell with it commented out (no other changes from the default) which did not yield any error messages. It looked to me like maybe ethnicolr has a dependency on protobuf that needs to be deprecated, but I honestly am not sure. Hopefully, I'm just misunderstanding something but I'd be happy to provide any other details if helpful. Thanks so much for your time.
EDIT: Just wanted to note that taking a look at ethnicolr's page appears to confirm that this is the issue. Before commenting out ethnicolr, I could not progress any further. Since doing so, I've nearly completed the pipeline (of course, up until the point that I need the ethnicolr functions). As such, I'll try deprecating to version 0.9.1 and see if that works.
FOLLOW-UP: It may be due to my own inexperience with Jupyter notebooks, but I wasn't able to get it to work with the remote notebook you all provided. It just did not want to revert to an earlier version. However, when I downloaded the materials and ran Python locally, I was able to get ethnicolr 0.9.1 to work I think as expected, though admittedly, I ran into other issues that I think are unrelated so without the final product, I can't be 100% sure. The issue might resolve itself whenever the ethnicolr developers figure out what they need to do, but just wanted to note that. Sorry for all the updates!
Error
/srv/conda/envs/notebook/lib/python3.7/site-packages/sos_notebook/kernel.py:1334: DeprecationWarning: Kernel._parent_header is deprecated in ipykernel 6. Use .get_parent()
msg['msg_id'] = self._parent_header['header']['msg_id']
Using TensorFlow backend.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_481/2870756009.py", line 23, in <module>
from ethnicolr import census_ln, pred_census_ln,pred_wiki_name
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/__init__.py", line 3, in <module>
from .pred_census_ln import pred_census_ln
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/pred_census_ln.py", line 8, in <module>
from keras.models import load_model
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/__init__.py", line 3, in <module>
from . import utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/__init__.py", line 6, in <module>
from . import conv_utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in <module>
from .. import backend as K
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
import tensorflow as tf
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 99, in <module>
from tensorflow_core import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/node_def_pb2.py", line 16, in <module>
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/attr_value_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_pb2.py", line 16, in <module>
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/resource_handle_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 248, in wrapped
return f(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 33, in <module>
from tensorflow._api.v1 import audio
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/_api/v1/audio/__init__.py", line 10, in <module>
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_audio_ops.py", line 11, in <module>
from tensorflow.python.eager import context as _context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py", line 29, in <module>
from tensorflow.core.protobuf import config_pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/protobuf/config_pb2.py", line 16, in <module>
from tensorflow.core.framework import cost_graph_pb2 as tensorflow_dot_core_dot_framework_dot_cost__graph__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/cost_graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_481/2870756009.py", line 23, in <module>
from ethnicolr import census_ln, pred_census_ln,pred_wiki_name
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/__init__.py", line 3, in <module>
from .pred_census_ln import pred_census_ln
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/pred_census_ln.py", line 8, in <module>
from keras.models import load_model
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/__init__.py", line 3, in <module>
from . import utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/__init__.py", line 6, in <module>
from . import conv_utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in <module>
from .. import backend as K
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
import tensorflow as tf
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 99, in <module>
from tensorflow_core import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/node_def_pb2.py", line 16, in <module>
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/attr_value_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_pb2.py", line 16, in <module>
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/resource_handle_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3472, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3569, in run_code
self.showtraceback(running_compiled_code=True)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1125, in structured_traceback
tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 248, in wrapped
return f(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 33, in <module>
from tensorflow._api.v1 import audio
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/_api/v1/audio/__init__.py", line 10, in <module>
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_audio_ops.py", line 11, in <module>
from tensorflow.python.eager import context as _context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py", line 29, in <module>
from tensorflow.core.protobuf import config_pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/protobuf/config_pb2.py", line 16, in <module>
from tensorflow.core.framework import cost_graph_pb2 as tensorflow_dot_core_dot_framework_dot_cost__graph__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/cost_graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_481/2870756009.py", line 23, in <module>
from ethnicolr import census_ln, pred_census_ln,pred_wiki_name
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/__init__.py", line 3, in <module>
from .pred_census_ln import pred_census_ln
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/pred_census_ln.py", line 8, in <module>
from keras.models import load_model
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/__init__.py", line 3, in <module>
from . import utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/__init__.py", line 6, in <module>
from . import conv_utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in <module>
from .. import backend as K
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
import tensorflow as tf
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 99, in <module>
from tensorflow_core import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/node_def_pb2.py", line 16, in <module>
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/attr_value_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_pb2.py", line 16, in <module>
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/resource_handle_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3472, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3569, in run_code
self.showtraceback(running_compiled_code=True)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1125, in structured_traceback
tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3029, in _run_cell
return runner(coro)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/async_helpers.py", line 78, in _pseudo_sync_runner
coro.send(None)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3257, in run_cell_async
interactivity=interactivity, compiler=compiler, result=result)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3491, in run_ast_nodes
self.showtraceback()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1143, in structured_traceback
chained_exceptions_tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1101, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 248, in wrapped
return f(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 281, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "/srv/conda/envs/notebook/lib/python3.7/inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 33, in <module>
from tensorflow._api.v1 import audio
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/_api/v1/audio/__init__.py", line 10, in <module>
from tensorflow.python.ops.gen_audio_ops import decode_wav
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_audio_ops.py", line 11, in <module>
from tensorflow.python.eager import context as _context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py", line 29, in <module>
from tensorflow.core.protobuf import config_pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/protobuf/config_pb2.py", line 16, in <module>
from tensorflow.core.framework import cost_graph_pb2 as tensorflow_dot_core_dot_framework_dot_cost__graph__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/cost_graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
[IPKernelApp] ERROR | Exception in message handler:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3552, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "/tmp/ipykernel_481/2870756009.py", line 23, in <module>
from ethnicolr import census_ln, pred_census_ln,pred_wiki_name
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/__init__.py", line 3, in <module>
from .pred_census_ln import pred_census_ln
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ethnicolr/pred_census_ln.py", line 8, in <module>
from keras.models import load_model
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/__init__.py", line 3, in <module>
from . import utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/__init__.py", line 6, in <module>
from . import conv_utils
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/utils/conv_utils.py", line 9, in <module>
from .. import backend as K
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/__init__.py", line 89, in <module>
from .tensorflow_backend import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
import tensorflow as tf
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 99, in <module>
from tensorflow_core import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 50, in __getattr__
module = self._load()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow/__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "/srv/conda/envs/notebook/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/python/__init__.py", line 52, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/graph_pb2.py", line 16, in <module>
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/node_def_pb2.py", line 16, in <module>
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/attr_value_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_pb2.py", line 16, in <module>
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/resource_handle_pb2.py", line 16, in <module>
from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/tensorflow_core/core/framework/tensor_shape_pb2.py", line 42, in <module>
serialized_options=None, file=DESCRIPTOR),
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 560, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3472, in run_ast_nodes
if (await self.run_code(code, result, async_=asy)):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3569, in run_code
self.showtraceback(running_compiled_code=True)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1125, in structured_traceback
tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3029, in _run_cell
return runner(coro)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/async_helpers.py", line 78, in _pseudo_sync_runner
coro.send(None)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3257, in run_cell_async
interactivity=interactivity, compiler=compiler, result=result)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3491, in run_ast_nodes
self.showtraceback()
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1143, in structured_traceback
chained_exceptions_tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2098, in showtraceback
stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ipykernel/kernelbase.py", line 406, in dispatch_shell
await result
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ipykernel/kernelbase.py", line 730, in execute_request
reply_content = await reply_content
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ipykernel/ipkernel.py", line 387, in do_execute
cell_id=cell_id,
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/ipykernel/zmqshell.py", line 528, in run_cell
return super().run_cell(*args, **kwargs)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2975, in run_cell
raw_cell, store_history, silent, shell_futures, cell_id
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3036, in _run_cell
self.showtraceback(running_compiled_code=True)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2101, in showtraceback
value, tb, tb_offset=tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1368, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1268, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1143, in structured_traceback
chained_exceptions_tb_offset)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 1082, in format_exception_as_a_whole
last_unique, recursion_repeat = find_recursion(orig_etype, evalue, records)
File "/srv/conda/envs/notebook/lib/python3.7/site-packages/IPython/core/ultratb.py", line 382, in find_recursion
return len(records), 0
TypeError: object of type 'NoneType' has no len()
The text was updated successfully, but these errors were encountered:
Hi, thanks for checking out our tool and for digging into this bug! I agree, I think it's a protobuf problem due to a recent update from their end, which gets called by ethnicolr. I'll try forcing a downgrade for protobuf as that thread suggests, but it'll take a while for the Binder to rebuild. Hoping to have this resolved by tomorrow and will reply with an update.
Hello,
I'm trying to use this tool for the first time but running into a bit of an issue in the first cell. I'd uploaded a very basic
.bib
with a single entry and got an error (below). Then I tried using the example.bib
used within/diversityStatement
under the assumption that if any file should work, that one should, and got the same error. Looking closer at the error, it seemed like an error exists within theethnicolr
library, so I tried rerunning the initial cell with it commented out (no other changes from the default) which did not yield any error messages. It looked to me like maybeethnicolr
has a dependency onprotobuf
that needs to be deprecated, but I honestly am not sure. Hopefully, I'm just misunderstanding something but I'd be happy to provide any other details if helpful. Thanks so much for your time.EDIT: Just wanted to note that taking a look at
ethnicolr
's page appears to confirm that this is the issue. Before commenting outethnicolr
, I could not progress any further. Since doing so, I've nearly completed the pipeline (of course, up until the point that I need theethnicolr
functions). As such, I'll try deprecating to version 0.9.1 and see if that works.FOLLOW-UP: It may be due to my own inexperience with Jupyter notebooks, but I wasn't able to get it to work with the remote notebook you all provided. It just did not want to revert to an earlier version. However, when I downloaded the materials and ran Python locally, I was able to get ethnicolr 0.9.1 to work I think as expected, though admittedly, I ran into other issues that I think are unrelated so without the final product, I can't be 100% sure. The issue might resolve itself whenever the ethnicolr developers figure out what they need to do, but just wanted to note that. Sorry for all the updates!
Error
The text was updated successfully, but these errors were encountered: