text1
stringlengths 92
132k
| text2
stringlengths 83
99.1k
| score
float64 0.01
1
|
---|---|---|
ERROR
1559931217.22
tribler_window:74
(root)
Traceback (most recent call last):
"/home/vader/src/TRIBLER/Tribler/TriblerGUI/widgets/triblertablecontrollers.py", line 199, in <lambda>
action.triggered.connect(lambda _: callback(item_index))
"/home/vader/src/TRIBLER/Tribler/TriblerGUI/widgets/lazytableview.py", line 172, in on_add_to_channel_button_clicked
post_data = {"uri": index2uri(row)}
"/home/vader/src/TRIBLER/Tribler/TriblerGUI/utilities.py", line 20, in index2uri
infohash = index.model().data_items[index.row()][u'infohash']
KeyError: u'infohash'
| Traceback (most recent call last):
"/home/cuckoodroid/cuckoo/lib/cuckoo/core/plugins.py", line 342, in process
if current.run():
"/home/cuckoodroid/cuckoo/modules/signatures/network_smtp.py", line 27, in run
if "smtp" in self.results["network"]:
KeyError: 'network'
| 0.524711 |
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'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/__init__.py", line 200, in dump
return dump_all([data], stream, Dumper=Dumper, **kwds)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/__init__.py", line 188, in dump_all
dumper.represent(data)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/representer.py", line 27, in represent
self.serialize(node)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/serializer.py", line 54, in serialize
self.serialize_node(node, None, None)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/serializer.py", line 108, in serialize_node
self.serialize_node(value, node, key)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/serializer.py", line 100, in serialize_node
self.emit(SequenceEndEvent())
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 115, in emit
self.state()
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 374, in expect_first_block_sequence_item
return self.expect_block_sequence_item(first=True)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 384, in expect_block_sequence_item
self.expect_node(sequence=True)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 242, in expect_node
self.process_tag()
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 489, in process_tag
self.prepared_tag = self.prepare_tag(tag)
"/Users/schrockn/venvs/prezi-dagster-dec-4/lib/python3.7/site-packages/yaml/emitter.py", line 607, in prepare_tag
chunks.append('%%%02X' % ord(ch))
TypeError: ord() expected string of length 1, but int found
| 0.554398 |
Traceback (most recent call last):
"quickstart.py", line 41, in <module>
session.like_by_tags(['natgeo'], amount=1)
"/home/pi/projects/Instapy/instapy/instapy.py", line 934, in like_by_tags
skip_top_posts)
"/home/pi/projects/Instapy/instapy/like_util.py", line 196, in get_links_for_tag
"//span[contains(@class, '_fd86t')]").text)
"/home/pi/projects/Instapy/instapy/util.py", line 342, in format_number
return int(formatted_num)
ValueError: invalid literal for int() with base 10: ''
| Traceback (most recent call last):
"train_mnist.py", line 134, in <module>
main()
"train_mnist.py", line 56, in main
device = chainer.get_device(args.device)
"/path/to/chainer/chainer/backend.py", line 157, in get_device
raise ValueError('Invalid device specifier: {}'.format(device_spec))
ValueError: Invalid device specifier: cuda:0
| 0.562589 |
Traceback (most recent call last):
"cupy/cuda/memory.pyx", line 481, in cupy.cuda.memory.PooledMemory.free
AttributeError: 'PooledMemory' object has no attribute 'ptr'
| Traceback (most recent call last):
"/home/amax/detectron/tools/infer_simple.py", line 148, in <module>
main(args)
"/home/amax/detectron/tools/infer_simple.py", line 118, in main
model, im, None, timers=timers
"/home/amax/detectron/lib/core/test.py", line 66, in im_detect_all
model, im, cfg.TEST.SCALE, cfg.TEST.MAX_SIZE, boxes=box_proposals
"/home/amax/detectron/lib/core/test.py", line 137, in im_detect_bbox
inputs, im_scale = _get_blobs(im, boxes, target_scale, target_max_size)
"/home/amax/detectron/lib/core/test.py", line 946, in _get_blobs
blob_utils.get_image_blob(im, target_scale, target_max_size)
"/home/amax/detectron/lib/utils/blob.py", line 52, in get_image_blob
im, cfg.PIXEL_MEANS, target_scale, target_max_size
"/home/amax/detectron/lib/utils/blob.py", line 108, in prep_im_for_blob
im = im.astype(np.float32, copy=False)
AttributeError: 'NoneType' object has no attribute 'astype' | 0.595351 |
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):
"/usr/lib/python3.4/asyncio/tasks.py", line 233, in _step
result = coro.throw(exc)
"/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
new_entity, self, update_before_add=update_before_add
"/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 189, in async_add_entity
yield from self.hass.loop.run_in_executor(None, entity.update)
"/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self
# This tells Task to wait for completion.
"/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
"/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
"/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/russound_rnet.py", line 95, in update
self._volume = self._russ.get_volume('1', self._zone_id) / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
| 0.525155 |
Traceback (most recent call last):
"/Users/parsoyaarihant/sympy/sympy/polys/polyutils.py", line 209, in _parallel_dict_from_expr_if_gens
monom[indices[base]] = exp
KeyError: RisingFactorial(_t + 1, 4.0)
| Traceback (most recent call last):
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\policy.py", line 291, in run
resources = self.policy.resource_manager.resources()
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\query.py", line 508, in resources
resources = self.filter_resources(resources)
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\manager.py", line 121, in filter_resources
resources = f.process(resources, event)
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\filters\core.py", line 330, in process
return self.process_set(resources, event)
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\filters\core.py", line 349, in process_set
resources = f.process(resources, event)
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\filters\vpc.py", line 176, in process
[related_sg[sid] for sid in self.sg.get_related_ids([r])])
"c:\users\waldo\.local\pipx\venvs\c7n\lib\site-packages\c7n\filters\vpc.py", line 176, in <listcomp>
[related_sg[sid] for sid in self.sg.get_related_ids([r])])
KeyError: 'sg-aaaaaaa'
| 0.483657 |
Traceback (most recent call last):
"/home/pi/home-assistant/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
yield from self.async_device_update()
"/home/pi/home-assistant/homeassistant/helpers/entity.py", line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
"/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
yield self
# This tells Task to wait for completion.
"/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
"/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
"/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
"/home/pi/home-assistant/homeassistant/components/climate/eq3btsmart.py", line 181, in update
self._thermostat.update()
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/eq3bt/eq3btsmart.py", line 163, in update
self._conn.make_request(PROP_WRITE_HANDLE, value)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/eq3bt/connection.py", line 76, in make_request
self._conn.waitForNotifications(timeout)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/bluepy/btle.py", line 516, in waitForNotifications
resp = self._getResp(['ntfy','ind'], timeout)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/bluepy/btle.py", line 378, in _getResp
self.delegate.handleNotification(hnd, data)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/eq3bt/connection.py", line 57, in handleNotification
self._callbacks[handle](data)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/eq3bt/eq3btsmart.py", line 121, in handle_notification
status = Status.parse(data)
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 247, in parse
Whenever data cannot be read, ConstructError or its derivative is raised. This method is NOT ALLOWED to raise any other exceptions although (1) user-defined lambdas can raise arbitrary exceptions which are propagated (2) external libraries like numpy can raise arbitrary exceptions which are propagated (3) some list and dict lookups can raise IndexError and KeyError which are propagated.
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 264, in parse_stream
raise NotImplementedError
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 2354, in _parse
class Renamed(Subconstruct):
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 1881, in _parse
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 2354, in _parse
class Renamed(Subconstruct):
"/home/pi/home-assistant/venv/lib/python3.6/site-packages/construct/core.py", line 587, in _parse
raise NotImplementedError
TypeError: _decode() takes 3 positional arguments but 4 were given
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'spacy.tokens.span.Span' and 'spacy.tokens.span.Span'
| 0.54424 |
Traceback (most recent call last):
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
"E:\microblog\venv\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
"E:\microblog\venv\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
"E:\microblog\venv\lib\site-packages\flask\app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"E:\microblog\app\routes.py", line 26, in login
if form.validate_on_submit():
"E:\microblog\venv\lib\site-packages\flask_wtf\form.py", line 101, in validate_on_submit
return self.is_submitted() and self.validate()
"E:\microblog\venv\lib\site-packages\wtforms\form.py", line 310, in validate
return super(Form, self).validate(extra)
"E:\microblog\venv\lib\site-packages\wtforms\form.py", line 152, in validate
if not field.validate(self, extra):
"E:\microblog\venv\lib\site-packages\wtforms\fields\core.py", line 193, in validate
self.pre_validate(form)
"E:\microblog\venv\lib\site-packages\wtforms\csrf\core.py", line 39, in pre_validate
self.csrf_impl.validate_csrf_token(form, self)
"E:\microblog\venv\lib\site-packages\flask_wtf\csrf.py", line 147, in validate_csrf_token
self.meta.csrf_field_name
"E:\microblog\venv\lib\site-packages\flask_wtf\csrf.py", line 98, in validate_csrf
if not safe_str_cmp(session[field_name], token):
"E:\microblog\venv\lib\site-packages\werkzeug\security.py", line 138, in safe_str_cmp
return _builtin_safe_str_cmp(a, b)
TypeError: unsupported operand types(s) or combination of types: 'dict' and 'dict'
| Traceback (most recent call last):
"main.py", line 354, in <module>
fire.Fire()
"/home/lyz/anaconda3/lib/python3.7/site-packages/fire/core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name)
"/home/lyz/anaconda3/lib/python3.7/site-packages/fire/core.py", line 366, in _Fire
component, remaining_args)
"/home/lyz/anaconda3/lib/python3.7/site-packages/fire/core.py", line 542, in _CallCallable
result = fn(*varargs, **kwargs)
"main.py", line 198, in train
'val_acc':val_acc.value()[0]},win_name = 'Acc')
"/home/lyz/project/awesome_face_antispoofing/utils/Visualizer.py", line 67, in plot_many_stack
update=None if x == 0 else 'append'
"/home/lyz/anaconda3/lib/python3.7/site-packages/visdom/__init__.py", line 335, in wrapped_f
return f(*args, **kwargs)
"/home/lyz/anaconda3/lib/python3.7/site-packages/visdom/__init__.py", line 1367, in line
update=update, name=name)
"/home/lyz/anaconda3/lib/python3.7/site-packages/visdom/__init__.py", line 335, in wrapped_f
return f(*args, **kwargs)
"/home/lyz/anaconda3/lib/python3.7/site-packages/visdom/__init__.py", line 1292, in scatter
return self._send(data_to_send, endpoint=endpoint)
"/home/lyz/anaconda3/lib/python3.7/site-packages/visdom/__init__.py", line 548, in _send
data=json.dumps(msg),
"/home/lyz/anaconda3/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
"/home/lyz/anaconda3/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
"/home/lyz/anaconda3/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
"/home/lyz/anaconda3/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type Tensor is not JSON serializable
| 0.549734 |
Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
"/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/src/homeassistant/homeassistant/components/netatmo/camera.py", line 212, in update
self._data.update()
"/usr/src/homeassistant/homeassistant/util/__init__.py", line 240, in wrapper
result = method(*args, **kwargs)
"/usr/src/homeassistant/homeassistant/components/netatmo/camera.py", line 261, in update
self.camera_data = pyatmo.CameraData(self.auth, size=100)
"/usr/local/lib/python3.7/site-packages/pyatmo/camera.py", line 30, in __init__
resp = self.authData.post_request(url=_GETHOMEDATA_REQ, params=postParams)
"/usr/local/lib/python3.7/site-packages/pyatmo/auth.py", line 168, in post_request
if "application/json" in resp.headers.get("content-type")
AttributeError: 'NoneType' object has no attribute 'headers'
| Traceback (most recent call last):
"models/export.py", line 33, in <module>
model = attempt_load(opt.weights, map_location=torch.device('cpu'))
# load FP32 model
"./models/experimental.py", line 118, in attempt_load
model.append(torch.load(w, map_location=map_location)['model'].float().fuse().eval())
# load FP32 model
"/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 584, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
"/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 842, in _load
result = unpickler.load()
AttributeError: Can't get attribute 'SiLU' on <module 'torch.nn.modules.activation' from '/usr/local/lib/python3.6/dist-packages/torch/nn/modules/activation.py'>
| 0.591089 |
Traceback (most recent call last):
"/usr/local/bin/elastalert-test-rule", line 8, in <module>
sys.exit(main())
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 445, in main
test_instance.run_rule_test()
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 437, in run_rule_test
self.run_elastalert(rule_yaml, conf, args)
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/test_rule.py", line 318, in run_elastalert
client.run_rule(rule, endtime, starttime)
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 883, in run_rule
if not self.run_query(rule, rule['starttime'], tmp_endtime):
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 632, in run_query
data = self.get_hits(rule, start, end, index, scroll)
"/usr/local/python3.6/lib/python3.6/site-packages/elastalert/elastalert.py", line 383, in get_hits
**extra_args
"/usr/local/python3.6/lib/python3.6/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
return func(*args, params=params, **kwargs)
TypeError: search() got an unexpected keyword argument '_source_include'
| Traceback (most recent call last):
"/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
"/usr/local/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
"/opt/coco/coco/sshd.py", line 96, in handle_chan
self.dispatch(client)
"/opt/coco/coco/sshd.py", line 102, in dispatch
InteractiveServer(self.app, client).interact()
"/opt/coco/coco/interactive.py", line 296, in interact
rv = self.dispatch(opt)
"/opt/coco/coco/interactive.py", line 138, in dispatch
self.search_and_proxy(opt)
"/opt/coco/coco/interactive.py", line 275, in search_and_proxy
if len(self.search_result) == 1:
TypeError: object of type 'NoneType' has no len()
| 0.543516 |
Traceback (most recent call last):
"/usr/local/lib/python3.7/dist-packages/PyRIC-0.1.6.4-py3.7.egg/pyric/lib/libio.py", line 64, in io_transfer
return ioctl(iosock.fileno(),flag,ifreq)
NotFoundError: [Errno 2] No such file or directory
| Traceback (most recent call last):
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\site-packages\pre_commit\error_handler.py", line 46, in error_handler
yield
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\site-packages\pre_commit\main.py", line 265, in main
store = Store()
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\site-packages\pre_commit\store.py", line 53, in __init__
with self.exclusive_lock():
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\contextlib.py", line 81, in __enter__
return next(self.gen)
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\site-packages\pre_commit\store.py", line 81, in exclusive_lock
with file_lock.lock(os.path.join(self.directory, '.lock'), blocked_cb):
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\contextlib.py", line 81, in __enter__
return next(self.gen)
"c:\users\danigarc\appdata\local\continuum\anaconda3\envs\tertiary\lib\site-packages\pre_commit\file_lock.py", line 62, in lock
with open(path, 'a+') as f:
NotFoundError: [Errno 2] No such file or directory: 'H:\\My Documents/.cache\\pre-commit\\.lock'
| 0.628031 |
Traceback (most recent call last):
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
worker.init_process()
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 119, in init_process
self.load_wsgi()
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
self.wsgi = self.app.wsgi()
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
return self.load_wsgiapp()
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
return util.import_app(self.app_uri)
"/home/akash/.local/lib/python3.7/site-packages/gunicorn/util.py", line 358, in import_app
mod = importlib.import_module(module)
"/usr/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
"/home/akash/.local/lib/python3.7/site-packages/mlflow/pyfunc/scoring_server/wsgi.py", line 6, in <module>
app = scoring_server.init(load_model(os.environ[scoring_server._SERVER_MODEL_PATH]))
"/home/akash/.local/lib/python3.7/site-packages/mlflow/pyfunc/__init__.py", line 292, in load_model
return importlib.import_module(conf[MAIN])._load_pyfunc(data_path)
"/home/akash/.local/lib/python3.7/site-packages/mlflow/sklearn.py", line 219, in _load_pyfunc
return _load_model_from_local_file(path)
"/home/akash/.local/lib/python3.7/site-packages/mlflow/sklearn.py", line 210, in _load_model_from_local_file
return pickle.load(f)
ModuleNotFoundError: No module named 'onnx'
| Traceback (most recent call last):
"/usr/local/bin/ansible", line 43, in <module>
import ansible.constants as C
ModuleNotFoundError: No module named 'ansible'
| 0.606112 |
Traceback (most recent call last):
"/home/vshebuniayeu/anaconda3/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
"/home/vshebuniayeu/anaconda3/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
"/home/vshebuniayeu/anaconda3/lib/python3.5/site-packages/keras/engine/training.py", line 606, in data_generator_task
generator_output = next(self._generator)
"<ipython-input-8-4df11d60d660>", line 196, in next_train
[self.X_text, self.Y_data, self.Y_len], self.val_split)
"<ipython-input-8-4df11d60d660>", line 43, in shuffle_mats_or_lists
np.random.shuffle(a)
"mtrand.pyx", line 5027, in mtrand.RandomState.shuffle (numpy/random/mtrand/mtrand.c:37943)
"mtrand.pyx", line 5030, in mtrand.RandomState.shuffle (numpy/random/mtrand/mtrand.c:37895)
TypeError: 'range' object does not support item assignment
| Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/ray-0.2.2-py3.6-linux-x86_64.egg/ray/worker.py", line 1553, in fetch_and_execute_function_to_run
function = pickle.loads(serialized_function)
TypeError: _fill_function() missing 1 required positional argument: 'closure_values'
| 0.474187 |
Traceback (most recent call last):
"/home/nschloe/.local/bin/ipython", line 8, in <module>
sys.exit(start_ipython())
"/home/nschloe/.local/lib/python3.7/site-packages/IPython/__init__.py", line 125, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
"/usr/lib/python3/dist-packages/traitlets/config/application.py", line 663, in launch_instance
app.initialize(argv)
"</home/nschloe/.local/lib/python3.7/site-packages/decorator.py:decorator-gen-113>", line 2, in initialize
"/usr/lib/python3/dist-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
"/home/nschloe/.local/lib/python3.7/site-packages/IPython/terminal/ipapp.py", line 317, in initialize
self.init_shell()
"/home/nschloe/.local/lib/python3.7/site-packages/IPython/terminal/ipapp.py", line 333, in init_shell
ipython_dir=self.ipython_dir, user_ns=self.user_ns)
"/usr/lib/python3/dist-packages/traitlets/config/configurable.py", line 412, in instance
inst = cls(*args, **kwargs)
"/home/nschloe/.local/lib/python3.7/site-packages/IPython/terminal/interactiveshell.py", line 464, in __init__
self.init_prompt_toolkit_cli()
"/home/nschloe/.local/lib/python3.7/site-packages/IPython/terminal/interactiveshell.py", line 296, in init_prompt_toolkit_cli
**self._extra_prompt_options())
TypeError: __init__() got an unexpected keyword argument 'inputhook'
| Traceback (most recent call last):
"c:\octoprint\venv\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"c:\octoprint\venv\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"c:\octoprint\venv\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"c:\octoprint\venv\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
"c:\octoprint\venv\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"c:\octoprint\venv\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"c:\octoprint\venv\lib\site-packages\octoprint\server\views.py", line 181, in index
fetch_template_data(refresh=force_refresh)
"c:\octoprint\venv\lib\site-packages\octoprint\server\views.py", line 755, in fetch_template_data
sorted_missing = sorted(missing_in_order, key=key_func)
TypeError: '<' not supported between instances of 'str' and 'NoneType'
| 0.554521 |
Traceback (most recent call last):
"/Users/pilo/development/itba/pf/test/sma.py", line 94, in <module>
bt.plot(plot_equity=True, superimpose=False, resample="5T",
"/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/backtesting.py", line 1704, in plot
plot(
"/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 185, in plot
df, indicators, equity_data, trades = _maybe_resample_data(
"/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 110, in _maybe_resample_data
indicators = [_Indicator(i.df.resample(freq, label='right').mean()
"/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_plotting.py", line 110, in <listcomp>
indicators = [_Indicator(i.df.resample(freq, label='right').mean()
"/Users/pilo/development/itba/pf/test/venv/lib/python3.8/site-packages/backtesting/_util.py", line 83, in df
df = pd.DataFrame(values.T, index=self._opts['data'].index,
AttributeError: '_Indicator' object has no attribute '_opts'
| Traceback (most recent call last):
"/usr/lib/python3.4/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"/usr/lib/python3.4/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"/usr/lib/python3.4/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/usr/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
raise value
"/usr/lib/python3.4/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/usr/lib/python3.4/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/usr/lib/python3.4/site-packages/flask_appbuilder/security/views.py", line 398, in login
user = self.appbuilder.sm.auth_user_ldap(form.username.data, form.password.data)
"/usr/lib/python3.4/site-packages/flask_appbuilder/security/manager.py", line 634, in auth_user_ldap
except ldap.LDAPError as e:
AttributeError: 'module' object has no attribute 'LDAPError'
| 0.619611 |
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_splitmerge.py", line 30, in test_split_and_merge
resdw, resmsk, resid = split_rois(dwfile, in_mask, roishape=(20, 20, 2))
"/home/kevin/anaconda2/lib/python2.7/site-packages/nipype/algorithms/misc.py", line 1356, in split_rois
droi = np.vstack((droi, np.zeros((fill, nvols), dtype=np.float32)))
TypeError: 'numpy.float64' object cannot be interpreted as an index
| Traceback (most recent call last):
"c:\salt\bin\lib\site-packages\salt\fileclient.py", line 532, in get_url
https_enable=s3_opt('https_enable', True))
"c:\salt\bin\lib\site-packages\salt\utils\s3.py", line 174, in query
timeout=300)
"c:\salt\bin\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
"c:\salt\bin\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
"c:\salt\bin\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
"c:\salt\bin\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
"c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
"c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
"c:\salt\bin\lib\site-packages\urllib3\connectionpool.py", line 839, in _validate_conn
conn.connect()
"c:\salt\bin\lib\site-packages\urllib3\connection.py", line 344, in connect
ssl_context=context)
"c:\salt\bin\lib\site-packages\urllib3\util\ssl_.py", line 341, in ssl_wrap_socket
if ((server_hostname is not None and not is_ipaddress(server_hostname))
"c:\salt\bin\lib\site-packages\urllib3\util\ssl_.py", line 376, in is_ipaddress
inet_pton(af, hostname)
"c:\salt\bin\lib\site-packages\salt\ext\win_inet_pton.py", line 40, in inet_pton
ipaddress.ip_address(six.text_type(ip_string))
"c:\salt\bin\lib\ipaddress.py", line 49, in ip_address
return IPv6Address(address)
"c:\salt\bin\lib\site-packages\salt\_compat.py", line 175, in __init__
elif self._is_packed_binary(address):
"c:\salt\bin\lib\site-packages\salt\_compat.py", line 194, in _is_packed_binary
packed = bool(int(str(bytearray(data)).encode('hex'), 16))
TypeError: string argument without an encoding
| 0.556632 |
Traceback (most recent call last):
"/root/Factions-Discord-Bot/Factions-Discord-Bot/mcstatus/protocol/connection.py", line 153, in __del__
self.socket.close()
AttributeError: 'TCPSocketConnection' object has no attribute 'socket' | Traceback (most recent call last):
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/dvc/tree/pool.py", line 42, in __del__
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/dvc/tree/pool.py", line 46, in close
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/dvc/tree/ssh/connection.py", line 68, in close
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/paramiko/sftp_client.py", line 195, in close
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/paramiko/channel.py", line 671, in close
"/home/suor/.virtualenvs/viewer/lib/python3.8/site-packages/paramiko/transport.py", line 1846, in _send_user_message
AttributeError: 'NoneType' object has no attribute 'time'
| 0.556903 |
Predicting test122.jpg...Traceback (most recent call last):
"/usr/local/bin/lumi", line 11, in <module>
sys.exit(cli())
"/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
"/usr/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/luminoth/predict.py", line 279, in predict
save_path=save_path,
"/usr/local/lib/python2.7/site-packages/luminoth/predict.py", line 94, in predict_image
vis_objects(np.array(image), objects).save(save_path)
"/usr/local/lib/python2.7/site-packages/luminoth/vis.py", line 170, in vis_objects
draw, obj['bbox'], color, width=round(3 * scale), fill=fill
"/usr/local/lib/python2.7/site-packages/luminoth/vis.py", line 75, in draw_rectangle
for i in range(width):
TypeError: range() integer end argument expected, got float.` | Traceback (most recent call last):
"app.py", line 121, in <module>
nlp.to_disk(output_dir)
"/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/language.py", line 621, in to_disk
util.to_disk(path, serializers, {p: False for p in disable})
"/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/util.py", line 503, in to_disk
writer(path / key)
"/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/language.py", line 609, in <lambda>
('tokenizer', lambda p: self.tokenizer.to_disk(p, vocab=False)),
"tokenizer.pyx", line 354, in spacy.tokenizer.Tokenizer.to_disk
"tokenizer.pyx", line 355, in spacy.tokenizer.Tokenizer.to_disk
"tokenizer.pyx", line 384, in spacy.tokenizer.Tokenizer.to_bytes
"/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/spacy/util.py", line 486, in to_bytes
return msgpack.dumps(serialized, use_bin_type=True, encoding='utf8')
"/home/ec2-user/ner_model/venv/lib64/python3.6/site-packages/msgpack_numpy.py", line 196, in packb
return Packer(**kwargs).pack(o)
TypeError: __init__() got an unexpected keyword argument 'encoding'
| 0.551693 |
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):
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/superset/utils.py", line 709, in wraps
return f(self, *args, **kwargs)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/superset/models/core.py", line 883, in wrapper
value = f(*args, **kwargs)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/superset/views/core.py", line 2437, in csv
df = query.database.get_df(sql, query.schema)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/superset/models/core.py", line 684, in get_df
df = pd.read_sql(sql, eng)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/pandas/io/sql.py", line 416, in read_sql
chunksize=chunksize)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/pandas/io/sql.py", line 1092, in read_query
result = self.execute(*args)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/pandas/io/sql.py", line 983, in execute
return self.connectable.execute(*args, **kwargs)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 2075, in execute
return connection.execute(statement, *multiparams, **params)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 942, in execute
return self._execute_text(object, multiparams, params)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1104, in _execute_text
statement, parameters
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1200, in _execute_context
context)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1416, in _handle_dbapi_exception
util.reraise(*exc_info)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/util/compat.py", line 187, in reraise
raise value
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
context)
"/home/superset/allvenvs/superset/lib/python3.5/site-packages/sqlalchemy/engine/default.py", line 507, in do_execute
cursor.execute(statement, parameters)
TypeError: 'dict' object does not support indexing
| 0.571403 |
Traceback (most recent call last):
"/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 31, in <module>
from tf.transformations import quaternion_from_euler
"/opt/ros/melodic/lib/python2.7/dist-packages/tf/__init__.py", line 31, in <module>
from .listener import Transformer, TransformListener, TransformerROS
"/opt/ros/melodic/lib/python2.7/dist-packages/tf/listener.py", line 29, in <module>
import numpy
"/home/virgile/.local/lib/python2.7/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
"/home/virgile/.local/lib/python2.7/site-packages/numpy/core/__init__.py", line 59, in <module>
from . import numeric
"/home/virgile/.local/lib/python2.7/site-packages/numpy/core/numeric.py", line 3093, in <module>
from . import fromnumeric
"/home/virgile/.local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 17, in <module>
from . import _methods
"/home/virgile/.local/lib/python2.7/site-packages/numpy/core/_methods.py", line 158, in <module>
_NDARRAY_ARRAY_FUNCTION = mu.ndarray.__array_function__
AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'
|
Traceback (most recent call last):
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 1184, in main_run_server
main_run(run_args)
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 1058, in main_run
result = benchmark.do_run()
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 537, in do_run
return self.run(*self._current_params)
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 631, in run
min_run_count=self.min_run_count)
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 663, in benchmark_timing
timing = timer.timeit(number)
"~/mdanalysis/benchmarks/env/80c5ba7efaa89366b97da3ced85c0c44/lib/python3.6/timeit.py", line 178, in timeit
timing = self.inner(it, self.timer)
"<timeit-src>", line 6, in inner
"~/miniconda3/envs/benchmark/lib/python3.6/site-packages/asv/benchmark.py", line 599, in <lambda>
func = lambda: self.func(*param)
"~/mdanalysis/benchmarks/benchmarks/selections.py", line 76, in time_geometric_selections
MDAnalysis.core.flags['use_periodic_selections'] = periodic_selection[0]
AttributeError: module 'MDAnalysis.core' has no attribute 'flags'
| 0.612702 |
Traceback (most recent call last):
"dejavu/__init__.py", line 77, in fingerprint_directory
song_name, hashes, file_hash = iterator.next()
"/anaconda3/envs/python27env/lib/python2.7/multiprocessing/pool.py", line 673, in next
raise value
TypeError: numpy boolean subtract, the `-` operator, is deprecated, use the bitwise_xor, the `^` operator, or the logical_xor function instead.
| Traceback (most recent call last):
"C:\Users\jhelmus\mc\envs\test_numba\lib\site-packages\numba\tests\test_hashing.py", line 258, in test_heterogeneous_tuples
self.check_tuples(self.int_samples(), split)
"C:\Users\jhelmus\mc\envs\test_numba\lib\site-packages\numba\tests\test_hashing.py", line 216, in check_tuples
self.check_hash_values(tuples)
"C:\Users\jhelmus\mc\envs\test_numba\lib\site-packages\numba\tests\test_hashing.py", line 57, in check_hash_values
print(abs(val), hashing._PyHASH_MODULUS - 1)
TypeError: bad operand type for abs(): 'tuple'
| 0.507335 |
[gw497] node down: Traceback (most recent call last):
"/home/rpfannsc/Projects/pytest-dev/pytest-xdist/.tox/py27/lib/python2.7/site-packages/execnet/gateway_base.py", line 1072, in executetask
do_exec(co, loc)
# noqa
"<string>", line 1, in do_exec
"<remote exec>", line 174, in <module>
OSError: [Errno 2] No such file or directory
| Traceback (most recent call last):
"./test.py", line 12, in <module>
sio.connect('https://<snip>', namespaces=['/signal'])
"/tmp/myenv/lib/python3.5/site-packages/socketio/client.py", line 268, in connect
engineio_path=socketio_path)
"/tmp/myenv/lib/python3.5/site-packages/engineio/client.py", line 184, in connect
url, headers, engineio_path)
"/tmp/myenv/lib/python3.5/site-packages/engineio/client.py", line 322, in _connect_polling
if self._connect_websocket(url, headers, engineio_path):
"/tmp/myenv/lib/python3.5/site-packages/engineio/client.py", line 366, in _connect_websocket
cookie=cookies)
"/tmp/myenv/lib/python3.5/site-packages/websocket/_core.py", line 514, in create_connection
websock.connect(url, **options)
"/tmp/myenv/lib/python3.5/site-packages/websocket/_core.py", line 223, in connect
options.pop('socket', None))
"/tmp/myenv/lib/python3.5/site-packages/websocket/_http.py", line 120, in connect
sock = _open_socket(addrinfo_list, options.sockopt, options.timeout)
"/tmp/myenv/lib/python3.5/site-packages/websocket/_http.py", line 189, in _open_socket
raise error
"/tmp/myenv/lib/python3.5/site-packages/websocket/_http.py", line 172, in _open_socket
sock.connect(address)
"/tmp/myenv/lib/python3.5/site-packages/eventlet/greenio/base.py", line 248, in connect
while not socket_connect(fd, address):
"/tmp/myenv/lib/python3.5/site-packages/eventlet/greenio/base.py", line 44, in socket_connect
raise socket.error(err, errno.errorcode[err])
OSError: [Errno 101] ENETUNREACH
| 0.59997 |
Traceback (most recent call last):
"model_main_tf2.py", line 106, in <module>
tf.compat.v1.app.run()
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
"model_main_tf2.py", line 83, in main
wait_interval=300, timeout=FLAGS.eval_timeout)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/object_detection/model_lib_v2.py", line 959, in eval_continuously
global_step=global_step)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/object_detection/model_lib_v2.py", line 774, in eager_eval_loop
eval_dict, losses_dict, class_agnostic = compute_eval_dict(features, labels)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 580, in __call__
result = self._call(*args, **kwds)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 627, in _call
self._initialize(args, kwds, add_initializers_to=initializers)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 506, in _initialize
*args, **kwds))
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2446, in _get_concrete_function_internal_garbage_collected
graph_function, _, _ = self._maybe_define_function(args, kwargs)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2777, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2667, in _create_graph_function
capture_by_value=self._capture_by_value),
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/framework/func_graph.py", line 981, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 441, in wrapped_fn
return weak_wrapped_fn().__wrapped__(*args, **kwds)
"/Users/meg/opt/anaconda3/envs/SSD/lib/python3.6/site-packages/tensorflow/python/framework/func_graph.py", line 968, in wrapper
raise e.ag_error_metadata.to_exception(e)
ValueError: in user code:
| Traceback (most recent call last):
"crossEncoder.py", line 77, in <module>
output_path=model_save_path2)
"/usr/local/lib/python3.6/dist-packages/sentence_transformers/cross_encoder/CrossEncoder.py", line 202, in fit
self._eval_during_training(evaluator, output_path, save_best_model, epoch, training_steps, callback)
"/usr/local/lib/python3.6/dist-packages/sentence_transformers/cross_encoder/CrossEncoder.py", line 280, in _eval_during_training
score = evaluator(self, output_path=output_path, epoch=epoch, steps=steps)
"/usr/local/lib/python3.6/dist-packages/sentence_transformers/cross_encoder/evaluation/CEBinaryClassificationEvaluator.py", line 50, in __call__
acc, acc_threshold = BinaryClassificationEvaluator.find_best_acc_and_threshold(pred_scores, self.labels, True)
"/usr/local/lib/python3.6/dist-packages/sentence_transformers/evaluation/BinaryClassificationEvaluator.py", line 127, in find_best_acc_and_threshold
rows = sorted(rows, key=lambda x: x[0], reverse=high_score_more_similar)
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
| 0.549082 |
Traceback (most recent call last):
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/bin/airflow", line 8, in <module>
sys.exit(main())
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/__main__.py", line 40, in main
args.func(args)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/cli/cli_parser.py", line 48, in command
return func(*args, **kwargs)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/utils/cli.py", line 89, in wrapper
return f(*args, **kwargs)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/cli/commands/webserver_command.py", line 360, in webserver
app = cached_app(None)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/www/app.py", line 135, in cached_app
app = create_app(config=config, testing=testing)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/www/app.py", line 120, in create_app
init_api_connexion(flask_app)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/www/extensions/init_views.py", line 171, in init_api_connexion
api_bp = connexion_app.add_api(
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/apps/flask_app.py", line 57, in add_api
api = super(FlaskApp, self).add_api(specification, **kwargs)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/apps/abstract.py", line 144, in add_api
api = self.api_cls(specification,
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/apis/abstract.py", line 111, in __init__
self.add_paths()
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/apis/abstract.py", line 216, in add_paths
self._handle_add_operation_error(path, method, err.exc_info)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/apis/abstract.py", line 231, in _handle_add_operation_error
raise value.with_traceback(traceback)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/resolver.py", line 61, in resolve_function_from_operation_id
return self.function_resolver(operation_id)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/connexion/utils.py", line 111, in get_function_from_name
module = importlib.import_module(module_name)
"/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 1014, in _gcd_import
"<frozen importlib._bootstrap>", line 991, in _find_and_load
"<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 671, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 783, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/api_connexion/endpoints/connection_endpoint.py", line 26, in <module>
from airflow.api_connexion.schemas.connection_schema import (
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/airflow/api_connexion/schemas/connection_schema.py", line 42, in <module>
class ConnectionSchema(ConnectionCollectionItemSchema):
# pylint: disable=too-many-ancestors
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow/schema.py", line 121, in __new__
klass._declared_fields = mcs.get_declared_fields(
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/schema/sqlalchemy_schema.py", line 94, in get_declared_fields
fields.update(mcs.get_auto_fields(fields, converter, opts, dict_cls))
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/schema/sqlalchemy_schema.py", line 104, in get_auto_fields
{
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/schema/sqlalchemy_schema.py", line 105, in <dictcomp>
field_name: field.create_field(
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/schema/sqlalchemy_schema.py", line 28, in create_field
return converter.field_for(model, column_name, **self.field_kwargs)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/convert.py", line 171, in field_for
return self.property2field(prop, **kwargs)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/convert.py", line 146, in property2field
field_class = field_class or self._get_field_class_for_property(prop)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/marshmallow_sqlalchemy/convert.py", line 210, in _get_field_class_for_property
column = prop.columns[0]
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 1220, in __getattr__
return self._fallback_getattr(key)
"/home/indrajeet/courses/mastering-apache-airflow/airflow-demand-planning/venv1/lib/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 1194, in _fallback_getattr
raise AttributeError(key)
AttributeError: columns
| Traceback (most recent call last):
"C:\Users\robbn\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\godot_game_tools\operators\character_controller.py", line 66, in execute
characterArmature.animation_data.action.name = "T-Pose"
AttributeError: 'NoneType' object has no attribute 'action'
| 0.433652 |
Traceback (most recent call last):
"/usr/local/bin/flexget", line 11, in <module>
sys.exit(main())
"/home/harm/.local/lib/python3.5/site-packages/flexget/__init__.py", line 42, in main
manager.start()
"/home/harm/.local/lib/python3.5/site-packages/flexget/manager.py", line 327, in start
self.handle_cli()
"/home/harm/.local/lib/python3.5/site-packages/flexget/manager.py", line 354, in handle_cli
options.cli_command_callback(self, command_options)
"/home/harm/.local/lib/python3.5/site-packages/flexget/plugins/cli/plugins.py", line 20, in plugins_summary
for plugin in sorted(get_plugins(phase=options.phase, interface=options.interface)):
"/home/harm/.local/lib/python3.5/site-packages/flexget/options.py", line 157, in __getattr__
return getattr(self.__parent__, key)
"/home/harm/.local/lib/python3.5/site-packages/flexget/options.py", line 158, in __getattr__
raise AttributeError("'%s' object has no attribute '%s'" % (type(self).__name__, key))
AttributeError: 'ScopedNamespace' object has no attribute 'interface'
| Traceback (most recent call last):
"<string>", line 1, in <module>
"/home/dawn/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 58, in deco
func(self, *args, **kwargs)
"/home/dawn/.vim/bundles/LeaderF/autoload/leaderf/python/leaderf/manager.py", line 1054, in input
callback = self._callback_backup
AttributeError: 'FunctionExplManager' object has no attribute '_callback_backup'
| 0.604272 |
Traceback (most recent call last):
"/home/david/research/keras_bug/save_resave.py", line 45, in <module>
model = load_model('a{}.h5'.format(i))
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 263, in load_model
load_weights_from_hdf5_group(f['model_weights'], model.layers)
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 915, in load_weights_from_hdf5_group
reshape=reshape)
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 556, in preprocess_weights_for_loading
weights = convert_nested_model(weights)
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 544, in convert_nested_model
original_backend=original_backend))
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 556, in preprocess_weights_for_loading
weights = convert_nested_model(weights)
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 532, in convert_nested_model
original_backend=original_backend))
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/keras/engine/saving.py", line 674, in preprocess_weights_for_loading
weights[0] = np.transpose(weights[0], (3, 2, 0, 1))
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 575, in transpose
return _wrapfunc(a, 'transpose', axes)
"/home/david/.virtualenvs/py36/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 52, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
ValueError: axes don't match array
| Traceback (most recent call last):
"legacy/train.py", line 184, in <module>
tf.app.run()
"F:\my_install\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
"F:\my_install\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 250, in new_func
return func(*args, **kwargs)
"legacy/train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
"D:\tensorflow3\models\research\object_detection\legacy\trainer.py", line 290, in train
clones = model_deploy.create_clones(deploy_config, model_fn, [input_queue])
"D:\tensorflow3\models\research\slim\deployment\model_deploy.py", line 193, in create_clones
outputs = model_fn(*args, **kwargs)
"D:\tensorflow3\models\research\object_detection\legacy\trainer.py", line 180, in _create_losses
train_config.use_multiclass_scores)
ValueError: not enough values to unpack (expected 7, got 0)`
| 0.572981 |
Traceback (most recent call last):
"/usr/local/bin/sslyze", line 9, in <module>
load_entry_point('SSLyze==1.1.4', 'console_scripts', 'sslyze')()
"/usr/local/lib/python3.5/dist-packages/sslyze/__main__.py", line 93, in main
global_scanner.queue_scan_command(server_connectivity_info, scan_command)
"/usr/local/lib/python3.5/dist-packages/sslyze/concurrent_scanner.py", line 94, in queue_scan_command
self._check_and_create_process(server_info.hostname)
"/usr/local/lib/python3.5/dist-packages/sslyze/concurrent_scanner.py", line 123, in _check_and_create_process
self._hostname_queues_dict[hostname] = random.choice(self._hostname_queues_dict.values())
"/usr/lib/python3.5/random.py", line 256, in choice
return seq[i]
TypeError: 'dict_values' object does not support indexing
| Traceback (most recent call last):
"/usr/local/bin/owtf", line 11, in <module>
load_entry_point('owtf==2.3.2', 'console_scripts', 'owtf')()
TypeError: main() takes exactly 1 argument (0 given)
| 0.449891 |
Traceback (most recent call last):
"scenedetect_example.py", line 58, in <module>
main()
"scenedetect_example.py", line 37, in main
path, scene_list)
"build/bdist.linux-x86_64/egg/scenedetect/__init__.py", line 96, in detect_scenes_file
AttributeError: 'list' object has no attribute 'timecode_list'
| Traceback (most recent call last):
"/Users/sam/.pyenv/versions/d4r/bin/hyperopt-mongo-worker", line 8, in <module>
sys.exit(main())
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/mongoexp.py", line 1331, in main
sys.exit(main_worker())
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/mongoexp.py", line 1413, in main_worker
return main_worker_helper(options, args)
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/mongoexp.py", line 1324, in main_worker_helper
mworker.run_one(reserve_timeout=float(options.reserve_timeout))
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/mongoexp.py", line 1112, in run_one
result = worker_fn(spec, ctrl)
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/base.py", line 914, in evaluate
ctrl.attachments[key] = val
"/Users/sam/.pyenv/versions/3.6.5/envs/d4r/lib/python3.6/site-packages/hyperopt/mongoexp.py", line 943, in __setitem__
self.handle.set_attachment(
AttributeError: 'Attachments' object has no attribute 'handle'
| 0.641161 |
Traceback (most recent call last):
"/usr/lib/python3/dist-packages/salt/engines/__init__.py", line 135, in run
self.engine[self.fun](**kwargs)
"/root/salt-distributed-modules/_engines/engine_repro.py", line 3, in start
pillar = __salt__['pillar.data']()
"/usr/lib/python3/dist-packages/salt/modules/pillar.py", line 276, in items
pillarenv=pillarenv,
"/usr/lib/python3/dist-packages/salt/pillar/__init__.py", line 101, in get_pillar
extra_minion_data=extra_minion_data,
"/usr/lib/python3/dist-packages/salt/pillar/__init__.py", line 301, in __init__
self.channel = salt.transport.client.ReqChannel.factory(opts)
"/usr/lib/python3/dist-packages/salt/transport/client.py", line 28, in factory
AsyncReqChannel.factory, (opts,), kwargs, loop_kwarg="io_loop",
"/usr/lib/python3/dist-packages/salt/utils/asynchronous.py", line 70, in __init__
self.obj = cls(*args, **kwargs)
"/usr/lib/python3/dist-packages/salt/transport/client.py", line 133, in factory
return salt.transport.zeromq.AsyncZeroMQReqChannel(opts, **kwargs)
"/usr/lib/python3/dist-packages/salt/transport/zeromq.py", line 178, in __new__
obj.__singleton_init__(opts, **kwargs)
"/usr/lib/python3/dist-packages/salt/transport/zeromq.py", line 255, in __singleton_init__
self.auth = salt.crypt.AsyncAuth(self.opts, io_loop=self._io_loop)
"/usr/lib/python3/dist-packages/salt/crypt.py", line 491, in __new__
key = cls.__key(opts)
"/usr/lib/python3/dist-packages/salt/crypt.py", line 510, in __key
opts["master_uri"],
# master ID
KeyError: 'master_uri'
| Traceback (most recent call last):
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\job.py", line 54, in run
for msg in self.extractor:
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\extractor\booru.py", line 52, in items
self.request(self.api_url, params=self.params))
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\extractor\common.py", line 94, in request
session, response, kwargs)
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\cloudflare.py", line 40, in solve_challenge
params["jschl_answer"] = solve_js_challenge(page, parsed.netloc)
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\cloudflare.py", line 88, in solve_js_challenge
value = evaluate_expression(expr[vlength+2:])
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\cloudflare.py", line 121, in evaluate_expression
for part in subexpr.split("[]")
"c:\users\mattl\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\cloudflare.py", line 121, in <genexpr>
for part in subexpr.split("[]")
KeyError: 'p' | 0.597397 |
[!] 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):
"/home/khaldon/anaconda3/envs/dj/lib/python3.7/site-packages/django_elasticsearch_dsl/fields.py", line 59, in get_value_from_instance
instance = getattr(instance, attr)
AttributeError: 'CustomUser' object has no attribute 'description'
| 0.57086 |
Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_memstr_to_bytes() takes exactly 2 arguments (0 given)
| Traceback (most recent call last):
"c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
"c:\python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
"C:\Python39\Scripts\streamlink.exe\__main__.py", line 7, in <module>
"c:\python39\lib\site-packages\streamlink_cli\main.py", line 1041, in main
setup_config_args(parser)
"c:\python39\lib\site-packages\streamlink_cli\main.py", line 659, in setup_config_args
plugin = streamlink.resolve_url(args.url)
"c:\python39\lib\site-packages\streamlink\session.py", line 397, in resolve_url
return available_plugins[0](url)
"c:\python39\lib\site-packages\streamlink\plugins\pixiv.py", line 90, in __init__
super().__init__(url)
"c:\python39\lib\site-packages\streamlink\plugin\plugin.py", line 217, in __init__
self.load_cookies()
"c:\python39\lib\site-packages\streamlink\plugin\plugin.py", line 476, in load_cookies
cookie = requests.cookies.create_cookie(**value)
TypeError: create_cookie() missing 1 required positional argument: 'name'
| 0.466823 |
Traceback (most recent call last):
"/home/bm-admin/bin/reparierenscript.sh", line 118, in <module>
default_handler)(target, action, service)
"/home/bm-admin/bin/reparierenscript.sh", line 94, in netmodo
run_salt(target, "netmodo." + action, outputter=None, timeout=120)
"/home/bm-admin/bin/reparierenscript.sh", line 42, in run_salt
timeout=timeout):
"/usr/lib/python3/dist-packages/salt/client/__init__.py", line 1018, in get_cli_returns
self._clean_up_subscriptions(jid)
"/usr/lib/python3/dist-packages/salt/client/__init__.py", line 1896, in _clean_up_subscriptions
self.event.unsubscribe('salt/job/{0}'.format(job_id))
"/usr/lib/python3/dist-packages/salt/utils/event.py", line 349, in unsubscribe
self.pending_tags.remove([tag, match_func])
ValueError: list.remove(x): x not in list
| Traceback (most recent call last):
"/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
"/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
"/usr/share/w3af/w3af/core/ui/gui/scanrun.py", line 419, in _draw_real
raise ValueError(msg % args)
ValueError: A ValueError exception with message "invalid literal for int() with base 10: '224.88'" was found while trying to render a new dotcode. Please create a new bug report at https://github.com/andresriancho/w3af/issues/new including the following info:
| 0.518652 |
Traceback (most recent call last):
"/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 383, in run_background_function
_function_handler.invoke_user_function(event_object)
"/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 217, in invoke_user_function
return call_user_function(request_or_event)
"/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 214, in call_user_function
event_context.Context(**request_or_event.context))
"/user_code/main.py", line 62, in user_delete_anonymous
if check_event(context.event_id):
"/user_code/main.py", line 27, in check_event
events_ref.update({'events': ArrayUnion([event_id])})
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/document.py", line 379, in update
batch.update(self, field_updates, option=option)
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/batch.py", line 112, in update
reference._document_path, field_updates, option
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 822, in pbs_for_update
update_pb = extractor.get_update_pb(document_path)
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 459, in get_update_pb
name=document_path, fields=encode_dict(self.set_fields)
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 215, in encode_dict
return {key: encode_value(value) for key, value in six.iteritems(values_dict)}
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 215, in <dictcomp>
return {key: encode_value(value) for key, value in six.iteritems(values_dict)}
"/env/local/lib/python3.7/site-packages/google/cloud/firestore_v1/_helpers.py", line 200, in encode_value
"Cannot convert to a Firestore Value", value, "Invalid type", type(value)
TypeError: ('Cannot convert to a Firestore Value', <google.cloud.firestore_v1beta1.transforms.ArrayUnion object at 0x2a79c19b2fd0>, 'Invalid type', <class 'google.cloud.firestore_v1beta1.transforms.ArrayUnion'>)
| Traceback (most recent call last):
"/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/garage/experiment/experiment_wrapper.py", line 251, in <module>
run_experiment(sys.argv)
"/home/ubuntu/.pyenv/versions/3.6.8/lib/python3.6/site-packages/garage/experiment/experiment_wrapper.py", line 166, in run_experiment
args.resume_from_epoch)
"examples/tf/dqn_pong.py", line 87, in run_task
buffer_batch_size=32)
TypeError: __init__() got an unexpected keyword argument 'steps_per_epoch'
| 0.530995 |
Traceback (most recent call last):
"/python/miniconda3/bin/conda-env", line 7, in <module>
from conda_env.cli.main import main
"/python/miniconda3/lib/python3.6/site-packages/conda_env/cli/main.py", line 38, in <module>
from . import main_create
"/python/miniconda3/lib/python3.6/site-packages/conda_env/cli/main_create.py", line 8, in <module>
from conda.cli import common, install as cli_install
"/python/miniconda3/lib/python3.6/site-packages/conda/cli/install.py", line 21, in <module>
from ..core.index import get_index, get_channel_priority_map
"/python/miniconda3/lib/python3.6/site-packages/conda/core/index.py", line 8, in <module>
from .package_cache import PackageCache
"/python/miniconda3/lib/python3.6/site-packages/conda/core/package_cache.py", line 9, in <module>
from .path_actions import CacheUrlAction, ExtractPackageAction
"/python/miniconda3/lib/python3.6/site-packages/conda/core/path_actions.py", line 33, in <module>
from ..gateways.download import download
"/python/miniconda3/lib/python3.6/site-packages/conda/gateways/download.py", line 10, in <module>
from requests.exceptions import ConnectionError, HTTPError, InvalidSchema, SSLError
"/python/miniconda3/lib/python3.6/site-packages/requests/__init__.py", line 84, in <module>
from urllib3.contrib import pyopenssl
"/python/miniconda3/lib/python3.6/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
"/python/miniconda3/lib/python3.6/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
"/python/miniconda3/lib/python3.6/site-packages/OpenSSL/rand.py", line 10, in <module>
from OpenSSL._util import (
"/python/miniconda3/lib/python3.6/site-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
"/python/miniconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 156, in <module>
Binding.init_static_locks()
"/python/miniconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 137, in init_static_locks
cls._ensure_ffi_initialized()
"/python/miniconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 124, in _ensure_ffi_initialized
cls.lib = build_conditional_library(lib, CONDITIONAL_NAMES)
"/python/miniconda3/lib/python3.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 89, in build_conditional_library
setattr(conditional_lib, attr, getattr(lib, attr))
AttributeError: cffi library '_openssl' has no function, constant or global variable named 'X509_STORE_load_locations'
| Traceback (most recent call last):
"/home/vagrant/tg2/tests/test_stack/test_authz.py", line 396, in test_smart_auth_json_allow_only
assert 'The current user must be "developer"' in resp.json['detail']
"/home/vagrant/env/lib/python2.7/site-packages/webtest/app.py", line 595, in json
% self.content_type)
AttributeError: Not a JSON response body (content-type: text/plain)
| 0.547965 |
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):
│·········································································································
"/usr/lib/python2.7/dist-packages/mopidy/__main__.py", line 134, in main
│·········································································································
return args.command.run(args, proxied_config)
│·········································································································
"/usr/lib/python2.7/dist-packages/mopidy/local/commands.py", line 142, in run
│·········································································································
result = scanner.scan(file_uri)
│·········································································································
"/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 67, in scan
│·········································································································
pipeline, signals = _setup_pipeline(uri, self._proxy_config)
│·········································································································
"/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 96, in _setup_pipeline
│·········································································································
_setup_decodebin(src, src.get_static_pad('src'), pipeline, signals)
│·········································································································
"/usr/lib/python2.7/dist-packages/mopidy/audio/scan.py", line 124, in _setup_decodebin
│·········································································································
pipeline.add(element)
│·········································································································
"/usr/lib/python2.7/dist-packages/gi/overrides/Gst.py", line 60, in add
│·········································································································
if not Gst.Bin.add(self, arg):
│·········································································································
TypeError: Argument 1 does not allow None as a value
│·········································································································
| 0.548548 |
Traceback (most recent call last):
"/home/popper/miniconda3/lib/python3.8/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3012, in _parsed_pkg_info
return self._pkg_info
"/home/popper/miniconda3/lib/python3.8/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
raise AttributeError(attr)
AttributeError: _pkg_info
| 2017-09-06 01:27:36,742 [salt.state
][ERROR
][2881] An exception occurred in this state: Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/salt/state.py", line 1750, in call
**cdata['kwargs'])
"/usr/lib/python2.7/site-packages/salt/loader.py", line 1705, in wrapper
return f(*args, **kwargs)
"/usr/lib/python2.7/site-packages/salt/thorium/reg.py", line 73, in list_
add = add.split(',')
AttributeError: 'int' object has no attribute 'split'
| 0.490768 |
`Traceback (most recent call last):
"protobuf2json.py", line 1, in <module>
import Document_pb2 as pb
"/home/xfbai/NRE/nyt/Document_pb2.py", line 16, in <module>
serialized_pb='\n\x0e\x44ocument.proto\x12\x14large_coref.protobuf\"\x97\x04\n\x08\x44ocument\x12\x10\n\x08\x66ilename\x18\x01 \x02(\t\x12:\n\tsentences\x18\x02 \x03(\x0b\x32\'.large_coref.protobuf.Document.Sentence\x1a\xb3\x01\n\x08Sentence\x12\x34\n\x06tokens\x18\x01 \x03(\x0b\x32$.large_coref.protobuf.Document.Token\x12\x38\n\x08mentions\x18\x02 \x03(\x0b\x32&.large_coref.protobuf.Document.Mention\x12\x37\n\x07\x64\x65pTree\x18\x03 \x01(\x0b\x32&.large_coref.protobuf.Document.DepTree\x1a/\n\x05Token\x12\x0c\n\x04word\x18\x01 \x02(\t\x12\x0b\n\x03tag\x18\x02 \x01(\t\x12\x0b\n\x03ner\x18\x03 \x01(\t\x1aR\n\x07Mention\x12\n\n\x02id\x18\x01 \x02(\x05\x12\x12\n\nentityGuid\x18\x02 \x01(\t\x12\x0c\n\x04\x66rom\x18\x03 \x02(\x05\x12\n\n\x02to\x18\x04 \x02(\x05\x12\r\n\x05label\x18\x05 \x02(\t\x1a\x36\n\x07\x44\x65pTree\x12\x0c\n\x04root\x18\x01 \x02(\x05\x12\x0c\n\x04head\x18\x02 \x03(\x05\x12\x0f\n\x07relType\x18\x03 \x03(\t\x1aJ\n\x0fRelationMention\x12\n\n\x02id\x18\x01 \x02(\x05\x12\x0e\n\x06source\x18\x02 \x02(\x05\x12\x0c\n\x04\x64\x65st\x18\x03 \x02(\x05\x12\r\n\x05label\x18\x04 \x02(\t\"\xf2\x01\n\x08Relation\x12\x12\n\nsourceGuid\x18\x01 \x02(\t\x12\x10\n\x08\x64\x65stGuid\x18\x02 \x02(\t\x12\x0f\n\x07relType\x18\x03 \x02(\t\x12\x42\n\x07mention\x18\x04 \x03(\x0b\x32\x31.large_coref.protobuf.Relation.RelationMentionRef\x1ak\n\x12RelationMentionRef\x12\x10\n\x08\x66ilename\x18\x01 \x02(\t\x12\x10\n\x08sourceId\x18\x02 \x02(\x05\x12\x0e\n\x06\x64\x65stId\x18\x03 \x02(\x05\x12\x0f\n\x07\x66\x65\x61ture\x18\x04 \x03(\t\x12\x10\n\x08sentence\x18\x05 \x01(\t\"\xc3\x01\n\x06\x45ntity\x12\x0c\n\x04guid\x18\x01 \x02(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0c\n\x04pred\x18\x04 \x01(\t\x12>\n\x07mention\x18\x05 \x03(\x0b\x32-.large_coref.protobuf.Entity.EntityMentionRef\x1a\x41\n\x10\x45ntityMentionRef\x12\x10\n\x08\x66ilename\x18\x01 \x02(\t\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x0f\n\x07\x66\x65\x61ture\x18\x03 \x03(\tB6\n$cc.refectorie.proj.relation.protobufB\x0e\x44ocumentProtos')
"/home/xfbai/anaconda3/lib/python3.6/site-packages/google/protobuf/descriptor.py", line 829, in __new__
return _message.default_pool.AddSerialized
(serialized_pb)
TypeError: expected bytes, str found
| `Traceback (most recent call last):
"eval.py", line 1107, in <module>
evaluate(net, dataset)
"eval.py", line 892, in evaluate
evalvideo(net, inp, out)
"eval.py", line 804, in evalvideo
active_frames = [{'value': extract_frame(first_batch, i), 'idx': 0} for i in range(len(first_batch[0]))]
"eval.py", line 804, in <listcomp>
active_frames = [{'value': extract_frame(first_batch, i), 'idx': 0} for i in range(len(first_batch[0]))]
"eval.py", line 793, in <lambda>
extract_frame = lambda x, i: (x[0][i] if x[1][i] is None else x[0][i].to(x[1][i]['detection']['box'].device), [x[1][i]])
# ['detection']
TypeError: 'NoneType' object is not subscriptable
| 0.575919 |
Exception while process data [/content/workspace/data_dst/00097.jpg]: Traceback (most recent call last):
"/content/DeepFaceLab/mainscripts/Merger.py", line 151, in process_data
final_img = MergeMasked (self.predictor_func, self.predictor_input_shape, cfg, frame_info)
"/content/DeepFaceLab/merger/MergeMasked.py", line 327, in MergeMasked
out_img, out_img_merging_mask = MergeMaskedFace (predictor_func, predictor_input_shape, cfg, frame_info, img_bgr_uint8, img_bgr, img_landmarks)
"/content/DeepFaceLab/merger/MergeMasked.py", line 13, in MergeMaskedFace
img_face_mask_a = LandmarksProcessor.get_image_hull_mask (img_bgr.shape, img_face_landmarks)
"/content/DeepFaceLab/facelib/LandmarksProcessor.py", line 355, in get_image_hull_mask
lmrks = expand_eyebrows(image_landmarks, eyebrows_expand_mod)
"/content/DeepFaceLab/facelib/LandmarksProcessor.py", line 324, in expand_eyebrows
if len(lmrks) != 68:
TypeError: object of type 'PosixPath' has no len()
| Traceback (most recent call last):
"<string>", line 1, in <module>
"/home/myuser/.vim/bundle/YouCompleteMe/python/ycm/youcompleteme.py", line 415, in SendCommandRequest
return SendCommandRequest( final_arguments,
"/home/myuser/.vim/bundle/YouCompleteMe/python/ycm/client/command_request.py", line 179, in SendCommandRequest
request.RunPostCommandActionsIfNeeded( modifiers )
"/home/myuser/.vim/bundle/YouCompleteMe/python/ycm/client/command_request.py", line 81, in RunPostCommandActionsIfNeeded
return self._HandleGotoResponse( modifiers )
"/home/myuser/.vim/bundle/YouCompleteMe/python/ycm/client/command_request.py", line 121, in _HandleGotoResponse
vimsupport.JumpToLocation( self._response[ 'filepath' ],
"/home/myuser/.vim/bundle/YouCompleteMe/python/ycm/vimsupport.py", line 574, in JumpToLocation
vim.current.window.cursor = ( line, column - 1 )
TypeError: an integer is required (got type NoneType)
| 0.606806 |
Traceback (most recent call last):
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/flask_restful/__init__.py", line 480, in wrapper
resp = resource(*args, **kwargs)
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/flask/views.py", line 88, in view
return self.dispatch_request(*args, **kwargs)
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/flask_restful/__init__.py", line 595, in dispatch_request
resp = meth(*args, **kwargs)
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/webargs/core.py", line 474, in wrapper
force_all=force_all,
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/webargs/core.py", line 396, in parse
self._on_validation_error(error, req, schema)
"/sec/Dev/BrainBot/raiden/venv/lib/python3.7/site-packages/webargs/core.py", line 334, in _on_validation_error
self.error_callback(error, req, schema)
TypeError: handle_request_parsing_error() takes 1 positional argument but 3 were given
| Traceback (most recent call last):
"C:\Anaconda\lib\site-packages\rpyc\core\protocol.py", line 329, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
"C:\Anaconda\lib\site-packages\rpyc\core\protocol.py", line 603, in _handle_callattr
return self._handle_call(obj, args, kwargs)
"C:\Anaconda\lib\site-packages\rpyc\core\protocol.py", line 590, in _handle_call
return obj(*args, **dict(kwargs))
TypeError: descriptor '__hash__' of 'object' object needs an argument
| 0.597627 |
Traceback (most recent call last):
"/home2/sj/opennmt/train.py", line 6, in <module>
main()
"/home2/sj/translation/OpenNMT-py-master-GPU-v3/onmt/bin/train.py", line 200, in main
train(opt)
"/home2/sj/translation/OpenNMT-py-master-GPU-v3/onmt/bin/train.py", line 29, in train
map_location=lambda storage, loc: storage)
"/home2/sj/.local/lib/python3.6/site-packages/torch/serialization.py", line 426, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
"/home2/sj/.local/lib/python3.6/site-packages/torch/serialization.py", line 597, in _load
if _is_zipfile(f):
"/home2/sj/.local/lib/python3.6/site-packages/torch/serialization.py", line 75, in _is_zipfile
if ord(magic_byte) != ord(read_byte):
TypeError: ord() expected a character, but string of length 0 found
| Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
await self.async_device_update()
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
await self.async_update()
"/usr/src/homeassistant/homeassistant/components/template/sensor.py", line 224, in async_update
self._state = self._template.async_render()
"/usr/src/homeassistant/homeassistant/helpers/template.py", line 222, in async_render
return compiled.render(kwargs).strip()
"/usr/local/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
"/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
"/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
"/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
"<template>", line 1, in top-level template code
"/usr/local/lib/python3.7/site-packages/jinja2/sandbox.py", line 440, in call
return __context.call(__obj, *args, **kwargs)
"/usr/src/homeassistant/homeassistant/helpers/template.py", line 814, in strptime
return datetime.strptime(string, fmt)
TypeError: strptime() argument 1 must be str, not Undefined
| 0.571158 |
Traceback (most recent call last):
"...\.venv\lib\site-packages\IPython\core\interactiveshell.py", line 3437, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
"<ipython-input-23-ad1bd734b250>", line 8, in <module>
.run_async(pipe_stdin=True)
TypeError: cannot unpack non-iterable Popen object
| Traceback (most recent call last):
"/databricks/python/lib/python3.7/site-packages/great_expectations/validation_operators/validation_operators.py", line 170, in _run_actions
data_asset=batch
"/databricks/python/lib/python3.7/site-packages/great_expectations/validation_operators/actions.py", line 46, in run
return self._run(validation_result_suite, validation_result_suite_identifier, data_asset, **kwargs)
"/databricks/python/lib/python3.7/site-packages/great_expectations/validation_operators/actions.py", line 240, in _run
resource_identifiers=[validation_result_suite_identifier]
"/databricks/python/lib/python3.7/site-packages/great_expectations/data_context/data_context.py", line 1645, in build_data_docs
index_page_locator_info = site_builder.build(resource_identifiers)[0]
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/site_builder.py", line 209, in build
resource_identifiers=resource_identifiers
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/site_builder.py", line 299, in build
rendered_content = self.renderer_class.render(resource)
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/page_renderer.py", line 102, in render
) for column in ordered_columns
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/page_renderer.py", line 102, in <listcomp>
) for column in ordered_columns
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/column_section_renderer.py", line 655, in render
remaining_evrs, content_block = self._render_table(remaining_evrs)
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/column_section_renderer.py", line 645, in _render_table
include_column_name=False
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/content_block/content_block.py", line 43, in render
**kwargs
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/content_block/validation_results_table_content_block.py", line 362, in row_generator_fn
observed_value = [cls._get_observed_value(evr)]
"/databricks/python/lib/python3.7/site-packages/great_expectations/render/renderer/content_block/validation_results_table_content_block.py", line 333, in _get_observed_value
return num_to_str(100 - null_percent, precision=5, use_locale=True) + "% not null"
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
| 0.540828 |
Traceback (most recent call last):
"./test_yolo.py", line 194, in <module>
_main(parser.parse_args())
"./test_yolo.py", line 79, in _main
yolo_model = load_model(model_path)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/models.py", line 246, in load_model
model = model_from_config(model_config, custom_objects=custom_objects)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/models.py", line 314, in model_from_config
return layer_module.deserialize(config, custom_objects=custom_objects)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/layers/__init__.py", line 54, in deserialize
printable_module_name='layer')
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 140, in deserialize_keras_object
list(custom_objects.items())))
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/engine/topology.py", line 2450, in from_config
process_layer(layer_data)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/engine/topology.py", line 2419, in process_layer
custom_objects=custom_objects)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/layers/__init__.py", line 54, in deserialize
printable_module_name='layer')
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/utils/generic_utils.py", line 142, in deserialize_keras_object
return cls.from_config(config['config'])
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/engine/topology.py", line 1242, in from_config
return cls(**config)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/layers/advanced_activations.py", line 38, in __init__
self.alpha = K.cast_to_floatx(alpha)
"/home/ubuntu/.local/lib/python3.5/site-packages/keras/backend/common.py", line 108, in cast_to_floatx
return np.asarray(x, dtype=_FLOATX)
"/home/ubuntu/.local/lib/python3.5/site-packages/numpy/core/numeric.py", line 531, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: float() argument must be a string or a number, not 'dict'
| Traceback (most recent call last):
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/stacker/plan.py", line 88, in _run_once
status = self.fn(self.stack, status=self.status)
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/stacker/actions/diff.py", line 216, in _diff_stack
provider_stack = self.provider.get_stack(stack.fqn)
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/stacker/providers/aws/default.py", line 489, in get_stack
return self.cloudformation.describe_stacks(
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/stacker/providers/aws/default.py", line 478, in cloudformation
max_attempts=MAX_ATTEMPTS
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/botocore/config.py", line 94, in __init__
args, kwargs)
"/Users/jamie/.pyenv/versions/2.7.11/lib/python2.7/site-packages/botocore/config.py", line 119, in _record_user_provided_options
'Got unexpected keyword argument \'%s\'' % key)
TypeError: Got unexpected keyword argument 'retries'
| 0.558547 |
Traceback (most recent call last):
"D:\Sources\dulwich\dulwich\tests\compat\test_client.py", line 209, in test_incremental_fetch_pack
self.test_fetch_pack()
"D:\Sources\dulwich\dulwich\tests\compat\test_client.py", line 203, in test_fetch_pack
refs = c.fetch(self._build_path(b'/server_new.export'), dest)
"D:\Sources\dulwich\dulwich\client.py", line 280, in fetch
progress)
"D:\Sources\dulwich\dulwich\client.py", line 601, in fetch_pack
proto, can_read = self._connect(b'upload-pack', path)
"D:\Sources\dulwich\dulwich\client.py", line 790, in _connect
stderr=self._stderr))
"C:\Python36-32\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
"C:\Python36-32\lib\subprocess.py", line 964, in _execute_child
args = list2cmdline(args)
"C:\Python36-32\lib\subprocess.py", line 461, in list2cmdline
needquote = (" " in arg) or ("\t" in arg) or not arg
TypeError: a bytes-like object is required, not 'str'
| Traceback (most recent call last):
"/home/username/.local/lib/python3.6/site-packages/pyload/core/network/http/http_request.py", line 328, in decode_response
if codecs.lookup(encoding).name == "utf-8" and rep.startswith(
TypeError: lookup() argument must be str, not bytes
| 0.6364 |
Traceback (most recent call last):
"/Users/alex/.local/share/virtualenvs/dns-m997HFnd/bin/octodns-dump", line 10, in <module>
sys.exit(main())
"/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/cmds/dump.py", line 35, in main
*args.source)
"/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/manager.py", line 382, in dump
source.populate(zone, lenient=lenient)
"/Users/alex/.local/share/virtualenvs/dns-m997HFnd/lib/python2.7/site-packages/octodns/provider/digitalocean.py", line 231, in populate
data_for = getattr(self, '_data_for_{}'.format(_type))
AttributeError: 'DigitalOceanProvider' object has no attribute '_data_for_SOA'
| [autoreload of pandas.core.config_init failed: Traceback (most recent call last):
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 246, in check
superreload(m, reload, self.old_objects)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 369, in superreload
module = reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/imp.py", line 315, in reload
return importlib.reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/importlib/__init__.py", line 166, in reload
_bootstrap._exec(spec, module)
"<frozen importlib._bootstrap>", line 618, in _exec
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/pandas/core/config_init.py", line 12, in <module>
import pandas.core.config as cf
AttributeError: module 'pandas.core' has no attribute 'config'
| 0.59078 |
Traceback (most recent call last):
"/usr/bin/hangups", line 11, in <module>
load_entry_point('hangups==0.4.4', 'console_scripts', 'hangups')()
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/ui/__main__.py", line 1135, in main
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/ui/__main__.py", line 93, in __init__
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/auth.py", line 186, in get_auth_stdin
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/auth.py", line 164, in get_auth
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/auth.py", line 266, in _get_authorization_code
"/usr/lib/python3.6/site-packages/hangups-0.4.4-py3.6.egg/hangups/auth.py", line 197, in __init__
AttributeError: module 'mechanicalsoup' has no attribute 'Browser'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"resnet50.py", line 192, in ResNet50
data_format=K.image_data_format(),
AttributeError: 'module' object has no attribute 'image_data_format'
| 0.555758 |
`Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/lib/python3.5/site-packages/telebot/__init__.py", line 23, in <module>
from telebot import apihelper, types, util
"/usr/lib/python3.5/site-packages/telebot/apihelper.py", line 3, in <module>
import requests
"/usr/lib/python3.5/site-packages/requests/__init__.py", line 64, in <module>
from . import utils
"/usr/lib/python3.5/site-packages/requests/utils.py", line 26, in <module>
from .compat import (
ImportError: cannot import name 'integer_types'`
| Traceback (most recent call last):
"/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/usr/lib/python3.5/unittest/__main__.py", line 18, in <module>
main(module=None)
"/usr/lib/python3.5/unittest/main.py", line 93, in __init__
self.parseArgs(argv)
"/usr/lib/python3.5/unittest/main.py", line 117, in parseArgs
self._do_discovery(argv[2:])
"/usr/lib/python3.5/unittest/main.py", line 228, in _do_discovery
self.test = loader.discover(self.start, self.pattern, self.top)
"/usr/lib/python3.5/unittest/loader.py", line 338, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'tests'
| 0.60707 |
Traceback (most recent call last):
"C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tornado\ioloop.py", line 907, in _run
return self.callback()
"C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\distributed\nanny.py", line 414, in memory_monitor
process = self.process.process
AttributeError: 'NoneType' object has no attribute 'process'
| Traceback (most recent call last):
"test.py", line 62, in <module>
trainer.fit(model, mnist_train)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/pytorch/_pytorch_autolog.py", line 216, in fit
return _run_and_log_function(self, original, args, kwargs)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/pytorch/_pytorch_autolog.py", line 205, in _run_and_log_function
result = original(self, *args, **kwargs)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 439, in fit
results = self.accelerator_backend.train()
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/accelerators/cpu_accelerator.py", line 48, in train
results = self.train_or_test()
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/accelerators/accelerator.py", line 66, in train_or_test
results = self.trainer.train()
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 487, in train
self.train_loop.on_train_end()
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/training_loop.py", line 182, in on_train_end
self.trainer.call_hook('on_train_end')
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 822, in call_hook
trainer_hook(*args, **kwargs)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/pytorch_lightning/trainer/callback_hook.py", line 117, in on_train_end
callback.on_train_end(self, self.get_model())
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/pytorch/_pytorch_autolog.py", line 124, in on_train_end
mlflow.pytorch.log_model(pytorch_model=trainer.model, artifact_path="model")
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/pytorch/__init__.py", line 239, in log_model
**kwargs,
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/models/model.py", line 172, in log
flavor.save_model(path=local_path, mlflow_model=mlflow_model, **kwargs)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/mlflow/pytorch/__init__.py", line 405, in save_model
torch.save(pytorch_model, model_path, pickle_module=pickle_module, **kwargs)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 372, in save
_save(obj, opened_zipfile, pickle_module, pickle_protocol)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/torch/serialization.py", line 476, in _save
pickler.dump(obj)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/cloudpickle/cloudpickle.py", line 357, in dump
return Pickler.dump(self, obj)
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 437, in dump
self.save(obj)
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 549, in save
self.save_reduce(obj=obj, *rv)
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 662, in save_reduce
save(state)
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 504, in save
f(self, obj) # Call unbound method with explicit self
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 859, in save_dict
self._batch_setitems(obj.items())
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 885, in _batch_setitems
save(v)
"/home/ubuntu/anaconda3/lib/python3.7/pickle.py", line 535, in save
self.save_global(obj, rv)
"/home/ubuntu/anaconda3/lib/python3.7/site-packages/cloudpickle/cloudpickle.py", line 837, in save_global
if obj.__module__ == "__main__":
AttributeError: 'torch.dtype' object has no attribute '__module__'
| 0.602701 |
Traceback (most recent call last):
"C:\Python27\folium_map.py", line 9, in <module>
print(folium.__version__)
AttributeError: 'module' object has no attribute '__version__'
| Traceback (most recent call last):
"test.py", line 5, in <module>
seaborn.heatmap([[1, 2], [3, 4]])
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/seaborn/_decorators.py", line 46, in inner_f
return f(**kwargs)
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/seaborn/matrix.py", line 558, in heatmap
plotter.plot(ax, cbar_ax, kwargs)
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/seaborn/matrix.py", line 342, in plot
ax.figure.draw(ax.figure.canvas.get_renderer())
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/figure.py", line 1862, in draw
self.patch.draw(renderer)
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/patches.py", line 587, in draw
draw_path(tpath, affine,
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/backends/backend_pgf.py", line 475, in draw_path
writeln(self.fh, r"\begin{pgfscope}")
"/home/tlaundal/Projects/seaborn-pgf-bug/env/lib/python3.8/site-packages/matplotlib/backends/backend_pgf.py", line 129, in writeln
fh.write(line)
AttributeError: 'NoneType' object has no attribute 'write'
| 0.61425 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 3306, in plot
ax = gca()
"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 950, in gca
return gcf().gca(**kwargs)
"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 586, in gcf
return figure()
"/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 535, in figure
**kwargs)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 46, in new_figure_manager
return new_figure_manager_given_figure(num, thisFig)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt4agg.py", line 54, in new_figure_manager_given_figure
return FigureManagerQT(canvas, num)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 488, in __init__
self.toolbar = self._get_toolbar(self.canvas, self.window)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 539, in _get_toolbar
toolbar = NavigationToolbar2QT(canvas, parent, False)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 585, in __init__
NavigationToolbar2.__init__(self, canvas)
"/usr/local/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 2760, in __init__
self._init_toolbar()
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 601, in _init_toolbar
a = self.addAction(self._icon(image_file + '.png'),
"/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 591, in _icon
pm.setDevicePixelRatio(self.canvas._dpi_ratio)
AttributeError: 'QPixmap' object has no attribute 'setDevicePixelRatio'
| Traceback (most recent call last):
"/usr/bin/auto-cpufreq", line 437, in <module>
cli()
"/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/usr/bin/auto-cpufreq", line 401, in cli
set_autofreq()
"/usr/bin/auto-cpufreq", line 243, in set_autofreq
bat_state = p.sensors_battery().power_plugged
AttributeError: 'NoneType' object has no attribute 'power_plugged'
| 0.633148 |
Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/auto_ml/predictor.py", line 944, in _print_ml_analytics_results_random_forest
trained_feature_importances = final_model_obj.model.feature_importances_
AttributeError: 'XGBRegressor' object has no attribute 'feature_importances_'
| 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.55494 |
Traceback (most recent call last):
"C:\Users\dellpc\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'context'
| Traceback (most recent call last):
"tools/train.py", line 153, in <module>
main()
"tools/train.py", line 149, in main
meta=meta)
"/content/drive/My Drive/mdet2/mmdet/apis/train.py", line 143, in train_detector
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 122, in run
epoch_runner(data_loaders[i], **kwargs)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 46, in train
self.call_hook('after_train_epoch')
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/base_runner.py", line 282, in call_hook
getattr(hook, fn_name)(self)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/dist_utils.py", line 93, in wrapper
return func(*args, **kwargs)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/hooks/checkpoint.py", line 52, in after_train_epoch
self.out_dir, save_optimizer=self.save_optimizer, **self.args)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/epoch_based_runner.py", line 156, in save_checkpoint
save_checkpoint(self.model, filepath, optimizer=optimizer, meta=meta)
"/usr/local/lib/python3.6/dist-packages/mmcv/runner/checkpoint.py", line 349, in save_checkpoint
checkpoint['optimizer'] = optimizer.state_dict()
"/usr/local/lib/python3.6/dist-packages/torch/optim/optimizer.py", line 98, in state_dict
for k, v in self.state.items()}
"/usr/local/lib/python3.6/dist-packages/torch/optim/optimizer.py", line 98, in <dictcomp>
for k, v in self.state.items()}
KeyError: 140388814569120
| 0.450446 |
Traceback (most recent call last):
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 385, in run_asgi
result = await app(self.scope, self.receive, self.send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
return await self.app(scope, receive, send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/fastapi/applications.py", line 140, in __call__
await super().__call__(scope, receive, send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/applications.py", line 134, in __call__
await self.error_middleware(scope, receive, send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/middleware/errors.py", line 178, in __call__
raise exc from None
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/middleware/errors.py", line 156, in __call__
await self.app(scope, receive, _send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/exceptions.py", line 73, in __call__
raise exc from None
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/exceptions.py", line 62, in __call__
await self.app(scope, receive, sender)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/routing.py", line 590, in __call__
await route(scope, receive, send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/routing.py", line 208, in __call__
await self.app(scope, receive, send)
"/home/user/coding/telegram_video_uploader/env/lib/python3.7/site-packages/starlette/routing.py", line 44, in app
await response(scope, receive, send)
TypeError: 'str' object is not callable
| Traceback (most recent call last):
"/usr/local/lib/python3.6/site-packages/errbot/core_plugins/chatRoom.py", line 20, in callback_connect
self._join_room(room)
"/usr/local/lib/python3.6/site-packages/errbot/core_plugins/chatRoom.py", line 34, in _join_room
self.query_room(room).join(username=self.bot_config.CHATROOM_FN, password=password)
TypeError: join() got an unexpected keyword argument 'username'
| 0.552107 |
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'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/jolien/anaconda_ete/lib/python2.7/site-packages/ete3-3.0.0b36-py3.5.egg/ete3/coretype/tree.py", line 2128, in check_monophyly
found_values = set([getattr(n, target_attr) for n in n2leaves[self]])
AttributeError: 'TreeNode' object has no attribute 'color'
| 0.621655 |
Traceback (most recent call last):
"/opt/az/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/opt/az/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/opt/az/lib/python3.6/site-packages/azure/cli/__main__.py", line 44, in <module>
exit_code = cli_main(az_cli, sys.argv[1:])
"/opt/az/lib/python3.6/site-packages/azure/cli/__main__.py", line 31, in cli_main
return cli.invoke(args)
"/opt/az/lib/python3.6/site-packages/knack/cli.py", line 226, in invoke
exit_code = self.exception_handler(ex)
"/opt/az/lib/python3.6/site-packages/azure/cli/core/__init__.py", line 106, in exception_handler
return handle_exception(ex)
"/opt/az/lib/python3.6/site-packages/azure/cli/core/util.py", line 94, in handle_exception
error = response_dict['error']
TypeError: string indices must be integers
| Traceback (most recent call last):
"examples/sample.py", line 81, in <module>
fields=[('input', qa_field), ('output', qa_field)])
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/dataset.py", line 56, in splits
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/dataset.py", line 107, in __init__
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/example.py", line 31, in fromTSV
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/example.py", line 44, in fromlist
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/field.py", line 89, in preprocess
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/pipeline.py", line 13, in __call__
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/pipeline.py", line 19, in call
"build/bdist.macosx-10.12-x86_64/egg/torchtext/data/field.py", line 89, in <lambda>
TypeError: decoding Unicode is not supported
| 0.617887 |
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'
| Traceback (most recent call last):
"/home/joongi/.pyenv/versions/3.8.5/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
"/home/joongi/.pyenv/versions/3.8.5/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
"mypy/build.py", line 1922, in wrap_context
"mypy/semanal_main.py", line 360, in check_type_arguments
"mypy/nodes.py", line 295, in accept
"mypy/semanal_typeargs.py", line 39, in visit_mypy_file
"mypy/traverser.py", line 35, in visit_mypy_file
"mypy/nodes.py", line 940, in accept
"mypy/semanal_typeargs.py", line 50, in visit_class_def
"mypy/mixedtraverser.py", line 28, in visit_class_def
"mypy/traverser.py", line 71, in visit_class_def
"mypy/nodes.py", line 1005, in accept
"mypy/semanal_typeargs.py", line 54, in visit_block
"mypy/traverser.py", line 39, in visit_block
"mypy/nodes.py", line 767, in accept
"mypy/traverser.py", line 76, in visit_decorator
"mypy/nodes.py", line 677, in accept
"mypy/traverser.py", line 54, in visit_func_def
"mypy/semanal_typeargs.py", line 46, in visit_func
"mypy/mixedtraverser.py", line 23, in visit_func
"mypy/mixedtraverser.py", line 91, in visit_optional_type
"mypy/types.py", line 1098, in accept
"mypy/typetraverser.py", line 52, in visit_callable_type
"mypy/types.py", line 794, in accept
"mypy/semanal_typeargs.py", line 70, in visit_instance
AttributeError: attribute 'defn' of 'TypeInfo' undefined
| 0.635448 |
Traceback (most recent call last):
"/home/local/SoftwareDownloads/quodlibet-fork/quodlibet/quodlibet/qltk/songlistcolumns.py", line 205, in _cdf
value = self._fetch_value(model, iter_)
"/home/local/SoftwareDownloads/quodlibet-fork/quodlibet/quodlibet/qltk/songlistcolumns.py", line 350, in _fetch_value
return self._pattern % song
"/home/local/SoftwareDownloads/quodlibet-fork/quodlibet/quodlibet/pattern/_pattern.py", line 247, in format
value = u"".join(self.__func(self.SongProxy(song, self._format)))
"<string>", line 5, in f
"/home/local/SoftwareDownloads/quodlibet-fork/quodlibet/quodlibet/pattern/_pattern.py", line 224, in comma
value = self.__song.comma(key)
AttributeError: 'NoneType' object has no attribute 'comma'
| Traceback (most recent call last):
"/home/pt/venv/lib/python3.6/site-packages/ScoutSuite/providers/azure/facade/storageaccounts.py", line 30, in get_blob_containers
lambda: list(self._client.blob_containers.list(resource_group_name, storage_account_name).value)
"/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
"/home/pt/venv/lib/python3.6/site-packages/ScoutSuite/providers/azure/facade/storageaccounts.py", line 30, in <lambda>
lambda: list(self._client.blob_containers.list(resource_group_name, storage_account_name).value)
AttributeError: 'ListContainerItemPaged' object has no attribute 'value'
| 0.618245 |
Traceback (most recent call last):
"main.py", line 108, in <module>
rlt = predict(vol, dataset)
"main.py", line 84, in predict
predict_y = model.predict(forecast_df)
"D:\software\anaconda3\lib\site-packages\fbprophet\forecaster.py", line 1137, in predict
seasonal_components = self.predict_seasonal_components(df)
"D:\software\anaconda3\lib\site-packages\fbprophet\forecaster.py", line 1252, in predict_seasonal_components
self.make_all_seasonality_features(df)
"D:\software\anaconda3\lib\site-packages\fbprophet\forecaster.py", line 714, in make_all_seasonality_features
holidays = self.construct_holiday_dataframe(df['ds'])
"D:\software\anaconda3\lib\site-packages\fbprophet\forecaster.py", line 447, in construct_holiday_dataframe
all_holidays = all_holidays.drop(index_to_drop)
"D:\software\anaconda3\lib\site-packages\pandas\core\frame.py", line 3694, in drop
errors=errors)
"D:\software\anaconda3\lib\site-packages\pandas\core\generic.py", line 3108, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
"D:\software\anaconda3\lib\site-packages\pandas\core\generic.py", line 3158, in _drop_axis
raise KeyError('{} not found in axis'.format(labels))
KeyError: '[] not found in axis'
| Traceback (most recent call last):
"/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
"/usr/src/homeassistant/homeassistant/components/tts/__init__.py", line 401, in async_remove_from_mem
self.mem_cache.pop(key)
KeyError: 'a94a8fe5ccb19ba61c4c0873d391e987982fbbd3_en-us_15663907400730488579_google_cloud'
| 0.481054 |
Traceback (most recent call last):
"labelme2coco.py", line 187, in <module>
main()
"labelme2coco.py", line 87, in main
label_file = labelme.Label
(filename=filename)
AttributeError: module 'labelme' has no attribute 'Label
'
| Traceback (most recent call last):
"/home/idi/.virtualenvs/tws-app/lib/python3.6/site-packages/ib_insync/client.py", line 251, in _onSocketHasData
self._decode(fields)
"/home/idi/.virtualenvs/tws-app/lib/python3.6/site-packages/ib_insync/client.py", line 347, in _decode
self.decoder.interpret(fields)
"/home/idi/.virtualenvs/tws-app/lib/python3.6/site-packages/ibapi/decoder.py", line 1347, in interpret
handleInfo.processMeth(self, iter(fields))
"/home/idi/.virtualenvs/tws-app/lib/python3.6/site-packages/ibapi/decoder.py", line 423, in processOpenOrder
self.wrapper.openOrder(order.orderId, contract, order, orderState)
"/home/idi/.virtualenvs/tws-app/lib/python3.6/site-packages/ib_insync/wrapper.py", line 303, in openOrder
trade.order.update(**order.__dict__)
AttributeError: 'Order' object has no attribute 'update'
| 0.576632 |
Traceback (most recent call last):
"C:\CryptoStuffPy\python-binance\examples\Private_TriArbBot.py", line 555, in <module>
run()
"C:\CryptoStuffPy\python-binance\examples\Private_TriArbBot.py", line 71, in run
initialize_arb()
"C:\CryptoStuffPy\python-binance\examples\Private_TriArbBot.py", line 93, in initialize_arb
pprint(balance)
TypeError: 'module' object is not callable | Traceback (most recent call last):
"/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
"/usr/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
"/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/miflora/sensor.py", line 75, in async_setup_platform
backend=backend,
"/srv/homeassistant/lib/python3.7/site-packages/miflora/miflora_poller.py", line 37, in __init__
self._bt_interface = BluetoothInterface(backend, adapter)
TypeError: __init__() takes 2 positional arguments but 3 were given`
| 0.553349 |
Traceback (most recent call last):
"/usr/local/lib/python3.8/dist-packages/aj/api/endpoint.py", line 75, in wrapper
result = fx(self, context, *args, **kwargs)
"/usr/local/lib/python3.8/dist-packages/ajenti_plugin_core/views/api.py", line 116, in handle_api_auth
if auth.check_sudo_password(username, password):
"/usr/local/lib/python3.8/dist-packages/aj/auth.py", line 158, in check_sudo_password
o, e = sudo.communicate(password + '\n')
"/usr/local/lib/python3.8/dist-packages/gevent/subprocess.py", line 850, in communicate
greenlet.get()
"src/gevent/greenlet.py", line 769, in gevent._greenlet.Greenlet.get
"src/gevent/greenlet.py", line 364, in gevent._greenlet.Greenlet._raise_exception
"/usr/local/lib/python3.8/dist-packages/gevent/_compat.py", line 62, in reraise
raise value.with_traceback(tb)
"src/gevent/greenlet.py", line 854, in gevent._greenlet.Greenlet.run
"/usr/local/lib/python3.8/dist-packages/gevent/subprocess.py", line 506, in _write_and_close
fobj.write(data)
TypeError: a bytes-like object is required, not 'str'
| 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'
| 0.552619 |
Traceback (most recent call last):
"build.py", line 10, in <module>
print( test1854.test.subc.__doc__ )
AttributeError: 'fortran' object has no attribute 'subc'
| Traceback (most recent call last):
"C:\workspace\microbit-mine\mu\mu\logic.py", line 732, in debug_toggle_breakpoint
self.modes['debugger'].toggle_breakpoint(line, tab)
"C:\workspace\microbit-mine\mu\mu\modes\debugger.py", line 201, in toggle_breakpoint
bps = self.debugger.breakpoints(tab.path)
"C:\workspace\microbit-mine\mu\mu\debugger\client.py", line 227, in breakpoints
return self.bp_index.get(filename, {})
AttributeError: 'Debugger' object has no attribute 'bp_index'
| 0.55838 |
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'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/local/lib/python3.6/site-packages/botocore/client.py", line 251, in _api_call
return self._make_api_call(operation_name, kwargs)
"/usr/local/lib/python3.6/site-packages/botocore/client.py", line 526, in _make_api_call
operation_model, request_dict)
"/usr/local/lib/python3.6/site-packages/botocore/endpoint.py", line 141, in make_request
return self._send_request(request_dict, operation_model)
"/usr/local/lib/python3.6/site-packages/botocore/endpoint.py", line 170, in _send_request
success_response, exception):
"/usr/local/lib/python3.6/site-packages/botocore/endpoint.py", line 249, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
"/usr/local/lib/python3.6/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
"/usr/local/lib/python3.6/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 183, in __call__
if self._checker(attempts, response, caught_exception):
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 251, in __call__
caught_exception)
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 269, in _should_retry
return self._checker(attempt_number, response, caught_exception)
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 317, in __call__
caught_exception)
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 223, in __call__
attempt_number, caught_exception)
"/usr/local/lib/python3.6/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
"/usr/local/lib/python3.6/site-packages/botocore/endpoint.py", line 204, in _get_response
proxies=self.proxies, timeout=self.timeout)
"/usr/local/lib/python3.6/site-packages/botocore/vendored/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
"/usr/local/lib/python3.6/site-packages/botocore/vendored/requests/adapters.py", line 370, in send
timeout=timeout
"/usr/local/lib/python3.6/site-packages/botocore/vendored/requests/packages/urllib3/connectionpool.py", line 544, in urlopen
body=body, headers=headers)
"/usr/local/lib/python3.6/site-packages/botocore/vendored/requests/packages/urllib3/connectionpool.py", line 349, in _make_request
conn.request(method, url, **httplib_request_kw)
"/usr/local/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
TypeError: _send_request() takes 5 positional arguments but 6 were given
| 0.519939 |
Traceback (most recent call last):
"logontracer.py", line 1028, in <module>
main()
"logontracer.py", line 1016, in main
parse_evtx(args.evtx)
"logontracer.py", line 897, in parse_evtx
tx.append(statement_ip, {"IP": ipaddress, "rank": ranks[ipaddress], "hostname": hostname})
AttributeError: 'Transaction' object has no attribute 'append'
| Traceback (most recent call last):
"/routersploit/routersploit/core/exploit/utils.py", line 80, in import_exploit
module = importlib.import_module(path)
"/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 986, in _gcd_import
"<frozen importlib._bootstrap>", line 969, in _find_and_load
"<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 673, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 665, in exec_module
"<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
"/home/o-zone/Tools/routersploit/routersploit/modules/exploits/routers/thomson/twg849_info_disclosure.py", line 2, in <module>
from routersploit.core.snmp.snmp_client import SNMPClient
"/routersploit/routersploit/core/snmp/snmp_client.py", line 1, in <module>
from pysnmp.entity.rfc3413.oneliner import cmdgen
"/usr/local/lib/python3.5/dist-packages/pysnmp/entity/rfc3413/oneliner/cmdgen.py", line 10, in <module>
from pysnmp.hlapi.asyncore import *
"/usr/local/lib/python3.5/dist-packages/pysnmp/hlapi/__init__.py", line 7, in <module>
from pysnmp.proto.rfc1902 import *
"/usr/local/lib/python3.5/dist-packages/pysnmp/proto/rfc1902.py", line 9, in <module>
from pysnmp.proto import rfc1155, error
"/usr/local/lib/python3.5/dist-packages/pysnmp/proto/rfc1155.py", line 50, in <module>
class NetworkAddress(univ.Choice):
"/usr/local/lib/python3.5/dist-packages/pysnmp/proto/rfc1155.py", line 55, in NetworkAddress
def clone(self, value=univ.noValue, **kwargs):
AttributeError: module 'pyasn1.type.univ' has no attribute 'noValue'
| 0.62636 |
Traceback (most recent call last):
"/usr/local/bin/bcbio_nextgen.py", line 234, in <module>
main(**kwargs)
"/usr/local/bin/bcbio_nextgen.py", line 43, in main
run_main(**kwargs)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 42, in run_main
fc_dir, run_info_yaml)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 86, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 119, in variant2pipeline
[x[0]["description"] for x in samples]]])
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 804, in __call__
while self.dispatch_one_batch(iterator):
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 662, in dispatch_one_batch
self._dispatch(tasks)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 570, in _dispatch
job = ImmediateComputeBatch(batch)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 183, in __init__
self.results = batch()
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 72, in __call__
return [func(*args, **kwargs) for func, args, kwargs in self.items]
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 51, in wrapper
return apply(f, *args, **kwargs)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 350, in organize_samples
return run_info.organize(*args)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 50, in organize
integrations=integrations)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 749, in _run_info_from_yaml
item = _normalize_files(item, dirs.get("flowcell"))
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 668, in _normalize_files
_sanity_check_files(item, files)
"/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/run_info.py", line 689, in _sanity_check_files
raise ValueError("%s for %s: %s" % (msg, item.get("description", ""), files))
ValueError: Expect both fastq files to not be the same for 412-normal: ['/home/centos/Calling/411/RAW/412_CTTGTA_L001_R1_001.fastq.gz', '/home/centos/Calling/411/RAW/412_CTTGTA_L001_R1_001.fastq.gz']
| Traceback (most recent call last):
"capsulenet-multi-gpu.py", line 166, in <module>
multi_model.fit_generator(trainData, steps_per_epoch = 100, epochs = args.epochs, validation_data = validateData, validation_steps=100, callbacks = [log, tb, lr_decay])
"/root/anaconda3/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
"/root/anaconda3/lib/python3.6/site-packages/keras/engine/training.py", line 1415, in fit_generator
initial_epoch=initial_epoch)
"/root/anaconda3/lib/python3.6/site-packages/keras/engine/training_generator.py", line 213, in fit_generator
class_weight=class_weight)
"/root/anaconda3/lib/python3.6/site-packages/keras/engine/training.py", line 1209, in train_on_batch
class_weight=class_weight)
"/root/anaconda3/lib/python3.6/site-packages/keras/engine/training.py", line 749, in _standardize_user_data
exception_prefix='input')
"/root/anaconda3/lib/python3.6/site-packages/keras/engine/training_utils.py", line 101, in standardize_input_data
str(len(data)) + ' arrays: ' + str(data)[:200] + '...')
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 2 array(s), but instead got the following list of 1 arrays: [array([[[[0.41060576, 0.40476605, 0.47026658],
| 0.645901 |
Traceback (most recent call last):
"/home/smosesli/anaconda3/envs/kaolin/lib/python3.6/site-packages/Sphinx-2.2.0-py3.6.egg/sphinx/ext/autodoc/importer.py", line 32, in import_module
return importlib.import_module(modname)
"/home/smosesli/anaconda3/envs/kaolin/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/smosesli/externals/kaolin/kaolin/graphics/__init__.py", line 8, in <module>
from .DIBRenderer import DIBRenderer
"/home/smosesli/externals/kaolin/kaolin/graphics/DIBRenderer.py", line 38, in <module>
from .dib_renderer.renderer import Renderer as DIBRenderer
"/home/smosesli/externals/kaolin/kaolin/graphics/dib_renderer/renderer/__init__.py", line 1, in <module>
from .base import *
"/home/smosesli/externals/kaolin/kaolin/graphics/dib_renderer/renderer/base.py", line 24, in <module>
from ....mathutils.geometry.transformations import compute_camera_params
ValueError: attempted relative import beyond top-level package
| Traceback (most recent call last):
"./pupygen.py", line 545, in <module>
pupygen(parser.parse_args(), config)
"./pupygen.py", line 483, in pupygen
packed_payload=pack_py_payload(get_raw_conf(conf))
"./pupygen.py", line 73, in get_raw_conf
credentials = Credentials(role='client')
"/tmp/pupy/pupy/pupylib/PupyCredentials.py", line 206, in __init__
encryptor.decrypt(StringIO(content), fcontent)
"/tmp/pupy/pupy/pupylib/PupyCredentials.py", line 162, in decrypt
raise ValueError("bad decrypt pad (%d)" % padding_length)
ValueError: bad decrypt pad (123)
| 0.518784 |
Traceback (most recent call last):
"/home/sergey/anaconda3/bin/conda", line 13, in <module>
sys.exit(main())
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 150, in main
return conda_exception_handler(_main, *args, **kwargs)
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1335, in conda_exception_handler
return_value = exception_handler(func, *args, **kwargs)
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1046, in __call__
return self.handle_exception(exc_val, exc_tb)
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1090, in handle_exception
return self.handle_unexpected_exception(exc_val, exc_tb)
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1101, in handle_unexpected_exception
self.print_unexpected_error_report(error_report)
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1171, in print_unexpected_error_report
from .cli.main_info import get_env_vars_str, get_main_info_str
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/cli/main_info.py", line 19, in <module>
from ..core.index import _supplement_index_with_system
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/core/index.py", line 9, in <module>
from .package_cache_data import PackageCacheData
"/home/sergey/anaconda3/lib/python3.6/site-packages/conda/core/package_cache_data.py", line 15, in <module>
from conda_package_handling.api import InvalidArchiveError
ModuleNotFoundError: No module named 'conda_package_handling'
| Traceback (most recent call last):
"C:\Program
s (x86)\Microsoft SDKs\Azure\CLI2\lib\threading.py", line 916, in _bootstrap_inner
self.run()
"C:\Users\aa062685\.azure\cliextensions\interactive\azext_interactive\azclishell\threads.py", line 21, in run
FreshTable(self.shell).dump_command_table(self.shell)
"C:\Users\aa062685\.azure\cliextensions\interactive\azext_interactive\azclishell\_dump_commands.py", line 88, in dump_command_table
main_loader.load_arguments(None)-----------------------------------------------------------------------------------
"C:\Users\aa062685\.azure\cliextensions\interactive\azext_interactive\azclishell\_dump_commands.py", line 49, in load_arguments---------------------------------------------------------------------------------------------------------
command.load_arguments()
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-6e754znd\azure-cli-core\azure\cli\core\commands\__init__.py", line 291, in load_arguments
: use commands outside the application
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-6e754znd\knack\knack\commands.py", line 97, in load_arguments
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-6e754znd\azure-cli-core\azure\cli\core\__init__.py", line 488, in default_arguments_loader : do a step by step tutorial of example
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-6e754znd\azure-cli-core\azure\cli\core\__init__.py", line 528, in get_op_handler
: set a scope, and scopes can be chained with spaces
"C:\Program
s (x86)\Microsoft SDKs\Azure\CLI2\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 994, in _gcd_import
Hit [enter] to refresh
"<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
"C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-6e754znd\azure-cli\azure\cli\command_modules\apim\custom.py", line 9, in <module>
ModuleNotFoundError: No module named 'azure.mgmt.apimanagement.models.api_management_client_enums'
| 0.649489 |
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_parser.py", line 672, in test_format_hour
assert self.format_regex.findall("HH-H-hh-h") == ["HH", "H", "hh", "h"]
AttributeError: 'TestDateTimeParserRegex' object has no attribute 'format_regex'
| Traceback (most recent call last):
"/usr/src/app/homeassistant/setup.py", line 192, in _async_setup_component
None, component.setup, hass, processed_config)
"uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:110600)
"uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:113980)
"uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:108900)
"/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/src/app/homeassistant/components/tellstick.py", line 62, in setup
from tellcore.telldus import AsyncioCallbackDispatcher
"/usr/local/lib/python3.5/site-packages/tellcore/telldus.py", line 24, in <module>
import tellcore.constants as const
AttributeError: module 'tellcore' has no attribute 'constants'
| 0.573689 |
Traceback (most recent call last):
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 1025, in emit
msg = self.format(record)
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 869, in format
return fmt.format(record)
"/Users/annebitran/nikola_env/lib/python3.7/site-packages/nikola/log.py", line 64, in format
message = super().format(record)
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 608, in format
record.message = record.getMessage()
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 369, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
| Traceback (most recent call last):
"/usr/local/bin/miiocli", line 11, in <module>
sys.exit(create_cli())
"/usr/local/lib/python3.5/dist-packages/miio/cli.py", line 43, in create_cli
return cli(auto_envvar_prefix="MIIO")
"/usr/local/lib/python3.5/dist-packages/miio/click_common.py", line 53, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/miio/click_common.py", line 251, in wrap
kwargs['result'] = func(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
"/usr/local/lib/python3.5/dist-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/miio/click_common.py", line 218, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/miio/click_common.py", line 180, in call
return method(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/miio/powerstrip.py", line 191, in status
properties
"/usr/local/lib/python3.5/dist-packages/miio/device.py", line 263, in send
self.__id = m.data.value["id"]
TypeError: 'NoneType' object is not subscriptable
| 0.593484 |
Traceback (most recent call last):
"/usr/local/bin/pylint", line 10, in <module>
sys.exit(run_pylint())
"/usr/local/lib/python3.5/dist-packages/pylint/__init__.py", line 20, in run_pylint
Run(sys.argv[1:])
"/usr/local/lib/python3.5/dist-packages/pylint/lint.py", line 1610, in __init__
linter.check(args)
"/usr/local/lib/python3.5/dist-packages/pylint/lint.py", line 936, in check
self._do_check(files_or_modules)
"/usr/local/lib/python3.5/dist-packages/pylint/lint.py", line 1068, in _do_check
self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)
"/usr/local/lib/python3.5/dist-packages/pylint/lint.py", line 1151, in check_astroid_module
walker.walk(ast_node)
"/usr/local/lib/python3.5/dist-packages/pylint/utils.py", line 1303, in walk
self.walk(child)
"/usr/local/lib/python3.5/dist-packages/pylint/utils.py", line 1303, in walk
self.walk(child)
"/usr/local/lib/python3.5/dist-packages/pylint/utils.py", line 1300, in walk
cb(astroid)
"/usr/local/lib/python3.5/dist-packages/pylint/checkers/strings.py", line 325, in visit_binop
arg_type = utils.safe_infer(arg)
"/usr/local/lib/python3.5/dist-packages/pylint/checkers/utils.py", line 1061, in safe_infer
value = next(inferit)
TypeError: 'Uninferable' object is not an iterator
| `Traceback (most recent call last):
"/usr/bin/openrazer-daemon", line 177, in <module>
run()
"/usr/bin/openrazer-daemon", line 172, in run
logger=logger)
TypeError: __init__() got an unexpected keyword argument 'chdir'`
| 0.516514 |
Traceback (most recent call last):
"/storage/.kodi/addons/plugin.video.netflix/addon.py", line 33, in <module>
NAVIGATION.router(paramstring=REQUEST_PARAMS)
"/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped
result = func(*args, **kwargs)
"/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 174, in router
widget_display=widget_display)
"/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 465, in show_seasons
d = [(v['idx'], k) for k, v in season_list.items()]
TypeError: string indices must be integers
| Traceback (most recent call last):
"/usr/bin/friture", line 10, in <module>
main()
"/usr/lib64/python3.8/site-packages/friture/analyzer.py", line 359, in main
window = Friture()
"/usr/lib64/python3.8/site-packages/friture/analyzer.py", line 113, in __init__
self.restoreAppState()
"/usr/lib64/python3.8/site-packages/friture/analyzer.py", line 215, in restoreAppState
self.dockmanager.restoreState(settings)
"/usr/lib64/python3.8/site-packages/friture/dockmanager.py", line 76, in restoreState
dock.restoreState(settings)
"/usr/lib64/python3.8/site-packages/friture/dock.py", line 108, in restoreState
self.widget_select(widgetId)
"/usr/lib64/python3.8/site-packages/friture/dock.py", line 75, in widget_select
self.audiowidget = getWidgetById(widgetId)["Class"](self)
"/usr/lib64/python3.8/site-packages/friture/spectrum.py", line 56, in __init__
self.proc.set_maxfreq(self.maxfreq)
"/usr/lib64/python3.8/site-packages/friture/audioproc.py", line 82, in set_maxfreq
self.update_freq_cache()
"/usr/lib64/python3.8/site-packages/friture/audioproc.py", line 107, in update_freq_cache
self.freq = linspace(0, SAMPLING_RATE / (2 * self.decimation), self.fft_size / (2 * self.decimation) + 1)
"<__array_function__ internals>", line 5, in linspace
"/usr/lib64/python3.8/site-packages/numpy/core/function_base.py", line 119, in linspace
raise TypeError(
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
| 0.564543 |
Traceback (most recent call last):
"C:\MobSF2\Mobile-Security-Framework-MobSF\MalwareAnalyzer\views\apkid.py", line 45, in apkid_analysis
findings = output._build_json_output(res)['files']
AttributeError: 'OutputFormatter' object has no attribute '_build_json_output'
| 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.608938 |
Traceback (most recent call last):
"/.../apps/frappe/frappe/app.py", line 61, in application
response = frappe.handler.handle()
"/.../apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
"/.../apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
"/.../apps/frappe/frappe/__init__.py", line 1036, in call
return fn(*args, **newargs)
"/.../apps/frappe/frappe/desk/form/save.py", line 22, in savedocs
doc.save()
"/.../apps/frappe/frappe/model/document.py", line 260, in save
return self._save(*args, **kwargs)
"/.../apps/frappe/frappe/model/document.py", line 296, in _save
self.run_before_save_methods()
"/.../apps/frappe/frappe/model/document.py", line 876, in run_before_save_methods
self.run_method("validate")
"/.../apps/frappe/frappe/model/document.py", line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
"/.../apps/frappe/frappe/model/document.py", line 1048, in composer
return composed(self, method, *args, **kwargs)
"/.../apps/frappe/frappe/model/document.py", line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
"/.../apps/frappe/frappe/model/document.py", line 766, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
"/.../apps/erpnext/erpnext/stock/doctype/item/item.py", line 120, in validate
self.make_thumbnail()
"/.../apps/erpnext/erpnext/stock/doctype/item/item.py", line 273, in make_thumbnail
file_doc.make_thumbnail()
"/.../apps/frappe/frappe/core/doctype/file/file.py", line 201, in make_thumbnail
image, filename, extn = get_web_image(self.file_url)
"/.../apps/frappe/frappe/core/doctype/file/file.py", line 409, in get_web_image
image = Image.open(StringIO(frappe.safe_decode(r.content)))
TypeError: initial_value must be str or None, not bytes
|
Traceback (most recent call last):
"scripts\retriever\build_tfidf.py", line 183, in <module>
args, 'sqlite', {'db_path': args.db_path}
"scripts\retriever\build_tfidf.py", line 114, in get_count_matrix
for b_row, b_col, b_data in workers.imap_unordered(_count, batch):
"C:\Users\cguzelha\AppData\Local\Continuum\Anaconda3\envs\py3\lib\multiprocessing\pool.py", line 735, in next
raise value
TypeError: 'NoneType' object is not subscriptable
| 0.530318 |
Traceback (most recent call last):
"/home/amnesia/Persistent/securedrop/admin/.venv3/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
| Traceback (most recent call last):
"/home/mars/.local/python/bin/vint", line 11, in <module>
load_entry_point('vim-vint==0.3.21.dev45+gbcd6562', 'console_scripts', 'vint')()
"/home/mars/.local/python/lib/python3.8/site-packages/vint/__init__.py", line 11, in main
init_cli()
"/home/mars/.local/python/lib/python3.8/site-packages/vint/bootstrap.py", line 21, in init_cli
start_cli()
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/cli.py", line 38, in start_cli
violations = _lint_all(env, config_dict)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/cli.py", line 131, in _lint_all
violations += linter.lint(lint_target)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 106, in lint
self._traverse(root_ast, lint_target)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 132, in _traverse
traverse(root_ast,
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 9, in for_each
call_if_def(func, node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in traverse
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 15, in for_each_deeply
for_each(func, nodes)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 9, in for_each
call_if_def(func, node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 247, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/ast/traversing.py", line 238, in traverse
should_traverse_children = on_enter(node) is not SKIP_CHILDREN
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 133, in <lambda>
on_enter=lambda node: self._handle_enter(node, lint_context),
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 151, in _handle_enter
self._refresh_policies_if_necessary(node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/linter.py", line 185, in _refresh_policies_if_necessary
dynamic_config.update_by_node(node)
"/home/mars/.local/python/lib/python3.8/site-packages/vint/linting/config/config_next_line_comment_source.py", line 43, in update_by_node
lnum_of_node = node['pos']['lnum']
TypeError: 'int' object is not subscriptable
| 0.579053 |
Traceback (most recent call last):
"/Users/finup/gitlab/ApiTestEngine/ate/task.py", line 17, in runTest
self.assertTrue(self.test_runner.run_test(self.testcase))
"/Users/finup/gitlab/ApiTestEngine/ate/runner.py", line 103, in run_test
resp_obj.validate(validators, self.context.get_testcase_variables_mapping())
"/Users/finup/gitlab/ApiTestEngine/ate/response.py", line 115, in validate
validator_dict["actual_value"] = self.extract_field(check_item)
"/Users/finup/gitlab/ApiTestEngine/ate/response.py", line 48, in extract_field
return utils.query_json(json_content, sub_query)
"/Users/finup/gitlab/ApiTestEngine/ate/utils.py", line 151, in query_json
print(json_content[key])
TypeError: string indices must be integers
| Traceback (most recent call last):
"C:\Users\Fabien\Desktop\gif_resize_pillow.py", line 24, in <module>
om.save("out.gif", save_all=True, append_images=frames)
"C:\Python36\lib\site-packages\PIL\Image.py", line 1893, in save
save_handler(self, fp, filename)
"C:\Python36\lib\site-packages\PIL\GifImagePlugin.py", line 451, in _save_all
_save(im, fp, filename, save_all=True)
"C:\Python36\lib\site-packages\PIL\GifImagePlugin.py", line 463, in _save
if not save_all or not _write_multiple_frames(im, fp, palette):
"C:\Python36\lib\site-packages\PIL\GifImagePlugin.py", line 396, in _write_multiple_frames
for imSequence in [im]+im.encoderinfo.get("append_images", []):
TypeError: can only concatenate list (not "generator") to list
| 0.543055 |
Traceback (most recent call last):
"__main__.py", line 19, in <module>
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\__init__.py", line 465, in main
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\__init__.py", line 455, in _real_main
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\YoutubeDL.py", line 1956, in download
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\YoutubeDL.py", line 776, in extract_info
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\common.py", line 433, in extract
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\generic.py", line 2120, in _real_extract
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\common.py", line 1828, in _parse_mpd_formats
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\common.py", line 1806, in extract_multisegment_info
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc3a66tbr\build\youtube_dl\extractor\common.py", line 1789, in extract_common
ValueError: invalid literal for int() with base 10: '2000000.0'
| Traceback (most recent call last):
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/django/core/handlers/base.py", line 137, in get_response
response = response.render()
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/django/template/response.py", line 103, in render
self.content = self.rendered_content
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/rest_framework/response.py", line 71, in rendered_content
ret = renderer.render(self.data, media_type, context)
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/rest_framework/renderers.py", line 676, in render
context = self.get_context(data, accepted_media_type, renderer_context)
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/rest_framework/renderers.py", line 637, in get_context
'content': self.get_content(renderer, data, accepted_media_type, renderer_context),
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/rest_framAddressLookupResultViewework/renderers.py", line 399, in get_content
content = renderer.render(data, accepted_media_type, renderer_context)
"/home/usrfjt/TDS/venvs/ipm_env/lib/python2.7/site-packages/rest_framework/renderers.py", line 104, in render
separators=separators
"/usr/lib64/python2.7/json/__init__.py", line 250, in dumps
sort_keys=sort_keys, **kw).encode(obj)
"/usr/lib64/python2.7/json/encoder.py", line 209, in encode
chunks = list(chunks)
"/usr/lib64/python2.7/json/encoder.py", line 434, in _iterencode
for chunk in _iterencode_dict(o, _current_indent_level):
"/usr/lib64/python2.7/json/encoder.py", line 408, in _iterencode_dict
for chunk in chunks:
"/usr/lib64/python2.7/json/encoder.py", line 348, in _iterencode_dict
raise ValueError("Circular reference detected")
ValueError: Circular reference detected
| 0.595111 |
Traceback (most recent call last):
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 388, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 225, in process_updates
return await asyncio.gather(*tasks)
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
response = await handler_obj.handler(*args, **partial_data)
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 246, in process_update
return await self.message_handlers.notify(update.message)
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\handler.py", line 117, in notify
response = await handler_obj.handler(*args, **partial_data)
"C:\test\aiogramtest.py", line 14, in test
await chat.update_chat()
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\chat.py", line 123, in update_chat
self[key] = value
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\base.py", line 226, in __setitem__
return self.props[key].set_value(self, value, self.conf.get('parent', None))
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\fields.py", line 57, in set_value
value = self.deserialize(value, parent)
"C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\fields.py", line 114, in deserialize
parent = weakref.ref(parent)
TypeError: cannot create weak reference to 'NoneType' object
| `Traceback (most recent call last):
"recognize.py", line 32, in <module>
seq_len = tf.not_equal(x.sg_sum(axis=2), 0.).sg_int().sg_sum(axis=1)
"/usr/local/lib/python2.7/site-packages/sugartensor/sg_main.py", line 170, in wrapper
out = func(tensor, tf.sg_opt(kwargs))
"/usr/local/lib/python2.7/site-packages/sugartensor/sg_transform.py", line 334, in sg_sum
return tf.reduce_sum(tensor, axis=opt.axis, keep_dims=opt.keep_dims, name=opt.name)
TypeError: reduce_sum() got an unexpected keyword argument 'axis'`
| 0.517705 |
Traceback (most recent call last):
"./cmd.py", line 16, in <module>
print device.Shell('echo %d' % i)
"/usr/local/lib/python2.7/site-packages/adb/adb_commands.py", line 227, in Shell
timeout_ms=timeout_ms)
"/usr/local/lib/python2.7/site-packages/adb/adb_protocol.py", line 369, in Command
return ''.join(cls.StreamingCommand(usb, service, command, timeout_ms))
"/usr/local/lib/python2.7/site-packages/adb/adb_protocol.py", line 394, in StreamingCommand
for data in connection.ReadUntilClose():
AttributeError: 'NoneType' object has no attribute 'ReadUntilClose'
| Traceback (most recent call last):
"/usr/local/lib/python3.8/site-packages/wiffi/__init__.py", line 155, in __call__
except asyncio.streams.IncompleteReadError:
AttributeError: module 'asyncio.streams' has no attribute 'IncompleteReadError'
| 0.602479 |
Traceback (most recent call last):
"/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
"/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
"/usr/local/lib/python3.8/contextlib.py", line 75, in inner
return func(*args, **kwds)
"/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
"/usr/local/lib/python3.8/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
"/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
"/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
"/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
"/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
"/usr/local/lib/python3.8/site-packages/rest_framework_bulk/drf3/mixins.py", line 29, in create
return super(BulkCreateModelMixin, self).create(request, *args, **kwargs)
"/usr/local/lib/python3.8/site-packages/rest_framework/mixins.py", line 19, in create
self.perform_create(serializer)
"/opt/jumpserver/apps/users/api/user.py", line 83, in perform_create
users = serializer.save()
"/usr/local/lib/python3.8/site-packages/rest_framework/serializers.py", line 205, in save
self.instance = self.create(validated_data)
"/usr/local/lib/python3.8/site-packages/rest_framework/serializers.py", line 964, in create
field.set(value)
"/usr/local/lib/python3.8/site-packages/django/db/models/fields/related_descriptors.py", line 1015, in set
self.add(*new_objs, through_defaults=through_defaults)
"/usr/local/lib/python3.8/site-packages/django/db/models/fields/related_descriptors.py", line 950, in add
self._add_items(
"/usr/local/lib/python3.8/site-packages/django/db/models/fields/related_descriptors.py", line 1159, in _add_items
signals.m2m_changed.send(
"/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 177, in send
return [
"/usr/local/lib/python3.8/site-packages/django/dispatch/dispatcher.py", line 178, in <listcomp>
(receiver, receiver(signal=self, sender=sender, **named))
"/opt/jumpserver/apps/perms/signals_handler/refresh_perms.py", line 31, in on_user_groups_change
group = UserGroup.objects.get(id=group_ids[0])
TypeError: 'set' object is not subscriptable
| Traceback (most recent call last):
"/usr/tvm/tutorials/frontend/from_tensorflow.py", line 104, in <module>
shape=shape_dict)
"/usr/tvm/python/tvm/relay/frontend/tensorflow.py", line 2349, in from_tensorflow
mod, params = g.from_tensorflow(graph, layout, shape, outputs)
"/usr/tvm/python/tvm/relay/frontend/tensorflow.py", line 1994, in from_tensorflow
op = self._convert_operator(node.op, inputs, attr, graph)
"/usr/tvm/python/tvm/relay/frontend/tensorflow.py", line 2312, in _convert_operator
sym = convert_map[op_name](inputs, attrs, self._params)
"/usr/tvm/python/tvm/relay/frontend/tensorflow.py", line 469, in _impl
custom_check=_dimension_constraint())([inputs[0], inputs[1]], attr)
"/usr/tvm/python/tvm/relay/frontend/tensorflow.py", line 155, in __call__
return _get_relay_op(op_name)(*inputs, **new_attrs)
TypeError: conv2d() got an unexpected keyword argument 'explicit_paddings'
| 0.607797 |
Traceback (most recent call last):
"/usr/lib/python3/dist-packages/openshot.py", line 14, in swig_import_helper
return importlib.import_module(mname)
"/usr/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 658, in _load_unlocked
"<frozen importlib._bootstrap>", line 571, in module_from_spec
"<frozen importlib._bootstrap_external>", line 922, in create_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /usr/local/lib/python3.6/dist-packages/PyQt5/Qt/lib/libQt5Core.so.5: version `Qt_5.11' not found (required by /usr/lib/python3/dist-packages/_openshot.cpython-36m-x86_64-linux-gnu.so)
| Traceback (most recent call last):
"~/git/.venv/lib/python3.6/site-packages/celery/worker/worker.py", line 203, in start
self.blueprint.start(self)
"~/git/.venv/lib/python3.6/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
"~/git/.venv/lib/python3.6/site-packages/celery/bootsteps.py", line 370, in start
return self.obj.start()
"~/git/.venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 320, in start
blueprint.start(self)
"~/git/.venv/lib/python3.6/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
"~/git/.venv/lib/python3.6/site-packages/celery/worker/consumer/consumer.py", line 596, in start
c.loop(*c.loop_args())
"~/git/.venv/lib/python3.6/site-packages/celery/worker/loops.py", line 88, in asynloop
next(loop)
"~/git/.venv/lib/python3.6/site-packages/kombu/async/hub.py", line 291, in create_loop
item()
"~/git/.venv/lib/python3.6/site-packages/vine/promises.py", line 143, in __call__
return self.throw()
"~/git/.venv/lib/python3.6/site-packages/vine/promises.py", line 140, in __call__
retval = fun(*final_args, **final_kwargs)
"~/git/.venv/lib/python3.6/site-packages/kombu/transport/SQS.py", line 316, in _schedule_queue
queue, callback=promise(self._loop1, (queue,)),
"~/git/.venv/lib/python3.6/site-packages/kombu/transport/SQS.py", line 332, in _get_bulk_async
return self._get_async(queue, maxcount, callback=callback)
"~/git/.venv/lib/python3.6/site-packages/kombu/transport/SQS.py", line 342, in _get_async
qname, count=count, connection=self.asynsqs,
"~/git/.venv/lib/python3.6/site-packages/kombu/transport/SQS.py", line 436, in asynsqs
region=self.region
"~/git/.venv/lib/python3.6/site-packages/kombu/async/aws/sqs/connection.py", line 27, in __init__
**kwargs
"~/git/.venv/lib/python3.6/site-packages/kombu/async/aws/connection.py", line 178, in __init__
**http_client_params)
"~/git/.venv/lib/python3.6/site-packages/kombu/async/aws/connection.py", line 151, in __init__
self._httpclient = http_client or get_client()
"~/git/.venv/lib/python3.6/site-packages/kombu/async/http/__init__.py", line 22, in get_client
client = hub._current_http_client = Client(hub, **kwargs)
"~/git/.venv/lib/python3.6/site-packages/kombu/async/http/__init__.py", line 13, in Client
return CurlClient(hub, **kwargs)
"~/git/.venv/lib/python3.6/site-packages/kombu/async/http/curl.py", line 43, in __init__
raise ImportError('The curl client requires the pycurl library.')
ImportError: The curl client requires the pycurl library.
| 0.628338 |
2017-04-18 14:02:05 tornado.application:ERROR Future exception was never retrieved: Traceback (most recent call last):
"/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run
yielded = self.gen.throw(*exc_info)
"/usr/local/lib/python2.7/site-packages/thumbor/transformer.py", line 152, in smart_detect
yield self.do_smart_detection()
"/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
value = future.result()
"/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
raise_exc_info(self._exc_info)
"/usr/local/lib/python2.7/site-packages/tornado/gen.py", line 1069, in run
yielded = self.gen.send(value)
"/usr/local/lib/python2.7/site-packages/thumbor/transformer.py", line 180, in do_smart_detection
detectors[0](self.context, index=0, detectors=detectors).detect(self.after_smart_detect)
"/usr/local/lib/python2.7/site-packages/thumbor/detectors/feature_detector/__init__.py", line 43, in detect
for x, y in points.squeeze():
TypeError: 'numpy.float32' object is not iterable
| Traceback (most recent call last):
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/clidriver.py", line 217, in main
return command_table[parsed_args.command](remaining, parsed_args)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/commands.py", line 189, in __call__
return self.subcommand_table[parsed_args.subcommand](remaining,
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/commands.py", line 187, in __call__
return self._run_main(parsed_args, parsed_globals)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/s3/subcommands.py", line 478, in _run_main
self._list_all_buckets()
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/awscli/customizations/s3/subcommands.py", line 543, in _list_all_buckets
response_data = self.client.list_buckets()
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 612, in _make_api_call
http, parsed_response = self._make_request(
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/client.py", line 632, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 132, in _send_request
request = self.create_request(request_dict, operation_model)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/endpoint.py", line 115, in create_request
self._event_emitter.emit(event_name, request=request,
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 90, in handler
return self.sign(operation_name, request)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 152, in sign
auth = self.get_auth_instance(**kwargs)
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/signers.py", line 232, in get_auth_instance
frozen_credentials = self._credentials.get_frozen_credentials()
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 591, in get_frozen_credentials
self._refresh()
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 473, in _refresh
if not self.refresh_needed(self._advisory_refresh_timeout):
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 459, in refresh_needed
if self._seconds_remaining() >= refresh_in:
"/home/ANT.AMAZON.COM/lausen/.pyenv/versions/3.8.0-debug/lib/python3.8/site-packages/botocore/credentials.py", line 428, in _seconds_remaining
delta = self._expiry_time - self._time_fetcher()
TypeError: can't subtract offset-naive and offset-aware datetimes
| 0.557496 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/ampolloreno/repos/pyquil/pyquil/paulis.py", line 348, in __eq__
return self == PauliSum(other)
"/home/ampolloreno/repos/pyquil/pyquil/paulis.py", line 332, in __init__
raise ValueError("PauliSum's are currently constructed from Sequences of PauliTerms.")
ValueError: PauliSum's are currently constructed from Sequences of PauliTerms.
| Traceback (most recent call last):
"/home/jesse/sources/jumpcutter/jumpcutter.py", line 187, in <module>
wavfile.write(TEMP_FOLDER+"/audioNew.wav",SAMPLE_RATE,outputAudioData)
"/home/jesse/.local/lib/python3.8/site-packages/scipy/io/wavfile.py", line 428, in write
raise ValueError("Data exceeds wave file size limit")
ValueError: Data exceeds wave file size limit
| 0.492756 |
Traceback (most recent call last):
"/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/model.py", line 1695, in data_generator
use_mini_mask=config.USE_MINI_MASK)
"/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/model.py", line 1218, in load_image_gt
mask = utils.resize_mask(mask, scale, padding, crop)
"/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/utils.py", line 513, in resize_mask
mask = scipy.ndimage.zoom(mask, zoom=[scale, scale, 1], order=0)
"/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/scipy/ndimage/interpolation.py", line 606, in zoom
zoom = _ni_support._normalize_sequence(zoom, input.ndim)
"/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/scipy/ndimage/_ni_support.py", line 65, in _normalize_sequence
raise RuntimeError(err)
RuntimeError: sequence argument must have length equal to input rank
| Traceback (most recent call last):
"<ipython-input-1-4d0fd1617f36>", line 1, in <module>
runfile('/home/visual/andche/MRI_DATA/andche_pipeline_v1.py', wdir='/home/visual/andche/MRI_DATA')
"/project/3019005.02/conda/nipype/lib/python2.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 668, in runfile
execfile(filename, namespace)
"/project/3019005.02/conda/nipype/lib/python2.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 100, in execfile
builtins.execfile(filename, *where)
"/home/visual/andche/MRI_DATA/andche_pipeline_v1.py", line 629, in <module>
flow.run('PBS', plugin_args={'max_jobs':100, 'qsub_args' : '-l walltime=00:20:00,mem=8g', 'template':'#!/bin/sh\necho `date "+%Y%m%d-%H%M%S"`\nsource activate /project/3019005.02/conda/nipype\n', 'max_tries':3,'retry_timeout': 5, 'max_jobname_len': 15})
"/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 595, in run
runner.run(execgraph, updatehash=updatehash, config=self.config)
"/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/plugins/base.py", line 162, in run
self._clean_queue(jobid, graph, result=result))
"/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/plugins/base.py", line 224, in _clean_queue
raise RuntimeError("".join(result['traceback']))
RuntimeError: Traceback (most recent call last):
| 0.532504 |
Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/forseti_security-2.1.0-py2.7.egg/google/cloud/forseti/services/inventory/inventory.py", line 255, in do_inventory
background)
"/usr/local/lib/python2.7/dist-packages/forseti_security-2.1.0-py2.7.egg/google/cloud/forseti/services/inventory/inventory.py", line 202, in run_import
background)
"/usr/local/lib/python2.7/dist-packages/forseti_security-2.1.0-py2.7.egg/google/cloud/forseti/services/client.py", line 295, in new_model
background=background))
"/usr/local/lib/python2.7/dist-packages/grpc/_interceptor.py", line 201, in __call__
credentials=credentials)
"/usr/local/lib/python2.7/dist-packages/grpc/_interceptor.py", line 225, in _with_call
continuation, client_call_details, request)
"/usr/local/lib/python2.7/dist-packages/opencensus/trace/ext/grpc/client_interceptor.py", line 174, in intercept_unary_unary
response.add_done_callback(self._callback(current_span))
"/usr/local/lib/python2.7/dist-packages/grpc/_interceptor.py", line 186, in add_done_callback
fn(self)
"/usr/local/lib/python2.7/dist-packages/opencensus/trace/ext/grpc/client_interceptor.py", line 141, in callback
self._trace_future_exception(future_response)
"/usr/local/lib/python2.7/dist-packages/opencensus/trace/ext/grpc/client_interceptor.py", line 148, in _trace_future_exception
exception = response.exception(timeout=TIMEOUT)
TypeError: exception() got an unexpected keyword argument 'timeout'
| Traceback (most recent call last):
"/home/abdulla/dassaq/bin/ldapdomaindump", line 3, in <module>
ldapdomaindump.main()
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldapdomaindump/__init__.py", line 944, in main
dd.domainDump()
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldapdomaindump/__init__.py", line 416, in domainDump
self.groups = self.getAllGroups()
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldapdomaindump/__init__.py", line 253, in getAllGroups
self.connection.extend.standard.paged_search(self.root, '(objectClass=group)', attributes=ldap3.ALL_ATTRIBUTES, paged_size=500, generator=False)
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/extend/__init__.py", line 125, in paged_search
paged_criticality)
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/extend/standard/PagedSearch.py", line 142, in paged_search_accumulator
paged_criticality):
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/extend/standard/PagedSearch.py", line 68, in paged_search_generator
None if cookie is True else cookie)
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/core/connection.py", line 839, in search
response = self.post_send_search(self.send('searchRequest', request, controls))
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/strategy/sync.py", line 139, in post_send_search
responses, result = self.get_response(message_id)
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/strategy/base.py", line 411, in get_response
if self.do_search_on_auto_range(self._outstanding[message_id], response):
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/strategy/base.py", line 735, in do_search_on_auto_range
self.do_next_range_search(request, resp, attr_name)
"/home/abdulla/dassaq/lib/python3.6/site-packages/ldap3/strategy/base.py", line 688, in do_next_range_search
response['raw_attributes'][attr_type] += current_response['raw_attributes'][attr_name]
TypeError: list indices must be integers or slices, not str
| 0.535311 |
Traceback (most recent call last):
"src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
"/home/lefteris/ew/raiden/raiden/network/transport/matrix.py", line 458, in _handle_message
self._receive_message(message)
"/home/lefteris/ew/raiden/raiden/network/transport/matrix.py", line 497, in _receive_message
message_sender=pex(message.sender),
"/home/lefteris/ew/raiden/raiden/utils/__init__.py", line 112, in pex
return hexlify(data).decode()[:8]
TypeError: a bytes-like object is required, not 'NoneType'
| > 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
| 0.563634 |
Traceback (most recent call last):
"client.py", line 434, in <module>
main()
"client.py", line 192, in main
dropper = _dropper(options, var=var, key=key, modu
"client.py", line 416, in _dropper
name = generators.freeze(name, icon=options.icon,
"C:\Users\Name\Desktop\byob-master\byob\core\ge
if 'EXE' in line and 'complete' in line: break
TypeError: a bytes-like object is required, not 'str'
| Traceback (most recent call last):
"/usr/local/lib/python3.7/site-packages/airflow/models/taskinstance.py", line 984, in _run_raw_task
result = task_copy.execute(context=context)
"/usr/local/lib/python3.7/site-packages/airflow/operators/python_operator.py", line 113, in execute
return_value = self.execute_callable()
"/usr/local/lib/python3.7/site-packages/airflow/operators/python_operator.py", line 118, in execute_callable
return self.python_callable(*self.op_args, **self.op_kwargs)
"/usr/local/airflow/dags/test_dag_2.py", line 44, in run_this_func
print("Remotely received value of {} for key=message".format(context["dag_run"].conf["message"]))
TypeError: 'NoneType' object is not subscriptable
| 0.603872 |
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):
"/opt/AlexaPi/src/main.py", line 584, in <module>
token = Token(config['alexa'])
"/opt/AlexaPi/src/main.py", line 234, in __init__
if not self._aconfig.get('refresh_token'):
AttributeError: 'str' object has no attribute 'get'
| 0.498179 |
[!] 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):
"/home/forge/local/lib/python2.7/site-packages/raven/base.py", line 249, in handle_exception
self.captureException(exc_info=exc_info, level='fatal')
"/home/forge/local/lib/python2.7/site-packages/raven/base.py", line 781, in captureException
'raven.events.Exception', exc_info=exc_info, **kwargs)
"/home/forge/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 43, in capture
return super(SentryInternalClient, self).capture(*args, **kwargs)
"/home/forge/local/lib/python2.7/site-packages/raven/contrib/django/client.py", line 284, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
"/home/forge/local/lib/python2.7/site-packages/raven/base.py", line 610, in capture
self.send(**data)
"/home/forge/local/lib/python2.7/site-packages/sentry/utils/raven.py", line 64, in send
from sentry.coreapi import ClientApiHelper
"/home/forge/local/lib/python2.7/site-packages/sentry/coreapi.py", line 28, in <module>
from sentry import filters
"/home/forge/local/lib/python2.7/site-packages/sentry/filters/__init__.py", line 8, in <module>
from .base import Filter
# NOQA
"/home/forge/local/lib/python2.7/site-packages/sentry/filters/base.py", line 5, in <module>
from sentry.models import ProjectOption
"/home/forge/local/lib/python2.7/site-packages/sentry/models/__init__.py", line 14, in <module>
import_submodules(globals(), __name__, __path__)
"/home/forge/local/lib/python2.7/site-packages/sentry/utils/imports.py", line 52, in import_submodules
module = __import__(module_name, globals(), locals(), ['__name__'])
"/home/forge/local/lib/python2.7/site-packages/sentry/models/deploy.py", line 11, in <module>
from sentry.app import locks
"/home/forge/local/lib/python2.7/site-packages/sentry/app.py", line 15, in <module>
from sentry.utils.locking.backends.redis import RedisLockBackend
"/home/forge/local/lib/python2.7/site-packages/sentry/utils/locking/backends/redis.py", line 10, in <module>
delete_lock = redis.load_script('utils/locking/delete_lock.lua')
"/home/forge/local/lib/python2.7/site-packages/sentry/utils/redis.py", line 145, in load_script
script = Script(None, resource_string('sentry', posixpath.join('scripts', path)))
"/home/forge/local/lib/python2.7/site-packages/redis/client.py", line 2930, in __init__
encoder = registered_client.connection_pool.get_encoder()
AttributeError: 'NoneType' object has no attribute 'connection_pool'
| 0.635082 |
Traceback (most recent call last):
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 182, in handle_request
resp.write(item)
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/http/wsgi.py", line 344, in write
raise TypeError('%r is not a byte' % arg)
TypeError: ['
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/workers/base.py", line 136, in load_wsgi\n
self.wsgi = self.app.wsgi()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 67, in wsgi\n
self.callable = self.load()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 63, in load\n
return self.load_pasteapp()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 59, in load_pasteapp\n
return load_pasteapp(self.cfgurl, self.relpath, global_conf=None)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/gunicorn/app/pasterapp.py", line 69, in load_pasteapp\n
global_conf=global_conf)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp\n
return loadobj(APP, uri, name=name, **kw)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj\n
return context.create()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create\n
return self.object_type.invoke(self)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke\n
return fix_call(context.object, context.global_conf, **context.local_conf)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call\n
val = callable(*args, **kw)\n', '
"/allura/Allura/allura/config/middleware.py", line 72, in make_app\n
return _make_core_app(root, global_conf, full_stack, **app_conf)\n', '
"/allura/Allura/allura/config/middleware.py", line 121, in _make_core_app\n
load_environment(global_conf, app_conf)\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/tg/configuration.py", line 641, in load_environment\n
self.setup_helpers_and_globals()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/tg/configuration.py", line 304, in setup_helpers_and_globals\n
config[\'pylons.app_globals\'] = self.package.lib.app_globals.Globals()\n', '
"/allura/Allura/allura/lib/app_globals.py", line 295, in __init__\n
tool=_cache_eps(\'allura\', dict_cls=utils.CaseInsensitiveDict),\n', '
"/allura/Allura/allura/lib/app_globals.py", line 284, in _cache_eps\n
value = ep.load()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load\n
return self.resolve()\n', '
"/allura-data/virtualenv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve\n
module = __import__(self.module_name, fromlist=[\'__name__\'], level=0)\n', '
"/allura/Allura/allura/ext/user_profile/__init__.py", line 18, in <module>\n
from .user_main import UserProfileApp, ProfileSectionBase\n', '
"/allura/Allura/allura/ext/user_profile/user_main.py", line 35, in <module>\n
from allura.app import Application, SitemapEntry\n', '
"/allura/Allura/allura/app.py", line 45, in <module>\n
from allura.controllers import BaseController\n', '
"/allura/Allura/allura/controllers/__init__.py", line 21, in <module>\n
from .discuss import DiscussionController, AppDiscussionController, ThreadController, PostController\n'] is not a byte
| Traceback (most recent call last):
"hypothesis/hello_hypothesis.py", line 7, in test_reverse_reverse
@given(lists(integers()))
"/home/juanrh/.local/lib/python3.6/site-packages/hypothesis/core.py", line 1003, in wrapped_test
get_trimmed_traceback()
"/home/juanrh/.local/lib/python3.6/site-packages/hypothesis/internal/escalation.py", line 99, in get_trimmed_traceback
is_hypothesis_file(getframeinfo(tb.tb_frame)[0])
"/usr/lib/python3.6/inspect.py", line 1452, in getframeinfo
lines, lnum = findsource(frame)
"/usr/lib/python3.6/inspect.py", line 780, in findsource
module = getmodule(object, file)
"/usr/lib/python3.6/inspect.py", line 733, in getmodule
if ismodule(module) and hasattr(module, '__file__'):
"/usr/lib/python3/dist-packages/py/_vendored_packages/apipkg.py", line 195, in __getattribute__
return getattr(getmod(), name)
"/usr/lib/python3/dist-packages/py/_vendored_packages/apipkg.py", line 179, in getmod
x = importobj(modpath, None)
"/usr/lib/python3/dist-packages/py/_vendored_packages/apipkg.py", line 69, in importobj
module = __import__(modpath, None, None, ['__doc__'])
"/usr/lib/python3/dist-packages/pytest.py", line 13, in <module>
from _pytest.fixtures import fixture, yield_fixture
"/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 842, in <module>
class FixtureFunctionMarker(object):
"/usr/lib/python3/dist-packages/_pytest/fixtures.py", line 844, in FixtureFunctionMarker
params = attr.ib(convert=attr.converters.optional(tuple))
TypeError: attrib() got an unexpected keyword argument 'convert'
| 0.639074 |
Traceback (most recent call last):
"/home/fab/Documents/repos/home-assistant-appdaemon/bin/appdaemon", line 11, in <module>
sys.exit(main())
"/home/fab/Documents/repos/home-assistant-appdaemon/lib64/python3.6/site-packages/appdaemon/admain.py", line 198, in main
config.read_file(open(config_file_conf))
TypeError: expected str, bytes or os.PathLike object, not NoneType
| Traceback (most recent call last):
"pyexcel.py", line 5, in <module>
sheet.save_as('sortables.html',display_length=10)
"/Users/Python/pyexcel/pyexcel/internal/meta.py", line 281, in save_as
**keywords)
"/Users/Python/pyexcel/pyexcel/internal/core.py", line 43, in save_sheet
return _save_any(a_source, sheet)
"/Users/Python/pyexcel/pyexcel/internal/core.py", line 55, in _save_any
a_source.write_data(instance)
"/Users/Python/pyexcel/pyexcel/plugins/sources/file_output.py", line 29, in write_data
sheet, **self._keywords)
"/Users/Python/pyexcel/pyexcel/renderer.py", line 85, in render_sheet_to_file
self.render_sheet(sheet, **keywords)
TypeError: render_sheet() got an unexpected keyword argument 'display_length' | 0.483913 |
Traceback (most recent call last):
"Desktop/label_spreading.py", line 38, in <module>
label_prop_model.fit(iris.data, labels)
"/Users/lucapuggini/VirtualEnvs/python3_6/lib/python3.6/site-packages/sklearn/semi_supervised/label_propagation.py", line 229, in fit
graph_matrix = self._build_graph()
"/Users/lucapuggini/VirtualEnvs/python3_6/lib/python3.6/site-packages/sklearn/semi_supervised/label_propagation.py", line 517, in _build_graph
laplacian = sparse.csgraph.laplacian(affinity_matrix, normed=True)
AttributeError: module 'scipy.sparse' has no attribute 'csgraph'
| Traceback (most recent call last):
"path/to/dir/venv/lib/python3.7/site-packages/faker/generator.py", line 83, in get_formatter
return getattr(self, formatter)
AttributeError: 'Generator' object has no attribute 'first_name'
| 0.561613 |
Traceback (most recent call last):
"/project_dir/env/lib/python3.5/site-packages/coremltools/converters/nnssa/frontend/graph_pass/type_inference.py", line 86, in visit
ret = visitor(node)
"/project_dir/env/lib/python3.5/site-packages/coremltools/converters/nnssa/frontend/graph_pass/type_inference.py", line 978, in visit_Reshape
left_volume = left_volume * i
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
| Traceback (most recent call last):
"/usr/lib/python3.6/logging/__init__.py", line 994, in emit
msg = self.format(record)
"/usr/lib/python3.6/logging/__init__.py", line 840, in format
return fmt.format(record)
"/usr/lib/python3.6/logging/__init__.py", line 577, in format
record.message = record.getMessage()
"/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
| 0.590567 |
Traceback (most recent call last):
"C:\Python36\lib\weakref.py", line 624, in _exitfunc
"C:\Python36\lib\weakref.py", line 548, in __call__
"C:\Python36\lib\tempfile.py", line 797, in _cleanup
"C:\Python36\lib\shutil.py", line 494, in rmtree
"C:\Python36\lib\shutil.py", line 376, in _rmtree_unsafe
"C:\Python36\lib\shutil.py", line 374, in _rmtree_unsafe
NotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\ederenn\\AppData\\Local\\Temp\\tmpydcgk346'
| Traceback (most recent call last):
"dvc/main.py", line 90, in main
"dvc/command/run.py", line 60, in run
"dvc/repo/__init__.py", line 54, in wrapper
"dvc/repo/scm_context.py", line 4, in run
"dvc/repo/run.py", line 132, in run
"dvc/stage/__init__.py", line 455, in ignore_outs
"dvc/output/base.py", line 250, in ignore
"dvc/scm/git/__init__.py", line 209, in ignore
"dvc/scm/git/__init__.py", line 218, in _add_entry_to_gitignore
NotFoundError: [Errno 2] No such file or directory: '/Users/hlib/dev/dvc-sample/yy/foo/.gitignore'
| 0.62424 |
Traceback (most recent call last):
"/Users/poudel/opt/miniconda3/envs/dataSc/lib/python3.7/site-packages/optuna/study.py", line 709, in _run_trial
result = func(trial)
"<ipython-input-2-992a83133a8f>", line 58, in objective
acc = accuracy_score(yvalid,vd_preds)
"/Users/poudel/opt/miniconda3/envs/dataSc/lib/python3.7/site-packages/sklearn/utils/validation.py", line 73, in inner_f
return f(**kwargs)
"/Users/poudel/opt/miniconda3/envs/dataSc/lib/python3.7/site-packages/sklearn/metrics/_classification.py", line 187, in accuracy_score
y_type, y_true, y_pred = _check_targets(y_true, y_pred)
"/Users/poudel/opt/miniconda3/envs/dataSc/lib/python3.7/site-packages/sklearn/metrics/_classification.py", line 91, in _check_targets
"and {1} targets".format(type_true, type_pred))
ValueError: Classification metrics can't handle a mix of multiclass and continuous-multioutput targets
| Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 20, in _handle_async_response
await func(hass, connection, msg)
"/usr/src/homeassistant/homeassistant/components/auth/__init__.py", line 487, in websocket_create_long_lived_access_token
access_token_expiration=timedelta(days=msg["lifespan"]),
"/usr/src/homeassistant/homeassistant/auth/__init__.py", line 384, in async_create_refresh_token
"System generated users can only have system type refresh tokens"
ValueError: System generated users can only have system type refresh tokens
| 0.532865 |
Traceback (most recent call last):
"imagenet_example.py", line 248, in <module>
main(get_args())
"imagenet_example.py", line 229, in main
model = ImageNetLightningModel(hparams)
TypeError: Can't instantiate abstract class ImageNetLightningModel with abstract methods forward
| Traceback (most recent call last):
"<ipython-input-1-ccf0947de573>", line 352, in nn_smac
incumbent = smac.optimize()
"/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/facade/smac_facade.py", line 410, in optimize
fn=os.path.join(self.output_dir, "runhistory.json")
"/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 333, in save_json
"configs": configs}, fp, cls=EnumEncoder)
"/home/wenjian/anaconda3/lib/python3.6/json/__init__.py", line 179, in dump
for chunk in iterable:
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 430, in _iterencode
yield from _iterencode_dict(o, _current_indent_level)
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict
yield from chunks
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict
yield from chunks
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 404, in _iterencode_dict
yield from chunks
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 437, in _iterencode
o = _default(o)
"/home/wenjian/anaconda3/lib/python3.6/site-packages/smac/runhistory/runhistory.py", line 38, in default
return json.JSONEncoder.default(self, obj)
"/home/wenjian/anaconda3/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'function' is not JSON serializable | 0.568155 |
Traceback (most recent call last):
"/home/murphy/Diamond-master/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
"/home/murphy/Diamond-master/src/diamond/handler/test/testtsdb.py", line 405, in test_network_metrics_default
mock_urlopen.assert_called_with(self.url, body, header)
"/home/murphy/Diamond-master/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
six.raise_from(AssertionError(_error_message(cause)), cause)
"/home/murphy/Diamond-master/.tox/py27/local/lib/python2.7/site-packages/six.py", line 718, in raise_from
raise value
AssertionError: Expected call: Request('http://127.0.0.1:4242/api/put', '[{"timestamp": 1234567, "metric": "network.rx_packets", "value": 80, "tags": {"interface": "IF", "myFirstTag": "myValue", "hostname": "myhostname"}}]', {'Content-Type': 'application/json'})
| `Traceback (most recent call last):
"/content/drive/My Drive/mask rcnn/mrcnn/model.py", line 1709, in data_generator
use_mini_mask=config.USE_MINI_MASK)
"/content/drive/My Drive/mask rcnn/mrcnn/model.py", line 1257, in load_image_gt
assert mask.shape == mask_shape, "Augmentation shouldn't change mask size"
AssertionError: Augmentation shouldn't change mask size`
| 0.518589 |
Traceback (most recent call last):
"create.py", line 32, in <module>
client.services.create(**params)
"/usr/lib/python2.7/site-packages/docker/models/services.py", line 177, in create
service_id = self.client.api.create_service(**create_kwargs)
"/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 34, in wrapper
return f(self, *args, **kwargs)
"/usr/lib/python2.7/site-packages/docker/api/service.py", line 137, in create_service
auth_header = auth.get_config_header(self, registry)
AttributeError: 'module' object has no attribute 'get_config_header'
| Traceback (most recent call last):
"/Users/brunorijsman/.pyenv/versions/3.8.6/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
"/Users/brunorijsman/mdi-qkd-mark-4/venv/lib/python3.8/site-packages/grpclib/protocol.py", line 712, in data_received
events = self.connection.feed(data)
"/Users/brunorijsman/mdi-qkd-mark-4/venv/lib/python3.8/site-packages/grpclib/protocol.py", line 189, in feed
return self._connection.receive_data(data)
# type: ignore
"/Users/brunorijsman/mdi-qkd-mark-4/venv/lib/python3.8/site-packages/h2/connection.py", line 1463, in receive_data
events.extend(self._receive_frame(frame))
"/Users/brunorijsman/mdi-qkd-mark-4/venv/lib/python3.8/site-packages/h2/connection.py", line 1486, in _receive_frame
frames, events = self._frame_dispatch_table[frame.__class__](frame)
AttributeError: 'H2Connection' object has no attribute '_frame_dispatch_table'
| 0.609218 |
Traceback (most recent call last):
"/usr/lib/python3/dist-packages/django/test/utils.py", line 371, in inner
return func(*args, **kwargs)
"/home/vagrant/django-axes/axes/tests/test_access_attempt_config.py", line 192, in test_lockout_by_user_with_empty_username_allows_other_users_without_cache
self._lockout_user_from_ip(username='', ip_addr=self.IP_1)
"/home/vagrant/django-axes/axes/tests/test_access_attempt_config.py", line 59, in _lockout_user_from_ip
ip_addr=ip_addr,
"/home/vagrant/django-axes/axes/tests/test_access_attempt_config.py", line 50, in _login
reverse('admin:login'), post_data, REMOTE_ADDR=ip_addr, **headers
"/usr/lib/python3/dist-packages/django/test/client.py", line 525, in post
response = super().post(path, data=data, content_type=content_type, secure=secure, **extra)
"/usr/lib/python3/dist-packages/django/test/client.py", line 341, in post
secure=secure, **extra)
"/usr/lib/python3/dist-packages/django/test/client.py", line 404, in generic
return self.request(**r)
"/usr/lib/python3/dist-packages/django/test/client.py", line 485, in request
raise exc_info[0](exc_info[1]).with_traceback(exc_info[2])
"/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 35, in inner
response = get_response(request)
"/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
"/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
"/usr/lib/python3/dist-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
"/usr/lib/python3/dist-packages/django/contrib/admin/sites.py", line 382, in login
self.each_context(request),
"/usr/lib/python3/dist-packages/django/contrib/admin/sites.py", line 301, in each_context
'has_permission': self.has_permission(request),
"/usr/lib/python3/dist-packages/django/contrib/admin/sites.py", line 186, in has_permission
return request.user.is_active and request.user.is_staff
AttributeError: 'WSGIRequest' object has no attribute 'user'
| Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/tornado/web.py", line 1270, in _when_complete
callback()
"/usr/lib/python2.7/site-packages/tornado/web.py", line 1291, in _execute_method
self._when_complete(method(*self.path_args, **self.path_kwargs),
"/home/depierre/git-repo/gsoc2014/owtf/framework/interface/ui_handlers.py", line 349, in get
target_id=target_id)
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/target_manager.py", line 56, in wrapped_function
return func(*args, **kwargs)
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/poutput_manager.py", line 102, in GetAll
return(self.DeriveOutputDicts(results, target_id=target_id))
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/target_manager.py", line 56, in wrapped_function
return func(*args, **kwargs)
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/poutput_manager.py", line 41, in DeriveOutputDicts
dict_list.append(self.DeriveOutputDict(obj, target_id=target_id))
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/target_manager.py", line 56, in wrapped_function
return func(*args, **kwargs)
"/home/depierre/git-repo/gsoc2014/owtf/framework/db/poutput_manager.py", line 30, in DeriveOutputDict
pdict["start_time"] = obj.start_time.strftime(
AttributeError: 'unicode' object has no attribute 'strftime'``` | 0.627944 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
AttributeError: module 'mesh_tensorflow' has no attribute 'Graph'
| Traceback (most recent call last):
"c:\users\flame\desktop\random\testingredbot\reddev\venv\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
"c:\users\flame\desktop\random\testingredbot\reddev\venv\lib\site-packages\redbot\cogs\modlog\modlog.py", line 106, in case
await ctx.send(embed=await case.message_content(embed=True))
"c:\users\flame\desktop\random\testingredbot\reddev\venv\lib\site-packages\redbot\core\modlog.py", line 207, in message_content
filter_invites(f"{self.user} ({self.user.id})")
AttributeError: 'NoneType' object has no attribute 'id'
| 0.555795 |
Traceback (most recent call last):
"export2onnx.py", line 62, in <module>
model.export_onnx()
"export2onnx.py", line 57, in export_onnx
return onnx_mxnet.export_model(sym, params, [self.input_shape], np.float32, self.onnx_model)
"C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\mxnet\contrib\onnx\mx2onnx\export_model.py", line 83, in export_model
verbose=verbose)
"C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\mxnet\contrib\onnx\mx2onnx\export_onnx.py", line 253, in create_onnx_graph_proto
idx=idx
"C:\Users\Administrator\AppData\Roaming\Python\Python37\site-packages\mxnet\contrib\onnx\mx2onnx\export_onnx.py", line 90, in convert_layer
raise AttributeError("No conversion function registered for op type %s yet." % op)
AttributeError: No conversion function registered for op type topk yet. | Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/components/ambient_station/__init__.py", line 439, in ws_connect
await self._attempt_connect()
"/usr/src/homeassistant/homeassistant/components/ambient_station/__init__.py", line 350, in _attempt_connect
await self.client.websocket.connect()
"/usr/local/lib/python3.7/site-packages/aioambient/websocket.py", line 76, in connect
transports=["websocket"],
"/usr/local/lib/python3.7/site-packages/socketio/asyncio_client.py", line 108, in connect
engineio_path=socketio_path)
"/usr/local/lib/python3.7/site-packages/engineio/asyncio_client.py", line 76, in connect
url, headers, engineio_path)
"/usr/local/lib/python3.7/site-packages/engineio/asyncio_client.py", line 251, in _connect_websocket
ws = await self.http.ws_connect(
AttributeError: 'NoneType' object has no attribute 'ws_connect'
| 0.610144 |
Traceback (most recent call last):
"/usr/local/bin/lexicon", line 11, in <module>
sys.exit(main())
"/usr/local/lib/python2.7/dist-packages/lexicon/__main__.py", line 133, in main
handle_output(results, parsed_args.output)
"/usr/local/lib/python2.7/dist-packages/lexicon/__main__.py", line 109, in handle_output
table = generate_table_result(logger, results, output_type == 'TABLE-NO-HEADER')
"/usr/local/lib/python2.7/dist-packages/lexicon/__main__.py", line 75, in generate_table_result
array = [[row['id'], row['type'], row['name'], row['content'], row['ttl']] for row in output]
TypeError: string indices must be integers
| Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/application.py", line 290, in process
return self.handle()
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/application.py", line 281, in handle
return self._delegate(fn, self.fvars, args)
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/application.py", line 531, in _delegate
return handle_class(cls)
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/application.py", line 509, in handle_class
return tocall(*args)
"/home/christophe/PycharmProjects/PandLoRa/test.py", line 43, in GET
return render.index(True,"[email protected]","192.168.0.1")
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/template.py", line 1140, in template
return self._base(t(*a, **kw))
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/template.py", line 987, in __call__
return BaseTemplate.__call__(self, *a, **kw)
"/usr/local/lib/python3.5/dist-packages/web.py-0.40-py3.5.egg/web/template.py", line 898, in __call__
return self.t(*a, **kw)
TypeError: __template__() takes 0 positional arguments but 1 was given
| 0.587875 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.