text1
stringlengths 92
132k
| text2
stringlengths 83
99.1k
| score
float64 0.01
1
|
---|---|---|
Traceback (most recent call last):
"train_mobilenet.py", line 88, in <module>
validation_steps=(5000. // batchsize))
"/usr/local/lib/python3.6/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
"/usr/local/lib/python3.6/dist-packages/keras/engine/training.py", line 1418, in fit_generator
initial_epoch=initial_epoch)
"/usr/local/lib/python3.6/dist-packages/keras/engine/training_generator.py", line 181, in fit_generator
generator_output = next(output_generator)
"/usr/local/lib/python3.6/dist-packages/keras/utils/data_utils.py", line 709, in get
six.reraise(*sys.exc_info())
"/home/hadoop/anaconda3/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
"/usr/local/lib/python3.6/dist-packages/keras/utils/data_utils.py", line 685, in get
inputs = self.queue.get(block=True).get()
"/home/hadoop/anaconda3/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
"/home/hadoop/anaconda3/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
"/usr/local/lib/python3.6/dist-packages/keras/utils/data_utils.py", line 626, in next_sample
return six.next(_SHARED_SEQUENCES[uid])
"/home/hadoop/Documents/demo-ava-1/neural-image-assessment-master/utils/data_loader.py", line 101, in train_generator
train_dataset = tf.data.Dataset().from_tensor_slices((train_image_paths, train_scores))
TypeError: Can't instantiate abstract class DatasetV1 with abstract methods _as_variant_tensor, _inputs
| Traceback (most recent call last):
"/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
| 0.539484 |
Traceback (most recent call last):
"manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
"/home/mario/anaconda3/envs/myapp/lib/python3.6/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
"/home/user/anaconda3/envs/myapp/lib/python3.6/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/home/user/anaconda3/envs/myapp/lib/python3.6/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
"/home/user/anaconda3/envs/myapp/lib/python3.6/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
"/home/user/anaconda3/envs/myapp/lib/python3.6/site-packages/tenant_schemas/management/commands/tenant_command.py", line 15, in handle
call_command(command, *args, **options)
"/home/user/anaconda3/envs/myapp/lib/python3.6/site-packages/django/core/management/__init__.py", line 160, in call_command
', '.join(sorted(valid_options)),
TypeError: Unknown option(s) for shell command: skip_checks. Valid options are: command, force_color, help, interface, no_color, no_startup, pythonpath, settings, stderr, stdout, traceback, verbosity, version.
| Traceback (most recent call last):
"/usr/local/bin/pipenv", line 10, in <module>
sys.exit(cli())
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/local/lib/python3.8/site-packages/pipenv/cli/command.py", line 235, in install
retcode = do_install(
"/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1863, in do_install
do_init(
"/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1192, in do_init
raise exceptions.DeployException
"/usr/local/lib/python3.8/site-packages/pipenv/exceptions.py", line 168, in __init__
PipenvUsageError.__init__(message=fix_utf8(message), extra=extra, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'self'
| 0.579378 |
Comment: An exception occurred in this state: Traceback (most recent call last):
"/usr/lib/python2.7/dist-packages/salt/state.py", line 1563, in call
**cdata['kwargs'])
"/usr/lib/python2.7/dist-packages/salt/states/file.py", line 1373, in managed
if contents and not contents.endswith('\n'):
AttributeError: 'list' object has no attribute 'endswith'
Started: 14:54:56.238368 | Traceback (most recent call last):
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
"/home/adys/src/git/hsreplaynet/dj-stripe/tests/test_sync.py", line 38, in test_sync_success
sync_subscriber(self.user)
"/home/adys/src/git/hsreplaynet/dj-stripe/djstripe/sync.py", line 18, in sync_subscriber
customer, _created = Customer.get_or_create(subscriber=subscriber)
"/home/adys/src/git/hsreplaynet/dj-stripe/djstripe/models.py", line 206, in get_or_create
return cls.create(subscriber, idempotency_key=idempotency_key), True
"/home/adys/src/git/hsreplaynet/dj-stripe/djstripe/models.py", line 217, in create
defaults={"subscriber": subscriber, "livemode": stripe_customer["livemode"]}
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/db/models/query.py", line 459, in get_or_create
lookup, params = self._extract_model_params(defaults, **kwargs)
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/db/models/query.py", line 521, in _extract_model_params
property_names = self.model._meta._property_names
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/utils/functional.py", line 35, in __get__
res = instance.__dict__[self.name] = self.func(instance)
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/db/models/options.py", line 887, in _property_names
dir(self.model) if isinstance(getattr(self.model, attr), property)
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/django/db/models/options.py", line 887, in <setcomp>
dir(self.model) if isinstance(getattr(self.model, attr), property)
"/home/adys/src/git/hsreplaynet/dj-stripe/.tox/py36-django111/lib/python3.6/site-packages/jsonfield/subclassing.py", line 35, in __get__
raise AttributeError('Can only be accessed via an instance.')
AttributeError: Can only be accessed via an instance.
| 0.559215 |
Traceback (most recent call last):
"save_model.py", line 19, in <module>
classifier.save(save_here, save_format='h5')
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/network.py", line 986, in save
signatures, options)
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/save.py", line 112, in save_model
model, filepath, overwrite, include_optimizer)
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 109, in save_model_to_hdf5
save_weights_to_hdf5_group(model_weights_group, model_layers)
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_core/python/keras/saving/hdf5_format.py", line 631, in save_weights_to_hdf5_group
param_dset = g.create_dataset(name, val.shape, dtype=val.dtype)
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/h5py/_hl/group.py", line 139, in create_dataset
self[name] = dset
"/Users/alexryan/miniconda3/envs/tf2/lib/python3.7/site-packages/h5py/_hl/group.py", line 373, in __setitem__
h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl)
"h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
"h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
"h5py/h5o.pyx", line 202, in h5py.h5o.link
RuntimeError: Unable to create link (name already exists)
| Traceback (most recent call last):
"/home/foo/bar/baz/venv/lib/python3.6/site-packages/pyshark/capture/capture.py", line 446, in __del__
self.close()
"/home/foo/bar/baz/venv/lib/python3.6/site-packages/pyshark/capture/capture.py", line 437, in close
self.eventloop.run_until_complete(self.close_async())
"/usr/lib/python3.6/asyncio/base_events.py", line 471, in run_until_complete
self.run_forever()
"/usr/lib/python3.6/asyncio/base_events.py", line 425, in run_forever
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
| 0.516661 |
Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/electrum_gui/qt/history_list.py", line 122, in on_doubleclick
tx_hash = str(item.data(0, Qt.UserRole).toString())
AttributeError: 'str' object has no attribute 'toString'
| Traceback (most recent call last):
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 2922, in _run_cell
return runner(coro)
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/async_helpers.py", line 68, in _pseudo_sync_runner
coro.send(None)
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3145, in run_cell_async
has_raised = await self.run_ast_nodes(code_ast.body, cell_name,
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3356, in run_ast_nodes
self.showtraceback()
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 2046, in showtraceback
stb = self.InteractiveTB.structured_traceback(etype,
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1435, in structured_traceback
return FormattedTB.structured_traceback(
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1335, in structured_traceback
return VerboseTB.structured_traceback(
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1210, in structured_traceback
formatted_exceptions += self.format_exception_as_a_whole(etype, evalue, etb, lines_of_context,
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1152, in format_exception_as_a_whole
frames = self.format_records(records, last_unique, recursion_repeat)
"/Users/walter/pyvenvs/ipython-bad/lib/python3.8/site-packages/IPython/core/ultratb.py", line 891, in format_records
if r[0].f_locals.get("__tracebackhide__", 0):
AttributeError: 'list' object has no attribute 'get'
| 0.628549 |
Traceback (most recent call last):
"/opt/conda/bin/igel", line 8, in <module>
sys.exit(main())
"/opt/conda/lib/python3.8/site-packages/igel/cli.py", line 508, in main
CLI()
"/opt/conda/lib/python3.8/site-packages/igel/cli.py", line 166, in __init__
getattr(self, self.cmd.command)()
"/opt/conda/lib/python3.8/site-packages/igel/cli.py", line 297, in fit
Igel(**self.dict_args)
"/opt/conda/lib/python3.8/site-packages/igel/igel.py", line 102, in __init__
getattr(self, self.command)()
"/opt/conda/lib/python3.8/site-packages/igel/igel.py", line 336, in fit
x_train, y_train, x_test, y_test = self._prepare_fit_data()
TypeError: cannot unpack non-iterable NoneType object
| Traceback (most recent call last):
"/usr/local/bin/flexget", line 10, in <module>
sys.exit(main())
"/usr/local/lib/python3.7/dist-packages/flexget/__init__.py", line 44, in main
manager.start()
"/usr/local/lib/python3.7/dist-packages/flexget/manager.py", line 384, in start
self.handle_cli()
"/usr/local/lib/python3.7/dist-packages/flexget/manager.py", line 413, in handle_cli
options.cli_command_callback(self, command_options)
"/usr/local/lib/python3.7/dist-packages/flexget/components/series/cli.py", line 38, in do_cli
display_summary(options)
"/usr/local/lib/python3.7/dist-packages/flexget/components/series/cli.py", line 94, in display_summary
latest = db.get_latest_release(series)
"/usr/local/lib/python3.7/dist-packages/flexget/components/series/db.py", line 1114, in get_latest_release
return max(latest_season, latest_ep)
"/usr/lib/python3.7/functools.py", line 93, in _gt_from_lt
op_result = self.__lt__(other)
"/usr/local/lib/python3.7/dist-packages/flexget/components/series/db.py", line 396, in __lt__
return self.season < other.season
TypeError: '<' not supported between instances of 'int' and 'NoneType'
| 0.614237 |
Traceback (most recent call last):
"VideoWidget_vlc.py", line 882, in setMedia
TypeError: 'method' object is not connected
| Traceback (most recent call last):
"D:\py3.6\lib\site-packages\paramiko\transport.py", line 2109, in run
handler(self.auth_handler, m)
"D:\py3.6\lib\site-packages\paramiko\auth_handler.py", line 283, in _parse_service_accept
password = b(self.password)
"D:\py3.6\lib\site-packages\paramiko\py3compat.py", line 142, in b
raise TypeError("Expected unicode or bytes, got {!r}".format(s))
TypeError: Expected unicode or bytes, got <paramiko.rsakey.RSAKey object at 0x000002D496B9F5F8>
| 0.487748 |
Traceback (most recent call last):
"calibre_plugins.dedrm.ignobleepub", line 281, in decryptBook
"calibre_plugins.dedrm.ignobleepub", line 212, in __init__
"calibre_plugins.dedrm.ignobleepub", line 183, in __init__
"site-packages\Crypto\Cipher\AES.py", line 95, in new
"site-packages\Crypto\Cipher\AES.py", line 59, in __init__
"site-packages\Crypto\Cipher\blockalgo.py", line 141, in __init__
ValueError: Key cannot be the null string
| Traceback (most recent call last):
"C:\Python\anaconda3\lib\site-packages\spyder\widgets\variableexplorer\dataframeeditor.py", line 295, in data
return to_qvariant(to_text_string(value))
"C:\Python\anaconda3\lib\site-packages\spyder\py3compat.py", line 140, in to_text_string
return str(obj)
"C:\Python\anaconda3\lib\site-packages\pandas\core\base.py", line 59, in __str__
return self.__unicode__()
"C:\Python\anaconda3\lib\site-packages\pandas\core\frame.py", line 636, in __unicode__
line_width=width, show_dimensions=show_dimensions)
"C:\Python\anaconda3\lib\site-packages\pandas\core\frame.py", line 1675, in to_string
formatter.to_string()
"C:\Python\anaconda3\lib\site-packages\pandas\io\formats\format.py", line 597, in to_string
strcols = self._to_str_columns()
"C:\Python\anaconda3\lib\site-packages\pandas\io\formats\format.py", line 537, in _to_str_columns
max_len = max(np.max([self.adj.len(x) for x in fmt_values]),
"C:\Python\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 2320, in amax
out=out, **kwargs)
"C:\Python\anaconda3\lib\site-packages\numpy\core\_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
| 0.570089 |
> Traceback (most recent call last):
"/usr/lib/python2.7/logging/__init__.py", line 861, in emit
msg = self.format(record)
"/usr/lib/python2.7/logging/__init__.py", line 734, in format
return fmt.format(record)
"/usr/lib/python2.7/logging/__init__.py", line 465, in format
record.message = record.getMessage()
"/usr/lib/python2.7/logging/__init__.py", line 329, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
TypeError: unorderable types: BooleanTrue() < int()
| 0.521492 |
Traceback (most recent call last):
"/home/ubuntu/anaconda3/envs/tensorflow_p36/bin/mmconvert", line 8, in <module>
sys.exit(_main())
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/mmdnn/conversion/_script/convert.py", line 102, in _main
ret = convertToIR._convert(ir_args)
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 66, in _convert
parser = TensorflowParser(args.network, args.weights, args.dstNodeName)
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/mmdnn/conversion/tensorflow/tensorflow_parser.py", line 308, in __init__
tensorflow.import_graph_def(transformed_graph_def, name='', input_map=input_map)
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/framework/importer.py", line 405, in import_graph_def
producer_op_list=producer_op_list)
"/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/tensorflow_core/python/framework/importer.py", line 505, in _import_graph_def_internal
raise ValueError(str(e))
ValueError: Input 0 of node map/Shape was passed float from Placeholder:0 incompatible with expected string.
| Traceback (most recent call last):
"/home/kelsos/.virtualenvs/raiden/bin/raiden", line 11, in <module>
load_entry_point('raiden', 'console_scripts', 'raiden')()
"/home/kelsos/development/github/raiden-network/raiden/raiden/__main__.py", line 11, in main
run(auto_envvar_prefix='RAIDEN')
# pylint: disable=no-value-for-parameter
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/core.py", line 1043, in invoke
return Command.invoke(self, ctx)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
"/home/kelsos/development/github/raiden-network/raiden/raiden/ui/cli.py", line 425, in run
app = runner.run()
"/home/kelsos/development/github/raiden-network/raiden/raiden/ui/runners.py", line 245, in run
return self._start_services()
"/home/kelsos/development/github/raiden-network/raiden/raiden/ui/runners.py", line 96, in _start_services
app_ = run_app(**self._options)
"/home/kelsos/development/github/raiden-network/raiden/raiden/ui/app.py", line 418, in run_app
raiden_app.start()
"/home/kelsos/development/github/raiden-network/raiden/raiden/app.py", line 143, in start
self.raiden.start()
"/home/kelsos/development/github/raiden-network/raiden/raiden/raiden_service.py", line 372, in start
self._initialize_transactions_queues(chain_state)
"/home/kelsos/development/github/raiden-network/raiden/raiden/raiden_service.py", line 588, in _initialize_transactions_queues
self.raiden_event_handler.on_raiden_event(self, transaction)
"/home/kelsos/development/github/raiden-network/raiden/raiden/raiden_event_handler.py", line 103, in on_raiden_event
self.handle_contract_send_channelsettle(raiden, event)
"/home/kelsos/development/github/raiden-network/raiden/raiden/raiden_event_handler.py", line 484, in handle_contract_send_channelsettle
partner_locksroot,
"/home/kelsos/development/github/raiden-network/raiden/raiden/network/proxies/payment_channel.py", line 228, in settle
partner_locksroot=partner_locksroot,
"/home/kelsos/development/github/raiden-network/raiden/raiden/network/proxies/token_network.py", line 988, in settle
partner_locksroot,
"/home/kelsos/development/github/raiden-network/raiden/raiden/network/rpc/smartcontract_proxy.py", line 165, in estimate_gas
raise err
"/home/kelsos/development/github/raiden-network/raiden/raiden/network/rpc/smartcontract_proxy.py", line 154, in estimate_gas
'from': to_checksum_address(self.jsonrpc_client.address),
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/web3/contract.py", line 1194, in estimateGas
**self.kwargs
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/web3/contract.py", line 1488, in estimate_gas_for_function
gas_estimate = web3.eth.estimateGas(estimate_transaction)
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/web3/eth.py", line 304, in estimateGas
[transaction],
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/web3/manager.py", line 112, in request_blocking
raise ValueError(response["error"])
ValueError: {'code': -32015, 'message': 'Transaction execution error.', 'data': 'Internal("Requires higher than upper limit of 80000000")'}
| 0.579735 |
Traceback (most recent call last):
"/home/archean/.local/lib/python3.5/site-packages/telegram/ext/dispatcher.py", line 269, in process_update
if handler.check_update(update):
"/home/archean/.local/lib/python3.5/site-packages/telegram/ext/regexhandler.py", line 150, in check_update
match = re.match(self.pattern, update.effective_message.text)
"/usr/lib/python3.5/re.py", line 163, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object | Traceback (most recent call last):
"pillow_example.py", line 7, in <module>
im.save('tiled_pyramidal_speckle.jpg')
"/Users/alexwlchan/.virtualenvs/tempenv-4d7f2098295f/lib/python2.7/site-packages/PIL/Image.py", line 1897, in save
self.load()
"/Users/alexwlchan/.virtualenvs/tempenv-4d7f2098295f/lib/python2.7/site-packages/PIL/TiffImagePlugin.py", line 1040, in load
return super(TiffImage
, self).load()
"/Users/alexwlchan/.virtualenvs/tempenv-4d7f2098295f/lib/python2.7/site-packages/PIL/Image
.py", line 204, in load
args, self.decoderconfig)
"/Users/alexwlchan/.virtualenvs/tempenv-4d7f2098295f/lib/python2.7/site-packages/PIL/Image.py", line 435, in _getdecoder
return decoder(mode, *args + extra)
TypeError: function takes at least 3 arguments (1 given)
| 0.515156 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/Users/tos/.pyenv/versions/tmp/lib/python3.6/site-packages/numpy/core/numeric.py", line 1469, in roll
if -a.ndim <= ax < a.ndim:
TypeError: '<=' not supported between instances of 'int' and 'numpy.str_'
| Traceback (most recent call last):
"/home/aistudio/PaddleDetection-master/ppdet/data/reader.py", line 46, in __call__
data = f(data, ctx)
TypeError: 'dict' object is not callable
| 0.592323 |
Traceback (most recent call last):
"/usr/local/bin/qark", line 11, in <module>
load_entry_point('qark==2.0', 'console_scripts', 'qark')()
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 697, in main
rv = self.invoke(ctx)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/local/lib/python2.7/site-packages/qark/qark.py", line 68, in cli
click.secho("Finish writing report to %s...", report_path)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/termui.py", line 420, in secho
return echo(style(text, **styles), file=file, nl=nl, err=err, color=color)
"/usr/local/lib/python2.7/site-packages/click-6.7-py2.7.egg/click/utils.py", line 259, in echo
file.write(message)
AttributeError: 'str' object has no attribute 'write'
| Traceback (most recent call last):
"./interactive.py", line 34, in <module>
obs_n, reward_n, done_n, _ = env.step(act_n)
"/mnt/4ADE1465DE144C17/Programming/python/multiagent-particle-envs/bin/../multiagent/environment.py", line 94, in step
reward_n.append(self._get_reward(agent))
"/mnt/4ADE1465DE144C17/Programming/python/multiagent-particle-envs/bin/../multiagent/environment.py", line 141, in _get_reward
return self.reward_callback(agent, self.world)
"/mnt/4ADE1465DE144C17/Programming/python/multiagent-particle-envs/bin/../multiagent/scenarios/simple_crypto.py", line 96, in reward
return self.adversary_reward(agent, world) if agent.adversary else self.agent_reward(agent, world)
"/mnt/4ADE1465DE144C17/Programming/python/multiagent-particle-envs/bin/../multiagent/scenarios/simple_crypto.py", line 120, in adversary_reward
if not (agent.state.c == np.zeros(world.dim_c)).all():
AttributeError: 'bool' object has no attribute 'all'
| 0.625168 |
Traceback (most recent call last):
"demo.py", line 139, in <module>
main()
"demo.py", line 117, in main
symbol = get_vgg_test()
"/home/mx-rcnn/rcnn/symbol/symbol_vgg.py", line 276, in get_vgg_test
rois = mx.symbol.Proposal(
AttributeError: 'module' object has no attribute 'Proposal' | Traceback (most recent call last):
"/c8000xd3/galaxy/lib/galaxy/workflow/run.py", line 82, in __invoke
outputs = invoker.invoke()
"/c8000xd3/galaxy/lib/galaxy/workflow/run.py", line 162, in invoke
jobs = self._invoke_step( step )
"/c8000xd3/galaxy/lib/galaxy/workflow/run.py", line 228, in _invoke_step
jobs = step.module.execute( self.trans, self.progress, self.workflow_invocation, step )
"/c8000xd3/galaxy/lib/galaxy/workflow/modules.py", line 487, in execute
content_type = input_dataset_hda.history_content_type
AttributeError: 'list' object has no attribute 'history_content_type' | 0.619371 |
Traceback (most recent call last):
"/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 103, in __init__
self._prepare(clean)
"/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 120, in _prepare
self._builtin_modules = self._fetch_builtin_modules()
"/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/thonny/plugins/micropython/backend.py", line 174, in _fetch_builtin_modules
assert not err, "Error was: %r" % err
AssertionError: Error was: 'Traceback (most recent call last):\r\n
"<stdin>", line 1, in <module>\r\nNameError: name \'help\' isn\'t defined\r\n'
| Traceback (most recent call last):
"fonttools", line 11, in <module>
sys.exit(main())
"fontTools/__main__.py", line 29, in main
runpy.run_module(mod, run_name='__main__')
"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 208, in run_module
return _run_code(code, {}, init_globals, run_name, mod_spec)
"/usr/local/Cellar/python/3.7.1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
"fontTools/varLib/__main__.py", line 7, in <module>
sys.exit(main())
"fontTools/varLib/__init__.py", line 1075, in main
optimize=options.optimize
"fontTools/varLib/__init__.py", line 916, in build
_merge_OTL(vf, model, master_fonts, axisTags)
"fontTools/varLib/__init__.py", line 688, in _merge_OTL
merger.mergeTables(font, master_fonts, ['GSUB', 'GDEF', 'GPOS'])
"fontTools/varLib/merger.py", line 108, in mergeTables
for m in master_ttfs])
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 94, in mergeThings
self.mergeObjects(out, lst)
"fontTools/varLib/merger.py", line 73, in mergeObjects
mergerFunc(self, value, values)
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 94, in mergeThings
self.mergeObjects(out, lst)
"fontTools/varLib/merger.py", line 73, in mergeObjects
mergerFunc(self, value, values)
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 94, in mergeThings
self.mergeObjects(out, lst)
"fontTools/varLib/merger.py", line 73, in mergeObjects
mergerFunc(self, value, values)
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 96, in mergeThings
self.mergeLists(out, lst)
"fontTools/varLib/merger.py", line 82, in mergeLists
self.mergeThings(value, values)
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 92, in mergeThings
mergerFunc(self, out, lst)
"fontTools/varLib/merger.py", line 755, in merge
merger.mergeLists(self.SubTable, subtables)
"fontTools/varLib/merger.py", line 82, in mergeLists
self.mergeThings(value, values)
"fontTools/varLib/merger.py", line 950, in mergeThings
super(VariationMerger, self).mergeThings(out, lst)
"fontTools/varLib/merger.py", line 92, in mergeThings
mergerFunc(self, out, lst)
"fontTools/varLib/merger.py", line 623, in merge
_MarkBasePosFormat1_merge(self, lst, merger)
"fontTools/varLib/merger.py", line 611, in _MarkBasePosFormat1_merge
merger.mergeThings(anchor, allAnchors)
"fontTools/varLib/merger.py", line 947, in mergeThings
model, lst = masterModel.getSubModel(lst)
"fontTools/varLib/models.py", line 219, in getSubModel
subModel = VariationModel(subList(key, self.origLocations), self.axisOrder)
"fontTools/varLib/models.py", line 203, in __init__
keyFunc = self.getMasterLocationsSortKeyFunc(locations, axisOrder=self.axisOrder)
"fontTools/varLib/models.py", line 225, in getMasterLocationsSortKeyFunc
assert {} in locations, "Base master not found."
AssertionError: ('Base master not found.', 'MarkBasePos', '[0]', 'Lookup', '[6]', 'list', '.Lookup', 'LookupList', '.LookupList', 'GPOS', '.table', 'table_G_P_O_S_')
| 0.613266 |
Traceback (most recent call last):
"/gpfs1/data/galaxy_server/galaxy-dev/lib/galaxy/jobs/__init__.py", line 1458, in cleanup
galaxy.tools.imp_exp.JobImportHistoryArchiveWrapper( self.app, self.job_id ).cleanup_after_job()
"/gpfs1/data/galaxy_server/galaxy-dev/lib/galaxy/tools/imp_exp/__init__.py", line 78, in cleanup_after_job
history_attr_str = read_file_contents( history_attr_file_name )
"/gpfs1/data/galaxy_server/galaxy-dev/lib/galaxy/tools/imp_exp/__init__.py", line 44, in read_file_contents
fp = open( file_path, 'rb' )
IOError: [Errno 2] No such file or directory: u'/gpfs1/data/galaxy_server/galaxy-dev/database/tmp/tmpfvUDYp/history_attrs.txt'
|
Traceback (most recent call last):
"<string>", line 18, in <module>
IOError: [Errno 2] No such file or directory: 'c:\\u...emp\\pip-bt72t7-build\\setup.py'
| 0.53906 |
Traceback (most recent call last):
"c:\users\timothy\miniconda3\envs\tf\lib\site-packages\wandb\wandb_agent.py", line 198, in _process_command
result = self._command_run(command)
"c:\users\timothy\miniconda3\envs\tf\lib\site-packages\wandb\wandb_agent.py", line 247, in _command_run
proc = AgentProcess(command=command_list, env=env)
"c:\users\timothy\miniconda3\envs\tf\lib\site-packages\wandb\wandb_agent.py", line 41, in __init__
env=env, preexec_fn=os.setpgrp)
AttributeError: module 'os' has no attribute 'setpgrp'` | Traceback (most recent call last):
"/export/mmaction2/tools/train.py", line 146, in <module>
main()
"/export/mmaction2/tools/train.py", line 142, in main
meta=meta)
"/export/mmaction2/mmaction/apis/train.py", line 111, in train_model
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
"/home/zhanglu/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 103, in run
self.call_hook('before_run')
"/home/zhanglu/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/base_runner.py", line 298, in call_hook
getattr(hook, fn_name)(self)
"/home/zhanglu/miniconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv/runner/hooks/lr_updater.py", line 114, in before_run
epoch_len = len(runner.data_loader)
AttributeError: 'EpochBasedRunner' object has no attribute 'data_loader'
| 0.626203 |
Traceback (most recent call last):
"/code/fast-export/hg-fast-export.py", line 719, in <module>
plugins=plugins_dict))
"/code/fast-export/hg-fast-export.py", line 535, in hg2git
if not verify_heads(ui,repo,heads_cache,force,branchesmap):
"/code/fast-export/hg-fast-export.py", line 494, in verify_heads
b'\n%s (repo) != %s (cache)\n' % (b, b'<None>' if sha1 is None else sha1, c)
TypeError: %b requires bytes, or an object that implements __bytes__, not 'NoneType'
| Traceback (most recent call last):
"/usr/local/bin/ykdl", line 9, in <module>
load_entry_point('ykdl==1.5.0', 'console_scripts', 'ykdl')()
"/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/cykdl/__main__.py", line 149, in main
"/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/ykdl/extractor.py", line 24, in parser
"/usr/local/lib/python3.5/dist-packages/ykdl-1.5.0-py3.5.egg/ykdl/extractors/douyu/live.py", line 38, in prepare
TypeError: Can't convert 'NoneType' object to str implicitly
| 0.595099 |
Traceback (most recent call last):
"/usr/local/lib/python3.6/dist-packages/neuroner/neuromodel.py", line 824, in __del__
self.sess.close()
AttributeError: 'NeuroNER' object has no attribute 'sess' | Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/salt/loader.py", line 1343, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
"/usr/lib/python2.7/site-packages/salt/cloud/clouds/gce.py", line 71, in <module>
libcloud.security.CA_CERTS_PATH.append('/etc/ssl/certs/YaST-CA.pem')
AttributeError: 'NoneType' object has no attribute 'append'
| 0.554138 |
Traceback (most recent call last):
"C:\Users\PC\Downloads\qiling-master\qiling-master\qiling\os\windows\windows.py", line 96, in hook_winapi
winapi_func(self.ql, address, {})
"C:\Users\PC\Downloads\qiling-master\qiling-master\qiling\os\windows\fncc.py", line 29, in wrapper
return ql.os.x86_stdcall(param_num, params, func, args, kwargs)
"C:\Users\PC\Downloads\qiling-master\qiling-master\qiling\os\os.py", line 234, in x86_stdcall
result, param_num = self.__x86_cc(param_num, params, func, args, kwargs)
"C:\Users\PC\Downloads\qiling-master\qiling-master\qiling\os\os.py", line 203, in __x86_cc
result = func(*args, **kwargs)
"C:\Users\PC\Downloads\qiling-master\qiling-master\qiling\os\windows\dlls\kernel32\libloaderapi.py", line 188, in hook_LoadLibraryA
if lpLib
Name == ql.loader.filepath.decode():
AttributeError: 'QlLoaderPE' object has no attribute 'filepath'
| Traceback (most recent call last):
"/home/amir/pydev/basic.py", line 54, in <module>
fetch_channel_messages("@TEST")
"/home/amir/pydev/basic.py", line 28, in fetch_channel_messages
messages = client.send(GetMessages(channel, range(min_message, 1 + max_message)))
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/client/client.py", line 549, in send
r = self.session.send(data)
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/session/session.py", line 402, in send
return self._send(data)
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/session/session.py", line 367, in _send
message = self.msg_factory(data)
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/session/internals/msg_factory.py", line 37, in __call__
len(body)
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/api/core/object.py", line 44, in __len__
return len(self.write())
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/api/functions/channels/get_messages.py", line 63, in write
b.write(Vector(self.id))
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/api/core/primitives/vector.py", line 52, in __new__
for i in value
"/home/amir/.local/lib/python3.6/site-packages/pyrogram/api/core/primitives/vector.py", line 52, in <listcomp>
for i in value
AttributeError: 'int' object has no attribute 'write'
| 0.590055 |
Traceback (most recent call last):
"/Users/cr/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/Users/cr/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/Developer/Work/rasa_nlu/rasa_nlu/evaluate.py", line 729, in <module>
main()
"/Developer/Work/rasa_nlu/rasa_nlu/evaluate.py", line 723, in main
run_evaluation(cmdline_args.data, cmdline_args.model)
"/Developer/Work/rasa_nlu/rasa_nlu/evaluate.py", line 508, in run_evaluation
interpreter = Interpreter.load(model_path, component_builder)
"/Developer/Work/rasa_nlu/rasa_nlu/model.py", line 274, in load
skip_validation)
"/Developer/Work/rasa_nlu/rasa_nlu/model.py", line 301, in create
model_metadata, **context)
"/Developer/Work/rasa_nlu/rasa_nlu/components.py", line 405, in load_component
cached_component, **context)
"/Developer/Work/rasa_nlu/rasa_nlu/registry.py", line 133, in load_component_by_name
return component_clz.load(model_dir, metadata, cached_component, **kwargs)
"/Developer/Work/rasa_nlu/rasa_nlu/featurizers/count_vectors_featurizer.py", line 255, in load
return utils.pycloud_unpickle(featurizer_file)
"/Developer/Work/rasa_nlu/rasa_nlu/utils/__init__.py", line 322, in pycloud_unpickle
return cloudpickle.load(f, encoding="latin-1")
TypeError: an integer is required (got type str)
| Traceback (most recent call last):
"/home/user/Downloads/CTFd-3.2.1/env/lib/python3.7/site-packages/marshmallow/utils.py", line 349, in _get_value_for_key
return obj[key]
TypeError: 'Admins' object is not subscriptable
| 0.517747 |
Traceback (most recent call last):
"tronc/upload.py", line 3, in <module>
import boto3
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/boto3/__init__.py", line 16, in <module>
from boto3.session import Session
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/boto3/session.py", line 17, in <module>
import botocore.session
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/session.py", line 30, in <module>
import botocore.credentials
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/credentials.py", line 34, in <module>
from botocore.config import Config
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/config.py", line 16, in <module>
from botocore.endpoint import DEFAULT_TIMEOUT, MAX_POOL_CONNECTIONS
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/endpoint.py", line 22, in <module>
from botocore.awsrequest import create_request_object
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/awsrequest.py", line 26, in <module>
import botocore.utils
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/utils.py", line 31, in <module>
import botocore.httpsession
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/botocore/httpsession.py", line 17, in <module>
from urllib3.contrib.pyopenssl import orig_util_SSLContext as SSLContext
"/home/palewire/.virtualenvs/tronc-escape-plan-dsu7lNBm/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 84, in <module>
ssl.PROTOCOL_TLSv1: OpenSSL.SSL.TLSv1_METHOD,
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'
| Traceback (most recent call last):
"/home/hlynur/.local/bin/polyglot", line 8, in <module>
sys.exit(main())
"/home/hlynur/.local/lib/python3.6/site-packages/polyglot/__main__.py", line 292, in main
args.func(args)
"/home/hlynur/.local/lib/python3.6/site-packages/polyglot/__main__.py", line 116, in download
halt_on_error=args.halt_on_error)
"/home/hlynur/.local/lib/python3.6/site-packages/polyglot/downloader.py", line 676, in download
if not self.download(msg.package.id, download_dir,
AttributeError: 'NoneType' object has no attribute 'id'
| 0.589424 |
Traceback (most recent call last):
"/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
"/home/tkloczko/rpmbuild/BUILD/arrow-0.15.6/tests/test_arrow.py", line 1494, in test_hours
later = self.now.shift(hours=2)
AttributeError: 'TestArrowHumanize' object has no attribute 'now'
| Traceback (most recent call last):
"/home/lerwys/.local/bin/ansible-lint", line 11, in <module>
load_entry_point('ansible-lint==5.0.0a1.dev2', 'console_scripts', 'ansible-lint')()
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/__main__.py", line 287, in _run_cli_entrypoint
sys.exit(main(sys.argv))
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/__main__.py", line 173, in main
result = _get_matches(rules, options)
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/__main__.py", line 247, in _get_matches
matches.extend(runner.run())
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/runner.py", line 90, in run
matches.extend(self._emit_matches(files))
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/runner.py", line 117, in _emit_matches
for child in ansiblelint.utils.find_children(arg, self.playbook_dir):
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/utils.py", line 189, in find_children
items = _playbook_items(playbook_ds)
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/utils.py", line 151, in _playbook_items
return [item for play in pb_data if play for item in play.items()]
"/home/lerwys/.local/lib/python3.8/site-packages/ansible_lint-5.0.0a1.dev2-py3.8.egg/ansiblelint/utils.py", line 151, in <listcomp>
return [item for play in pb_data if play for item in play.items()]
AttributeError: 'AnsibleUnicode' object has no attribute 'items'
| 0.601686 |
Traceback (most recent call last):
"/home/pedro/.local/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 385, in run_asgi
result = await app(self.scope, self.receive, self.send)
"/home/pedro/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/fastapi/applications.py", line 149, in __call__
await super().__call__(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/applications.py", line 102, in __call__
await self.middleware_stack(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc from None
"/home/pedro/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 76, in __call__
await self.app(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc from None
"/home/pedro/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/routing.py", line 550, in __call__
await route.handle(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
await self.app(scope, receive, send)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/routing.py", line 41, in app
response = await func(request)
"/home/pedro/.local/lib/python3.8/site-packages/fastapi/routing.py", line 196, in app
raw_response = await run_endpoint_function(
"/home/pedro/.local/lib/python3.8/site-packages/fastapi/routing.py", line 150, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
"/home/pedro/.local/lib/python3.8/site-packages/starlette/concurrency.py", line 34, in run_in_threadpool
return await loop.run_in_executor(None, func, *args)
"/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
"/home/pedro/git_clones/haystack/haystack/api/controller/search.py", line 117, in doc_qa
result = finder.get_answers(
"/home/pedro/git_clones/haystack/haystack/finder.py", line 43, in get_answers
results = self.reader.predict(question=question,
AttributeError: 'NoneType' object has no attribute 'predict'
| Traceback (most recent call last):
"train.py", line 245, in <module>
main()
"train.py", line 198, in main
for i_iter, batch in enumerate(trainloader):
"/root/anaconda3/envs/pytorch0.4.1/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 336, in __next__
return self._process_next_batch(batch)
"/root/anaconda3/envs/pytorch0.4.1/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
AttributeError: Traceback (most recent call last):
| 0.575354 |
`Traceback (most recent call last):
"create_db.py", line 7, in <module>
from app import current_app
"/home/aju/Desktop/flask/open-event-server/app/__init__.py", line 35, in <module>
from app.api.helpers.jwt import jwt_user_loader
"/home/aju/Desktop/flask/open-event-server/app/api/__init__.py", line 1, in <module>
from app.api.access_codes import AccessCodeList, AccessCodeListPost, AccessCodeDetail, AccessCodeRelationshipRequired, \
"/home/aju/Desktop/flask/open-event-server/app/api/access_codes.py", line 5, in <module>
from app.api.bootstrap import api
"/home/aju/Desktop/flask/open-event-server/app/api/bootstrap.py", line 3, in <module>
from app.api.helpers.permission_manager import permission_manager
"/home/aju/Desktop/flask/open-event-server/app/api/helpers/permission_manager.py", line 9, in <module>
from app.models.event import Event
"/home/aju/Desktop/flask/open-event-server/app/models/event.py", line 19, in <module>
from app.models.search import sync
"/home/aju/Desktop/flask/open-event-server/app/models/search/sync.py", line 11, in <module>
from app.models.search.event import SearchableEvent
"/home/aju/Desktop/flask/open-event-server/app/models/search/event.py", line 2, in <module>
from elasticsearch_dsl import DocType, Integer, Search, Text
ImportError: cannot import name 'DocType' from 'elasticsearch_dsl' (/home/aju/Desktop/flask/lib/python3.7/site-packages/elasticsearch_dsl/__init__.py)
| Traceback (most recent call last):
"/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 61, in application
response = frappe.handler.handle()
"/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
"/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
"/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1007, in call
return fn(*args, **newargs)
"/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 489, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
"/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py", line 22, in get
data = compress(execute(**args), args = args)
"/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py", line 78, in compress
from frappe.desk.query_report import add_total_row
"/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 19, in
from frappe.utils import gzip_decompress
ImportError: cannot import name gzip_decompress
| 0.604874 |
Traceback (most recent call last):
"Unet,new.py", line 130, in <module>
_main()
"Unet,new.py", line 74, in _main
custom_augmentation = custom_augmentation
# add augmentation here, defined below
TypeError: train() got an unexpected keyword argument 'custom_augmentation'
| Traceback (most recent call last):
"/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
"/home/fabio/src/git_repositories/FARM/farm/infer.py", line 569, in _create_datasets_chunkwise
dataset, tensor_names, baskets = processor.dataset_from_dicts(dicts, indices, return_baskets=True)
"/home/fabio/src/git_repositories/FARM/farm/data_handler/processor.py", line 361, in dataset_from_dicts
id_external = self._id_from_dict(d)
"/home/fabio/src/git_repositories/FARM/farm/data_handler/processor.py", line 403, in _id_from_dict
ext_id = try_get(ID_NAMES, d["qas"][0])
"/home/fabio/src/git_repositories/FARM/farm/utils.py", line 432, in try_get
ret = dictionary[key]
TypeError: string indices must be integers
| 0.573621 |
Traceback (most recent call last):
"/Applications/Develop/Armory/blender.app//armsdk//armory/blender/arm/props_ui.py", line 377, in draw
wrd = bpy.data.worlds['Arm']
KeyError: 'bpy_prop_collection[key]: key "Arm" not found'
| Traceback (most recent call last):
"/data/onlyfan/OnlyFans/datascraper/main_datascraper.py", line 177, in start_datascraper
result = x.start_datascraper(
"/data/onlyfan/OnlyFans/modules/onlyfans.py", line 85, in start_datascraper
results = prepare_scraper(
"/data/onlyfan/OnlyFans/modules/onlyfans.py", line 455, in prepare_scraper
x = pool.starmap(media_scraper, product(
"/usr/lib/python3.8/multiprocessing/pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
"/usr/lib/python3.8/multiprocessing/pool.py", line 768, in get
raise self._value
"/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
"/usr/lib/python3.8/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
"/data/onlyfan/OnlyFans/modules/onlyfans.py", line 290, in media_scraper
new_dict["price"] = media_api["price"]
KeyError: 'price' | 0.464046 |
Traceback (most recent call last):
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1360, in record_messages
await _enter_user_message(sender_id, endpoint)
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 1199, in _enter_user_message
message = await _ask_questions(question, sender_id, endpoint, lambda a: not a)
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 312, in _ask_questions
should_retry = await _ask_if_quit(sender_id, endpoint)
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 589, in _ask_if_quit
await _write_data_to_file(sender_id, endpoint)
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 565, in _write_data_to_file
await _write_nlu_to_file(nlu_path, events)
"/usr/local/lib/python3.6/site-packages/rasa/core/training/interactive.py", line 807, in _write_nlu_to_file
f.write(nlu_data.as_markdown())
"/usr/local/lib/python3.6/site-packages/rasa/nlu/training_data/training_data.py", line 133, in as_markdown
return MarkdownWriter().dumps(self)
"/usr/local/lib/python3.6/site-packages/rasa/nlu/training_data/formats/markdown.py", line 206, in dumps
md += self._generate_training_examples_md(training_data)
"/usr/local/lib/python3.6/site-packages/rasa/nlu/training_data/formats/markdown.py", line 217, in _generate_training_examples_md
key=lambda k: k["intent"],
"/usr/local/lib/python3.6/site-packages/rasa/nlu/training_data/formats/markdown.py", line 217, in <lambda>
key=lambda k: k["intent"],
KeyError: 'intent'
| Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/lutris/gui/config_dialogs.py", line 369, in on_save
self.game.steamid = self.lutris_config.game_config['appid']
KeyError: 'appid' | 0.55272 |
Traceback (most recent call last):
"eval.py", line 76, in <module>
vars(opt))
"/home/cjz/self-critical.pytorch-master/eval_utils.py", line 116, in eval_split
tmp = [_.cuda() if _ is not None else _ for _ in tmp]
AttributeError: 'numpy.ndarray' object has no attribute 'cuda'
| Traceback (most recent call last):
"main.py", line 21, in <module>
trt.set_random_seed(1234)
AttributeError: module 'tensorflow.python.compiler.tensorrt.trt_convert' has no attribute 'set_random_seed'`
| 0.615286 |
Traceback (most recent call last):
"<ipython-input-65-e33e2cfa9d4a>", line 1, in <module>
predicted_solubility = model.predict_on_batch(x)
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 490, in predict_on_batch
return self.predict_on_generator(generator, transformers, outputs)
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 275, in predict_on_generator
generator, transformers=[], outputs=outputs)
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 472, in predict_on_generator
return self._predict(generator, transformers, outputs, False)
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 420, in _predict
for feed_dict in self._create_feed_dicts(generator, uncertainty):
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 1071, in _create_feed_dicts
for d in generator:
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 244, in default_generator
smiles_seqs = [self.smiles_to_seq(smiles) for smiles in ids_b]
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 244, in <listcomp>
smiles_seqs = [self.smiles_to_seq(smiles) for smiles in ids_b]
"/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 251, in smiles_to_seq
smiles_len = len(smiles)
TypeError: object of type 'int' has no len()
| Traceback (most recent call last):
"examples/text-pair/glove_mwe_multipool_siamese.py", line 216, in <module>
plac.call(main)
"/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/plac_core.py", line 328, in call
cmd, result = parser.consume(arglist)
"/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/plac_core.py", line 207, in consume
return cmd, self.func(*(args + varargs + extraopts), **kwargs)
"examples/text-pair/glove_mwe_multipool_siamese.py", line 155, in main
>> Residual(Maxout(width*2, pieces=pieces)**2)
"/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/thinc/neural/_classes/resnet.py", line 68, in __init__
self.Block(width, width, name='rb1-%s' % self.name, **kwargs),
"/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/thinc/neural/_classes/resnet.py", line 26, in __init__
BatchNorm(name='%s-bn1' % self.name),
TypeError: __init__() missing 1 required positional argument: 'child'
| 0.563954 |
Traceback (most recent call last):
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\threading.py", line 917, in _bootstrap_inner
self.run()
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 77, in raise_last_exception
raise _exception[1]
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\__init__.py", line 337, in execute
autoreload.check_errors(django.setup)()
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\registry.py", line 122, in populate
app_config.ready()
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\admin\apps.py", line 24, in ready
self.module.autodiscover()
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\contrib\admin\__init__.py", line 26, in autodiscover
autodiscover_modules('admin', register_to=site)
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\module_loading.py", line 47, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
"C:\Users\Dell\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 1006, in _gcd_import
"<frozen importlib._bootstrap>", line 983, in _find_and_load
"<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 677, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 728, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"C:\Users\Dell\PycharmProjects\pyshop\products\admin.py", line 9, in <module>
admin.sites.register(Products, ProductAdmin)
AttributeError: module 'django.contrib.admin.sites' has no attribute 'register'
| Traceback (most recent call last):
"C:/Users/PycharmProjects/oneway_test/test.py", line 12, in <module>
f()
"D:\virtual\Envs\venv37\lib\site-packages\viztracer\decorator.py", line 17, in ignore_wrapper
tracer.pause()
AttributeError: 'NoneType' object has no attribute 'pause'
| 0.583901 |
Traceback (most recent call last):
"pytorch-pretrained-BERT/examples/run_classifier.py", line 637, in <module>
main()
"pytorch-pretrained-BERT/examples/run_classifier.py", line 465, in main
cache_dir = args.cache_dir if args.cache_dir else os.path.join(PYTORCH_PRETRAINED_BERT_CACHE, 'distributed_{}'.format(args.local_rank))
"/usr/lib/python3.5/posixpath.py", line 89, in join
genericpath._check_arg_types('join', a, *p)
"/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'PosixPath'
| Traceback (most recent call last):
"/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
TypeError: cache_versions() takes 1 positional argument but 2 were given
| 0.537162 |
[!] Traceback (most recent call last):
"lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
| Traceback (most recent call last):
"c:\Users\Nehad Hirmiz\Documents\Programming\Python\Tutorials\tinygrad\test_speedynet.py", line 83, in test_mnist
out.backward()
"c:\ProgramData\Anaconda3\envs\deeptorch\lib\site-packages\tinygrad\tensor.py", line 68, in backward
t.backward(False)
"c:\ProgramData\Anaconda3\envs\deeptorch\lib\site-packages\tinygrad\tensor.py", line 68, in backward
t.backward(False)
"c:\ProgramData\Anaconda3\envs\deeptorch\lib\site-packages\tinygrad\tensor.py", line 68, in backward
t.backward(False)
[Previous line repeated 1 more time]
"c:\ProgramData\Anaconda3\envs\deeptorch\lib\site-packages\tinygrad\tensor.py", line 63, in backward
if g.shape != t.data.shape:
AttributeError: 'tuple' object has no attribute 'shape' | 0.563553 |
Traceback (most recent call last):
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/utils/server.py", line 179, in _authenticate_and_serve_client
self._serve_client(sock2, credentials)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/utils/server.py", line 203, in _serve_client
self._handle_connection(conn)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/utils/server.py", line 209, in _handle_connection
conn.serve_all()
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 449, in serve_all
self.serve(None)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 442, in serve
return self.sync_recv_and_dispatch(timeout, wait_for_lock=True)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 417, in sync_recv_and_dispatch
self._dispatch(data)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 407, in _dispatch
raise ValueError("invalid message type: %r" % (msg,))
ValueError: invalid message type: None
| Traceback (most recent call last):
"train.py", line 23, in <module>
for i, data in enumerate(dataset):
"/home/ankit/MeshCNN/data/__init__.py", line 33, in __iter__
for i, data in enumerate(self.dataloader):
"/home/ankit/anaconda3/envs/meshcnn/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 637, in __next__
return self._process_next_batch(batch)
"/home/ankit/anaconda3/envs/meshcnn/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
ValueError: Traceback (most recent call last):
| 0.555052 |
Traceback (most recent call last):
"eventHandler.pyc", line 100, in next
"NVDAObjects\__init__.pyc", line 1063, in event_mouseMove
"NVDAObjects\IAccessible\MSHTML.pyc", line 427, in makeTextInfo
"documentBase.pyc", line 24, in makeTextInfo
"NVDAObjects\IAccessible\MSHTML.pyc", line 333, in __init__
TypeError: not all arguments converted during string formatting
| Traceback (most recent call last):
"build.py", line 35, in <module>
extra_objects=extra_objects
"/home/renb/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 228, in __init__
super(BuildExtension, self).__init__(*args, **kwargs)
"/home/renb/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in __init__
_Command.__init__(self, dist)
"/home/renb/anaconda3/lib/python3.7/distutils/cmd.py", line 57, in __init__
raise TypeError("dist must be a Distribution instance")
TypeError: dist must be a Distribution instance
| 0.569384 |
Traceback (most recent call last):
"/usr/lib/python3.8/site-packages/lutris/util/cookies.py", line 31, in _really_load
domain, domain_specified, path, secure, expires, name, value = line.split(
ValueError: too many values to unpack (expected 7)
| Traceback (most recent call last):
"script/train.py", line 141, in <module>
main()
"script/train.py", line 120, in main
executor = executor)
"/home/work/lixin46/paddle/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/io.py", line 1071, in save_inference_model
prepend_feed_ops(main_program, feeded_var_names)
"/home/work/lixin46/paddle/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/io.py", line 884, in prepend_feed_ops
out = global_block.var(name)
"/home/work/lixin46/paddle/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/framework.py", line 1556, in var
raise ValueError("var %s not in this block" % name)
ValueError: var text not in this block
| 0.524676 |
2021-04-09 10:44:50,071 - [1;31mERROR[0m - 99493:DummyThread-586 - zato.server.connection.http_soap.channel:0 - Caught an exception, cid:`ef88ad4dea77cf12b9aeca6c`, status_code:`HTTPStatus.INTERNAL_SERVER_ERROR`, `Traceback (most recent call last):
"src/zato/cy/bunch.pyx", line 12, in zato.bunch.Bunch.__getattr__
AttributeError: 'ServiceInput' object has no attribute 'sub_key'
| Traceback (most recent call last):
"<ipython-input-7-612e002ded9a>", line 2, in <module>
trace = pm.sample(n_samples)
"/usr/local/lib/python3.5/dist-packages/pymc3/sampling.py", line 240, in sample
progressbar=progressbar, **args)
"/usr/local/lib/python3.5/dist-packages/pymc3/sampling.py", line 597, in init_nuts
obj_optimizer=pm.adagrad_window
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/inference.py", line 755, in fit
return inference.fit(n, **kwargs)
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/inference.py", line 123, in fit
step_func = self.objective.step_function(score=score, **kwargs)
"/usr/local/lib/python3.5/dist-packages/pymc3/memoize.py", line 16, in memoizer
cache[key] = obj(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/theano/configparser.py", line 117, in res
return f(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 258, in step_function
total_grad_norm_constraint=total_grad_norm_constraint)
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 154, in updates
total_grad_norm_constraint=total_grad_norm_constraint
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 186, in add_obj_updates
obj_target = self(obj_z, more_obj_params=more_obj_params)
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 315, in __call__
self.op.apply(self.tf),
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/operators.py", line 24, in apply
return self.logq_norm(z) - self.logp_norm(z)
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 958, in logq_norm
return self.logq(z) / self.normalizing_constant
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 598, in normalizing_constant
tt.max([v.scaling for v in self.model.basic_RVs]))
"/usr/local/lib/python3.5/dist-packages/pymc3/variational/opvi.py", line 598, in <listcomp>
tt.max([v.scaling for v in self.model.basic_RVs]))
AttributeError: 'MultiObservedRV' object has no attribute 'scaling'
| 0.579357 |
Traceback (most recent call last):
"/home/kevin/anaconda2/lib/python2.7/site-packages/nose/loader.py", line 251, in generate
for test in g():
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/tests/test_modelgen.py", line 138, in test_modelgen_sparse
res = s.run()
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1043, in run
runtime = self._run_wrapper(runtime)
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/interfaces/base.py", line 1000, in _run_wrapper
runtime = self._run_interface(runtime)
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/modelgen.py", line 408, in _run_interface
self._generate_design()
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/modelgen.py", line 802, in _generate_design
sparselist = self._generate_clustered_design(infolist)
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/modelgen.py", line 783, in _generate_clustered_design
reg, regnames = self._cond_to_regress(info, nscans)
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/modelgen.py", line 751, in _cond_to_regress
nscans)
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/modelgen.py", line 655, in _gen_regress
boxcar = np.zeros((50.0 * 1e3 / dt))
TypeError: 'numpy.float64' object cannot be interpreted as an index
| ```Traceback (most recent call last):
"./train.py", line 254, in <module>
main(_args.directory, _args.epochs, _args.verbose, _args.section)
"./train.py", line 29, in main
train_section(directory, epochs, verbose, section)
"./train.py", line 132, in train_section
parse_and_preprocess(training_sets[l], entry_size, shuffle=True)
"./train.py", line 226, in parse_and_preprocess
arr = dataframe.to_dask_array(lengths=True)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/dataframe/core.py", line 1105, in to_dask_array
lengths = tuple(self.map_partitions(len).compute())
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/base.py", line 156, in compute
(result,) = compute(self, traverse=False, **kwargs)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/base.py", line 397, in compute
results = schedule(dsk, keys, **kwargs)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/threaded.py", line 76, in get
pack_exception=pack_exception, **kwargs)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 501, in get_async
raise_exception(exc, tb)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/compatibility.py", line 112, in reraise
raise exc
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 272, in execute_task
result = _execute_task(task, data)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in _execute_task
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in <listcomp>
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 249, in _execute_task
return [_execute_task(a, cache) for a in arg]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 249, in <listcomp>
return [_execute_task(a, cache) for a in arg]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in _execute_task
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in <listcomp>
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in _execute_task
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 252, in <listcomp>
args2 = [_execute_task(a, cache) for a in args]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 249, in _execute_task
return [_execute_task(a, cache) for a in arg]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 249, in <listcomp>
return [_execute_task(a, cache) for a in arg]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/local.py", line 253, in _execute_task
return func(*args2)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/dataframe/core.py", line 3684, in apply_and_enforce
df = func(*args, **kwargs)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/dataframe/methods.py", line 45, in try_loc
return loc(df, iindexer, cindexer)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/dask/dataframe/methods.py", line 31, in loc
return df.loc[iindexer]
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexing.py", line 1478, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexing.py", line 1866, in _getitem_axis
return self._get_slice_axis(key, axis=axis)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexing.py", line 1511, in _get_slice_axis
slice_obj.step, kind=self.name)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4091, in slice_indexer
kind=kind)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4292, in slice_locs
start_slice = self.get_slice_bound(start, 'left', kind)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4218, in get_slice_bound
label = self._maybe_cast_slice_bound(label, side, kind)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4169, in _maybe_cast_slice_bound
self._invalid_indexer('slice', label)
"/projects/tbrockmeyer/road_tunnel/env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 1849, in _invalid_indexer
kind=type(key)))
TypeError: cannot do slice indexing on <class 'pandas.core.indexes.base.Index'> with these indexers [0] of <class 'int'>``` | 0.633207 |
[!] Traceback (most recent call last):
"lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
| Traceback (most recent call last):
"/usr/local/bin/pip-compile", line 8, in <module>
sys.exit(cli())
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/piptools/scripts/compile.py", line 300, in cli
for ireq in filter(is_pinned_requirement, ireqs):
"/usr/local/lib/python3.5/dist-packages/piptools/utils.py", line 122, in is_pinned_requirement
if ireq.editable:
AttributeError: 'ParsedRequirement' object has no attribute 'editable'
| 0.629062 |
Traceback (most recent call last):
"train.py", line 382, in <module>
main()
"train.py", line 376, in main
max_queue_size=args.max_queue_size,
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training.py", line 1296, in fit_generator
steps_name='steps_per_epoch')
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_generator.py", line 221, in model_iteration
batch_data = _get_next_batch(generator)
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_generator.py", line 363, in _get_next_batch
generator_output = next(generator)
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/utils/data_utils.py", line 789, in get
six.reraise(*sys.exc_info())
"/usr/local/lib/python3.6/dist-packages/six.py", line 693, in reraise
raise value
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/utils/data_utils.py", line 783, in get
inputs = self.queue.get(block=True).get()
"/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
"/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
"/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/utils/data_utils.py", line 571, in get_index
return _SHARED_SEQUENCES[uid][i]
"/content/EfficientDet/generators/common.py", line 428, in __getitem__
inputs, targets = self.compute_inputs_targets(group)
"/content/EfficientDet/generators/common.py", line 378, in compute_inputs_targets
annotations_group = self.load_annotations_group(group)
"/content/EfficientDet/generators/common.py", line 130, in load_annotations_group
annotations_group = [self.load_annotations(image_index) for image_index in group]
"/content/EfficientDet/generators/common.py", line 130, in <listcomp>
annotations_group = [self.load_annotations(image_index) for image_index in group]
"/content/EfficientDet/generators/csv_.py", line 304, in load_annotations
[float(annot['x3']), float(annot['y3'])],
KeyError: 'x3' | Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 483, in __run_plugin
return method(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flexget/utils/cached_input.py", line 148, in wrapped_func
response = func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flexget/plugins/input/apple_trailers.py", line 120, in on_task_input
movie_data = trailers['movie_url']['json']
KeyError: u'movie_url'
| 0.553219 |
Traceback (most recent call last):
"main.py", line 144, in <module>
algo.train()
"/backup1/lingboyang/StackGANv2/code/trainer.py", line 666, in train
self.inception_model, start_count = load_network(self.gpus)
"/backup1/lingboyang/StackGANv2/code/trainer.py", line 126, in load_network
netsD[i] = torch.nn.DataParallel(netsD[i], device_ids=gpus)
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 59, in __init__
self.module.cuda(device_ids[0])
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 216, in cuda
return self._apply(lambda t: t.cuda(device))
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 146, in _apply
module._apply(fn)
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 146, in _apply
module._apply(fn)
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 152, in _apply
param.data = fn(param.data)
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/nn/modules/module.py", line 216, in <lambda>
return self._apply(lambda t: t.cuda(device))
"/home/vcl/anaconda3/envs/pytorch/lib/python3.6/site-packages/torch/_utils.py", line 69, in _cuda
return new_type(self.size()).copy_(self, async)
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1513368888240/work/torch/lib/THC/generic/THCStorage.cu:58
| Traceback (most recent call last):
"/usr/lib/python3.5/concurrent/futures/_base.py", line 297, in _invoke_callbacks
callback(self)
"/usr/lib/python3.5/asyncio/futures.py", line 463, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
"/usr/lib/python3.5/asyncio/base_events.py", line 618, in call_soon_threadsafe
self._check_closed()
"/usr/lib/python3.5/asyncio/base_events.py", line 357, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed | 0.539695 |
Traceback (most recent call last):
"/home/nazmul/WorkDir/ECORR/ARIMA.py", line 3, in <module>
from statsmodels.tsa.arima_model import ARIMA
"/home/nazmul/WorkDir/ECORR/statsmodels/tsa/arima_model.py", line 30, in <module>
from statsmodels.tsa.ar_model import AR
"/home/nazmul/WorkDir/ECORR/statsmodels/tsa/ar_model.py", line 601, in <module>
class ARResults(tsbase.TimeSeriesModelResults):
"/home/nazmul/WorkDir/ECORR/statsmodels/tsa/ar_model.py", line 804, in ARResults
preddoc = AR.predict.__doc__.split('\n')
AttributeError: 'NoneType' object has no attribute 'split'
| Traceback (most recent call last):
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 353, in _wrapped
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 493, in inner
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/scheduler/graph.py", line 633, in prepare_graph
self._target_tileable_datas + fetch_tileables, tileable_graph)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 399, in _wrapped
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 493, in inner
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 350, in build
tileables, tileable_graph=tileable_graph)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 399, in _wrapped
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 493, in inner
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 263, in build
self._on_tile_failure(tileable_data.op, exc_info)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 302, in inner
raise exc_info[1].with_traceback(exc_info[2]) from None
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 243, in build
tiled = self._tile(tileable_data, tileable_graph)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 338, in _tile
return super()._tile(tileable_data, tileable_graph)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 203, in _tile
tds = on_tile(tileable_data.op.outputs, tds)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/scheduler/graph.py", line 615, in on_tile
return self.context.wraps(handler.dispatch)(first.op)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/context.py", line 69, in h
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/utils.py", line 399, in _wrapped
return func(*args, **kwargs)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/tiles.py", line 119, in dispatch
tiled = op_cls.tile(op)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/dataframe/groupby/aggregation.py", line 481, in tile
return cls._tile_with_tree(op)
"/Users/hekaisheng/Documents/mars_dev/mars/mars/dataframe/groupby/aggregation.py", line 412, in _tile_with_tree
index = out_df.index_value.to_pandas()
"/Users/hekaisheng/Documents/mars_dev/mars/mars/dataframe/core.py", line 283, in to_pandas
return self._index_value.to_pandas()
"/Users/hekaisheng/Documents/mars_dev/mars/mars/dataframe/core.py", line 197, in to_pandas
sortorder=self._sortorder, names=self._names)
AttributeError: _sortorder
| 0.560707 |
Traceback (most recent call last):
"/home/stan/.local/lib/python3.7/site-packages/remi/server.py", line 261, in on_message
callback(**param_dict)
"/home/stan/.local/lib/python3.7/site-packages/remi/gui.py", line 169, in __call__
return self.callback(self.event_source_instance, *callback_params, **self.kwuserdata)
TypeError: on_button_pressed() missing 1 required positional argument: 'widget'
| Traceback (most recent call last):
"/usr/local/bin/bugwarrior-pull", line 11, in <module>
sys.exit(pull())
"/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
"/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/bugwarrior/command.py", line 73, in pull
synchronize(issue_generator, config, main_section, dry_run)
"/usr/local/lib/python2.7/dist-packages/bugwarrior/db.py", line 325, in synchronize
for issue in issue_generator:
"/usr/local/lib/python2.7/dist-packages/bugwarrior/services/__init__.py", line 554, in aggregate_issues
issue = queue.get(True)
"/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
res = self._recv()
TypeError: __init__() takes exactly 3 arguments (1 given)
| 0.569385 |
Traceback (most recent call last):
"/home/saurav/anaconda3/lib/python3.8/site-packages/kerastuner/engine/hypermodel.py", line 104, in build
model = self.hypermodel.build(hp)
"/home/saurav/anaconda3/lib/python3.8/site-packages/kerastuner/engine/hypermodel.py", line 64, in _build_wrapper
return self._build(hp, *args, **kwargs)
"/home/saurav/anaconda3/lib/python3.8/site-packages/autokeras/graph.py", line 254, in build
model = tf.keras.Model(
"/home/saurav/anaconda3/lib/python3.8/site-packages/tensorflow/python/training/tracking/base.py", line 517, in _method_wrapper
result = method(self, *args, **kwargs)
"/home/saurav/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 120, in __init__
self._init_graph_network(inputs, outputs)
"/home/saurav/anaconda3/lib/python3.8/site-packages/tensorflow/python/training/tracking/base.py", line 517, in _method_wrapper
result = method(self, *args, **kwargs)
"/home/saurav/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 203, in _init_graph_network
nodes, nodes_by_depth, layers, _ = _map_graph_network(
"/home/saurav/anaconda3/lib/python3.8/site-packages/tensorflow/python/keras/engine/functional.py", line 1000, in _map_graph_network
raise ValueError('The name "' + name + '" is used ' +
ValueError: The name "resnet50" is used 2 times in the model. All layer names should be unique.
| Traceback (most recent call last):
"./test.py", line 45, in <module>
main()
"./test.py", line 38, in main
client_sock, addr = ssl_sock.accept()
"/home/xandaros/workspace/company/test/server/venv/lib/python3.8/site-packages/eventlet/green/ssl.py", line 405, in accept
new_ssl = type(self)(
"/home/xandaros/workspace/company/test/server/venv/lib/python3.8/site-packages/eventlet/green/ssl.py", line 79, in __new__
ret = _original_wrap_socket(
"/usr/lib/python3.8/ssl.py", line 1393, in wrap_socket
raise ValueError("certfile must be specified for server-side "
ValueError: certfile must be specified for server-side operations
| 0.576927 |
Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/celery/worker/__init__.py", line 206, in start
self.blueprint.start(self)
"/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 123, in start
step.start(parent)
"/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 374, in start
return self.obj.start()
"/usr/local/lib/python2.7/dist-packages/celery/worker/consumer.py", line 278, in start
blueprint.start(self)
"/usr/local/lib/python2.7/dist-packages/celery/bootsteps.py", line 123, in start
step.start(parent)
"/usr/local/lib/python2.7/dist-packages/celery/worker/consumer.py", line 821, in start
c.loop(*c.loop_args())
"/usr/local/lib/python2.7/dist-packages/celery/worker/loops.py", line 70, in asynloop
next(loop)
"/usr/local/lib/python2.7/dist-packages/kombu/async/hub.py", line 340, in create_loop
cb(*cbargs)
"/usr/local/lib/python2.7/dist-packages/kombu/transport/redis.py", line 1019, in on_readable
self._callbacks[queue](message)
"/usr/local/lib/python2.7/dist-packages/kombu/transport/virtual/__init__.py", line 534, in _callback
self.qos.append(message, message.delivery_tag)
"/usr/local/lib/python2.7/dist-packages/kombu/transport/redis.py", line 146, in append
pipe.zadd(self.unacked_index_key, delivery_tag, time()) \
"/usr/local/lib/python2.7/dist-packages/redis/client.py", line 2263, in zadd
for pair in iteritems(mapping):
"/usr/local/lib/python2.7/dist-packages/redis/_compat.py", line 94, in iteritems
return x.iteritems()
AttributeError: 'unicode' object has no attribute 'iteritems'
| Traceback (most recent call last):
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 358, in __getattr__
self._update_configs()
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 294, in _update_configs
self._registry.initialize()
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_lib/versions/1/google/appengine/api/lib_config.py", line 165, in initialize
import_func(self._modname)
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_dist/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/appengine_config.py", line 9, in <module>
import firebase_admin, os.path,logging
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/firebase_admin/__init__.py", line 23, in <module>
from firebase_admin import credentials
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/firebase_admin/credentials.py", line 20, in <module>
import google.auth
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/google/auth/__init__.py", line 19, in <module>
from google.auth._default import default
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/google/auth/_default.py", line 30, in <module>
import google.auth.transport._http_client
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/google/auth/transport/__init__.py", line 30, in <module>
from six.moves import http_client
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/six.py", line 203, in load_module
mod = mod._resolve()
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/six.py", line 115, in _resolve
return _import_module(self.mod)
"/base/data/home/apps/s~vendemeapp/pos:1.413710077193240139/lib/six.py", line 82, in _import_module
__import__(name)
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_dist/lib/python2.7/httplib.py", line 8, in <module>
from python_std_lib import httplib
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_dist/lib/python2.7/python_std_lib/httplib.py", line 725, in <module>
class HTTPConnection:
"/base/alloc/tmpfs/dynamic_runtimes/python27g/3b44e98ed7fbb86b/python27/python27_dist/lib/python2.7/python_std_lib/httplib.py", line 737, in HTTPConnection
timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None):
AttributeError: 'module' object has no attribute '_GLOBAL_DEFAULT_TIMEOUT'
| 0.604952 |
Traceback (most recent call last):
"/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
"/home/tkloczko/rpmbuild/BUILD/arrow-0.15.6/tests/test_arrow.py", line 475, in test_simplejson
result = json.dumps({"v": self.arrow.for_json()}, for_json=True)
AttributeError: 'TestArrowDatetimeInterface' object has no attribute 'arrow'
| Traceback (most recent call last):
"C:\Users\91901\anaconda3\envs\tf_1\lib\site-packages\IPython\core\interactiveshell.py", line 2044, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
| 0.568493 |
Traceback (most recent call last):
"/usr/lib/python3.9/site-packages/visidata/basesheet.py", line 136, in execCommand
exec(code, vdglobals, LazyChainMap(vd, self))
"sort-desc", line 1, in <module>
"/usr/lib/python3.9/site-packages/visidata/sort.py", line 28, in orderBy
sheet.sort()
"/usr/lib/python3.9/site-packages/visidata/sheets.py", line 983, in sort
self.rows[1:] = sorted(self.rows[1:], key=self.sortkey)
"/usr/lib/python3.9/site-packages/visidata/sort.py", line 38, in __lt__
return other.obj < self.obj
TypeError: '<' not supported between instances of 'Path' and 'Path'
| Traceback (most recent call last):
"C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time
elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
| 0.472662 |
Traceback (most recent call last):
"test_linalg.py", line 27, in tearDown
linalg.shutdown()
AttributeError: module 'skcuda.linalg' has no attribute 'shutdown'
| Traceback (most recent call last):
"<ipython-input-4-7f914c3f47f5>", line 1, in <module>
runfile('/home/renxue/RCAN/RCAN_TrainCode/code/main.py', wdir='/home/renxue/RCAN/RCAN_TrainCode/code')
"/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
"/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
"/home/renxue/RCAN/RCAN_TrainCode/code/main.py", line 17, in <module>
model = model.Model(args, checkpoint)
"/home/renxue/RCAN/RCAN_TrainCode/code/model/__init__.py", line 35, in __init__
cpu=args.cpu
"/home/renxue/RCAN/RCAN_TrainCode/code/model/__init__.py", line 102, in load
self.get_model().load_state_dict(
"/home/renxue/RCAN/RCAN_TrainCode/code/model/__init__.py", line 61, in get_model
return self.model.module
"/home/renxue/anaconda3/envs/3d-AAE/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in __getattr__
type(self).__name__, name))
AttributeError: 'RCAN' object has no attribute 'module'
| 0.592142 |
Traceback (most recent call last):
"<console>", line 1, in <module>
"/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 1067, in show
return self._show_or_dump(dump, indent, lvl, label_lvl)
"/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 1049, in _show_or_dump
s += self.payload._show_or_dump(dump=dump, indent=indent, lvl=lvl + (" " * indent * self.show_indent), label_lvl=label_lvl, first_call=False)
"/usr/local/lib/python3.6/dist-packages/scapy/packet.py", line 1049, in _show_or_dump
s += self.payload._show_or_dump(dump=dump, indent=indent, lvl=lvl + (" " * indent * self.show_indent), label_lvl=label_lvl, first_call=False)
AttributeError: 'int' object has no attribute '_show_or_dump'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/rtfm/.local/lib/python3.7/site-packages/folium/__init__.py", line 8, in <module>
import branca
"/home/rtfm/.local/lib/python3.7/site-packages/branca/__init__.py", line 5, in <module>
import branca.colormap as colormap
"/home/rtfm/.local/lib/python3.7/site-packages/branca/colormap.py", line 14, in <module>
from branca.element import ENV, Figure, JavascriptLink, MacroElement
"/home/rtfm/.local/lib/python3.7/site-packages/branca/element.py", line 20, in <module>
from .utilities import _camelify, _parse_size, none_max, none_min
"/home/rtfm/.local/lib/python3.7/site-packages/branca/utilities.py", line 25, in <module>
import pandas as pd
"/home/rtfm/.local/lib/python3.7/site-packages/pandas/__init__.py", line 50, in <module>
plot_params = pandas.plotting._style._Options(deprecated=True)
AttributeError: module 'pandas' has no attribute 'plotting'
| 0.572921 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
AttributeError: module 'dotenv' has no attribute 'load_dotenv'
| Traceback (most recent call last):
"/usr/local/bin/powerline-config", line 22, in <module>
args.function(pl, args)
"/Users/bennyp/Library/Python/2.7/lib/python/site-packages/powerline/commands/config.py", line 15, in __call__
self.function(*args, **kwargs)
"/Users/bennyp/Library/Python/2.7/lib/python/site-packages/powerline/bindings/config.py", line 184, in tmux_setup
tmux_version = get_tmux_version(pl)
"/Users/bennyp/Library/Python/2.7/lib/python/site-packages/powerline/bindings/tmux/__init__.py", line 77, in get_tmux_version
_, version_string = version_string.split(' ')
AttributeError: 'NoneType' object has no attribute 'split'
| 0.536092 |
Traceback (most recent call last):
"/home/empad/miniconda3/envs/PyX/lib/python3.7/site-packages/jedi/cache.py", line 109, in wrapper
return dct[key]
KeyError: ((), frozenset())
| 2019-11-30 13:50:38 DEBUG
SEARCHQUEUE-BACKLOG-71663 :: [IPTorrents] :: Traceback (most recent call last):
"C:\SickChill\SickChill\sickbeard\helpers.py", line 1527, in handle_requests_exception
raise requests_exception
KeyError: 'location'
| 0.462564 |
Traceback (most recent call last):
"/Users/shivangi/Desktop/Masters/Sem3/MLMI/SSD-keras/train_ssd300.py", line 286, in <module>
main()
"/Users/shivangi/Desktop/Masters/Sem3/MLMI/SSD-keras/train_ssd300.py", line 92, in main
subtract_mean=Config.mean_color, swap_channels=Config.swap_channels)
"/Users/shivangi/Desktop/Masters/Sem3/MLMI/SSD-keras/models/keras_ssd300.py", line 342, in ssd_300
variances=variances, coords=coords, normalize_coords=normalize_coords, name='conv4_3_norm_mbox_priorbox')(conv4_3_norm_mbox_loc)
"/Users/shivangi/Desktop/Masters/Sem3/ADL/adl4cv_practikum/venv/lib/python3.6/site-packages/tensorflow/python/keras/_impl/keras/engine/topology.py", line 258, in __call__
output = super(Layer, self).__call__(inputs, **kwargs)
"/Users/shivangi/Desktop/Masters/Sem3/ADL/adl4cv_practikum/venv/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 721, in __call__
input_tensors=inputs, output_tensors=outputs, arguments=user_kwargs)
"/Users/shivangi/Desktop/Masters/Sem3/ADL/adl4cv_practikum/venv/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 798, in _add_inbound_node
arguments=arguments)
"/Users/shivangi/Desktop/Masters/Sem3/ADL/adl4cv_practikum/venv/lib/python3.6/site-packages/tensorflow/python/layers/base.py", line 1314, in __init__
layer.outbound_nodes.append(self)
AttributeError: 'Conv2D' object has no attribute 'outbound_nodes'
| Traceback (most recent call last):
"D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner
self.run()
"D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
"D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker
xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'
| 0.590313 |
Traceback (most recent call last):
"/home/maddoxw/git/OpenAI/gym/gym/envs/registration.py", line 139, in spec
return self.env_specs[id]
KeyError: 'HalfCheetah-v1'
| Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/sagemaker_containers/_trainer.py", line 76, in train
entrypoint()
"/usr/local/lib/python3.5/dist-packages/sagemaker_xgboost_container/training.py", line 82, in main
train(framework.training_env())
"/usr/local/lib/python3.5/dist-packages/sagemaker_xgboost_container/training.py", line 78, in train
run_algorithm_mode()
"/usr/local/lib/python3.5/dist-packages/sagemaker_xgboost_container/training.py", line 46, in run_algorithm_mode
train_path = os.environ[sm_env_constants.SM_CHANNEL_TRAIN]
"/usr/lib/python3.5/os.py", line 725, in __getitem__
raise KeyError(key) from None
KeyError: 'SM_CHANNEL_TRAIN'
| 0.514165 |
Traceback (most recent call last):
"C:\python\python37-32\lib\site-packages\tornado\web.py", line 1401, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
"<string>", line 3, in raise_exc_info
"C:\python\python37-32\lib\site-packages\tornado\stack_context.py", line 314, in wrapped
ret = fn(*args, **kwargs)
"C:\python\python37-32\lib\site-packages\tornado\gen.py", line 196, in final_callback
if future.result() is not None:
"C:\python\python37-32\lib\site-packages\tornado\concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
"<string>", line 3, in raise_exc_info
"C:\python\python37-32\lib\site-packages\tornado\gen.py", line 267, in wrapper
result = func(*args, **kwargs)
"C:\python\python37-32\lib\types.py", line 277, in wrapped
coro = func(*args, **kwargs)
TypeError: post() missing 1 required positional argument: 'job_id'
| Traceback (most recent call last):
"/home/victor/dev/venvs/edgedb/bin/edb", line 33, in <module>
sys.exit(load_entry_point('edgedb-server', 'console_scripts', 'edb')())
"/home/victor/dev/venvs/edgedb/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
"/home/victor/dev/venvs/edgedb/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
"/home/victor/dev/venvs/edgedb/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/home/victor/dev/venvs/edgedb/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/home/victor/dev/venvs/edgedb/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
"/home/victor/dev/magicstack/edgedb/edb/tools/test/__init__.py", line 153, in test
result = run()
"/home/victor/dev/magicstack/edgedb/edb/tools/test/__init__.py", line 265, in _run
result = test_runner.run(suite)
"/home/victor/dev/magicstack/edgedb/edb/tools/test/runner.py", line 798, in run
suite.run(result)
"/home/victor/dev/magicstack/edgedb/edb/tools/test/runner.py", line 262, in run
ar.get(timeout=0.1)
"/usr/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
TypeError: no default __reduce__ due to non-trivial __cinit__
| 0.533469 |
Traceback (most recent call last):
"C:\Miniconda3-x64\lib\site-packages\conda\fetch.py", line 419, in download
with open(pp, 'wb') as fo:
OSError: [Errno 22] Invalid argument: 'C:\\Miniconda3-x64\\pkgs\\:glpk-4.61-py36_0.tar.bz2.part'
| 2020-05-14T08:45:08:ERROR:localstack.services.generic_proxy: Exception running proxy on port 51492: [Errno 98] Address in use Traceback (most recent call last):
"/opt/code/localstack/localstack/services/generic_proxy.py", line 427, in run_cmd
self.httpd = ThreadedHTTPServer((self.listen_host, self.port), GenericProxyHandler)
"/usr/lib/python3.8/socketserver.py", line 452, in __init__
self.server_bind()
"/usr/lib/python3.8/http/server.py", line 138, in server_bind
socketserver.TCPServer.server_bind(self)
"/usr/lib/python3.8/socketserver.py", line 466, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address in use
| 0.53434 |
Traceback (most recent call last):
"/root/anaconda3/bin/mmtomodel", line 10, in <module>
sys.exit(_main())
"/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/dump_code.py", line 79, in _main
ret = dump_code(args.framework, args.inputNetwork, args.inputWeight, args.outputModel, args.dump_tag)
"/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/dump_code.py", line 32, in dump_code
save_model(MainModel, network_filepath, weight_filepath, dump_filepath)
"/root/anaconda3/lib/python3.7/site-packages/mmdnn/conversion/pytorch/saver.py", line 5, in save_model
model = MainModel.KitModel(weight_filepath)
"Pytorch_VGGFACE_IR.py", line 27, in __init__
self.conv1_1 = self.__conv(2, name='conv1_1', in_channels=3, out_channels=64, kernel_size=(3, 3), stride=(1, 1), groups=1, bias=True)
"Pytorch_VGGFACE_IR.py", line 129, in __conv
layer.state_dict()['bias'].copy_(torch.from_numpy(__weights_dict[name]['bias']))
RuntimeError: output with shape [64] doesn't match the broadcast shape [1, 1, 1, 64]
| Traceback (most recent call last):
"/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
self.run()
"/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/process.py", line 99, in run
self._target(*self._args, **self._kwargs)
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/subprocess.py", line 61, in subprocess_started
target(sockets=sockets)
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/main.py", line 382, in run
loop.run_until_complete(self.serve(sockets=sockets))
"uvloop/loop.pyx", line 1456, in uvloop.loop.Loop.run_until_complete
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/main.py", line 389, in serve
config.load()
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/config.py", line 288, in load
self.loaded_app = import_from_string(self.app)
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/uvicorn/importer.py", line 20, in import_from_string
module = importlib.import_module(module_str)
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 1006, in _gcd_import
"<frozen importlib._bootstrap>", line 983, in _find_and_load
"<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 677, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 728, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"./app/main_2.py", line 155, in <module>
async def read_users_me(current_user: User = Depends(get_current_active_user)):
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 487, in decorator
callbacks=callbacks,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 431, in add_api_route
callbacks=callbacks,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/routing.py", line 334, in __init__
self.dependant = get_dependant(path=self.path_format, call=self.endpoint)
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 268, in get_dependant
param=param, path=path, security_scopes=security_scopes
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 107, in get_param_sub_dependant
security_scopes=security_scopes,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 143, in get_sub_dependant
use_cache=depends.use_cache,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 268, in get_dependant
param=param, path=path, security_scopes=security_scopes
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 107, in get_param_sub_dependant
security_scopes=security_scopes,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 143, in get_sub_dependant
use_cache=depends.use_cache,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 277, in get_dependant
param=param, default_field_info=params.Query, param_name=param_name
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 374, in get_param_field
field_info=field_info,
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 249, in __init__
self.prepare()
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 335, in prepare
self.populate_validators()
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/fields.py", line 468, in populate_validators
*(get_validators() if get_validators else list(find_validators(self.type_, self.model_config))),
"/Users/michael/src/private/trvmp-api/venv/lib/python3.7/site-packages/pydantic/validators.py", line 569, in find_validators
raise RuntimeError(f'error checking inheritance of {type_!r} (type: {display_as_type(type_)})')
RuntimeError: error checking inheritance of <fastapi.params.Depends object at 0x10ad3a2d0> (type: Depends)
| 0.571841 |
Traceback (most recent call last):
"<string>", line 14, in <module>
"/root/build/tweepy/setup.py", line 17, in <module>
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
TypeError: parse_requirements() got an unexpected keyword argument 'session' | Traceback (most recent call last):
"test_boston_housing.py", line 69, in <module>
trials=Trials())
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperas/optim.py", line 67, in minimize
verbose=verbose)
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperas/optim.py", line 133, in base_minimizer
return_argmin=True),
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/fmin.py", line 307, in fmin
return_argmin=return_argmin,
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/base.py", line 635, in fmin
return_argmin=return_argmin)
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/fmin.py", line 320, in fmin
rval.exhaust()
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/fmin.py", line 199, in exhaust
self.run(self.max_evals - n_done, block_until_done=self.async)
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/fmin.py", line 173, in run
self.serial_evaluate()
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/fmin.py", line 92, in serial_evaluate
result = self.domain.evaluate(spec, ctrl)
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/hyperopt/base.py", line 840, in evaluate
rval = self.fn(pyll_rval)
"/Users/../Desktop/temp_model.py", line 85, in keras_fmin_fnct
"/Users/../anaconda/envs/py35/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 42, in wrapper
str(list(args[1:])))
TypeError: `Dense` can accept only 1 positional arguments ('units',), but you passed the following positional arguments: [32, <keras.regularizers.L1L2 object at 0x11b74aba8>]
| 0.49776 |
Traceback (most recent call last):
"C:\Users\wiese\Repos\numeric-python\numpy\build\testenv\Lib\site-packages\numpy\core\function_base.py", line 114, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
| Traceback (most recent call last):
"test/toy-example.py", line 24, in <module>
model = pretrainedmodels.__dict__[args.arch](num_classes=1000, pretrained='imagenet')
TypeError: __init__() got an unexpected keyword argument 'pretrained'
| 0.511308 |
Traceback (most recent call last):
"/root/.local/lib/python3.6/site-packages/lavalink/lavalink.py", line 266, in close
await node.disconnect()
"/root/.local/lib/python3.6/site-packages/lavalink/node.py", line 387, in disconnect
await node.disconnect()
"/root/.local/lib/python3.6/site-packages/lavalink/node.py", line 266, in disconnect
await self._ws.close()
AttributeError: 'NoneType' object has no attribute 'close'
| Traceback (most recent call last):
"/Users/lpzjwp/Dropbox/psychopyStuff/gitlabSetUserStuff.py", line 10, in <module>
user.save()
"/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/gitlab/base.py", line 607, in __getattr__
raise AttributeError(name)
AttributeError: save
| 0.431934 |
Traceback (most recent call last):
"/Users/shao/Documents/scikit-neuralnetwork/sknn/tests/test_types.py", line 77, in test_Predict32
yp = self.nn._predict(X)
"/Users/shao/Documents/scikit-neuralnetwork/sknn/mlp.py", line 262, in _predict
return self._backend._predict_impl(X)
"/Users/shao/Documents/scikit-neuralnetwork/sknn/backend/lasagne/mlp.py", line 273, in _predict_impl
for Xb, _, _, idx
in self._iterate_data(self.batch_size, X, y, shuffle=False):
"/Users/shao/Documents/scikit-neuralnetwork/sknn/backend/lasagne/mlp.py", line 308, in _iterate_data
Xb, yb, wb = cast(X, excerpt), cast(y, excerpt), cast(w, excerpt)
"/Users/shao/Documents/scikit-neuralnetwork/sknn/backend/lasagne/mlp.py", line 293, in cast
array = array[indices]
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/sparse/dok.py", line 140, in __getitem__
raise TypeError('index must be a pair of integers or slices')
TypeError: index must be a pair of integers or slices
| Traceback (most recent call last):
"run.py", line 57, in <module>
c.start()
"run.py", line 38, in start
self.stack.loop(timeout=0.5, discrete=0.5)
"/usr/local/lib/python3.5/dist-packages/yowsup/stacks/yowstack.py", line 188, in loop
asyncore.loop(*args, **kwargs)
"/usr/lib/python3.5/asyncore.py", line 203, in loop
poll_fun(timeout, map)
"/usr/lib/python3.5/asyncore.py", line 150, in poll
read(obj)
"/usr/lib/python3.5/asyncore.py", line 87, in read
obj.handle_error()
"/usr/lib/python3.5/asyncore.py", line 83, in read
obj.handle_read_event()
"/usr/lib/python3.5/asyncore.py", line 423, in handle_read_event
self.handle_read()
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/network/layer.py", line 102, in handle_read
self.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/network/layer.py", line 110, in receive
self.toUpper(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
self.processReceived()
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
self.toUpper(oneMessageData)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/auth/layer_crypt.py", line 65, in receive
self.toUpper(payload)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/axolotl/layer_control.py", line 44, in receive
self.toUpper(protocolTreeNode)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 79, in toUpper
self.__upper.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 194, in receive
s.receive(data)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/axolotl/layer_send.py", line 119, in receive
if not self.processIqRegistry(protocolTreeNode):
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/__init__.py", line 163, in processIqRegistry
errorClbk(protocolTreeNode, originalIq)
"/usr/local/lib/python3.5/dist-packages/yowsup/layers/axolotl/layer_base.py", line 81, in onError
errorClbk(errorNode, getKeysEntity)
TypeError: <lambda>() takes 0 positional arguments but 2 were given
| 0.540226 |
Traceback (most recent call last):
"build/dupeGuru.app/Contents/Resources/py/cocoa/inter.py", line 259, in pulse
"build/dupeGuru.app/Contents/Resources/py/hscommon/gui/progress_window.py", line 101, in pulse
"build/dupeGuru.app/Contents/Resources/py/core/app.py", line 323, in _job_error
"build/dupeGuru.app/Contents/Resources/py/hscommon/jobprogress/performer.py", line 43, in _async_run
"build/dupeGuru.app/Contents/Resources/py/core/app.py", line 780, in do
"build/dupeGuru.app/Contents/Resources/py/core/scanner.py", line 137, in get_dupe_groups
"build/dupeGuru.app/Contents/Resources/py/core/pe/scanner.py", line 31, in _getmatches
"build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 167, in getmatches
"build/dupeGuru.app/Contents/Resources/py/core/pe/matchblock.py", line 65, in prepare_pictures
"build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 129, in purge_outdated
"build/dupeGuru.app/Contents/Resources/py/core/pe/cache_shelve.py", line 47, in __delitem__
"build/dupeGuru.app/Contents/Resources/py/shelve.py", line 128, in __delitem__
KeyError: b'id:37781'
| Traceback (most recent call last):
"weight_chopper.py", line 18, in <module>
get_weights_without_softargmax("34pts_94percent.h5")
"weight_chopper.py", line 16, in get_weights_without_softargmax
model.save("no_softargmax_" + str(fname))
"/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2553, in save
save_model(self, filepath, overwrite, include_optimizer)
"/usr/local/lib/python2.7/dist-packages/keras/models.py", line 107, in save_model
'config': model.get_config()
"/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 2390, in get_config
new_node_index = node_conversion_map[node_key]
KeyError: u'reshape_1_ib-0'
| 0.612141 |
Traceback (most recent call last):
"/usr/local/lib/python3.8/dist-packages/Bio/Nexus/Trees.py", line 198, in _get_values
values.append(float(part))
ValueError: could not convert string to float: '1.322576e-02[&length_mean=1.32336084e-02,length_median=1.32257600e-02,length_95%HPD={1.25875600e-02,1.38462600e-02}]'
| Traceback (most recent call last):
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 318, in <module>
main()
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 305, in main
trainer = Trainer(args)
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 95, in __init__
self.optimizer.load_state_dict(checkpoint['optimizer'])
"/home/qiming/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/optim/optimizer.py", line 114, in load_state_dict
raise ValueError("loaded state dict contains a parameter group "
ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group
| 0.495948 |
Traceback (most recent call last):
"/usr/local/bin/mmconvert", line 8, in <module>
sys.exit(_main())
"/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/_script/convert.py", line 112, in _main
dump_code(args.dstFramework, network_filename + '.py', temp_filename + '.npy', args.outputModel, args.dump_tag)
"/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/_script/dump_code.py", line 25, in dump_code
save_model(MainModel, network_filepath, weight_filepath, dump_filepath, dump_tag)
"/usr/local/lib/python3.6/dist-packages/mmdnn/conversion/tensorflow/saver.py", line 8, in save_model
tag_list = [tf.saved_model.tag_constants.TRAINING]
AttributeError: module 'tensorflow._api.v2.saved_model' has no attribute 'tag_constants' | Traceback (most recent call last):
"<stdin>", line 1, in <module>
AttributeError: 'numpy.datetime64' object has no attribute 'replace'
| 0.569151 |
Traceback (most recent call last):
"/home/frdeco/ethlv3/bin/ethereumetl", line 11, in <module>
load_entry_point('ethereum-etl', 'console_scripts', 'ethereumetl')()
"/home/frdeco/ethlv3/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/home/frdeco/ethlv3/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/home/frdeco/ethlv3/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/home/frdeco/ethlv3/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/home/frdeco/ethlv3/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/cli/export_all.py", line 124, in export_all
output_dir, provider_uri, max_workers, export_batch_size)
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/jobs/export_all_common.py", line 124, in export_all_common
job.run()
"/mnt/hdd_data/parity/etl/ethereum-etl/blockchainetl/jobs/base_job.py", line 30, in run
self._end()
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/jobs/export_blocks_job.py", line 90, in _end
self.batch_work_executor.shutdown()
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/executors/batch_work_executor.py", line 97, in shutdown
self.executor.shutdown()
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/executors/fail_safe_executor.py", line 39, in shutdown
self._check_completed_futures()
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/executors/fail_safe_executor.py", line 47, in _check_completed_futures
future.result()
"/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
return self.__get_result()
"/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
"/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/executors/batch_work_executor.py", line 63, in _fail_safe_execute
work_handler(batch)
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/jobs/export_blocks_job.py", line 77, in _export_batch
blocks = [self.block_mapper.json_dict_to_block(result) for result in results]
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/jobs/export_blocks_job.py", line 77, in <listcomp>
blocks = [self.block_mapper.json_dict_to_block(result) for result in results]
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/mappers/block_mapper.py", line 50, in json_dict_to_block
block.size = hex_to_dec(json_dict.get('size'))
"/mnt/hdd_data/parity/etl/ethereum-etl/ethereumetl/utils.py", line 34, in hex_to_dec
return int(hex_string, 16)
TypeError: int() can't convert non-string with explicit base | [
] 0/5000, elapsed: 0s, ETA:Traceback (most recent call last):
"tools/test.py", line 170, in <module>
main()
"tools/test.py", line 148, in main
outputs = single_gpu_test(model, data_loader, args.show)
"/mmdetection/mmdet/apis/test.py", line 19, in single_gpu_test
result = model(return_loss=False, rescale=not show, **data)
"/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 140, in forward
return self.module(*inputs, **kwargs)
"/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/mmdetection/mmdet/core/fp16/decorators.py", line 49, in new_func
return old_func(*args, **kwargs)
"/mmdetection/mmdet/models/detectors/base.py", line 149, in forward
return self.forward_test(img, img_metas, **kwargs)
"/mmdetection/mmdet/models/detectors/base.py", line 130, in forward_test
return self.simple_test(imgs[0], img_metas[0], **kwargs)
"/mmdetection/mmdet/models/detectors/two_stage.py", line 303, in simple_test
self.test_cfg.rpn)
"/mmdetection/mmdet/models/detectors/test_mixins.py", line 34, in simple_test_rpn
proposal_list = self.rpn_head.get_bboxes(*proposal_inputs)
"/mmdetection/mmdet/core/fp16/decorators.py", line 127, in new_func
return old_func(*args, **kwargs)
"/mmdetection/mmdet/models/anchor_heads/anchor_head.py", line 265, in get_bboxes
for img_id in range(len(img_metas)):
TypeError: object of type 'DataContainer' has no len()
| 0.619535 |
Traceback (most recent call last):
"/usr/bin/instaLooter", line 11, in <module>
sys.exit(main())
"/usr/lib/python3.6/site-packages/instaLooter/utils.py", line 94, in new_func
result = func(*args, **kwargs)
"/usr/lib/python3.6/site-packages/instaLooter/cli.py", line 119, in main
argv_positional = [param for param in argv if not param.startswith("-")]
TypeError: 'NoneType' object is not iterable
| Traceback (most recent call last):
"/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/variableexplorer/widgets/collectionseditor.py", line 1708, in lessThan
return leftData < rightData
TypeError: '<' not supported between instances of 'int' and 'str'
| 0.596886 |
I MEET Traceback (most recent call last):
"tools/eval_net.py", line 119, in <module>
video_scores = map(eval_video, eval_video_list)
"tools/eval_net.py", line 69, in eval_video
video_frame_path = f_info[0][vid]
KeyError: 'v_ApplyEyeMakeup_g08_c01'
| Traceback (most recent call last):
"/volume2/@appstore/medusa/var/Medusa/<a href="../blob/d9c31da063e6c4b4383749e19b27b13693a1b71e/ext/tornado/web.py#L1590">ext/tornado/web.py</a>", line 1590, in _execute
result = method(*self.path_args, **self.path_kwargs)
"/volume2/@appstore/medusa/var/Medusa/<a href="../blob/d9c31da063e6c4b4383749e19b27b13693a1b71e/medusa/server/web/core/authentication.py#L66">medusa/server/web/core/authentication.py</a>", line 66, in get
t = PageTemplate(rh=self, filename='index.mako')
"/volume2/@appstore/medusa/var/Medusa/<a href="../blob/d9c31da063e6c4b4383749e19b27b13693a1b71e/medusa/server/web/core/base.py#L98">medusa/server/web/core/base.py</a>", line 98, in __init__
if rh.request.headers['Host'][0] == '[':
"/volume2/@appstore/medusa/var/Medusa/<a href="../blob/d9c31da063e6c4b4383749e19b27b13693a1b71e/ext/tornado/httputil.py#L229">ext/tornado/httputil.py</a>", line 229, in __getitem__
return self._dict[_normalized_headers[name]]
KeyError: 'Host'
| 0.534286 |
Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/jupyterhub/app.py", line 1442, in start
yield service.start()
"/usr/local/lib/python3.5/dist-packages/jupyterhub/services/service.py", line 228, in start
env['JUPYTERHUB_SERVICE_PREFIX'] = self.server.base_url
AttributeError: 'NoneType' object has no attribute 'base_url' | Traceback (most recent call last):
"[...]/visidata/basesheet.py", line 154, in execCommand
escaped = super().execCommand2(cmd, vdglobals=vdglobals)
"[...]/visidata/basesheet.py", line 66, in execCommand2
exec(code, vdglobals, LazyChainMap(vd, self))
"options-sheet", line 1, in <module>
import math
"[...]/visidata/extensible.py", line 60, in get_if_not
setattr(self, name, func(self))
"[...]/visidata/metasheets.py", line 16, in optionsSheet
return OptionsSheet(sheet.name+"_options", source=sheet)
"[...]/visidata/extensible.py", line 14, in newinit
oldinit(self, *args, **kwargs)
"[...]/visidata/extensible.py", line 14, in newinit
oldinit(self, *args, **kwargs)
"[...]/visidata/sheets.py", line 202, in __init__
self.setKeys(self.columns[:self.nKeys])
# initial list of key columns
"[...]/visidata/sheets.py", line 512, in setKeys
vd.addUndo(undoAttrFunc(cols, 'keycol'))
"[...]/visidata/undo.py", line 29, in addUndo
r.undofuncs.append((undofunc, args, kwargs))
AttributeError: 'NoneType' object has no attribute 'append'
| 0.653136 |
Traceback (most recent call last):
"/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 478, in run_callback
expr()
"/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 619, in <lambda>
run_callback('on_activated', callback, lambda: callback.on_activated(v))
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/listeners/linting.py", line 124, in on_activated
self.run_linter(view)
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/linting/sublime.py", line 380, in run_linter
Worker().execute(Callback(on_success=parse_results), **data)
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/workers/market.py", line 108, in execute
_start_worker(worker, callback, **data)
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/workers/market.py", line 75, in _start_worker
wk.start()
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/workers/local_worker.py", line 52, in start
self._update_python_builder()
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/workers/local_worker.py", line 98, in _update_python_builder
self.interpreter.python
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/builder/python_builder.py", line 42, in update_interpreter_build_system
current_list[i] = self._parse_tpl(cmd)
"/Users/sso/Library/Application Support/Sublime Text 3/Packages/Anaconda/anaconda_lib/builder/python_builder.py", line 78, in _parse_tpl
template.safe_substitute({'python_interpreter': cmd})
"/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 215, in decode_value
raise ValueError(err)
ValueError: Error trying to decode value: Unexpected character, expected a comma or closing bracket in (data):3:22
| Traceback (most recent call last):
"ex_particle_filter_object_tracking_video.py", line 70, in <module>
if(my_mask_analyser.returnNumberOfContours(frame_mask) > 0):
"/usr/local/lib/python3.6/dist-packages/deepgaze/mask_analysis.py", line 36, in returnNumberOfContours
contours, hierarchy = cv2.findContours(mask, 1, 2)
ValueError: too many values to unpack (expected 2)
| 0.574613 |
Traceback (most recent call last):
"C:\Users\Dipanshu\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'context'
| Traceback (most recent call last):
"/Applications/Develop/Armory/blender.app//armsdk//armory/blender/arm/props_ui.py", line 290, in draw
layout.prop(bpy.data.worlds['Arm'], 'arm_material_advanced')
KeyError: 'bpy_prop_collection[key]: key "Arm" not found'
| 0.525314 |
Traceback (most recent call last):
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 721, in getImports
return _getImports_pe(pth)
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 109, in _getImports_pe
import_dllnames_only=True,
TypeError: parse_data_directories() got an unexpected keyword argument 'forwarded_exports_only'
| Traceback (most recent call last):
"examples/using_gcc_E_libc.py", line 29, in <module>
cpp_args=['-E', r'-Iutils/fake_libc_include'])
"./pycparser/__init__.py", line 89, in parse_file
text = preprocess_file(filename, cpp_path, cpp_args, encoding)
"./pycparser/__init__.py", line 45, in preprocess_file
text = check_output(path_list, universal_newlines=True, encoding=encoding)
"/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'encoding'
| 0.590108 |
Traceback (most recent call last):
"/home/starenka/.local/bin/spotdl", line 8, in <module>
sys.exit(console_entry_point())
"/home/starenka/.local/lib/python3.9/site-packages/spotdl/__main__.py", line 116, in console_entry_point
downloader.download_multiple_songs(songObjList)
"/home/starenka/.local/lib/python3.9/site-packages/spotdl/download/downloader.py", line 288, in download_multiple_songs
self.downloadTracker.load_song_list(songObjList)
"<string>", line 2, in load_song_list
"/usr/lib/python3.9/multiprocessing/managers.py", line 824, in _callmethod
raise convert_to_error(kind, result)
TypeError: remove: path should be string, bytes or os.PathLike, not NoneType```
| Traceback (most recent call last):
"process_data.py", line 161, in <module>
scipy.io.mmwrite( 'matrix', matrix )
"/usr/lib64/python3.5/site-packages/scipy/io/mmio.py", line 102, in mmwrite
MM
().write(target, a, comment, field, precision, symmetry)
"/usr/lib64/python3.5/site-packages/scipy/io/mmio.py", line 448, in write
self._write(stream, a, comment, field, precision,symmetry)
"/usr/lib64/python3.5/site-packages/scipy/io/mmio.py", line 683, in _write
raise TypeError('unexpected dtype kind ' + kind)
TypeError: unexpected dtype kind u
| 0.527778 |
Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
"/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
"/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 217, in _get_response
response = self.process_exception_by_middleware(e, request)
"/usr/local/lib/python3.5/dist-packages/django/core/handlers/base.py", line 215, in _get_response
response = response.render()
"/usr/local/lib/python3.5/dist-packages/django/template/response.py", line 107, in render
self.content = self.rendered_content
"/usr/local/lib/python3.5/dist-packages/django/template/response.py", line 84, in rendered_content
content = template.render(context, self._request)
"/usr/local/lib/python3.5/dist-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 207, in render
return self._render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 177, in render
return compiled_parent._render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 177, in render
return compiled_parent._render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 72, in render
result = block.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/loader_tags.py", line 72, in render
result = block.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/library.py", line 245, in render
return t.render(new_context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 209, in render
return self._render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 990, in render
bit = node.render_annotated(context)
"/usr/local/lib/python3.5/dist-packages/django/template/base.py", line 957, in render_annotated
return self.render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/library.py", line 203, in render
output = self.func(*resolved_args, **resolved_kwargs)
"/opt/paperless/src/documents/templatetags/hacks.py", line 41, in change_list_results
return get_template(path).render(context)
"/usr/local/lib/python3.5/dist-packages/django/template/backends/django.py", line 64, in render
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
"/usr/local/lib/python3.5/dist-packages/django/template/context.py", line 287, in make_context
raise TypeError('context must be a dict rather than %s.' % context.__class__.__name__)
TypeError: context must be a dict rather than RequestContext.
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
TypeError: astype() takes no keyword arguments
| 0.592211 |
Traceback (most recent call last):
"G:\Python\Python37\lib\logging\__init__.py", line 1034, in emit
msg = self.format(record)
"G:\Python\Python37\lib\logging\__init__.py", line 880, in format
return fmt.format(record)
"G:\Python\Python37\lib\logging\__init__.py", line 619, in format
record.message = record.getMessage()
"G:\Python\Python37\lib\logging\__init__.py", line 380, in getMessage
msg = msg % self.args
TypeError: not enough arguments for format string
| Traceback (most recent call last):
"/usr/local/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 224, in _handle_service_platform_call
await getattr(entity, func)(**data)
"/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/braviatv.py", line 309, in turn_on
self._braviarc.turn_on()
"/usr/local/lib/python3.6/site-packages/braviarc/braviarc.py", line 257, in turn_on
self.send_req_ircc(self.get_command_code('TvPower'))
"/usr/local/lib/python3.6/site-packages/braviarc/braviarc.py", line 108, in send_req_ircc
params+"</IRCCCode></u:X_SendIRCC></s:Body></s:Envelope>").encode("UTF-8")
TypeError: must be str, not NoneType
| 0.585542 |
Traceback (most recent call last):
"fastBertDemo.py", line 23, in <module>
model_type='bert')
"/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 332, in __init__
train_dataset = self.get_dataset_from_examples(train_examples, 'train')
"/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 431, in get_dataset_from_examples
all_input_ids = torch.tensor([f.input_ids for f in features], dtype=torch.long)
"/usr/local/python3/lib/python3.6/site-packages/fast_bert/data_cls.py", line 431, in <listcomp>
all_input_ids = torch.tensor([f.input_ids for f in features], dtype=torch.long)
AttributeError: 'str' object has no attribute 'input_ids' | 2017-09-21 11:41:45,205 WARNING: Traceback (most recent call last):
"/usr/local/src/security_monkey/venv/lib/python2.7/site-packages/security_monkey-0.9.3-py2.7.egg/security_monkey/common/utils.py", line 96, in send_email
ses.send_email(app.config.get('MAIL_DEFAULT_SENDER'), subject, html, email, format="html")
AttributeError: 'NoneType' object has no attribute 'send_email'
| 0.598917 |
Traceback (most recent call last):
"C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
"C:\Users\manis\AppData\Roaming\Python\Python37\site-packages\chatterbot\__main__.py", line 20, in <module>
print(get_chatterbot_version())
"C:\Users\manis\AppData\Roaming\Python\Python37\site-packages\chatterbot\__main__.py", line 15, in get_chatterbot_version
return config['chatterbot']['version']
"C:\ProgramData\Anaconda3\lib\configparser.py", line 958, in __getitem__
raise KeyError(key)
KeyError: 'chatterbot'
| Traceback (most recent call last):
"/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
"/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
"/usr/local/lib/python3.6/dist-packages/torch_xla/distributed/parallel_loader.py", line 133, in _loader_worker
_, data = next(data_iter)
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 517, in __next__
data = self._next_data()
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index)
# may raise StopIteration
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 47, in fetch
return self.collate_fn(data)
"<ipython-input-7-7b8c1b4d4c9a>", line 36, in __call__
lm_labels = torch.stack([example['target_ids'] for example in batch])
"<ipython-input-7-7b8c1b4d4c9a>", line 36, in <listcomp>
lm_labels = torch.stack([example['target_ids'] for example in batch])
KeyError: 'target_ids'
| 0.550521 |
Traceback (most recent call last):
"/usr/local/bin/vaex", line 11, in <module>
load_entry_point('vaex==1.0.0b6', 'console_scripts', 'vaex')()
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
"/usr/local/lib/python3.5/dist-packages/vaex/__init__.py", line 71, in <module>
import vaex.dataset
"/usr/local/lib/python3.5/dist-packages/vaex/dataset.py", line 18, in <module>
import vaex.utils
"/usr/local/lib/python3.5/dist-packages/vaex/utils.py", line 179, in <module>
class CpuUsage(progressbar.widgets.FormatWidgetMixin, progressbar.widgets.TimeSensitiveWidgetBase):
AttributeError: module 'progressbar.widgets' has no attribute 'FormatWidgetMixin'
| Traceback (most recent call last):
"/home/nikhil/MYTHRIL/mythril/mythril/analysis/symbolic.py", line 70, in __init__
creation_code=contract.creation_code, contract_name=contract.name
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/svm.py", line 124, in sym_exec
self._execute_transactions(created_account.address)
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/svm.py", line 154, in _execute_transactions
execute_message_call(self, address)
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/transaction/symbolic.py", line 57, in execute_message_call
laser_evm.exec()
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/svm.py", line 186, in exec
new_states, op_code = self.execute_state(global_state)
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/svm.py", line 209, in execute_state
self._execute_pre_hook(op_code, global_state)
"/home/nikhil/MYTHRIL/mythril/mythril/laser/ethereum/svm.py", line 402, in _execute_pre_hook
hook(global_state)
"/home/nikhil/MYTHRIL/mythril/mythril/analysis/modules/dependence_on_predictable_vars.py", line 36, in execute
self._issues.extend(_analyze_states(state))
"/home/nikhil/MYTHRIL/mythril/mythril/analysis/modules/dependence_on_predictable_vars.py", line 74, in _analyze_states
if solve(call):
"/home/nikhil/MYTHRIL/mythril/mythril/analysis/modules/dependence_on_predictable_vars.py", line 189, in solve
pretty_model = solver.pretty_print_model(model)
"/home/nikhil/MYTHRIL/mythril/mythril/analysis/solver.py", line 50, in pretty_print_model
condition = str(simplify(model[d]))
"/home/nikhil/MYTHRIL/mythril/mythril/laser/smt/expression.py", line 35, in simplify
expression.simplify()
AttributeError: 'QuantifierRef' object has no attribute 'simplify'
| 0.611849 |
Traceback (most recent call last):
"/usr/local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/usr/local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/usr/local/lib/python3.6/site-packages/flask_restful/__init__.py", line 480, in wrapper
resp = resource(*args, **kwargs)
"/usr/local/lib/python3.6/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
"/usr/local/lib/python3.6/site-packages/flask_restful/__init__.py", line 595, in dispatch_request
resp = meth(*args, **kwargs)
"/usr/local/lib/python3.6/site-packages/bigchaindb/web/views/transactions.py", line 93, in post
status_code, message = bigchain.write_transaction(tx_obj, mode)
"/usr/local/lib/python3.6/site-packages/bigchaindb/tendermint/lib.py", line 61, in write_transaction
return self._process_post_response(response.json(), mode)
"/usr/local/lib/python3.6/site-packages/bigchaindb/tendermint/lib.py", line 65, in _process_post_response
result = response['result']
KeyError: 'result'
| Traceback (most recent call last):
"<input>", line 1, in <module>
"/home/bshen/anaconda3/envs/videodata/lib/python3.6/site-packages/pytube/__main__.py", line 88, in __init__
self.prefetch_init()
"/home/bshen/anaconda3/envs/videodata/lib/python3.6/site-packages/pytube/__main__.py", line 97, in prefetch_init
self.init()
"/home/bshen/anaconda3/envs/videodata/lib/python3.6/site-packages/pytube/__main__.py", line 130, in init
mixins.apply_descrambler(self.player_config_args, fmt)
"/home/bshen/anaconda3/envs/videodata/lib/python3.6/site-packages/pytube/mixins.py", line 89, in apply_descrambler
for i in stream_data[key].split(',')
KeyError: 'url_encoded_fmt_stream_map' | 0.543083 |
Traceback (most recent call last):
"~/anaconda3/envs/magenta/bin/arbitrary_image_stylization_with_weights", line 8, in <module>
sys.exit(console_entry_point())
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py", line 178, in console_entry_point
tf.app.run(main)
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/arbitrary_image_stylization/arbitrary_image_stylization_with_weights.py", line 112, in main
content_img_np = image_utils.load_np_image_uint8(content_img_path)[:, :, :
"~/anaconda3/envs/magenta/lib/python3.7/site-packages/magenta/models/image_stylization/image_utils.py", line 399, in load_np_image_uint8
image = scipy.misc.imread(f.name)
AttributeError: module 'scipy.misc' has no attribute 'imread'
| Traceback (most recent call last):
"/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
"/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 805, in update_ble
discover_ble_devices(config, aeskeys, whitelist)
"/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 562, in discover_ble_devices
jres = scanner.stop()
"/home/homeassistant/.homeassistant/custom_components/mitemp_bt/sensor.py", line 411, in stop
if dumpthread.isAlive():
AttributeError: 'HCIdump' object has no attribute 'isAlive'
| 0.641298 |
Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/matplotlib/backends/backend_qt5.py", line 519, in _draw_idle
self.draw()
"/usr/lib/python3.6/site-packages/matplotlib/backends/backend_agg.py", line 402, in draw
self.figure.draw(self.renderer)
"/usr/lib/python3.6/site-packages/matplotlib/artist.py", line 50, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
"/usr/lib/python3.6/site-packages/matplotlib/figure.py", line 1649, in draw
renderer, self, artists, self.suppressComposite)
"/usr/lib/python3.6/site-packages/matplotlib/image.py", line 138, in _draw_list_compositing_images
a.draw(renderer)
"/usr/lib/python3.6/site-packages/matplotlib/artist.py", line 50, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
"/usr/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 287, in draw
reverse=True)):
"/usr/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 286, in <lambda>
key=lambda col: col.do_3d_projection(renderer),
"/usr/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 400, in do_3d_projection
fcs = (zalpha(self._facecolor3d, vzs) if self._depthshade else
"/usr/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 776, in zalpha
colors = get_colors(colors, len(zs))
"/usr/lib/python3.6/site-packages/mpl_toolkits/mplot3d/art3d.py", line 767, in get_colors
(num, 4))
"/usr/lib/python3.6/site-packages/numpy/lib/stride_tricks.py", line 176, in broadcast_to
return _broadcast_to(array, shape, subok=subok, readonly=True)
"/usr/lib/python3.6/site-packages/numpy/lib/stride_tricks.py", line 128, in _broadcast_to
op_flags=[op_flag], itershape=shape, order='C')
ValueError: operands could not be broadcast together with remapped shapes [original->remapped]: (2,4) and requested shape (1,4)
| Traceback (most recent call last):
"/home/althonos/.local/lib/python3.6/site-packages/qgrid/grid.py", line 1224, in _handle_qgrid_msg_helper
self._df.loc[location] = val_to_set
"/usr/lib/python3.6/site-packages/pandas/core/indexing.py", line 189, in __setitem__
self._setitem_with_indexer(indexer, value)
"/usr/lib/python3.6/site-packages/pandas/core/indexing.py", line 615, in _setitem_with_indexer
setter(item, value)
"/usr/lib/python3.6/site-packages/pandas/core/indexing.py", line 539, in setter
s._data = s._data.setitem(indexer=pi, value=v)
"/usr/lib/python3.6/site-packages/pandas/core/internals.py", line 3693, in setitem
return self.apply('setitem', **kwargs)
"/usr/lib/python3.6/site-packages/pandas/core/internals.py", line 3581, in apply
applied = getattr(b, f)(**kwargs)
"/usr/lib/python3.6/site-packages/pandas/core/internals.py", line 1934, in setitem
self.values[indexer] = value
"/usr/lib/python3.6/site-packages/pandas/core/arrays/categorical.py", line 1982, in __setitem__
raise ValueError("Cannot setitem on a Categorical with a new "
ValueError: Cannot setitem on a Categorical with a new category, set the categories first
| 0.555841 |
Traceback (most recent call last):
"/app/medusa/medusa/search/queue.py", line 503, in run
self.success = snatch_episode(result)
"/app/medusa/medusa/search/core.py", line 222, in snatch_episode
notifiers.notify_snatch(curEpObj, result)
"/app/medusa/medusa/notifiers/__init__.py", line 127, in notify_snatch
n.notify_snatch(title, message)
"/app/medusa/medusa/notifiers/join.py", line 43, in notify_snatch
message=message
"/app/medusa/medusa/notifiers/join.py", line 99, in _sendjoin
log.warning('Join notification failed: {0}', failed.get('message'))
AttributeError: 'unicode' object has no attribute 'get'
| Traceback (most recent call last):
"/home/ngoldin/virtualenv/gitlab/bin/gitlab", line 11, in <module>
sys.exit(main())
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/cli.py", line 179, in main
cli_module.run(gl, what, action, args, verbose, output, fields)
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/v4/cli.py", line 379, in run
data = g_cli()
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/v4/cli.py", line 69, in __call__
return self.do_custom()
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/v4/cli.py", line 84, in do_custom
return getattr(o, method_name)(**self.args)
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/cli.py", line 42, in wrapped_f
return f(*args, **kwargs)
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/v4/objects.py", line 1944, in set_release_description
if self.release is None:
"/home/ngoldin/virtualenv/gitlab/local/lib/python2.7/site-packages/gitlab/base.py", line 81, in __getattr__
raise AttributeError(name)
AttributeError: release
| 0.551784 |
Traceback (most recent call last):
"/root/anaconda/bin/conda", line 5, in <module>
sys.exit(main())
"/home/aaronmeurer/conda/conda/cli/main.py", line 202, in main
args_func(args, p)
"/home/aaronmeurer/conda/conda/cli/main.py", line 207, in args_func
args.func(args, p)
"/home/aaronmeurer/conda/conda/cli/main_clean.py", line 317, in execute
pkgs_dir, rmlist, totalsize = find_tarballs()
"/home/aaronmeurer/conda/conda/cli/main_clean.py", line 108, in find_tarballs
for fn in os.listdir(pkgs_dir):
NotFoundError: [Errno 2] No such file or directory: '/root/.conda/envs/.pkgs' | Traceback (most recent call last):
"train.py", line 626, in <module>
device=device, )
"train.py", line 293, in train
val_dataset = Yolo_dataset(config.val_label, config, train=False)
"D:\Code\yolo\pytorch-YOLOv4\dataset.py", line 256, in __init__
f = open(lable_path, 'r', encoding='utf-8')
NotFoundError: [Errno 2] No such file or directory: 'pytorch-YOLOv4\\data\\val.txt'
| 0.641755 |
Traceback (most recent call last):
"/usr/local/lib/python2.7/site-packages/qqbot/qqbotcls.py", line 99, in _call
func(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/qqbot/plugins/miniirc.py", line 244, in onQQMessage
self.buddies.add(buddy)
"/usr/local/lib/python2.7/site-packages/qqbot/plugins/miniirc.py", line 306, in add
if contact.uin in self.uins:
AttributeError: 'NoneType' object has no attribute 'uin'
| Traceback (most recent call last):
"/Users/nrryuya1/work/blockchain/nrryuya/vyper/tests/examples/tokens/ERC20_solidity_compatible/test/erc20_tests_1.py", line 422, in setUp
super().setUp()
"/Users/nrryuya1/work/blockchain/nrryuya/vyper/tests/examples/tokens/ERC20_solidity_compatible/test/erc20_tests_1.py", line 52, in setUp
self.s.revert(self.initial_state)
"/Users/nrryuya1/.pyenv/versions/vyper/lib/python3.6/site-packages/ethereum/tools/tester.py", line 297, in revert
self.block.transactions = self.block.transactions[:txcount]
"/Users/nrryuya1/.pyenv/versions/vyper/lib/python3.6/site-packages/rlp/sedes/serializable.py", line 334, in field_fn_setter
raise AttributeError("can't set attribute")
AttributeError: can't set attribute
| 0.634912 |
Epoch:
0%|
| 0/100 [00:00<?, ?it/sTraceback (most recent call last):
| 0/4 [00:00<?, ?it/s]
"run_seq_labeling.py", line 857, in <module>
main()
"run_seq_labeling.py", line 752, in main
args, train_dataset, model, tokenizer, labels, pad_token_label_id
"run_seq_labeling.py", line 215, in train
outputs = model(**inputs)
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/root/sukumar/layoutlm/modeling_layoutlm.py", line 253, in forward
head_mask=head_mask,
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/root/sukumar/layoutlm/modeling_layoutlm.py", line 190, in forward
input_ids, bbox, position_ids=position_ids, token_type_ids=token_type_ids,
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/root/sukumar/layoutlm/modeling_layoutlm.py", line 59, in forward
left_position_embeddings = self.x_position_embeddings(bbox[:, :, 0])
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/modules/sparse.py", line 114, in forward
self.norm_type, self.scale_grad_by_freq, self.sparse)
"/root/anaconda3/envs/layoutlm/lib/python3.6/site-packages/torch/nn/functional.py", line 1484, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: index out of range: Tried to access index 1115 out of table with 1023 rows. at /opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/TH/generic/THTensorEvenMoreMath.cpp:418
| Traceback (most recent call last):
"/usr/local/bin/jrnl", line 8, in <module>
sys.exit(run())
"/usr/local/lib/python2.7/dist-packages/jrnl/cli.py", line 194, in run
journal = Journal.Journal(journal_name, **config)
"/usr/local/lib/python2.7/dist-packages/jrnl/Journal.py", line 39, in __init__
self.open()
"/usr/local/lib/python2.7/dist-packages/jrnl/Journal.py", line 105, in open
journal = util.get_password(keychain=self.name, validator=validate_password)
"/usr/local/lib/python2.7/dist-packages/jrnl/util.py", line 37, in get_password
pwd_from_keychain = keychain and get_keychain(keychain)
"/usr/local/lib/python2.7/dist-packages/jrnl/util.py", line 56, in get_keychain
return keyring.get_password('jrnl', journal_name)
"/usr/local/lib/python2.7/dist-packages/keyring/core.py", line 57, in get_password
return _keyring_backend.get_password(service_name, username)
"/usr/local/lib/python2.7/dist-packages/keyring/backends/fail.py", line 24, in get_password
raise RuntimeError(msg)
RuntimeError: No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.
| 0.516417 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/local/lib/python3.7/dist-packages/toga_gtk/widgets/webview.py", line 24, in __init__
super().__init__(id=id, style=style, url=url, on_key_down=on_key_down)
"/usr/local/lib/python3.7/dist-packages/toga/interface/widgets/webview.py", line 29, in __init__
super(WebView, self).__init__(id=id, style=style, url=url, on_key_down=on_key_down, on_webview_load=None)
"/usr/local/lib/python3.7/dist-packages/toga/interface/widgets/base.py", line 144, in __init__
self.style = CSS()
"/usr/local/lib/python3.7/dist-packages/toga/interface/widgets/base.py", line 170, in style
self._style = value.bind(self)
AttributeError: 'CSS' object has no attribute 'bind'
| Traceback (most recent call last):
"./tools/train_net.py", line 83, in <module>
roidb = get_training_roidb(imdb)
"/home/hadi/Software/tensorflow/TEST_FRCN_ROOT/tools/../lib/fast_rcnn/train.py", line 204, in get_training_roidb
imdb.append_flipped_images()
"/home/hadi/Software/tensorflow/TEST_FRCN_ROOT/tools/../lib/datasets/imdb.py", line 108, in append_flipped_images
boxes = self.roidb[i]['boxes'].copy()
"/home/hadi/Software/tensorflow/TEST_FRCN_ROOT/tools/../lib/datasets/imdb.py", line 69, in roidb
self._roidb = self.roidb_handler()
"/home/hadi/Software/tensorflow/TEST_FRCN_ROOT/tools/../lib/datasets/pascal_voc.py", line 107, in gt_roidb
for index in self.image_index]
"/home/hadi/Software/tensorflow/TEST_FRCN_ROOT/tools/../lib/datasets/pascal_voc.py", line 212, in _load_pascal_annotation
cls = self._class_to_ind[obj.find('name').text.lower().strip()]
AttributeError: 'NoneType' object has no attribute 'lower'
| 0.603979 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/tmp/pip-req-build-oers0g5e/setup.py", line 456, in <module>
setup(
"/home/notooth/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
"/home/notooth/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
"/home/notooth/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
"/home/notooth/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
"/home/notooth/anaconda3/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
"/home/notooth/anaconda3/lib/python3.8/distutils/command/install.py", line 545, in run
self.run_command('build')
"/home/notooth/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
"/home/notooth/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
"/home/notooth/anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
"/home/notooth/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
"/home/notooth/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
"/home/notooth/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
"/home/notooth/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
"/home/notooth/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
"/home/notooth/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
build_ext.build_extensions(self)
"/home/notooth/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
"/home/notooth/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
"/home/notooth/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
"/home/notooth/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
"/home/notooth/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
"/home/notooth/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 486, in unix_wrap_ninja_compile
cuda_post_cflags = unix_cuda_flags(cuda_post_cflags)
"/home/notooth/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 395, in unix_cuda_flags
cflags + _get_cuda_arch_flags(cflags) +
"/home/notooth/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1438, in _get_cuda_arch_flags
raise ValueError("Unknown CUDA arch ({}) or GPU not supported".format(arch))
ValueError: Unknown CUDA arch (compute) or GPU not supported
| Traceback (most recent call last):
"/home/khawar/.local/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 1671, in create_block_manager_from_blocks
make_block(values=blocks[0], placement=slice(0, len(axes[0])))
"/home/khawar/.local/lib/python3.6/site-packages/pandas/core/internals/blocks.py", line 2744, in make_block
return klass(values, ndim=ndim, placement=placement)
"/home/khawar/.local/lib/python3.6/site-packages/pandas/core/internals/blocks.py", line 2400, in __init__
super().__init__(values, ndim=ndim, placement=placement)
"/home/khawar/.local/lib/python3.6/site-packages/pandas/core/internals/blocks.py", line 131, in __init__
f"Wrong number of items passed {len(self.values)}, "
ValueError: Wrong number of items passed 1, placement implies 2
| 0.534577 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
ImportError: No module named tkinter | Original Traceback (most recent call last):
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
"/content/drive/My Drive/mt/pythia/pythia/tasks/multi_task.py", line 73, in __getitem__
item = self.chosen_task[idx]
"/content/drive/My Drive/mt/pythia/pythia/tasks/base_task.py", line 159, in __getitem__
item = self.chosen_dataset[idx]
"/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataset.py", line 207, in __getitem__
return self.datasets[dataset_idx][sample_idx]
"/content/drive/My Drive/mt/pythia/pythia/tasks/base_dataset.py", line 76, in __getitem__
sample = self.get_item(idx)
"/content/drive/My Drive/mt/pythia/pythia/tasks/vqa/vqa2/dataset.py", line 95, in get_item
return self.load_item(idx)
"/content/drive/My Drive/mt/pythia/pythia/tasks/vqa/vizwiz/dataset.py", line 16, in load_item
sample = super().load_item(idx)
"/content/drive/My Drive/mt/pythia/pythia/tasks/vqa/vqa2/dataset.py", line 129, in load_item
current_sample = self.add_ocr_details(sample_info, current_sample)
"/content/drive/My Drive/mt/pythia/pythia/tasks/vqa/vqa2/dataset.py", line 144, in add_ocr_details
context = self.context_processor({"tokens": ocr_tokens})
"/content/drive/My Drive/mt/pythia/pythia/tasks/processors.py", line 156, in __call__
return self.processor(item, *args, **kwargs)
"/content/drive/My Drive/mt/pythia/pythia/tasks/processors.py", line 493, in __call__
self._try_download()
"/content/drive/My Drive/mt/pythia/pythia/tasks/processors.py", line 408, in _try_download
self._load_fasttext_model(model_file)
"/content/drive/My Drive/mt/pythia/pythia/tasks/processors.py", line 460, in _load_fasttext_model
from fastText import load_model
ImportError: cannot import name 'load_model'
| 0.561322 |
Traceback (most recent call last):
"/Users/alexwlchan/.virtualenvs/tempenv-340c26170176d/lib/python3.6/site-packages/hypothesis/core.py", line 631, in run
print_example=True, is_final=True
"/Users/alexwlchan/.virtualenvs/tempenv-340c26170176d/lib/python3.6/site-packages/hypothesis/executors.py", line 58, in default_new_style_executor
return function(data)
"/Users/alexwlchan/.virtualenvs/tempenv-340c26170176d/lib/python3.6/site-packages/hypothesis/core.py", line 116, in run
return test(*args, **kwargs)
"foo.py", line 10, in test_x_is_not_integer
raise ValueError("This number is too big!")
ValueError: This number is too big!
| Traceback (most recent call last):
"src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
"/home/kelsos/development/github/raiden-network/raiden/raiden/api/rest.py", line 430, in _run
self.wsgiserver.serve_forever()
"/home/kelsos/.virtualenvs/raiden/lib/python3.7/site-packages/gevent/baseserver.py", line 364, in serve_forever
self._stop_event.wait()
"src/gevent/event.py", line 240, in gevent._event.Event.wait
"src/gevent/event.py", line 140, in gevent._event._AbstractLinkable._wait
"src/gevent/event.py", line 117, in gevent._event._AbstractLinkable._wait_core
"src/gevent/event.py", line 119, in gevent._event._AbstractLinkable._wait_core
"src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
"src/gevent/_greenlet_primitives.py", line 59, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
"src/gevent/_greenlet_primitives.py", line 63, in gevent.__greenlet_primitives.SwitchOutGreenletWithLoop.switch
"src/gevent/__greenlet_primitives.pxd", line 35, in gevent.__greenlet_primitives._greenlet_switch
ValueError: {'code': -32000, 'message': 'This request is not supported because your node is running with state pruning. Run with --pruning=archive.'}
| 0.503104 |
Traceback (most recent call last):
"regression.py", line 4, in <module>
click.edit(filename=Path('here.txt'))
"/Users/samuel/workspace/tmp/click-regression/.venv/lib/python3.7/site-packages/click/termui.py", line 588, in edit
editor.edit_file(filename)
"/Users/samuel/workspace/tmp/click-regression/.venv/lib/python3.7/site-packages/click/_termui_impl.py", line 466, in edit_file
"{} {}".format(shlex_quote(editor), shlex_quote(filename)),
"/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shlex.py", line 319, in quote
if _find_unsafe(s) is None:
TypeError: expected string or bytes-like object
| Traceback (most recent call last):
"/home/code/mayongjuan/anaconda3/envs/SEE/lib/python3.6/site-packages/chainer/iterators/multiprocess_iterator.py", line 117, in __del__
"/home/code/mayongjuan/anaconda3/envs/SEE/lib/python3.6/site-packages/chainer/iterators/multiprocess_iterator.py", line 244, in terminate
"/home/code/mayongjuan/anaconda3/envs/SEE/lib/python3.6/threading.py", line 347, in notify
TypeError: 'NoneType' object is not callable
| 0.569904 |
Traceback (most recent call last):
"manage.py", line 29, in <module>
main()
"manage.py", line 25, in main
execute_from_command_line(sys.argv)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/base.py", line 366, in execute
self.check()
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/base.py", line 395, in check
include_deployment_checks=include_deployment_checks,
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/management/base.py", line 382, in _run_checks
return checks.run_checks(**kwargs)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/checks/registry.py", line 72, in run_checks
new_errors = check(app_configs=app_configs)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/checks/urls.py", line 40, in check_url_namespaces_unique
all_namespaces = _load_all_namespaces(resolver)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/core/checks/urls.py", line 57, in _load_all_namespaces
url_patterns = getattr(resolver, 'url_patterns', [])
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/urls/resolvers.py", line 588, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
"/home/circleci/company_service/.venv/lib/python3.6/site-packages/django/urls/resolvers.py", line 581, in urlconf_module
return import_module(self.urlconf_name)
"/home/circleci/company_service/.venv/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 994, in _gcd_import
"<frozen importlib._bootstrap>", line 971, in _find_and_load
"<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 665, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/home/circleci/company_service/company_service/urls.py", line 16, in <module>
companies_router.register('production_lines', views.ProductionLineViewSet, base_name='companies-production_lines')
TypeError: register() got an unexpected keyword argument 'base_name'
| Traceback (most recent call last):
"/root/Desktop/tools/Mobile-Security-Framework-MobSF/StaticAnalyzer/views/ios/db_interaction.py", line 163, in create_db_entry_ipa
BIN_ANAL=bin_dict['bin_res'],
TypeError: 'NoneType' object is not subscriptable
| 0.519919 |
Traceback (most recent call last):
"D:\SickChill\SickChill\lib\tornado\web.py", line 1511, in _execute
result = yield result
"D:\SickChill\SickChill\lib\tornado\gen.py", line 1055, in run
value = future.result()
"D:\SickChill\SickChill\lib\tornado\concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
"D:\SickChill\SickChill\lib\tornado\gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
"D:\SickChill\SickChill\sickbeard\webserve.py", line 265, in get
results = yield self.async_call(method)
"D:\SickChill\SickChill\lib\tornado\gen.py", line 1055, in run
value = future.result()
"D:\SickChill\SickChill\lib\concurrent\futures\_base.py", line 455, in result
return self.__get_result()
"D:\SickChill\SickChill\lib\concurrent\futures\thread.py", line 63, in run
result = self.fn(*self.args, **self.kwargs)
"D:\SickChill\SickChill\sickbeard\webserve.py", line 287, in async_call
result = function(**kwargs)
TypeError: saveSearch() got an unexpected keyword argument 'torrent_download_dir_deluge'
| Traceback (most recent call last):
"/root/venv/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"/root/venv/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"/root/venv/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/root/venv/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
"/root/venv/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/root/venv/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
return f(self, *args, **kwargs)
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/views.py", line 478, in list
widgets=widgets)
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/baseviews.py", line 161, in render_template
return render_template(template, **dict(list(kwargs.items()) + list(self.extra_args.items())))
"/root/venv/lib/python3.6/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
"/root/venv/lib/python3.6/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
"/root/venv/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
"/root/venv/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
"/root/venv/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
"/root/venv/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/general/model/list.html", line 2, in top-level template code
{% import 'appbuilder/general/lib.html' as lib %}
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/base.html", line 1, in top-level template code
{% extends base_template %}
"/root/venv/lib/python3.6/site-packages/superset/templates/superset/base.html", line 1, in top-level template code
{% extends "appbuilder/baselayout.html" %}
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 2, in top-level template code
{% import 'appbuilder/baselib.html' as baselib %}
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/init.html", line 46, in top-level template code
{% block body %}
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/baselayout.html", line 21, in block "body"
{% block content %}
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/general/model/list.html", line 12, in block "content"
{% block list_list scoped %}
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/general/model/list.html", line 13, in block "list_list"
{{ widgets.get('list')()|safe }}
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/widgets.py", line 34, in __call__
return template.render(args)
"/root/venv/lib/python3.6/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
"/root/venv/lib/python3.6/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
"/root/venv/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
"/root/venv/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
"/root/venv/lib/python3.6/site-packages/superset/templates/superset/fab_overrides/list.html", line 1, in top-level template code
{% extends 'appbuilder/general/widgets/list.html' %}
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 2, in top-level template code
{% extends 'appbuilder/general/widgets/base_list.html' %}
"/root/venv/lib/python3.6/site-packages/superset/templates/appbuilder/general/widgets/base_list.html", line 25, in top-level template code
{% block begin_loop_values %}
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/templates/appbuilder/general/widgets/list.html", line 45, in block "begin_loop_values"
{% for item in value_columns %}
"/root/venv/lib/python3.6/site-packages/jinja2/runtime.py", line 478, in __next__
ctx._after = ctx._safe_next()
"/root/venv/lib/python3.6/site-packages/jinja2/runtime.py", line 455, in _safe_next
return next(self._iterator)
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 114, in get_values
retdict[col] = self._get_attr_value(item, col)
"/root/venv/lib/python3.6/site-packages/flask_appbuilder/models/base.py", line 66, in _get_attr_value
return getattr(item, col)()
"/root/venv/lib/python3.6/site-packages/superset/models/core.py", line 181, in datasource_link
return datasource.link if datasource else None
"/root/venv/lib/python3.6/site-packages/superset/connectors/druid/models.py", line 532, in link
return Markup('<a href="{self.url}">{name}</a>').format(**locals())
TypeError: format() got multiple values for argument 'self'
| 0.524944 |
Traceback (most recent call last):%|###
| 1.02G/3.31G [01:32<03:28, 11.8MB/s]
"site-packages\tqdm\_tqdm.py", line 931, in __del__
"site-packages\tqdm\_tqdm.py", line 1133, in close
"site-packages\tqdm\_tqdm.py", line 496, in _decr_instances
"site-packages\tqdm\_monitor.py", line 52, in exit
"threading.py", line 1053, in join
RuntimeError: cannot join current thread
| Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 17, in _handle_async_response
await func(hass, connection, msg)
"/usr/src/homeassistant/homeassistant/components/config/auth_provider_homeassistant.py", line 60, in websocket_create
provider = _get_provider(hass)
"/usr/src/homeassistant/homeassistant/components/config/auth_provider_homeassistant.py", line 53, in _get_provider
raise RuntimeError('Provider not found')
RuntimeError: Provider not found
| 0.582172 |
Traceback (most recent call last):
"crawl_profile.py", line 33, in <module>
information, user_commented_list = extract_information(browser, username, limit_amount)
"/root/Bots/instagram-profilecrawl/util/extractor.py", line 225, in extract_information
caption, location_url, location_name, location_id, lat, lng, img, tags, likes, comments, date, user_commented_list = extract_post_info(browser)
TypeError: 'NoneType' object is not iterable
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"./sympy/printing/pretty/pretty.py", line 2381, in pretty_print
use_unicode_sqrt_char=use_unicode_sqrt_char))
"./sympy/printing/pretty/pretty.py", line 2341, in pretty
return pp.doprint(expr)
"./sympy/printing/pretty/pretty.py", line 62, in doprint
return self._print(expr).render(**self._settings)
"./sympy/printing/printer.py", line 287, in _print
return getattr(self, printmethod)(expr, **kwargs)
"./sympy/printing/pretty/pretty.py", line 846, in _print_MatMul
args[i] = self._print(a)
"./sympy/printing/printer.py", line 287, in _print
return getattr(self, printmethod)(expr, **kwargs)
"./sympy/printing/pretty/pretty.py", line 858, in _print_MatPow
pform = self._print(expr.base)
"./sympy/printing/printer.py", line 287, in _print
return getattr(self, printmethod)(expr, **kwargs)
"./sympy/printing/pretty/pretty.py", line 77, in _print_Symbol
symb = pretty_symbol(e.name)
"./sympy/printing/pretty/pretty_symbology.py", line 510, in pretty_symbol
name, sups, subs = split_super_sub(symb_name)
"./sympy/printing/conventions.py", line 30, in split_super_sub
if len(text) == 0:
TypeError: object of type 'Symbol' has no len()
| 0.602441 |
Traceback (most recent call last):
"webcam.py", line 6, in <module>
from predictor import COCODemo
"/home/***/maskrcnn-benchmark/demo/predictor.py", line 6, in <module>
from maskrcnn_benchmark.modeling.detector import build_detection_model
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/__init__.py", line 2, in <module>
from .detectors import build_detection_model
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/detectors.py", line 2, in <module>
from .generalized_rcnn import GeneralizedRCNN
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 11, in <module>
from ..backbone import build_backbone
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/__init__.py", line 2, in <module>
from .backbone import build_backbone
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/backbone/backbone.py", line 7, in <module>
from maskrcnn_benchmark.modeling.make_layers import conv_with_kaiming_uniform
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/modeling/make_layers.py", line 10, in <module>
from maskrcnn_benchmark.layers import Conv2d
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/layers/__init__.py", line 10, in <module>
from .nms import nms
"/home/***/maskrcnn-benchmark/maskrcnn_benchmark/layers/nms.py", line 3, in <module>
from maskrcnn_benchmark import _C
ImportError: /home/***/maskrcnn-benchmark/maskrcnn_benchmark/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: __cudaRegisterFatBinaryEnd-->
| Traceback (most recent call last):
"/home/docs/checkouts/readthedocs.org/user_builds/flask-restful/envs/latest/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 560, in import_object
__import__(self.modname)
ImportError: No module named 'flask_restful'
| 0.589881 |
Traceback (most recent call last):
"/app/zabbix/script/yowsup-master/yowsup-cli", line 368, in <module>
if not parser.process():
"/app/zabbix/script/yowsup-master/yowsup-cli", line 272, in process
self.startSendClient()
"/app/zabbix/script/yowsup-master/yowsup-cli", line 323, in startSendClient
not self.args["unmoxie"])
"/app/zabbix-server-3-0/script/yowsup-master/yowsup/demos/sendclient/stack.py", line 20, in __init__
.pushDefaultLayers(encryptionEnabled)\
"/app/zabbix-server-3-0/script/yowsup-master/yowsup/stacks/yowstack.py", line 51, in pushDefaultLayers
defaultLayers = YowStackBuilder.getDefaultLayers(axolotl)
"/app/zabbix-server-3-0/script/yowsup-master/yowsup/stacks/yowstack.py", line 73, in getDefaultLayers
from yowsup.layers.axolotl import AxolotlSendLayer, AxolotlControlLayer, AxolotlReceivelayer
"/app/zabbix-server-3-0/script/yowsup-master/yowsup/layers/axolotl/__init__.py", line 1, in <module>
from .layer_send import AxolotlSendLayer
"/app/zabbix-server-3-0/script/yowsup-master/yowsup/layers/axolotl/layer_send.py", line 6, in <module>
from axolotl.sessioncipher import SessionCipher
"/usr/local/lib/python2.7/dist-packages/axolotl/sessioncipher.py", line 9, in <module>
from .sessionbuilder import SessionBuilder
"/usr/local/lib/python2.7/dist-packages/axolotl/sessionbuilder.py", line 13, in <module>
from .protocol.keyexchangemessage import KeyExchangeMessage
"/usr/local/lib/python2.7/dist-packages/axolotl/protocol/keyexchangemessage.py", line 5, in <module>
from . import whisperprotos
"/usr/local/lib/python2.7/dist-packages/axolotl/protocol/whisperprotos.py", line 41, in <module>
options=None),
"/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 494, in __new__
_message.Message._CheckCalledFromGenerated
()
TypeError: Descriptors should not be created directly, but only retrieved from their parent.
| Traceback (most recent call last):
"C:\Users\user\Documents\GitHub\OnlyFans\datascraper\main_datascraper.py", line 114, in start_datascraper
array = module.manage_subscriptions(
"C:\Users\user\Documents\GitHub\OnlyFans\modules\onlyfans.py", line 1027, in manage_subscriptions
if item["usersCount"] > 2:
TypeError: '>' not supported between instances of 'str' and 'int' | 0.525149 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/vol/devel/env/lib/python2.6/copy_reg.py", line 70, in _reduce_ex
raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle function objects | Traceback (most recent call last):
"/opt/conda/envs/default/lib/python3.7/site-packages/distributed/protocol/core.py", line 40, in dumps
for key, value in data.items()
"/opt/conda/envs/default/lib/python3.7/site-packages/distributed/protocol/core.py", line 41, in <dictcomp>
if type(value) is Serialize
"/opt/conda/envs/default/lib/python3.7/site-packages/distributed/protocol/serialize.py", line 245, in serialize
raise TypeError(msg, str(x)[:10000])
TypeError: ('Could not serialize object of type tuple.', "(<function check_meta at 0x7f4dbc0f1710>, (<function apply at 0x7f4de0e80cb0>, <function pandas_read_text at 0x7f4db9fd70e0>, [<function _make_parser_function.<locals>.parser_f at 0x7f4dbc7c0050>, (<function read_block_from_file at 0x7f4db9fdd7a0>, <Open
'/tmp/tmpgou80l9m/31fae6b6-ad97-11ea-b877-fab4a0258d35.csv'>, 0, 64000000, b'\\n'), b'a,b,c\\n', (<class 'dict'>, [['usecols', dict_keys(['a', 'c'])]]), (<class 'dict'>, [['a', dtype('int64')], ['c', dtype('int64')]]), ['a', 'c']], (<class 'dict'>, [['write_header', False], ['enforce', False], ['path', None]])), Empty DataFrame\nColumns: [a, c]\nIndex: [], 'from_delayed')")
| 0.579361 |
Traceback (most recent call last):
"/usr/lib64/python3.6/site-packages/tornado/web.py", line 1466, in _execute
result = method(*self.path_args, **self.path_kwargs)
"/usr/lib/python3.6/site-packages/salt/netapi/rest_tornado/saltnado.py", line 758, in post
perms = sorted(list(set(perms)))
TypeError: unhashable type: 'dict'
| Traceback (most recent call last):
"test.py", line 23, in <module>
print(TestSettings(cls=TestClass))
"pydantic/main.py", line 534, in pydantic.main.BaseModel.__str__
"pydantic/main.py", line 530, in genexpr
"pydantic/main.py", line 530, in genexpr
"pydantic/utils.py", line 158, in pydantic.utils.truncate
TypeError: descriptor '__repr__' of 'object' object needs an argument
| 0.522923 |
Traceback (most recent call last):
"/home/<MY USERNAME>/.local/lib/python3.7/site-packages/xonsh/environ.py", line 1757, in xonsh_script_run_control
run_script_with_cache(filename, execer, ctx)
"/home/<MY USERNAME>/.local/lib/python3.7/site-packages/xonsh/codecache.py", line 160, in run_script_with_cache
ccode = compile_code(filename, code, execer, glb, loc, mode)
"/home/<MY USERNAME>/.local/lib/python3.7/site-packages/xonsh/codecache.py", line 119, in compile_code
ccode = execer.compile(code, glbs=glb, locs=loc, mode=mode, filename=filename)
"/home/<MY USERNAME>/.local/lib/python3.7/site-packages/xonsh/execer.py", line 138, in compile
code = compile(tree, filename, mode)
TypeError: expected Module node, got Expression
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"./sympy/sets/sets.py", line 1028, in __new__
args = flatten(args)
"./sympy/sets/sets.py", line 1026, in flatten
return sum(map(flatten, arg), [])
"./sympy/sets/sets.py", line 1026, in flatten
return sum(map(flatten, arg), [])
"./sympy/sets/sets.py", line 1027, in flatten
raise TypeError("Input must be Sets or iterables of Sets")
TypeError: Input must be Sets or iterables of Sets
| 0.630268 |
Traceback (most recent call last):
"train.py", line 252, in <module>
train()
"train.py", line 164, in train
train_loader, val_loader, train_sampler, valid_sampler = get_data_loaders(args, tokenizer)
"train.py", line 97, in get_data_loaders
tensor = tensor.view((-1, datasets[dataset_name]["n_candidates"]) + tensor.shape[1:])
RuntimeError: shape '[-1, 2, 34]' is invalid for input of size 61710
| Traceback (most recent call last):
"/home/aries/tvm/topi/tests/python/testfordepthos.py", line 143, in <module>
test_depthwise_conv2d()
"/home/aries/tvm/topi/tests/python/testfordepthos.py", line 124, in test_depthwise_conv2d
depthwise_conv2d_with_workload_nchw(1, 728, 64, 1, 3, 1, "SAME")
"/home/aries/tvm/topi/tests/python/testfordepthos.py", line 108, in depthwise_conv2d_with_workload_nchw
cc.create_shared("/home/aries/tvm/apps/howto_deploy/lib/test_depthcuda.o", ["/home/aries/tvm/apps/howto_deploy/lib/test_depthcuda.ptx"])
"/home/aries/tvm/python/tvm/contrib/cc.py", line 32, in create_shared
_linux_shared(output, objects, options, cc)
"/home/aries/tvm/python/tvm/contrib/cc.py", line 57, in _linux_shared
raise RuntimeError(msg)
RuntimeError: Compilation error:
| 0.55723 |
Traceback (most recent call last):
"freqtrade/main.py", line 288, in <module>
main()
"freqtrade/main.py", line 267, in main
init(_CONF)
"freqtrade/main.py", line 226, in init
exchange.init(config)
"/home/tt/freqtrade/freqtrade/exchange/__init__.py", line 52, in init
_API = exchange_class(exchange_config)
"/home/tt/freqtrade/freqtrade/exchange/bittrex.py", line 36, in __init__
calls_per_second=5,
TypeError: __init__() got an unexpected keyword argument 'calls_per_second'
| Traceback (most recent call last):
"scripts/sentence/gridsearch.py", line 65, in <module>
json.dump(gridsearch.cv_results_, outfile, indent=2)
"/root/miniconda/lib/python3.5/json/__init__.py", line 178, in dump
for chunk in iterable:
"/root/miniconda/lib/python3.5/json/encoder.py", line 429, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
"/root/miniconda/lib/python3.5/json/encoder.py", line 403, in _iterencode_dict
yield from chunks
"/root/miniconda/lib/python3.5/json/encoder.py", line 436, in _iterencode
o = _default(o)
"/root/miniconda/lib/python3.5/json/encoder.py", line 179, in default
raise TypeError(repr(o) + " is not JSON serializable")
TypeError: array([1, 2], dtype=int32) is not JSON serializable
| 0.575794 |
Traceback (most recent call last):
"/opt/mp4_automator/resources/metadata.py", line 206, in writeTags
video.save()
"/opt/mp4_automator/mutagen/_file.py", line 111, in save
return self.tags.save(filename, **kwargs)
"/opt/mp4_automator/mutagen/mp4/__init__.py", line 360, in save
values.append(render_func(self, key, value))
"/opt/mp4_automator/mutagen/mp4/__init__.py", line 578, in __render_freeform
data += v.encode('UTF-8')
AttributeError: 'bytes' object has no attribute 'encode'
|
Traceback (most recent call last):
"/mnt/maui/home/nick/bitcoin/electrum/lib/plugins.py", line 49, in run_hook
r = f(*args)
"/mnt/maui/home/nick/bitcoin/electrum/plugins/labels.py", line 84, in set_label
bundle = {"label": {"external_id": self.encode(item), "text": self.encode(label)}}
"/mnt/maui/home/nick/bitcoin/electrum/plugins/labels.py", line 36, in encode
encrypted = aes.encryptData(self.encode_password, unicode(message))
AttributeError: Plugin instance has no attribute 'encode_password' | 0.625117 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.