Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/prometheus/pdfrw/lib/python2.7/site-packages/pdfrw/pdfreader.py", line 645, in __init__

self._parse_encrypt_info(source, password, trailer)


 "/home/prometheus/pdfrw/lib/python2.7/site-packages/pdfrw/pdfreader.py", line 499, in _parse_encrypt_info

key = crypt.create_key(password, trailer)


 "/home/prometheus/pdfrw/lib/python2.7/site-packages/pdfrw/crypt.py", line 31, in create_key

key_size = int(doc.Encrypt.Length or 40) // 8
AttributeError: 'NoneType' object has no attribute 'Length'

Traceback (most recent call last):


 "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.7/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 264, in <module>

console_entry_point()


 "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 261, in console_entry_point

app.run(main)


 "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 255, in main

model_dir=FLAGS.model_dir)


 "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1078, in gin_wrapper

utils.augment_exception_message_and_reraise(e, err_str)


 "/usr/local/lib/python3.7/dist-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise

six.raise_from(proxy.with_traceback(exception.__traceback__), None)


 "<string>", line 3, in raise_from


 "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1055, in gin_wrapper

return fn(*new_args, **new_kwargs)


 "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 2292, in run

mesh_devices=mesh_devices)


 "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 1526, in get_estimator

input_vocab_size=inputs_vocabulary(vocabulary).vocab_size,
AttributeError: 'NoneType' object has no attribute 'vocab_size'
