text1
stringlengths 92
132k
| text2
stringlengths 83
99.1k
| score
float64 0.01
1
|
---|---|---|
Traceback (most recent call last):
"<ipython-input-33-af18c14c7097>", line 1, in <module>
integrate(Sum((-1)**k*x**k, (k,0,oo)).doit(), (x,0,1))
".\sympy\integrals\integrals.py", line 1295, in integrate
risch=risch, manual=manual)
".\sympy\integrals\integrals.py", line 553, in doit
evalued = Add(*others)._eval_interval(x, a, b)
".\sympy\functions\elementary\piecewise.py", line 272, in _eval_interval
int_expr = self._sort_expr_cond(sym, a, b)
".\sympy\functions\elementary\piecewise.py", line 343, in _sort_expr_cond
lower, upper = cond.lts, cond.gts
# part 1: initialize with givens
AttributeError: 'And' object has no attribute 'lts'
| Traceback (most recent call last):
".\test.py", line 24, in <module>
main().main_loop()
"C:\Program
s\Python37\lib\site-packages\toga_winforms\app.py", line 49, in main_loop
self._startup()
"C:\Program
s\Python37\lib\site-packages\toga_winforms\app.py", line 41, in _startup
self.startup()
"C:\Program
s\Python37\lib\site-packages\toga\interface\app.py", line 144, in startup
self.main_window.content = self._startup_method(self)
".\test.py", line 9, in build
box = toga.Box()
"C:\Program
s\Python37\lib\site-packages\toga_winforms\widgets\box.py", line 10, in __init__
super().__init__(id=id, style=style, children=children)
"C:\Program
s\Python37\lib\site-packages\toga\interface\widgets\box.py", line 21, in __init__
super().__init__(id=id, style=style, children=children)
"C:\Program
s\Python37\lib\site-packages\toga\interface\widgets\base.py", line 144, in __init__
self.style = CSS()
"C:\Program
s\Python37\lib\site-packages\toga\interface\widgets\base.py", line 170, in style
self._style = value.bind(self)
AttributeError: 'CSS' object has no attribute 'bind'
| 0.58649 |
Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/sknn/tests/test_conv.py", line 130, in test_UpscalingFactorFour
scale=4)
"/usr/local/lib/python2.7/dist-packages/sknn/tests/test_conv.py", line 120, in _run
nn.fit(a_in, a_out)
"/usr/local/lib/python2.7/dist-packages/sknn/mlp.py", line 300, in fit
return super(Regressor, self)._fit(X, y, w)
"/usr/local/lib/python2.7/dist-packages/sknn/mlp.py", line 213, in _fit
X, y = self._initialize(X, y, w)
"/usr/local/lib/python2.7/dist-packages/sknn/mlp.py", line 42, in _initialize
return self._backend._initialize_impl(X, y, w)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 241, in _initialize_impl
self._create_mlp(X, w)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 188, in _create_mlp
network = self._create_layer(layer.name, layer, network)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 162, in _create_layer
return self._create_convolution_layer(name, layer, network)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 124, in _create_convolution_layer
network = lasagne.layers.Upscale2DLayer(
AttributeError: 'module' object has no attribute 'Upscale2DLayer'
|
Traceback (most recent call last):
"<string>", line 1, in <module>
"/root/project/setup.py", line 243, in <module>
setup_package()
"/root/project/setup.py", line 216, in setup_package
numpy_status = get_numpy_status()
"/root/project/setup.py", line 149, in get_numpy_status
import numpy
"/root/project/pypy-env/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
"/root/project/pypy-env/site-packages/numpy/core/__init__.py", line 16, in <module>
from . import multiarray
"/root/project/pypy-env/site-packages/numpy/core/multiarray.py", line 44, in <module>
arange.__module__ = 'numpy'
AttributeError: readonly attribute '__module__'
| 0.625448 |
Traceback (most recent call last):
"/usr/local/bin/bcbio_nextgen.py", line 239, in <module>
setup_info = workflow.setup(kwargs["workflow"], kwargs.pop("inputs"))
"/usr/local/share/bcbio/anaconda/lib/python3.7/site-packages/bcbio/workflow/__init__.py", line 12, in setup
return workflow.setup(args)
"/usr/local/share/bcbio/anaconda/lib/python3.7/site-packages/bcbio/workflow/template.py", line 554, in setup
project_name, metadata, global_vars, md_file = _pname_and_metadata(args.metadata)
"/usr/local/share/bcbio/anaconda/lib/python3.7/site-packages/bcbio/workflow/template.py", line 336, in _pname_and_metadata
raise ValueError("Did not find input metadata file: %s" % in_file)
ValueError: Did not find input metadata file: project1.csv
| Traceback (most recent call last):
"/Users/chyroc/Code/Chyroc/WechatSogou/test/test_api.py", line 35, in test_get_gzh_artilce_by_history_real
identify_image_callback_weixin=self.identify_image_callback_ruokuai_weixin)
"/Users/chyroc/Code/Chyroc/WechatSogou/wechatsogou/api.py", line 315, in get_gzh_artilce_by_history
gzh_list = self.get_gzh_info(keyword, unlock_callback_sogou, identify_image_callback_sogou)
"/Users/chyroc/Code/Chyroc/WechatSogou/wechatsogou/api.py", line 135, in get_gzh_info
info = self.search_gzh(wecgat_id_or_name, 1, unlock_callback, identify_image_callback)
"/Users/chyroc/Code/Chyroc/WechatSogou/wechatsogou/api.py", line 182, in search_gzh
identify_image_callback=identify_image_callback)
"/Users/chyroc/Code/Chyroc/WechatSogou/wechatsogou/api.py", line 92, in __get_by_unlock
resp = self.__get(url, session, headers=self.__set_cookie(referer=referer))
"/Users/chyroc/Code/Chyroc/WechatSogou/wechatsogou/api.py", line 30, in __set_cookie
suv = ws_cache.get('suv') if suv is None else suv
"/Users/chyroc/Code/Chyroc/WechatSogou/.tox/py27/lib/python2.7/site-packages/werkzeug/contrib/cache.py", line 753, in get
return pickle.load(f)
ValueError: unsupported pickle protocol: 4
| 0.568362 |
Traceback (most recent call last):
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/workers/async.py", line 56, in handle
self.handle_request(listener_name, req, client, addr)
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/workers/async.py", line 116, in handle_request
resp.close()
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/http/wsgi.py", line 409, in close
self.send_headers()
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/http/wsgi.py", line 325, in send_headers
tosend = self.default_headers()
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/http/wsgi.py", line 306, in default_headers
elif self.should_close():
"/opt/apps/lms/virtualenv/lib/python3.4/site-packages/gunicorn/http/wsgi.py", line 229, in should_close
if self.status_code < 200 or self.status_code in (204, 304):
AttributeError: 'Response' object has no attribute 'status_code'
| Traceback (most recent call last):
"/usr/share/razercommander/main.py", line 527, in on_universalApplyButton_clicked
currentFX = fxListBox.get_selected_row().value
AttributeError: 'NoneType' object has no attribute 'value'
| 0.604572 |
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):
"/Users/jimmygunawan/Library/Application Support/Blender/2.83/scripts/addons/sverchok-master/core/update_system.py", line 383, in do_update_general
node.process()
"/Users/jimmygunawan/Library/Application Support/Blender/2.83/scripts/addons/sverchok-master/nodes/object_nodes/sample_uv_color.py", line 55, in process
bvh = BVHTree.FromObject(obj, bpy.context.scene, deform=True, render=False, cage=False, epsilon=0.0)
TypeError: BVHTree.FromObject() takes at most 5 arguments (6 given)
| 0.533366 |
Traceback (most recent call last):
"/rpovelik/installed/miniconda3/envs/ray/lib/python3.8/site-packages/ray/actor.py", line 657, in __del__
AttributeError: 'NoneType' object has no attribute 'global_worker'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/playhouse/dataset.py", line 210, in create_index
self.dataset._database.create_index(
AttributeError: 'SqliteDatabase' object has no attribute 'create_index'
| 0.598769 |
Traceback (most recent call last):
"/<<PKGBUILDDIR>>/tests/unit/test_state.py", line 559, in setUp
with patch('salt.state.State._gather_pillar'):
AttributeError: __enter__
| Traceback (most recent call last):
"/usr/local/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"/usr/local/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"/usr/local/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/usr/local/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/usr/local/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/usr/local/lib/python2.7/site-packages/flask_login/utils.py", line 261, in decorated_view
return func(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/flask/views.py", line 149, in dispatch_request
return meth(*args, **kwargs)
"/usr/local/lib/python2.7/site-packages/flaskbb/forum/views.py", line 792, in post
topic.hide(user=current_user)
"/usr/local/lib/python2.7/site-packages/flaskbb/forum/models.py", line 700, in hide
self._handle_first_post()
"/usr/local/lib/python2.7/site-packages/flaskbb/forum/models.py", line 791, in _handle_first_post
self.first_post.hidden = self.hidden
AttributeError: 'NoneType' object has no attribute 'hidden'
| 0.502541 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"lib/python3.7/site-packages/flair/nn.py", line 88, in load
state = torch.load(f, map_location='cpu')
"lib/python3.7/site-packages/torch/serialization.py", line 594, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
"lib/python3.7/site-packages/torch/serialization.py", line 853, in _load
result = unpickler.load()
"lib/python3.7/site-packages/flair/embeddings/token.py", line 1523, in __setstate__
if not os.path.exists(self.cache_dir / state["lang"]):
"lib/python3.7/pathlib.py", line 925, in __truediv__
return self._make_child((key,))
"lib/python3.7/pathlib.py", line 704, in _make_child
drv, root, parts = self._parse_args(args)
"lib/python3.7/pathlib.py", line 658, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
| Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity
await entity.async_device_update(warning=False)
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 448, in async_device_update
await self.async_update()
"/usr/src/homeassistant/homeassistant/components/xiaomi_miio/air_quality.py", line 80, in async_update
state = await self.hass.async_add_executor_job(self._device.status)
"/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/local/lib/python3.7/site-packages/miio/airqualitymonitor.py", line 241, in status
values = self.send("get_prop", properties)
"/usr/local/lib/python3.7/site-packages/miio/device.py", line 237, in send
cmd = {"id": self._id, "method": command}
"/usr/local/lib/python3.7/site-packages/miio/device.py", line 384, in _id
self.__id += 1
TypeError: can only concatenate str (not "int") to str
| 0.57963 |
Traceback (most recent call last):
"pyannote1.py", line 31, in <module>
diarization = pipeline(OWN_FILE)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/pipeline/speaker_diarization.py", line 154, in __call__
speech_turns = self.speech_turn_segmentation(current_file)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/pipeline/speech_turn_segmentation.py", line 123, in __call__
sad = self.speech_activity_detection(current_file).get_timeline()
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/pipeline/speech_activity_detection.py", line 139, in __call__
sad_scores = self._scores(current_file)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/features/wrapper.py", line 280, in __call__
return self.scorer_(current_file)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/features/base.py", line 152, in __call__
features = self.get_features(y.data, sample_rate)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/features/pretrained.py", line 232, in get_features
progress_hook=self.progress_hook,
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/train/model.py", line 468, in slide
tfX = self(tX, return_intermediate=return_intermediate)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/models/models.py", line 540, in forward
output = self.sincnet_(waveforms)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/models/sincnet.py", line 424, in forward
output = conv1d(output)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/serene/anaconda3/envs/myenv/lib/python3.7/site-packages/pyannote/audio/models/sincnet.py", line 212, in forward
groups=1,
RuntimeError: NNPACK SpatialConvolution_updateOutput failed
| Traceback (most recent call last):
"D:\Polis\Sign\web-server\venv\lib\site-packages\werkzeug\serving.py", line 270, in run_wsgi
execute(self.server.app)
"D:\Polis\Sign\web-server\venv\lib\site-packages\werkzeug\serving.py", line 258, in execute
application_iter = app(environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\flask\app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\flask_socketio\__init__.py", line 44, in __call__
start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\engineio\middleware.py", line 59, in __call__
return self.engineio_app.handle_request(environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\socketio\server.py", line 428, in handle_request
return self.eio.handle_request(environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\engineio\server.py", line 340, in handle_request
environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\engineio\socket.py", line 106, in handle_get_request
start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\engineio\socket.py", line 146, in _upgrade_websocket
return ws(environ, start_response)
"D:\Polis\Sign\web-server\venv\lib\site-packages\engineio\async_drivers\eventlet.py", line 16, in __call__
raise RuntimeError('You need to use the eventlet server. '
RuntimeError: You need to use the eventlet server. See the Deployment section of the documentation for more information.
| 0.574885 |
Comment: An exception occurred in this state: Traceback (most recent call last):
"/usr/lib/pymodules/python2.7/salt/state.py", line 1371, in call
**cdata['kwargs'])
"/usr/lib/pymodules/python2.7/salt/states/file.py", line 2534, in append
for chunk in text:
TypeError: 'NoneType' object is not iterable
Changes:
| Addon error: Traceback (most recent call last):
"mitmproxy\addons\view.py", line 571, in response
"mitmproxy\addons\view.py", line 612, in update
"blinker\base.py", line 266, in send
"blinker\base.py", line 266, in <listcomp>
"mitmproxy\tools\web\master.py", line 57, in _sig_view_update
"mitmproxy\tools\web\app.py", line 214, in broadcast
"json\__init__.py", line 234, in dumps
"json\encoder.py", line 199, in encode
"json\encoder.py", line 257, in iterencode
"json\encoder.py", line 179, in default
TypeError: Object of type bytes is not JSON serializable
| 0.601047 |
Traceback (most recent call last):
"src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
"/Users/paul/Work/raiden/raiden/network/transport/matrix.py", line 524, in send_queue
self.send_async('', address, _event_to_message(event, node_address))
"/Users/paul/Work/raiden/raiden/network/transport/matrix.py", line 223, in send_async
receiver_address=to_normalized_address(receiver_address),
"/Users/paul/Work/venv-raiden/lib/python3.6/site-packages/eth_utils/address.py", line 68, in to_normalized_address
"Unknown format {}, attempted to normalize to {}".format(address, hex_address)
ValueError: Unknown format , attempted to normalize to 0x
| Traceback (most recent call last):
"/home/pi/tensorflow/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1050, in _run
subfeed, allow_tensor=True, allow_operation=False)
"/home/pi/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3488, in as_graph_element
return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
"/home/pi/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3567, in _as_graph_element_locked
raise ValueError("Tensor %s is not an element of this graph." % obj)
ValueError: Tensor Tensor("Placeholder_12:0", shape=(64,), dtype=float32) is not an element of this graph.
| 0.586825 |
Traceback (most recent call last):
"/home/tulipsliu/.local/bin/twint", line 11, in <module>
load_entry_point('twint==2.1.21', 'console_scripts', 'twint')()
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/cli.py", line 311, in run_as_command
main()
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/cli.py", line 303, in main
run.Search(c)
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/run.py", line 386, in Search
run(config, callback)
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/run.py", line 285, in run
get_event_loop().run_until_complete(Twint(config).main(callback))
"/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/run.py", line 211, in main
await task
"/home/tulipsliu/.local/lib/python3.6/site-packages/twint/run.py", line 228, in run
raise ValueError("Cannot find twitter account with name = " + self.config.Username)
ValueError: Cannot find twitter account with name = tulipsliu | Traceback (most recent call last):
"C:/Python/Python36/Dhruve and me/Glumpy/snippet-cubes.py", line 93, in <module>
C[...] = V
#
ValueError: structures must have the same size
ValueError: structures must have the same size
| 0.470533 |
Traceback (most recent call last):
"/home/administrator/anaconda3/bin/conda", line 6, in <module>
sys.exit(conda.cli.main())
"/home/administrator/anaconda3/lib/python3.5/site-packages/conda/cli/main.py", line 182, in main
return conda_exception_handler(_main, *args)
"/home/administrator/anaconda3/lib/python3.5/site-packages/conda/exceptions.py", line 644, in conda_exception_handler
return handle_exception(e)
"/home/administrator/anaconda3/lib/python3.5/site-packages/conda/exceptions.py", line 634, in handle_exception
print_unexpected_error_message(e)
"/home/administrator/anaconda3/lib/python3.5/site-packages/conda/exceptions.py", line 596, in print_unexpected_error_message
stderrlogger.info(get_main_info_str(get_info_dict()))
"/home/administrator/anaconda3/lib/python3.5/site-packages/conda/cli/main_info.py", line 199, in get_info_dict
conda_build_version = conda_build.__version__
AttributeError: module 'conda_build' has no attribute '__version__'
|
Traceback (most recent call last):
"./manage.py", line 12, in <module>
execute_from_command_line(sys.argv)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
utility.execute()
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/__init__.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 83, in handle
verbosity=self.verbosity,
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/__init__.py", line 119, in call_command
return command.execute(*args, **defaults)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/base.py", line 399, in execute
output = self.handle(*args, **options)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/commands/showmigrations.py", line 36, in handle
return self.show_list(connection, options['app_labels'])
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/core/management/commands/showmigrations.py", line 44, in show_list
loader = MigrationLoader(connection, ignore_no_migrations=True)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/migrations/loader.py", line 176, in build_graph
self.applied_migrations = recorder.applied_migrations()
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/migrations/recorder.py", line 66, in applied_migrations
return set(tuple(x) for x in self.migration_qs.values_list("app", "name"))
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/models/query.py", line 258, in __iter__
self._fetch_all()
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/models/query.py", line 1074, in _fetch_all
self._result_cache = list(self.iterator())
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/models/query.py", line 128, in __iter__
for row in compiler.results_iter():
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/django/db/models/sql/compiler.py", line 806, in results_iter
results = self.execute_sql(MULTI)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/cachalot/monkey_patch.py", line 29, in inner
out = original(compiler, *args, **kwargs)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/cachalot/monkey_patch.py", line 77, in inner
table_cache_keys = _get_table_cache_keys(compiler)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/cachalot/utils.py", line 147, in _get_table_cache_keys
tables = _get_tables(compiler.query, db_alias)
"/Users/foo/envs/sbox3000/lib/python3.4/site-packages/cachalot/utils.py", line 128, in _get_tables
+ query.having.children)
AttributeError: 'Query' object has no attribute 'having' | 0.62071 |
Traceback (most recent call last):
"/usr/local/share/hangoutsbot/hangupsbot/handlers.py", line 293, in run_pluggable_omnibus
yield from function(*_passed)
"/usr/lib/python3.5/asyncio/coroutines.py", line 209, in coro
res = yield from res
"/usr/local/share/hangoutsbot/hangupsbot/plugins/telesync/__init__.py", line 887, in _on_hangouts_message
disable_web_page_preview=True)
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator
| 2021-03-23 13:52:11,590 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
"/Users/jakehurst/friture/main.py", line 6, in <module>
main()
"/Users/jakehurst/friture/friture/analyzer.py", line 365, in main
window = Friture()
"/Users/jakehurst/friture/friture/analyzer.py", line 87, in __init__
self.settings_dialog = Settings_Dialog(self)
"/Users/jakehurst/friture/friture/settings.py", line 60, in __init__
channels = AudioBackend().get_readable_current_channels()
"/Users/jakehurst/friture/friture/audiobackend.py", line 404, in get_readable_current_channels
nchannels = self.device['max_input_channels']
TypeError: 'NoneType' object is not subscriptable
| 0.580672 |
Traceback (most recent call last):
"model.py", line 47, in <module>
model_train(df, encoders, args, model)
"../automodel/automl_train/pipeline.py", line 408, in model_train
for train_indices, val_indices in split.split(np.zeros(y.shape[0]), y):
"/usr/local/lib/python3.7/site-packages/sklearn/model_selection/_split.py", line 1315, in split
for train, test in self._iter_indices(X, y, groups):
"/usr/local/lib/python3.7/site-packages/sklearn/model_selection/_split.py", line 1695, in _iter_indices
raise ValueError("The least populated class in y has only 1"
ValueError: The least populated class in y has only 1 member, which is too few. The minimum number of groups for any class cannot be less than 2.
| Traceback (most recent call last):
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 318, in <module>
main()
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 305, in main
trainer = Trainer(args)
"/home/qiming/workspace/pytorch-deeplab-xception/my_train.py", line 95, in __init__
self.optimizer.load_state_dict(checkpoint['optimizer'])
"/home/qiming/anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/optim/optimizer.py", line 114, in load_state_dict
raise ValueError("loaded state dict contains a parameter group "
ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group
| 0.636729 |
Traceback (most recent call last):
"D:/Project/account-adapter/imbox_downloader.py", line 61, in <module>
for uid, message in all_messages:
"C:\Users\**\Miniconda3\lib\site-packages\imbox\__init__.py", line 50, in fetch_list
yield (uid, self.fetch_by_uid(uid))
"C:\Users\**\Miniconda3\lib\site-packages\imbox\__init__.py", line 41, in fetch_by_uid
email_object = parse_email(raw_email)
"C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 160, in parse_email
attachment = parse_attachment(part)
"C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 102, in parse_attachment
name, value = decode_param(param)
"C:\Users\**\Miniconda3\lib\site-packages\imbox\parser.py", line 74, in decode_param
value = base64.decodestring(code)
"C:\Users\**\Miniconda3\lib\base64.py", line 560, in decodestring
return decodebytes(s)
"C:\Users\**\Miniconda3\lib\base64.py", line 552, in decodebytes
_input_type_check(s)
"C:\Users\**\Miniconda3\lib\base64.py", line 521, in _input_type_check
raise TypeError(msg) from err
TypeError: expected bytes-like object, not str
| Traceback (most recent call last):
"tuxemon.py", line 62, in <module>
main()
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/main.py", line 93, in main
control.main()
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/control.py", line 599, in main
self.main_loop()
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/control.py", line 656, in main_loop
self.event_engine.update(time_delta)
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 326, in update
self.update_running_events(dt)
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 388, in update_running_events
action = self.get_action(next_action.type, next_action.parameters)
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventengine.py", line 188, in get_action
return action(self.game, parameters)
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 121, in __init__
values = self.cast_values(parameters)
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 170, in cast_values
return list(map(cast, zip_longest(self.valid_parameters, parameters)))
"/home/airon/Scaricati/Tuxemon-development/tuxemon/core/components/event/eventaction.py", line 164, in cast
return t[0](v)
TypeError: 'NoneType' object has no attribute '__getitem__'
| 0.568054 |
Traceback (most recent call last):
"train.py", line 62, in <module>
main(config, args.resume)
"train.py", line 27, in main
model = get_instance(models, 'arch', config, train_loader.dataset.num_classes)
"train.py", line 17, in get_instance
return getattr(module, config[name]['type'])(*args, **config[name]['args'])
TypeError: 'module' object is not callable
| Traceback (most recent call last):
"/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
"/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
"/usr/src/homeassistant/homeassistant/config_entries.py", line 562, in async_forward_entry_setup
result = await async_setup_component(self.hass, domain, self._hass_config)
"/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain]
# type: ignore
"/usr/src/homeassistant/homeassistant/__main__.py", line 302, in setup_and_run_hass
log_no_color=args.log_no_color,
"/usr/src/homeassistant/homeassistant/bootstrap.py", line 150, in async_from_config_file
config_dict, hass, enable_log=False, skip_pip=skip_pip
"/usr/src/homeassistant/homeassistant/bootstrap.py", line 95, in async_from_config_dict
await _async_set_up_integrations(hass, config)
"/usr/src/homeassistant/homeassistant/bootstrap.py", line 376, in _async_set_up_integrations
*(async_setup_component(hass, domain, config) for domain in domains_to_load)
"/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
"/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain]
# type: ignore
"/usr/src/homeassistant/homeassistant/setup.py", line 51, in async_setup_component
return await task
# type: ignore
"/usr/src/homeassistant/homeassistant/config_entries.py", line 562, in async_forward_entry_setup
result = await async_setup_component(self.hass, domain, self._hass_config)
"/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain]
# type: ignore
"/usr/src/homeassistant/homeassistant/helpers/discovery.py", line 151, in async_load_platform
setup_success = await setup.async_setup_component(hass, component, hass_config)
"/usr/src/homeassistant/homeassistant/setup.py", line 45, in async_setup_component
return await setup_tasks[domain]
# type: ignore
"/usr/src/homeassistant/homeassistant/setup.py", line 136, in _async_setup_component
hass, config, integration
"/usr/src/homeassistant/homeassistant/config.py", line 772, in async_process_component_config
p_integration = await async_get_integration_with_requirements(hass, p_name)
"/usr/src/homeassistant/homeassistant/requirements.py", line 44, in async_get_integration_with_requirements
await async_process_requirements(hass, integration.domain, integration.requirements)
"/usr/src/homeassistant/homeassistant/requirements.py", line 65, in async_process_requirements
if pkg_util.is_installed(req):
"/usr/src/homeassistant/homeassistant/util/package.py", line 45, in is_installed
return version(req.project_name) in req
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3137, in __contains__
return self.specifier.contains(item, prereleases=True)
"/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 703, in contains
item = parse(item)
"/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 31, in parse
return Version(version)
"/usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or bytes-like object
| 0.579142 |
Traceback (most recent call last):
"/home/altendky/.pyenv/versions/3.8.2/bin/tox", line 10, in <module>
sys.exit(cmdline())
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/session/__init__.py", line 44, in cmdline
main(args)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/session/__init__.py", line 64, in main
config = load_config(args)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/session/__init__.py", line 80, in load_config
config = parseconfig(args)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 269, in parseconfig
ParseIni(config, config_file, content)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1162, in __init__
config.skipsdist = reader.getbool("skipsdist", all_develop)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1503, in getbool
s = self.getstring(name, default, replace=replace)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1544, in getstring
x = self._apply_factors(x)
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1570, in _apply_factors
return "\n".join(filter(None, map(factor_line, lines)))
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1563, in factor_line
if any(
"/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/site-packages/tox/config/__init__.py", line 1564, in <genexpr>
included <= self.factors and not any(x in self.factors for x in excluded)
TypeError: '<=' not supported between instances of 'set' and 'tuple'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
TypeError: foo() got multiple values for keyword argument 'bar'
| 0.594385 |
Traceback (most recent call last):
"/opt/pypy/bin/streamlink", line 11, in <module>
load_entry_point('streamlink==0.5.0', 'console_scripts', 'streamlink')()
"/opt/pypy/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
"/opt/pypy/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
"/opt/pypy/site-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
"/opt/pypy/site-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
"/opt/pypy/site-packages/streamlink_cli/main.py", line 17, in <module>
from streamlink.stream import StreamProcess
"/opt/pypy/site-packages/streamlink/stream/__init__.py", line 4, in <module>
from streamlink.stream.akamaihd import AkamaiHDStream
"/opt/pypy/site-packages/streamlink/stream/akamaihd.py", line 15, in <module>
from ..packages.flashmedia import FLV, FLVError
"/opt/pypy/site-packages/streamlink/packages/flashmedia/__init__.py", line 4, in <module>
from .amf import *
"/opt/pypy/site-packages/streamlink/packages/flashmedia/amf.py", line 3, in <module>
from .types import AMF0String, AMF0Value, U8, U16BE, U32BE
"/opt/pypy/site-packages/streamlink/packages/flashmedia/types.py", line 298, in <module>
U24BE = HighLowCombo(">HB", 8, True)
TypeError: __new__() takes exactly 2 arguments (4 given)
| Traceback (most recent call last):
"plaso/storage/interface.py", line 643, in _DeserializeAttributeContainer
attribute_container = self._serializer.ReadSerialized(serialized_string)
"plaso/serializer/json_serializer.py", line 556, in ReadSerialized
return cls.ReadSerializedDict(json_dict)
"plaso/serializer/json_serializer.py", line 575, in ReadSerializedDict
json_object = cls._ConvertDictToObject(json_dict)
"plaso/serializer/json_serializer.py", line 276, in _ConvertDictToObject
attribute_value = cls._ConvertDictToObject(attribute_value)
"plaso/serializer/json_serializer.py", line 231, in _ConvertDictToObject
return cls._ConvertDictToDateTimeValues(json_dict)
"plaso/serializer/json_serializer.py", line 380, in _ConvertDictToDateTimeValues
date_time = dfdatetime_factory.Factory.NewDateTimeValues(
"/usr/lib/python3.8/site-packages/dfdatetime/factory.py", line 48, in NewDateTimeValues
return date_time_values_type(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'string'
| 0.591707 |
Traceback (most recent call last):
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 3523, in table_part
values[name] = df.evaluate(name)
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 5120, in evaluate
return self._evaluate_implementation(expression, i1=i1, i2=i2, out=out, selection=selection, filtered=filtered, internal=internal, parallel=parallel, chunk_size=chunk_size)
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 5237, in _evaluate_implementation
df.map_reduce(assign, lambda *_: None, expressions, ignore_filter=False, selection=selection, pre_filter=use_filter, info=True, to_numpy=False)
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 306, in map_reduce
return self._delay(delay, task)
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 1428, in _delay
self.execute()
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\dataframe.py", line 293, in execute
self.executor.execute()
" \User\Miniconda3\envs\vaex_vs_pd\lib\site-packages\vaex\execution.py", line 127, in execute
raise RuntimeError("nested execute call")
RuntimeError: nested execute call
| Traceback (most recent call last):
"uvloop/cbhandles.pyx", line 52, in uvloop.loop.Handle._run (uvloop/loop.c:48460)
"uvloop/handles/tcp.pyx", line 141, in uvloop.loop.TCPTransport._call_connection_made (uvloop/loop.c:80534)
"uvloop/handles/basetransport.pyx", line 151, in uvloop.loop.UVBaseTransport._call_connection_made (uvloop/loop.c:65898)
"uvloop/handles/stream.pyx", line 257, in uvloop.loop.UVStream._start_reading (uvloop/loop.c:70828)
"uvloop/handles/handle.pyx", line 150, in uvloop.loop.UVHandle._ensure_alive (uvloop/loop.c:54963)
RuntimeError: unable to perform operation on <TCPTransport closed=True reading=False 0x26394b8>; the handler is closed
| 0.542027 |
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):
"src/daemon/server.py", line 862, in kill_service
"src/daemon/server.py", line 830, in kill_process
AttributeError: 'list' object has no attribute 'terminate'
| 0.653923 |
Traceback (most recent call last):
"F:/Python/PythonWorkSpace/BayesNet/a.py", line 22, in <module>
model.predict_probability(A)
"F:\Python\Anaconda\Anaconda3\lib\site-packages\pgmpy\models\BayesianModel.py", line 651, in predict_probability
model_inference = VariableElimination(self)
"F:\Python\Anaconda\Anaconda3\lib\site-packages\pgmpy\inference\base.py", line 76, in __init__
for var in cpd.scope():
AttributeError: 'LinearGaussianCPD' object has no attribute 'scope'
| Traceback (most recent call last):
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2044, in showtraceback
stb = value._render_traceback_()
AttributeError: 'ImportError' object has no attribute '_render_traceback_'
| 0.587094 |
Traceback (most recent call last):
"error.py", line 26, in <module>
cmap='autumn', start_points=seed_points.T)
"C:\Users\Pit\Anaconda3\Anaconda3_ver3\lib\site-packages\matplotlib\__init__.py", line 1818, in inner
return func(ax, *args, **kwargs)
"C:\Users\Pit\Anaconda3\Anaconda3_ver3\lib\site-packages\matplotlib\axes\_axes.py", line 4437, in streamplot
zorder=zorder)
"C:\Users\Pit\Anaconda3\Anaconda3_ver3\lib\site-packages\matplotlib\streamplot.py", line 140, in streamplot
sp2[:, 0] += np.abs(x[0])
ValueError: operands could not be broadcast together with shapes (6,) (100,) (6,)
```
| Traceback (most recent call last):
"demo.py", line 155, in <module>
detect_cv2(args.cfgfile, args.weightfile, args.imgfile)
"demo.py", line 27, in detect_cv2
m = Darknet(cfgfile)
"/content/pytorch-YOLOv4/tool/darknet2pytorch.py", line 144, in __init__
self.models = self.create_network(self.blocks)
# merge conv, bn,leaky
"/content/pytorch-YOLOv4/tool/darknet2pytorch.py", line 254, in create_network
filters = int(block['filters'])
ValueError: invalid literal for int() with base 10: '30 #255'
| 0.615273 |
Traceback (most recent call last):
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\download.py", line 821, in unpack_url
hashes=hashes
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\download.py", line 659, in unpack_http_url
hashes)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\download.py", line 585, in _download_url
progress_indicator = DownloadProgressBar(max=total_length).iter
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\utils\ui.py", line 158, in __init__
super(WindowsMixin, self).__init__(*args, **kwargs)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\utils\ui.py", line 82, in __init__
super(InterruptibleMixin, self).__init__(*args, **kwargs)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\utils\ui.py", line 118, in __init__
super(DownloadProgressMixin, self).__init__(*args, **kwargs)
"C:\PROGRA~1\QGIS3~1.0\apps\Python36\lib\site-packages\pip\_vendor\progress\helpers.py", line 58, in __init__
if self.file.isatty() and self.hide_cursor:
AttributeError: 'NoneType' object has no attribute 'isatty'
| Traceback (most recent call last):
"cluster_vectors.py", line 26, in <module>
new_model = FastText.load('./gensim_en_fasttext_wiki_lg')
"/usr/local/lib/python3.5/dist-packages/gensim/models/fasttext.py", line 725, in load
return load_old_fasttext(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/gensim/models/deprecated/fasttext.py", line 53, in load_old_fasttext
old_model = FastText.load(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/gensim/models/deprecated/word2vec.py", line 1616, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/gensim/models/deprecated/old_saveload.py", line 87, in load
obj = unpickle(fname)
"/usr/local/lib/python3.5/dist-packages/gensim/models/deprecated/old_saveload.py", line 380, in unpickle
return _pickle.loads(file_bytes, encoding='latin1')
AttributeError: Can't get attribute 'FastTextVocab' on <module 'gensim.models.deprecated.fasttext' from '/usr/local/lib/python3.5/dist-packages/gensim/models/deprecated/fasttext.py'>
| 0.568387 |
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/local/lib/python2.7/dist-packages/paddle/v2/reader/decorator.py", line 274, in handle_worker
r = mapper(sample)
"/home/qingsong/pycharm项目/shuzi/MyReader.py", line 14, in train_mapper
img = paddle.image.simple_transform(img, 256, self.imageSize, True)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 321, in simple_transform
im = resize_short(im, resize_size)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/image.py", line 179, in resize_short
h, w = im.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
| Traceback (most recent call last):
"...\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"...\AppData\Local\Programs\Python\Python36-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
"...\main.py", line 24, in <module>
main().main_loop()
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\app.py", line 49, in main_loop
self._startup()
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\app.py", line 41, in _startup
self.startup()
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\app.py", line 144, in startup
self.main_window.content = self._startup_method(self)
"...\main.py", line 9, in build
box = toga.Box()
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga_winforms\widgets\box.py", line 10, in __init__
super().__init__(id=id, style=style, children=children)
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\box.py", line 21, in __init__
super().__init__(id=id, style=style, children=children)
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\base.py", line 144, in __init__
self.style = CSS()
"...\AppData\Local\Programs\Python\Python36-32\lib\site-packages\toga\interface\widgets\base.py", line 170, in style
self._style = value.bind(self)
AttributeError: 'CSS' object has no attribute 'bind'
| 0.628039 |
Traceback (most recent call last):
"train_extractor_ml.py", line 237, in <module>
main(args)
"train_extractor_ml.py", line 179, in main
trainer.train()
"/home/eddiewng/LCSTS/fast_abs_rl/training.py", line 211, in train
log_dict = self._pipeline.train_step()
"/home/eddiewng/LCSTS/fast_abs_rl/training.py", line 96, in train_step
net_out = self._net(*fw_args)
"/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__
result = self.forward(*input, **kwargs)
"/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 276, in forward
enc_out = self._encode(article_sents, sent_nums)
"/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 296, in _encode
for art_sent in article_sents]
"/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 296, in <listcomp>
for art_sent in article_sents]
"/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__
result = self.forward(*input, **kwargs)
"/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 31, in forward
for conv in self._convs], dim=1)
"/home/eddiewng/LCSTS/fast_abs_rl/model/extract.py", line 31, in <listcomp>
for conv in self._convs], dim=1)
"/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 491, in __call__
result = self.forward(*input, **kwargs)
"/home/eddiewng/.local/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 176, in forward
self.padding, self.dilation, self.groups)
RuntimeError: Expected tensor for argument #1 'input' to have the same dimension as tensor for 'result'; but 4 does not equal 3 (while checking arguments for cudnn_convolution)
| Traceback (most recent call last):
"/private/tmp/venv/lib/python3.8/site-packages/vispy/app/backends/_qt.py", line 825, in paintGL
self._vispy_canvas.events.draw(region=None)
"/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 455, in __call__
self._invoke_callback(cb, event)
"/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 473, in _invoke_callback
_handle_exception(self.ignore_callback_errors,
"/private/tmp/venv/lib/python3.8/site-packages/vispy/util/event.py", line 471, in _invoke_callback
cb(event)
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/context.py", line 175, in flush_commands
self.shared.parser.parse([('CURRENT', 0, fbo)])
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 819, in parse
self._parse(command)
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 743, in _parse
self._gl_initialize()
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/glir.py", line 836, in _gl_initialize
gl.glEnable(GL_VERTEX_PROGRAM_POINT_SIZE)
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/_gl2.py", line 444, in glEnable
nativefunc = glEnable._native = _get_gl_func("glEnable", None, (ctypes.c_uint,))
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/gl2.py", line 69, in _get_gl_func
raise RuntimeError('Could not load OpenGL library, gl cannot be used')
RuntimeError: Could not load OpenGL library, gl cannot be used
| 0.548731 |
Traceback (most recent call last):
"/home/carandraug/.local/lib/python3.7/site-packages/wx/lib/eventwatcher.py", line 401, in onAddModule
module = __import__(modname, fromlist=[0])
"<frozen importlib._bootstrap>", line 1026, in _handle_fromlist
TypeError: Item in ``from list'' must be str, not int
| Traceback (most recent call last):
"/home/travis/virtualenv/python2.7.14/bin/vint", line 11, in <module>
sys.exit(main())
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/__init__.py", line 11, in main
init_cli()
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/bootstrap.py", line 22, in init_cli
cli.start()
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/linting/cli.py", line 27, in start
violations = self._lint_all(env, config_dict)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/linting/cli.py", line 124, in _lint_all
violations += linter.lint_file(file_path)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/linting/linter.py", line 107, in lint_file
root_ast = self._parser.parse_file(path)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/parsing.py", line 40, in parse_file
return self.parse(decoded_and_lf_normalized)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/parsing.py", line 29, in parse
plugin.process(ast)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/__init__.py", line 32, in process
processed_ast = self._ref_tester.process(ast)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/reference_reachability_tester.py", line 43, in process
scope_linker.process(ast)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/scope_linker.py", line 312, in process
attached_ast = id_classifier.attach_identifier_attributes(ast)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/identifier_classifier.py", line 122, in attach_identifier_attributes
ast_with_parsed_redir = redir_assignment_parser.process(ast)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/redir_assignment_parser.py", line 33, in process
traverse(ast, on_enter=enter_handler)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 244, in traverse
node[prop_name])
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 9, in for_each
call_if_def(func, node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 243, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 244, in traverse
node[prop_name])
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 9, in for_each
call_if_def(func, node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 243, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 244, in traverse
node[prop_name])
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 9, in for_each
call_if_def(func, node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 23, in call_if_def
func(node)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 243, in <lambda>
accessor_func(lambda child_node: traverse(child_node, on_enter, on_leave),
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 247, in traverse
handler(node, on_enter=on_enter, on_leave=on_leave)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/plugin/scope_plugin/redir_assignment_parser.py", line 48, in traverse_redir_content
traverse(node[REDIR_CONTENT], on_enter=on_enter, on_leave=on_leave)
"/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/vint/ast/traversing.py", line 228, in traverse
node_type = NodeType(node['type'])
TypeError: 'NoneType' object has no attribute '__getitem__'
| 0.532796 |
Traceback (most recent call last):
"/Users/liushanhui/weiboSpider/weibo_spider/parser/index_parser.py", line 33, in get_user
user_id = self._get_user_id()
"/Users/liushanhui/weiboSpider/weibo_spider/parser/index_parser.py", line 20, in _get_user_id
url_list = self.selector.xpath("//div[@class='u']//a")
AttributeError: 'NoneType' object has no attribute 'xpath'
| Traceback (most recent call last):
"logistic_interactive.py", line 19, in <module>
import pyqtgraph as pg
"C:\Users\Matthew\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyqtgraph\__init__.py", line 204, in <module>
from .graphicsItems.VTickGroup import *
"C:\Users\Matthew\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyqtgraph\graphicsItems\VTickGroup.py", line 7, in <module>
from .. import functions as fn
"C:\Users\Matthew\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyqtgraph\functions.py", line 17, in <module>
from . import debug
"C:\Users\Matthew\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyqtgraph\debug.py", line 11, in <module>
from . import ptime
"C:\Users\Matthew\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyqtgraph\ptime.py", line 24, in <module>
cstart = systime.clock()
### Required to start the clock in windows
AttributeError: module 'time' has no attribute 'clock'
| 0.559707 |
Traceback (most recent call last):
"object_detection/builders/model_builder_test.py", line 23, in <module>
from object_detection.builders import model_builder
"<tensorflow_dir>/models/research/object_detection/builders/model_builder.py", line 46, in <module>
from object_detection.models.ssd_mobilenet_v1_fpn_feature_extractor import SSDMobileNetV1FpnFeatureExtractor
"<tensorflow_dir>/models/research/object_detection/models/ssd_mobilenet_v1_fpn_feature_extractor.py", line 38, in <module>
_CONV_DEFS = _create_modified_mobilenet_config()
"<tensorflow_dir>/models/research/object_detection/models/ssd_mobilenet_v1_fpn_feature_extractor.py", line 34, in _create_modified_mobilenet_config
conv_defs = copy.copy(mobilenet_v1.MOBILENETV1_CONV_DEFS)
AttributeError: 'module' object has no attribute 'MOBILENETV1_CONV_DEFS'
| Traceback (most recent call last):
"/Users/lou/Desktop/Stock-ANA/src/StStatistics.py", line 251, in <module>
sns.heatmap(flights, annot=True, fmt="d", linewidths=.5, ax=ax)
"/Library/Python/2.7/site-packages/seaborn/matrix.py", line 528, in heatmap
plotter.plot(ax, cbar_ax, kwargs)
"/Library/Python/2.7/site-packages/seaborn/matrix.py", line 315, in plot
ax.figure.draw(ax.figure.canvas.get_renderer())
AttributeError: 'FigureCanvasMac' object has no attribute 'get_renderer'
| 0.59675 |
Traceback (most recent call last):
"/usr/local/bin/pipenv", line 8, in <module>
sys.exit(cli())
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 782, in main
rv = self.invoke(ctx)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/local/lib/python3.7/site-packages/pipenv/cli/command.py", line 370, in lock
write=not state.quiet,
"/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1117, in do_lock
keep_outdated=keep_outdated
"/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 1318, in venv_resolve_deps
deps, project, r=False, include_index=True
"/usr/local/lib/python3.7/site-packages/pipenv/utils.py", line 1434, in convert_deps_to_pip
new_dep = Requirement.from_pipfile(dep_name, dep)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 2743, in from_pipfile
r =
Requirement.from_pipfile(name, pipfile)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1843, in from_pipfile
arg_dict["setup_info"] = arg_dict["parsed_line"].setup_info
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 813, in setup_info
self.setup_info = self.get_setup_info()
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 802, in get_setup_info
setup_info = SetupInfo.from_ireq(self.ireq, subdir=self.subdirectory)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1882, in from_ireq
ireq.source_dir, subdirectory=subdir, ireq=ireq, kwargs=kwargs, stack=stack
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1918, in create
created.get_initial_info()
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1747, in get_initial_info
self.update_from_dict(self.parse_setup_py())
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1504, in parse_setup_py
parsed = ast_parse_setup_py(self.setup_py.as_posix())
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1202, in ast_parse_setup_py
function_names = ast_analyzer.parse_functions()
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 962, in parse_functions
retries = self.parse_function_names(function_map=self.function_map)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 958, in parse_function_names
self.resolved_function_names[fn_name] = ast_unparse(v, analyzer=self)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1153, in ast_unparse
unparsed[k] = unparse(v)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1040, in ast_unparse
items = unparse(analyzer.assignments[assignment])
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1140, in ast_unparse
val = unparse(item.value, recurse=False)
"/usr/local/lib/python3.7/site-packages/pipenv/vendor/requirementslib/models/setup_info.py", line 1004, in ast_unparse
unparsed = unparsed[unparse(item.slice.value)]
TypeError: 'Attribute' object is not subscriptable
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"C:\Users\matth\scipy\scipy\stats\_distn_infrastructure.py", line 1430, in support
return _a * scale + loc, _b * scale + loc
TypeError: can only concatenate list (not "int") to list
| 0.536569 |
Traceback (most recent call last):
"bin/docker-compose", line 6, in <module>
"compose/cli/main.py", line 71, in main
"compose/cli/main.py", line 127, in perform_command
"compose/cli/main.py", line 1106, in up
"compose/cli/main.py", line 1102, in up
"compose/project.py", line 570, in up
"compose/parallel.py", line 112, in parallel_execute
"compose/parallel.py", line 210, in producer
"compose/project.py", line 556, in do
"compose/service.py", line 568, in execute_convergence_plan
"compose/service.py", line 510, in _execute_convergence_start
"compose/parallel.py", line 112, in parallel_execute
"compose/parallel.py", line 210, in producer
"compose/service.py", line 508, in <lambda>
"compose/service.py", line 620, in start_container_if_stopped
"compose/service.py", line 627, in start_container
TypeError: a bytes-like object is required, not 'str'
| Traceback (most recent call last):
"C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\builtinViews\fittingView.py", line 196, in OnMouseMove
TypeError: 'NoneType' object is not subscriptable
| 0.535891 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/date.py", line 371, in get_date_data
language, date_string, date_formats, settings=self._settings)
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/date.py", line 168, in parse
return instance._parse()
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/date.py", line 178, in _parse
date_obj = parser()
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/date.py", line 199, in _try_parser
self._get_translated_date(), settings=self._settings)
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/conf.py", line 84, in wrapper
return f(*args, **kwargs)
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/date_parser.py", line 26, in parse
date_obj, period = parse(date_string, settings=settings)
"/home/nathan/venvs/main/local/lib/python2.7/site-packages/dateparser/parser.py", line 84, in parse
raise exceptions.pop(-1)
TypeError: Required argument 'day' (pos 3) not found
| Traceback (most recent call last):
"cupy/cuda/driver.pyx", line 193, in cupy.cuda.driver.moduleUnload
"cupy/cuda/driver.pyx", line 82, in cupy.cuda.driver.check_status
TypeError: 'NoneType' object is not callable
| 0.460851 |
Traceback (most recent call last):
"/usr/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
"/usr/lib64/python3.5/asyncio/tasks.py", line 406, in wait_for
return fut.result()
"/usr/lib64/python3.5/asyncio/futures.py", line 294, in result
raise self._exception
"/usr/lib64/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/todoist.py", line 146, in setup_platform
TodoistProjectDevice(hass, project_data, labels, api)
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/todoist.py", line 241, in __init__
super().__init__(hass, calendar_format)
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/__init__.py", line 72, in __init__
self.update()
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/todoist.py", line 246, in update
super().update()
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/__init__.py", line 138, in update
if not self.data or not self.data.update():
"/usr/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
"/usr/lib/python3.5/site-packages/homeassistant/components/calendar/todoist.py", line 494, in update
project_task_data = self._api.projects.get_data(self._id)[TASKS]
TypeError: string indices must be integers
| Traceback (most recent call last):
"main.py", line 79, in <module>
model = LatentAttention()
"main.py", line 12, in __init__
self.mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
"/home/medgar/models/autoencoders/variational-autoencoder-kvfrans/input_data.py", line 148, in read_data_sets
train_images = extract_images(local_file)
"/home/medgar/models/autoencoders/variational-autoencoder-kvfrans/input_data.py", line 38, in extract_images
buf = bytestream.read(rows * cols * num_images)
"/usr/lib/python2.7/gzip.py", line 275, in read
chunk = self.extrabuf[offset: offset + size]
TypeError: only integer scalar arrays can be converted to a scalar index
| 0.636564 |
Traceback (most recent call last):
"I:\Python3\lib\shelve.py", line 111, in __getitem__
value = self.cache[key]
KeyError: 'configs'
| Traceback (most recent call last):
"/Users/linwei/anaconda3/envs/tf/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2522, in get_loc
return self._engine.get_loc(key)
"pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
"pandas/_libs/index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
"pandas/_libs/hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
"pandas/_libs/hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: '-'
| 0.542262 |
Traceback (most recent call last):
"/home/mypc/.local/bin/flow", line 6, in <module>
cliHandler(sys.argv)
"/home/mypc/.local/lib/python2.7/site-packages/darkflow/cli.py", line 29, in cliHandler
print('Enter training ...'); tfnet.train()
"/home/mypc/.local/lib/python2.7/site-packages/darkflow/net/flow.py", line 39, in train
for i, (x_batch, datum) in enumerate(batches):
"/home/mypc/.local/lib/python2.7/site-packages/darkflow/net/yolo/data.py", line 126, in shuffle
x_batch = np.concatenate(x_batch, 0)
ValueError: need at least one array to concatenate
| Traceback (most recent call last):
"/usr/local/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/bidi.py", line 491, in _thread_main
response = self._bidi_rpc.recv()
"/usr/local/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/bidi.py", line 404, in recv
super(ResumableBidiRpc, self).recv)
"/usr/local/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/bidi.py", line 393, in _recoverable
raise exc
"/usr/local/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/bidi.py", line 385, in _recoverable
return method(*args, **kwargs)
"/usr/local/lib/python3.6/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/bidi.py", line 258, in recv
'Can not recv() on an RPC that has never been open()ed.')
ValueError: Can not recv() on an RPC that has never been open()ed."
| 0.476263 |
2019-03-05 18:54:47,462 - prawcore - WARNING - Traceback (most recent call last):
"/home/rooter/srgrafobot/bot.py", line 74, in main
process_item(item, reddit)
"/home/rooter/srgrafobot/bot.py", line 185, in process_item
reddit.redditor("Wuhu").message("New comment", item.body + "\n\n" + item.permalink)
"/usr/local/lib/python3.7/dist-packages/praw/models/reddit/base.py", line 41, in __getattr__
.format(self.__class__.__name__, attribute))
AttributeError: 'Comment' object has no attribute 'permalink'
| `Traceback (most recent call last):
"TBSAirService.py", line 69, in <module>
Itinerary=itinerary, Passengers=passengers, Filters=filters)
"/usr/local/lib/python2.7/dist-packages/zeep/client.py", line 41, in __call__
self._op_name, args, kwargs)
"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/bindings/soap.py", line 110, in send
options=options)
"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/bindings/soap.py", line 68, in _create
serialized = operation_obj.create(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/definitions.py", line 197, in create
return self.input.serialize(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/messages/soap.py", line 64, in serialize
self.body.render(body, body_value)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 191, in render
self._render_value_item(parent, value, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 215, in _render_value_item
return self.type.render(node, value, None, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/complex.py", line 253, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/indicators.py", line 241, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 191, in render
self._render_value_item(parent, value, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 215, in _render_value_item
return self.type.render(node, value, None, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/complex.py", line 253, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/indicators.py", line 241, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 189, in render
self._render_value_item(parent, val, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 215, in _render_value_item
return self.type.render(node, value, None, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/complex.py", line 253, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/indicators.py", line 241, in render
element.render(parent, element_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 191, in render
self._render_value_item(parent, value, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/element.py", line 215, in _render_value_item
return self.type.render(node, value, None, render_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/complex.py", line 226, in render
attribute.render(parent, attr_value, child_path)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/elements/attribute.py", line 33, in render
value = self.type.xmlvalue(value)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/builtins.py", line 32, in _wrapper
return func(self, value)
"/usr/local/lib/python2.7/dist-packages/zeep/xsd/types/builtins.py", line 150, in xmlvalue
if value.microsecond:
AttributeError: 'unicode' object has no attribute 'microsecond'
| 0.590776 |
Traceback (most recent call last):
"<install_location>/kapitan/kapitan/targets.py", line 126, in compile_targets
[p.get() for p in pool.imap_unordered(worker, target_objs) if p]
"<install_location>/kapitan/kapitan/targets.py", line 126, in <listcomp>
[p.get() for p in pool.imap_unordered(worker, target_objs) if p]
"/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next
raise value
AttributeError: 'bool' object has no attribute 'lower'
|
Traceback (most recent call last):
"formlayout.py", line 541, in \<module>
apply=apply_test)
"formlayout.py", line 505, in fedit
dialog = FormDialog(data, title, comment, icon, parent, apply)
"formlayout.py", line 421, in __init__
self.formwidget.setup()
"formlayout.py", line 271, in setup
selindex = value.pop(0)
AttributeError: 'tuple' object has no attribute 'pop' | 0.653646 |
Traceback (most recent call last):
"C:\Users\Alton\AppData\Roaming\Python\Python37\site-packages\tornado\websocket.py", line 956, in _accept_connection
open_result = handler.open(*handler.open_args, **handler.open_kwargs)
"B:\GitHub\sonota\sonota.py", line 194, in open
self.stream.set_nodelay(True)
AttributeError: 'NoneType' object has no attribute 'set_nodelay'
| Traceback (most recent call last):
"c:\projects\plover\plover\gui_qt\main.py", line 66, in __del__
del self._win
AttributeError: _win
| 0.495948 |
Traceback (most recent call last):
"/usr/bin/sslyze", line 11, in <module>
sys.exit(main())
"/usr/lib64/python3.4/site-packages/sslyze/__main__.py", line 130, in main
output_hub.server_scan_completed(CompletedServerScan(server_info, plugin_result_list))
"/usr/lib64/python3.4/site-packages/sslyze/cli/output_hub.py", line 57, in server_scan_completed
out_generator.server_scan_completed(server_scan_result)
"/usr/lib64/python3.4/site-packages/sslyze/cli/console_output.py", line 76, in server_scan_completed
for line in plugin_result.as_text():
"/usr/lib64/python3.4/site-packages/sslyze/plugins/openssl_cipher_suites_plugin.py", line 454, in as_text
result_txt.append(self._format_accepted_cipher_txt(self.preferred_cipher))
"/usr/lib64/python3.4/site-packages/sslyze/plugins/openssl_cipher_suites_plugin.py", line 498, in _format_accepted_cipher_txt
status=cipher.post_handshake_response)
TypeError: non-empty format string passed to object.__format__ |
Traceback (most recent call last):
"/home/sandeshmore/PycharmProjects/dask_latest/dask_03/lib/python3.8/site-packages/distributed/protocol/core.py", line 130, in loads
value = merge_and_deserialize(head, fs, deserializers=deserializers)
"/home/sandeshmore/PycharmProjects/dask_latest/dask_03/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 450, in merge_and_deserialize
return deserialize(header, merged_frames, deserializers=deserializers)
"/home/sandeshmore/PycharmProjects/dask_latest/dask_03/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 384, in deserialize
return loads(header, frames)
"/home/sandeshmore/PycharmProjects/dask_latest/dask_03/lib/python3.8/site-packages/distributed/protocol/serialize.py", line 79, in pickle_loads
buffers[i] = memoryview(bytes(mv)).cast(mv.format, mv.shape)
TypeError: memoryview: cannot cast view with zeros in shape or strides
| 0.574028 |
Traceback (most recent call last):
"scripts/train.py", line 258, in <module>
main()
"scripts/train.py", line 204, in main
loss, miou = train(opt, train_loader, m, criterion, optimizer, writer)
"scripts/train.py", line 41, in train
output = m(inps)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
return self.module(*inputs[0], **kwargs[0])
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/Workspace/AlphaPose/alphapose/models/fastpose.py", line 55, in forward
out = self.preact(x)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/Workspace/AlphaPose/alphapose/models/layers/SE_Resnet.py", line 185, in forward
x = self.layer2(x)
# 512 * h/8 * w/8
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/container.py", line 100, in forward
input = module(input)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/Workspace/AlphaPose/alphapose/models/layers/SE_Resnet.py", line 127, in forward
out = F.relu(self.bn2(self.conv2(out, offset)), inplace=True)
"/home/ubuntu/anaconda3/envs/efficientdet/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/Workspace/AlphaPose/alphapose/models/layers/dcn/deform_conv.py", line 236, in forward
self.dilation, self.groups, self.deformable_groups)
"/home/ubuntu/Workspace/AlphaPose/alphapose/models/layers/dcn/deform_conv.py", line 55, in forward
cur_im2col_step)
RuntimeError: shape '[1, 1, 1152]' is invalid for input of size 56623104
|
Traceback (most recent call last):
"<string>", line 1, in <module>
"C:\Users\shaz\Anaconda3\lib\site-packages\vispy\app\_default_app.py", line 47, in use_app
default_app = Application(backend_name)
"C:\Users\shaz\Anaconda3\lib\site-packages\vispy\app\application.py", line 49, in __init__
self._use(backend_name)
"C:\Users\shaz\Anaconda3\lib\site-packages\vispy\app\application.py", line 235, in _use
raise RuntimeError(msg)
RuntimeError: Could not import backend "_test":
| 0.571791 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/tmp/pip-build-R_svIJ/pillow/setup.py", line 753, in <module>
zip_safe=not debug_build(), )
"/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
"/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
"/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/usr/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
"/usr/local/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
"/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
"/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/usr/local/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
"/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
"/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/usr/local/lib/python2.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
"/tmp/pip-build-R_svIJ/pillow/setup.py", line 521, in build_extensions
' using --disable-%s, aborting' % (f, f))
ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting | Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/dwilson/Develop/Projects/ethereum/web3.py/web3/personal.py", line 43, in unlockAccount
[account, passphrase, duration],
"/home/dwilson/Develop/Projects/ethereum/web3.py/web3/manager.py", line 101, in request_blocking
raise ValueError(response["error"])
ValueError: {'code': -32601, 'message': 'Method not found'}
| 0.506685 |
Traceback (most recent call last):
"/usr/lib/python3.5/asyncio/base_events.py", line 431, in __del__
"/usr/lib/python3.5/asyncio/unix_events.py", line 58, in close
"/usr/lib/python3.5/asyncio/unix_events.py", line 139, in remove_signal_handler
"/usr/lib/python3.5/signal.py", line 47, in signal
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
| Traceback (most recent call last):
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3254, in run_ast_nodes
if (await self.run_code(code, result,
async_=asy)):
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3348, in run_code
self.showtraceback(running_compiled_code=True)
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2047, in showtraceback
value, tb, tb_offset=tb_offset)
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1418, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1318, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
"/opt/jupyterhub/lib/python3.6/site-packages/IPython/core/ultratb.py", line 1186, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: must be str, not list
| 0.501101 |
Traceback (most recent call last):
"trainval_net.py", line 330, in <module>
roi_labels = FPN(im_data, im_info, gt_boxes, num_boxes)
"/home/k21993/anaconda3/envs/python27/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__
result = self.forward(*input, **kwargs)
"/home/k21993/anaconda3/envs/python27/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 60, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
"/home/k21993/anaconda3/envs/python27/lib/python2.7/site-packages/torch/nn/parallel/data_parallel.py", line 70, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
"/home/k21993/anaconda3/envs/python27/lib/python2.7/site-packages/torch/nn/parallel/parallel_apply.py", line 67, in parallel_apply
raise output
RuntimeError: invalid argument 3: expecting vector of indices at /opt/conda/conda-bld/pytorch_1503966894950/work/torch/lib/THC/generic/THCTensorIndex.cu:4 | Traceback (most recent call last):
"inference.py", line 93, in <module>
args.sampling_rate, args.is_fp16, args.denoiser_strength)
"inference.py", line 61, in main
audio = waveglow.infer(mel, sigma=sigma)
"C:\Users\rodrigo.brechard\PycharmProjects\waveglow\glow.py", line 276, in infer
output = self.WN[k]((audio_0, spect))
"C:\Users\rodrigo.brechard\AppData\Local\Continuum\miniconda3\envs\waveglow\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"C:\Users\rodrigo.brechard\PycharmProjects\waveglow\glow.py", line 155, in forward
audio = self.start(audio)
"C:\Users\rodrigo.brechard\AppData\Local\Continuum\miniconda3\envs\waveglow\lib\site-packages\torch\nn\modules\module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"C:\Users\rodrigo.brechard\AppData\Local\Continuum\miniconda3\envs\waveglow\lib\site-packages\torch\nn\modules\conv.py", line 202, in forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 256 3 1, expected input[1, 2, 25472] to have 3 channels, but got 2 channels instead
| 0.622292 |
Traceback (most recent call last):
"/home/pierre/PycharmProjects/project-name/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2454, in resolve
return functools.reduce(getattr, self.attrs, module)
AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
| Traceback (most recent call last):
"/usr/local/bin/anime", line 11, in <module>
load_entry_point('anime-downloader==4.3.0', 'console_scripts', 'anime')()
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/cli.py", line 53, in main
cli()
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/commands/dl.py", line 112, in command
for episode in animes:
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 198, in __iter__
yield episode_class(ep_id[1], parent=self, ep_no=ep_id[0])
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 293, in __init__
try_data()
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 289, in try_data
self.get_data()
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/anime.py", line 349, in get_data
self._sources = self._get_sources()
"/usr/local/Cellar/anime-downloader/HEAD-16c6268/libexec/lib/python3.8/site-packages/anime_downloader/sites/animepahe.py", line 42, in _get_sources
episode_id, session_id = re.search(r'getEmbeds\((\d+), "([^"]+)', source_text).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
| 0.579483 |
`Traceback (most recent call last):
"C:/Users/myprofile/Documents/firebase tests.py", line 9, in <module>
firebase=firebase(config)
TypeError: 'module' object is not callable`
| Traceback (most recent call last):
"C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time
elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
| 0.508864 |
Traceback (most recent call last):
"/home/pavle/.local/share/bumblebee-status/bumblebee-status", line 80, in <module>
main()
"/home/pavle/.local/share/bumblebee-status/bumblebee-status", line 74, in main
output.draw(widget, error)
"/home/pavle/.local/share/bumblebee-status/bumblebee/output.py", line 128, in draw
padding = self._theme.padding(widget)
"/home/pavle/.local/share/bumblebee-status/bumblebee/theme.py", line 110, in padding
return self._get(widget, "padding", "")
"/home/pavle/.local/share/bumblebee-status/bumblebee/theme.py", line 244, in _get
state_themes.append(self._get(widget, state, {}))
"/home/pavle/.local/share/bumblebee-status/bumblebee/theme.py", line 262, in _get
if mod and not mod.parameter("is-unittest"):
"/home/pavle/.local/share/bumblebee-status/bumblebee/engine.py", line 114, in parameter
value = self._config["config"].get(name, default)
TypeError: 'Config' object is not subscriptable
| [ERROR
] An exception occurred in this state: Traceback (most recent call last):
"C:\salt\bin\lib\site-packages\salt\state.py", line 1933, in call
**cdata['kwargs'])
"C:\salt\bin\lib\site-packages\salt\loader.py", line 1939, in wrapper
return f(*args, **kwargs)
"C:\salt\bin\lib\site-packages\salt\states\pip_state.py", line 765, in installed
**kwargs)
"C:\salt\bin\lib\site-packages\salt\states\pip_state.py", line 274, in _check_if_installed
desired_version = available_versions[-1]
TypeError: 'NoneType' object is not subscriptable
| 0.549162 |
Traceback (most recent call last):
"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 529, in extract
ie_result = self._real_extract(url)
"/usr/local/bin/youtube-dl/youtube_dl/extractor/byutv.py", line 47, in _real_extract
})['ooyalaVOD']
KeyError: u'ooyalaVOD'
| Traceback (most recent call last):
"/home/martinal/dev/jupyter/envs/py2/bin/nbmerge", line 11, in <module>
load_entry_point('nbdime', 'console_scripts', 'nbmerge')()
"/home/martinal/dev/jupyter/nbdime/nbdime/nbmergeapp.py", line 100, in main
return main_merge(arguments)
"/home/martinal/dev/jupyter/nbdime/nbdime/nbmergeapp.py", line 41, in main_merge
merged, decisions = merge_notebooks(b, l, r, args)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/notebooks.py", line 177, in merge_notebooks
decisions = decide_notebook_merge(base, local, remote, args)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/notebooks.py", line 154, in decide_notebook_merge
decisions = autoresolve_notebook_conflicts(base, decisions, args)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/notebooks.py", line 124, in autoresolve_notebook_conflicts
return autoresolve(base, decisions, strategies)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/autoresolve.py", line 683, in autoresolve
base, cell_decisions, '/cells/*/outputs', make_clear_all_decision)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/autoresolve.py", line 663, in bundle_decisions
base, prefix, dec_group, callback))
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/autoresolve.py", line 622, in make_bundled_decisions
local_diff = build_diffs(resolved_base, decisions, 'local')
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/decisions.py", line 585, in build_diffs
return _merge_tree(tree, sorted_paths)
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/decisions.py", line 524, in _merge_tree
newTrunk = _merge_tree(tree, sorted_paths[i + 1])
"/home/martinal/dev/jupyter/nbdime/nbdime/merging/decisions.py", line 511, in _merge_tree
nextPath = tree[nextPathStr]['path']
KeyError: u'0'
| 0.531478 |
Traceback (most recent call last):
"/usr/local/medusa/medusa/search/queue.py", line 516, in run
self.success = snatch_episode(result)
"/usr/local/medusa/medusa/search/core.py", line 168, in snatch_episode
result_downloaded = client.send_torrent(result)
"/usr/local/medusa/medusa/clients/torrent/generic.py", line 242, in send_torrent
if not self._get_auth():
"/usr/local/medusa/medusa/clients/torrent/transmission.py", line 77, in _get_auth
self.auth = re.search(r'X-Transmission-Session-Id:\s*(\w+)', self.response.text).group(1)
AttributeError: 'NoneType' object has no attribute 'text'
| Traceback (most recent call last):
"/Users/avigan/anaconda3/lib/python3.6/site-packages/tornado/ioloop.py", line 605, in _run_callback
ret = callback()
"/Users/avigan/anaconda3/lib/python3.6/site-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
"/Users/avigan/anaconda3/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 265, in enter_eventloop
self.eventloop(self)
"/Users/avigan/anaconda3/lib/python3.6/site-packages/ipykernel/eventloops.py", line 277, in loop_cocoa
show.mainloop()
AttributeError: 'function' object has no attribute 'mainloop'
| 0.637489 |
Traceback (most recent call last):
"setup.py", line 135, in <module>
cmdclass={'build_ext': custom_build_ext},
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
"setup.py", line 112, in build_extensions
build_ext.build_extensions(self)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions
ext.sources = self.cython_sources(ext.sources, ext)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 346, in cython_sources
full_module_name=module_name)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 776, in compile
return compile_single(source, options, full_module_name)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 725, in compile_single
return run_pipeline(source, options, full_module_name)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 477, in run_pipeline
context = options.create_context()
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 595, in create_context
self.cplus, self.language_level, options=self)
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 78, in __init__
from . import Builtin, CythonScope
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/CythonScope.py", line 5, in <module>
from .UtilityCode import CythonUtilityCode
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/UtilityCode.py", line 3, in <module>
from .TreeFragment import parse_from_strings, StringParseContext
"/home/chrisd/.pyenv/versions/anaconda2-4.3.1/lib/python2.7/site-packages/Cython/Compiler/TreeFragment.py", line 21, in <module>
from . import Parsing
"Cython/Compiler/Scanning.pxd", line 18, in init Cython.Compiler.Parsing (/home/ilan/minonda/conda-bld/cython_1481309483158/work/Cython-0.25.2/Cython/Compiler/Parsing.c:67386)
ValueError: Cython.Compiler.Scanning.CompileTimeScope has the wrong size, try recompiling. Expected 32, got 40
| Traceback (most recent call last):
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/_qt/qt_viewer.py", line 758, in dropEvent
self.viewer.open(filenames, stack=bool(shift_down))
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/components/add_layers_mixin.py", line 341, in open
self._add_layers_with_plugins(
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/components/add_layers_mixin.py", line 409, in _add_layers_with_plugins
new = self._add_layer_from_data(*_data)
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/components/add_layers_mixin.py", line 481, in _add_layer_from_data
layer = add_method(data, **(meta or {}))
"<string>", line 3, in add_tracks
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/components/add_layers_mixin.py", line 73, in add_layer
self._update_layers(layers=[layer])
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/components/viewer_model.py", line 313, in _update_layers
layer._slice_dims(
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 846, in _slice_dims
self._update_dims()
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 518, in _update_dims
self.refresh()
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 893, in refresh
self._update_value_and_status()
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 904, in _update_value_and_status
self._value = self.get_value()
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 866, in get_value
return self._get_value()
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/tracks/tracks.py", line 242, in _get_value
coords = np.array(self.coordinates)
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/layers/base/base.py", line 900, in coordinates
return tuple(self._transforms[1:].simplified.inverse(self.position))
"/home/draga/anaconda3/envs/napari/lib/python3.8/site-packages/napari/utils/transforms/transforms.py", line 328, in __call__
linear_matrix[
ValueError: could not broadcast input array from shape (4,4) into shape (2,2)
| 0.642992 |
Traceback (most recent call last):
"<console>", line 1, in <module>
"/home/ubuntu/.pyenv/versions/api-3.6.6/lib/python3.6/site-packages/django/core/cache/__init__.py", line 99, in __getattr__
return getattr(caches[DEFAULT_CACHE_ALIAS], name)
"/home/ubuntu/.pyenv/versions/api-3.6.6/lib/python3.6/site-packages/django/core/cache/__init__.py", line 80, in __getitem__
cache = _create_cache(alias)
"/home/ubuntu/.pyenv/versions/api-3.6.6/lib/python3.6/site-packages/django/core/cache/__init__.py", line 55, in _create_cache
return backend_cls(location, params)
"/home/ubuntu/.pyenv/versions/api-3.6.6/lib/python3.6/site-packages/redis_cache/backends/single.py", line 21, in __init__
client = self.create_client(server)
"/home/ubuntu/.pyenv/versions/api-3.6.6/lib/python3.6/site-packages/redis_cache/backends/base.py", line 186, in create_client
client = self.Redis(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'connection_class'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/Users/marcbeillevaire/anaconda/envs/test/lib/python3.6/typing.py", line 948, in __new__
raise TypeError("Cannot inherit from plain Generic")
TypeError: Cannot inherit from plain Generic
| 0.548469 |
`Traceback (most recent call last):
"C:/PythonV/dedupeio/dedupe-examples/pgsql_big_dedupe_example/csa_big_dedupe_example.py", line 237, in <module>
csv_writer.writerows(b_data)
"C:\PythonV\dedupeio\dedupe\lib\site-packages\dedupe\blocking.py", line 43, in __call__
record_id, instance = record
TypeError: cannot unpack non-iterable int object`
| Traceback (most recent call last):
"/opt/conda/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
"/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
"/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/opt/conda/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
"/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
"/opt/conda/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/opt/conda/lib/python3.6/site-packages/mlflow/server/handlers.py", line 105, in wrapper
response.set_data(e.serialize_as_json())
"/opt/conda/lib/python3.6/site-packages/mlflow/exceptions.py", line 50, in serialize_as_json
return json.dumps(exception_dict)
"/opt/conda/lib/python3.6/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
"/opt/conda/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
"/opt/conda/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
"/opt/conda/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'OperationalError' is not JSON serializable
| 0.572842 |
Traceback (most recent call last):
"/home/.../end-to-end-negotiator/src/reinforce.py", line 169, in <module>
main()
"/home/.../end-to-end-negotiator/src/reinforce.py", line 163, in main
reinforce.run()
"/home/.../end-to-end-negotiator/src/reinforce.py", line 51, in run
self.dialog.run(ctxs, self.logger)
"/home/.../end-to-end-negotiator/src/dialog.py", line 171, in run
out = writer.write(max_words=words_left)
"/home/.../end-to-end-negotiator/src/agent.py", line 1661, in write
_, lat_h, log_q_z = self.model.forward_prediction(self.cnt, self.mem_h, sample=self.train)
"/home/.../end-to-end-negotiator/src/models/latent_clustering_model.py", line 541, in forward_prediction
z = q_z.multinomial().detach()
TypeError: multinomial() missing 1 required positional arguments: "num_samples"
| Traceback (most recent call last):
"C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 992, in emit
msg = self.format(record)
"C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 838, in format
return fmt.format(record)
"C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 575, in format
record.message = record.getMessage()
"C:\ProgramData\Anaconda3\lib\logging\__init__.py", line 338, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
| 0.55034 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/u/cd4mcq/.local/lib/python3.8/site-packages/jedi-0.0.0-py3.8.egg/jedi/inference/compiled/access.py", line 47, in <module '/u/cd4mcq/.local/lib/python3.8/site-packages/jedi-0.0.0-py3.8.egg/jedi/inference/compiled/access.py'>
ClassMethodDescriptorType = type(object_class_dict['__subclasshook__'])
KeyError: __subclasshook__
| Traceback (most recent call last):
"train.py", line 321, in <module>
main()
"train.py", line 137, in main
model.load_state_dict(package['state_dict'])
"/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 331, in load_state_dict
.format(name))
KeyError: 'unexpected key "conv.0.weight" in state_dict'
| 0.592016 |
Traceback (most recent call last):
"/home/vinhtq115/anaconda3/envs/graphNN/bin/chemprop_web", line 8, in <module>
sys.exit(chemprop_web())
"/home/vinhtq115/anaconda3/envs/graphNN/lib/python3.8/site-packages/chemprop/web/run.py", line 39, in chemprop_web
run_web(args=WebArgs().parse_args())
"/home/vinhtq115/anaconda3/envs/graphNN/lib/python3.8/site-packages/chemprop/web/run.py", line 28, in run_web
db.init_db()
"/home/vinhtq115/anaconda3/envs/graphNN/lib/python3.8/site-packages/chemprop/web/app/db.py", line 30, in init_db
with current_app.open_resource('schema.sql') as f:
"/home/vinhtq115/anaconda3/envs/graphNN/lib/python3.8/site-packages/flask/helpers.py", line 1114, in open_resource
return open(os.path.join(self.root_path, resource), mode)
NotFoundError: [Errno 2] No such file or directory: '/home/vinhtq115/anaconda3/envs/graphNN/lib/python3.8/site-packages/chemprop/web/app/schema.sql'
| Traceback (most recent call last):
"tabpy-server\tabpy_server\tabpy.py", line 10, in <module>
main()
"tabpy-server\tabpy_server\tabpy.py", line 5, in main
app = TabPyApp()
"C:\Users\TabPy\tabpy-server\tabpy_server\app\app.py", line 56, in __init__
self._parse_config(config_file)
"C:\Users\TabPy\tabpy-server\tabpy_server\app\app.py", line 220, in _parse_config
os.makedirs(self.settings[SettingsParameters.UploadDir])
"C:\Users\AppData\Local\Programs\Python\Python37\lib\os.py", line 221, in makedirs
mkdir(name, mode)
NotFoundError: [WinError 3] The system cannot find the path specified: '/tmp/query_objects'
| 0.65884 |
Traceback (most recent call last):
"[..].venv/lib/python3.6/site-packages/neo4j/v1/api.py", line 151, in __del__
"[..].venv/lib/python3.6/site-packages/neo4j/v1/api.py", line 193, in close
"[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 439, in close
"[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 428, in remove
"[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 346, in close
"/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/__init__.py", line 1305, in info
"/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/__init__.py", line 1546, in isEnabledFor
TypeError: '>=' not supported between instances of 'int' and 'NoneType'
| Traceback (most recent call last):
"train.py", line 42, in <module>
model(x)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__
result = self.forward(*input, **kwargs)
"train.py", line 22, in forward
out, hidden = self.rnn(x)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__
result = self.forward(*input, **kwargs)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/qrnn.py", line 160, in forward
input, hn = layer(input, None if hidden is None else hidden[i])
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__
result = self.forward(*input, **kwargs)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/qrnn.py", line 95, in forward
C = ForgetMult()(F, Z, hidden, use_cuda=self.use_cuda)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__
result = self.forward(*input, **kwargs)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/forget_mult.py", line 175, in forward
if hidden_init is None: return GPUForgetMult()(f, x) if use_cuda else CPUForgetMult()(f, x)
"/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/forget_mult.py", line 127, in forward
self.forget_mult(grid=grid, block=(grid_hidden_size, 1), args=[result.data_ptr(), f.data_ptr(), x.data_ptr(), seq_size, batch_size, hidden_size], stream=self.stream)
"cupy/cuda/function.pyx", line 143, in cupy.cuda.function.Function.__call__
TypeError: 'float' object cannot be interpreted as an index
| 0.663947 |
Traceback (most recent call last):
"/usr/bin/mitmdump", line 11, in <module>
sys.exit(mitmdump())
"/usr/lib/python3.5/site-packages/mitmproxy/tools/main.py", line 126, in mitmdump
master.run()
"/usr/lib/python3.5/site-packages/mitmproxy/tools/dump.py", line 69, in run
super().run()
"/usr/lib/python3.5/site-packages/mitmproxy/master.py", line 86, in run
self.shutdown()
"/usr/lib/python3.5/site-packages/mitmproxy/master.py", line 119, in shutdown
self.addons.done()
"/usr/lib/python3.5/site-packages/mitmproxy/addonmanager.py", line 66, in done
self.invoke_with_context(i, "done")
"/usr/lib/python3.5/site-packages/mitmproxy/addonmanager.py", line 76, in invoke_with_context
self.invoke(addon, name, *args, **kwargs)
"/usr/lib/python3.5/site-packages/mitmproxy/addonmanager.py", line 85, in invoke
func(*args, **kwargs)
"/usr/lib/python3.5/site-packages/mitmproxy/addons/streamfile.py", line 65, in done
self.stream.add(flow)
"/usr/lib/python3.5/site-packages/mitmproxy/io.py", line 63, in add
tnetstring.dump(d, self.fo)
"/usr/lib/python3.5/site-packages/mitmproxy/contrib/tnetstring.py", line 66, in dump
file_handle.write(dumps(value))
"/usr/lib/python3.5/site-packages/mitmproxy/contrib/tnetstring.py", line 57, in dumps
_rdumpq(q, 0, value)
"/usr/lib/python3.5/site-packages/mitmproxy/contrib/tnetstring.py", line 142, in _rdumpq
size = _rdumpq(q, size, v)
"/usr/lib/python3.5/site-packages/mitmproxy/contrib/tnetstring.py", line 142, in _rdumpq
size = _rdumpq(q, size, v)
"/usr/lib/python3.5/site-packages/mitmproxy/contrib/tnetstring.py", line 149, in _rdumpq
raise ValueError("unserializable object: {} ({})".format(value, type(value)))
ValueError: unserializable object: <WebSocketFlow (0 messages)> (<class 'mitmproxy.websocket.WebSocketFlow'>)
| Traceback (most recent call last):
"setup.py", line 31, in <module>
config = configuration(top_path='').todict()
"setup.py", line 9, in configuration
config.add_subpackage('_shared')
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\numpy\distutils\misc_util.py", line 1019, in add_subpackage
config_list = self.get_subpackage(subpackage_name, subpackage_path,
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\numpy\distutils\misc_util.py", line 985, in get_subpackage
config = self._get_configuration_from_setup_py(
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\numpy\distutils\misc_util.py", line 927, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
".\_shared\setup.py", line 15, in configuration
cython(['geometry.pyx',
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\skimage\_build.py", line 65, in cython
cythonize(pyx_files, nthreads=cpu_count(),
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\Cython\Build\Dependencies.py", line 965, in cythonize
module_list, module_metadata = create_extension_list(
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\Cython\Build\Dependencies.py", line 815, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
"C:\Users\SimonNuessli\miniconda3\envs\env_0\lib\site-packages\Cython\Build\Dependencies.py", line 114, in nonempty
raise ValueError(error_msg)
ValueError: 'C:\Users\SimonNuessli\miniconda3\envs\env_0\Lib\site-packages\skimage\_shared\geometry.pyx' doesn't match any files
| 0.57457 |
Traceback (most recent call last):
"C:\python\lib\site-packages\pynput\_util\__init__.py", line 162, in inner
return f(self, *args, **kwargs)
"C:\python\lib\site-packages\pynput\_util\win32.py", line 382, in _handler
converted = self._convert(code, msg, lpdata)
"C:\python\lib\site-packages\pynput\keyboard\_win32.py", line 244, in _convert
if self._event_filter(msg, data) is False:
AttributeError: 'GlobalHotKeys' object has no attribute '_event_filter'
| Traceback (most recent call last):
"/tmp/ansible_WxFdz_/ansible_module_ovirt_vms.py", line 1037, in main
wait_condition=vms_module.wait_for_down,
"/tmp/ansible_WxFdz_/ansible_modlib.zip/ansible/module_utils/ovirt.py", line 706, in action
entity = pre_action(entity)
"/tmp/ansible_WxFdz_/ansible_module_ovirt_vms.py", line 603, in _pre_shutdown_action
vm_service = self._service.vm_service(entity.id)
AttributeError: 'NoneType' object has no attribute 'id'
| 0.629591 |
Traceback (most recent call last):
"/label-studio/label_studio/utils/misc.py", line 93, in exception_f
return f(*args, **kwargs)
"/label-studio/label_studio/blueprint.py", line 96, in prepare_globals
g.project = project_get_or_create()
"/label-studio/label_studio/blueprint.py", line 187, in project_get_or_create
input_args, context={'multi_session': False})
"/label-studio/label_studio/project.py", line 996, in get_or_create
project = cls.get(project_name, args, context)
"/label-studio/label_studio/project.py", line 979, in get
project = cls._load_from_dir(project_dir, project_name, args, context)
"/label-studio/label_studio/project.py", line 967, in _load_from_dir
return cls(config, project_name, context=context, root_dir=args.root_dir)
"/label-studio/label_studio/project.py", line 87, in __init__
self.load_project_and_ml_backends()
"/label-studio/label_studio/project.py", line 459, in load_project_and_ml_backends
self.add_ml_backend(ml_backend_params, raise_on_error=False)
"/label-studio/label_studio/project.py", line 431, in add_ml_backend
ml_backend = MLBackend.from_params(params)
"/label-studio/label_studio/utils/models.py", line 489, in from_params
ml_api = MLApi(params['url'], params['name'])
TypeError: string indices must be integers
| Traceback (most recent call last):
"sync_train.py", line 424, in <module>
main()
"sync_train.py", line 108, in main
train(sync_train_data, model, criterion, optimizer, epoch, config)
"sync_train.py", line 199, in train
loss = criterion(a_embs, p_embs, n_embs)
"/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 477, in __call__
result = self.forward(*input, **kwargs)
"/myProject/parallel.py", line 140, in forward
outputs = _criterion_parallel_apply(replicas, inputs, targets, kwargs)
"/myProject/parallel.py", line 194, in _criterion_parallel_apply
raise output
"/myProject/parallel.py", line 168, in _worker
output = module(*(input + target), **kwargs)
TypeError: add() received an invalid combination of arguments - got (tuple), but expected one of:
| 0.622066 |
Traceback (most recent call last):
"Object_detection_picamera_1.py", line 196, in <module>
feed_dict={image_tensor: frame_expanded})
"/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
"/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1142, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
"/usr/local/lib/python3.5/dist-packages/numpy/core/_asarray.py", line 85, in asarray
return array(a, dtype, copy=False, order=order)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
| Traceback (most recent call last):
"/builddir/build/BUILD/eventlet-0.23.0/tests/ssl_test.py", line 45, in test_duplex_response
sock = listen_ssl_socket()
"/builddir/build/BUILD/eventlet-0.23.0/tests/ssl_test.py", line 22, in listen_ssl_socket
**kwargs
"/builddir/build/BUILD/eventlet-0.23.0/eventlet/green/ssl.py", line 379, in wrap_socket
return GreenSSLSocket(sock, *a, **kw)
"/builddir/build/BUILD/eventlet-0.23.0/eventlet/green/ssl.py", line 68, in __init__
ca_certs, do_handshake_on_connect and six.PY2, *args, **kw)
"/usr/lib64/python3.7/ssl.py", line 788, in __init__
f"{self.__class__.__name__} does not have a public "
TypeError: GreenSSLSocket does not have a public constructor. Instances are returned by SSLContext.wrap_socket().
| 0.548571 |
Traceback (most recent call last):
"bin/examine.py", line 91, in <module>
main()
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"bin/examine.py", line 47, in main
env_viewer=EnvViewer)
"/home/avi/Desktop/hideandseek/mujoco-worldgen/mujoco_worldgen/util/envs/examine_env.py", line 26, in examine_env
return_args_remaining=True, **env_kwargs)
"/home/avi/Desktop/hideandseek/mujoco-worldgen/mujoco_worldgen/util/envs/flexible_load.py", line 88, in load_env
matching = (glob(join(core_dir, envs_dir, "**", "*.py"), recursive=True) +
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/posixpath.py", line 94, in join
genericpath._check_arg_types('join', a, *p)
"/home/avi/anaconda3/envs/python3.6/lib/python3.6/genericpath.py", line 149, in _check_arg_types
(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'tuple'
| | epoch 001:
0% 0/970 [00:00<?, ?it/s]Traceback (most recent call last):
"/usr/local/bin/fairseq-train", line 11, in <module>
load_entry_point('fairseq', 'console_scripts', 'fairseq-train')()
"/content/fairseq/fairseq_cli/train.py", line 302, in cli_main
main(args)
"/content/fairseq/fairseq_cli/train.py", line 80, in main
train(args, trainer, task, epoch_itr)
"/content/fairseq/fairseq_cli/train.py", line 121, in train
log_output = trainer.train_step(samples)
"/content/fairseq/fairseq/trainer.py", line 236, in train_step
sample = self._prepare_sample(sample, self.args.fp16)
"/content/fairseq/fairseq/trainer.py", line 496, in _prepare_sample
sample = utils.move_to_cuda(sample)
"/content/fairseq/fairseq/utils.py", line 53, in move_to_cuda
return apply(_move_to_cuda, sample)
"/content/fairseq/fairseq/utils.py", line 42, in apply
for key, value in sample.items()
"/content/fairseq/fairseq/utils.py", line 42, in <dictcomp>
for key, value in sample.items()
"/content/fairseq/fairseq/utils.py", line 35, in apply
if len(sample) == 0:
TypeError: object of type 'int' has no len()
| 0.66377 |
Traceback (most recent call last):
"/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
"/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
"/home/meta/src/liquidctl/liquidctl/cli.py", line 327, in <module>
main()
"/home/meta/src/liquidctl/liquidctl/cli.py", line 297, in main
dev.connect(**opts)
"/home/meta/src/liquidctl/liquidctl/driver/hydro_platinum.py", line 158, in connect
loc = 'loc' + '_'.join((num.decode() for num in re.findall(b'\\d+', self.address)))
"/usr/lib/python3.8/re.py", line 241, in findall
return _compile(pattern, flags).findall(string)
TypeError: cannot use a bytes pattern on a string-like object
| Traceback (most recent call last):
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\threading.py", line 916, in _bootstrap_inner
self.run()
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\site-packages\keras\utils\data_utils.py", line 565, in _run
with closing(self.executor_fn(_SHARED_SEQUENCES)) as executor:
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\site-packages\keras\utils\data_utils.py", line 548, in <lambda>
initargs=(seqs,))
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\context.py", line 119, in Pool
context=self.get_context())
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\pool.py", line 174, in __init__
self._repopulate_pool()
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\pool.py", line 239, in _repopulate_pool
w.start()
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
"C:\Users\****\AppData\Local\conda\conda\envs\POMP\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle generator objects
| 0.604427 |
Traceback (most recent call last):
"tauon.py", line 6388, in bass_player_thread
"t_modules\t_bass.py", line 1375, in player
"tauon.py", line 4121, in test_progress
"tauon.py", line 4593, in advance
"tauon.py", line 4754, in notify_song
NameError: name 'song_notification' is not defined
| Traceback (most recent call last):
"<string>", line 1, in <module>
NameError: name 'powerline_setup' is not defined
| 0.514399 |
Traceback (most recent call last):
"/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/flask.py", line 70, in sentry_patched_wsgi_app
environ, start_response
"/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/wsgi.py", line 120, in __call__
reraise(*_capture_exception(hub))
"/usr/local/lib/python3.7/site-packages/sentry_sdk/_compat.py", line 57, in reraise
raise value
"/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/wsgi.py", line 116, in __call__
_sentry_start_response, start_response, span
"/usr/local/lib/python3.7/site-packages/sentry_sdk/integrations/flask.py", line 69, in <lambda>
return SentryWsgiMiddleware(lambda *a, **kw: old_app(self, *a, **kw))(
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 2463, in __call__
return self.wsgi_app(environ, start_response)
"/Users/kush/open-event-server/app/__init__.py", line 77, in __call__
return self.app(environ, start_response)
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 2449, in wsgi_app
response = self.handle_exception(e)
"/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
"/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 1866, in handle_exception
reraise(exc_type, exc_value, tb)
"/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
"/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
"/usr/local/lib/python3.7/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
"/usr/local/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/Users/kush/open-event-server/app/api/helpers/permissions.py", line 45, in decorator
return fn(*args, **kwargs)
"/Users/kush/open-event-server/app/api/orders.py", line 659, in initiate_transaction
checksum = PaytmPaymentsManager.generate_checksum(paytm_params)
"/Users/kush/open-event-server/app/api/helpers/payment.py", line 342, in generate_checksum
return checksum.generate_checksum_by_str(json.dumps(paytm_params["body"]), merchant_key)
"/Users/kush/open-event-server/app/api/helpers/checksum.py", line 55, in generate_checksum_by_str
return __encode__(hash_string, IV, merchant_key)
"/Users/kush/open-event-server/app/api/helpers/checksum.py", line 105, in __encode__
c = AES.new(key, AES.MODE_CBC, iv)
"/usr/local/lib/python3.7/site-packages/Crypto/Cipher/AES.py", line 232, in new
return _create_cipher(sys.modules[__name__], key, mode, *args, **kwargs)
"/usr/local/lib/python3.7/site-packages/Crypto/Cipher/__init__.py", line 79, in _create_cipher
return modes[mode](factory, **kwargs)
"/usr/local/lib/python3.7/site-packages/Crypto/Cipher/_mode_cbc.py", line 274, in _create_cbc_cipher
cipher_state = factory._create_base_cipher(kwargs)
"/usr/local/lib/python3.7/site-packages/Crypto/Cipher/AES.py", line 103, in _create_base_cipher
result = start_operation(c_uint8_ptr(key),
"/usr/local/lib/python3.7/site-packages/Crypto/Util/_raw_api.py", line 144, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code
| Traceback (most recent call last):
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/utils/data_utils.py", line 578, in get
inputs = self.queue.get(block=True).get()
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/utils/data_utils.py", line 401, in get_index
return _SHARED_SEQUENCES[uid][i]
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/preprocessing/image.py", line 825, in __getitem__
return self._get_batches_of_transformed_samples(index_array)
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/preprocessing/image.py", line 1233, in _get_batches_of_transformed_samples
img = self.image_data_generator.preprocessing_function(img)
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/applications/inception_v3.py", line 407, in preprocess_input
return imagenet_utils.preprocess_input(x, mode='tf')
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/applications/imagenet_utils.py", line 178, in preprocess_input
mode=mode)
"/home/chris_r_brake/anaconda3/envs/keras_2/lib/python3.6/site-packages/keras/applications/imagenet_utils.py", line 115, in _preprocess_symbolic_input
x /= 127.5
TypeError: unsupported operand type(s) for /=: 'JpegImage
' and 'float'
| 0.618309 |
Traceback (most recent call last):
"video_to_slomo.py", line 216, in <module>
main()
"video_to_slomo.py", line 165, in main
flowOut = flowComp(torch.cat((I0, I1), dim=1))
"C:\Users\Amos\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
result = self.forward(*input, **kwargs)
"C:\Users\Amos\SloMo\SuperSloMo\model.py", line 197, in forward
x
= F.leaky_relu(self.conv1(x), negative_slope = 0.1)
"C:\Users\Amos\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
result = self.forward(*input, **kwargs)
"C:\Users\Amos\Anaconda3\lib\site-packages\torch\nn\modules\conv.py", line 338, in forward
self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
| WARNING: Traceback (most recent call last):
"examples/vispy_dock.py", line 44, in <module>
appQt.exec_()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/app/backends/_qt.py", line 501, in event
out = super(QtBaseCanvasBackend, self).event(ev)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/app/backends/_qt.py", line 501, in event
out = super(QtBaseCanvasBackend, self).event(ev)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/app/backends/_qt.py", line 818, in paintGL
self._vispy_canvas.events.draw(region=None)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/util/event.py", line 455, in __call__
self._invoke_callback(cb, event)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/util/event.py", line 475, in _invoke_callback
self, cb_event=(cb, event))
<< caught exception here: >>
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/util/event.py", line 471, in _invoke_callback
cb(event)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/scene/canvas.py", line 217, in on_draw
self._draw_scene()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/scene/canvas.py", line 266, in _draw_scene
self.draw_visual(self.scene)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/scene/canvas.py", line 304, in draw_visual
node.draw()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/scene/visuals.py", line 99, in draw
self._visual_superclass.draw(self)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/visuals/visual.py", line 595, in draw
v.draw()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/visuals/visual.py", line 595, in draw
v.draw()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/visuals/visual.py", line 595, in draw
v.draw()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/visuals/visual.py", line 443, in draw
self._vshare.index_buffer)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/visuals/shaders/program.py", line 101, in draw
Program.draw(self, *args, **kwargs)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/program.py", line 533, in draw
canvas.context.flush_commands()
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/context.py", line 176, in flush_commands
self.glir.flush(self.shared.parser)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/glir.py", line 572, in flush
self._shared.flush(parser)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/glir.py", line 494, in flush
parser.parse(self._filter(self.clear(), parser))
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/glir.py", line 819, in parse
self._parse(command)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/glir.py", line 779, in _parse
ob.draw(*args)
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/glir.py", line 1322, in draw
gl.check_error('Check before draw')
"/Users/talley/anaconda/envs/napdev/lib/python3.7/site-packages/vispy/gloo/gl/__init__.py", line 207, in check_error
raise err
RuntimeError: OpenGL got errors (Check before draw): GL_INVALID_VALUE
| 0.55068 |
Traceback (most recent call last):
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\Scripts\lektor-script.py", line 11, in <module>
load_entry_point('Lektor==3.0', 'console_scripts', 'lektor')()
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\cli.py", line 198, in build_cmd
ctx.load_plugins()
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\cli.py", line 114, in load_plugins
load_packages(self.get_env(), reinstall=reinstall)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\packages.py", line 304, in load_packages
refresh=reinstall)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\packages.py", line 274, in update_cache
download_and_install_package(package_root, package, version)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\packages.py", line 101, in download_and_install_package
rv = portable_popen(args, env=env).wait()
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\site-packages\lektor-3.0-py3.6.egg\lektor\utils.py", line 490, in portable_popen
return subprocess.Popen(cmd, *args, **kwargs)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
"C:\Users\Aperez\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 966, in _execute_child
args = list2cmdline(args)
"C:\Users\Aperez\AppData\Local\Programs\Python\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/will/.local/bin/sshuttle", line 8, in <module>
sys.exit(main())
"/home/will/.local/lib/python3.7/site-packages/sshuttle/cmdline.py", line 29, in main
file_name=opt.sudoers_filename
"/home/will/.local/lib/python3.7/site-packages/sshuttle/sudoers.py", line 64, in sudoers
save_config(content, file_name)
"/home/will/.local/lib/python3.7/site-packages/sshuttle/sudoers.py", line 40, in save_config
], stdout=PIPE, stdin=PIPE)
"/usr/local/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
"/usr/local/lib/python3.7/subprocess.py", line 1482, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not NoneType
| 0.6404 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 342, in <module>
**keywords_with_side_effects(sys.argv)
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
"/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 119, in finalize_options
self.distribution.ext_modules = get_ext_modules()
"/private/tmp/pip-build-O38dKC/cryptography/setup.py", line 78, in get_ext_modules
from cryptography.hazmat.bindings.commoncrypto.binding import (
"/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/commoncrypto/binding.py", line 14, in <module>
class Binding(object):
"/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/commoncrypto/binding.py", line 36, in Binding
"-framework", "Security", "-framework", "CoreFoundation"
"/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/utils.py", line 97, in build_ffi_for_binding
extra_link_args=extra_link_args,
"/private/tmp/pip-build-O38dKC/cryptography/src/cryptography/hazmat/bindings/utils.py", line 105, in build_ffi
ffi = FFI()
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/api.py", line 59, in **init**
"version mismatch, %s != %s" % (backend.**version**, **version**)
AssertionError: version mismatch, 0.8.2 != 1.7.0 | Traceback (most recent call last):
"<input>", line 2, in <module>
def _(a : List[int]):
"/lib/python3.7/functools.py", line 811, in register
f"Invalid annotation for {argname!r}. {cls!r} is not a class."
AssertionError: Invalid annotation for 'a'. typing.List[int] is not a class.
| 0.533759 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"C:\Users\Me\Desktop\Myfolder\MySubfolder\learning_flask_env\lib\site-packages\flask_restful\__init__.py", line 21, in <module>
import config
ImportError: No module named 'config'
|
Traceback (most recent call last):
"<string>", line 17, in <module>
"/tmp/pip_build_root/pyscaffold/setup.py", line 139, in <module>
setup_package()
"/tmp/pip_build_root/pyscaffold/setup.py", line 135, in setup_package
'local_scheme': local_version2str})
"/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
"/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
"/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"<string>", line 12, in replacement_run
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2355, in load
return self.resolve()
"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named pbr_json | 0.573108 |
Module picard raised an exception: Traceback (most recent call last):
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/multiqc.py", line 569, in run
output = mod()
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/modules/picard/picard.py", line 65, in __init__
n['HsMetrics'] = HsMetrics.parse_reports(self)
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/modules/picard/HsMetrics.py", line 182, in parse_reports
plot = table.plot(data, _get_table_headers(data))
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/plots/table.py", line 49, in plot
return make_table ( dt )
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/plots/table.py", line 139, in make_table
val = header['modify'](val)
"/home/thomas/progr/Anaconda/lib/python3.6/site-packages/multiqc/modules/picard/HsMetrics.py", line 279, in <lambda>
headers[h]['modify'] = lambda x: x * config.base_count_multiplier
TypeError: can't multiply sequence by non-int of type 'float'
| Traceback (most recent call last):
"__main__.py", line 19, in <module>
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\__init__.py", line 474, in main
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\__init__.py", line 464, in _real_main
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 2018, in download
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 530, in extract
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\atresplayer.py", line 84, in _real_extract
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\atresplayer.py", line 49, in _handle_error
"C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp7hc5a09v\build\youtube_dl\extractor\common.py", line 899, in _parse_json
"C:\Python\Python34\lib\json\__init__.py", line 312, in loads
TypeError: the JSON object must be str, not 'bytes'
| 0.551714 |
Traceback (most recent call last):
"run.py", line 24, in <module>
from tensorforce import Agent, Environment, Runner
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/__init__.py", line 31, in <module>
from tensorforce.environments import Environment
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/environments/__init__.py", line 29, in <module>
from tensorforce.environments.carla_environment import CARLAEnvironment
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/environments/carla_environment.py", line 7, in <module>
from tensorforce.agents import Agent
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/agents/__init__.py", line 18, in <module>
from tensorforce.agents.constant import ConstantAgent
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/agents/constant.py", line 19, in <module>
from tensorforce.core.models import ConstantModel
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/__init__.py", line 23, in <module>
from tensorforce.core.optimizers import optimizer_modules
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/optimizers/__init__.py", line 32, in <module>
from tensorforce.core.optimizers.tf_optimizer import TFOptimizer, tensorflow_optimizers
"/home/jrlab/Desktop/Git/tensorforce/tensorforce/core/optimizers/tf_optimizer.py", line 30, in <module>
ftrl=tf.keras.optimizers.Ftrl,
AttributeError: module 'tensorflow._api.v1.keras.optimizers' has no attribute 'Ftrl'
| Traceback (most recent call last):
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/error_handling.py", line 39, in __call__
return self.app(environ, start_response)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/logging.py", line 69, in __call__
retval = self.app(environ, custom_start_response)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/middleware/cors.py", line 75, in __call__
return self.app(environ, custom_start_response)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 429, in as_wsgi
resp = self(req)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/router.py", line 402, in __call__
resp = func(**kw)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/v1/triggers.py", line 59, in get_one
return super(TriggerTypeController, self).get_one(triggertype_ref_or_id, **kwargs)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/resource.py", line 360, in get_one
return self._get_one(ref_or_id, from_model_kwargs=from_model_kwargs)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2api/controllers/resource.py", line 379, in _get_one
permission_type=permission_type)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/utils.py", line 119, in assert_user_has_resource_db_permission
permission_type=permission_type)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/utils.py", line 300, in user_has_resource_db_permission
resolver = resolvers.get_resolver_for_permission_type(permission_type=permission_type)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/resolvers.py", line 867, in get_resolver_for_permission_type
resource_type = PermissionType.get_resource_type(permission_type=permission_type)
"/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/rbac/types.py", line 139, in get_resource_type
split = permission_type.split('_')
AttributeError: 'NoneType' object has no attribute 'split' (_exception_data={},_exception_class='AttributeError',_exception_message="'NoneType' object has no attribute 'split'")
| 0.561272 |
Traceback (most recent call last):
"/opt/venvs/matrix-synapse/bin/register_new_matrix_user", line 22, in <module>
main()
"/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/_scripts/register_new_matrix_user.py", line 224, in main
admin, args.user_type)
"/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/_scripts/register_new_matrix_user.py", line 138, in register_new_user
bool(admin), user_type)
"/opt/venvs/matrix-synapse/lib/python3.5/site-packages/synapse/_scripts/register_new_matrix_user.py", line 60, in request_registration
mac = hmac.new(key=shared_secret.encode('utf8'), digestmod=hashlib.sha1)
AttributeError: 'int' object has no attribute 'encode'
| Traceback (most recent call last):
"c:\users\nelson.wu\envs\spider\lib\site.py", line 769, in <module>
main()
"c:\users\nelson.wu\envs\spider\lib\site.py", line 746, in main
paths_in_sys = addsitepackages(paths_in_sys)
"c:\users\nelson.wu\envs\spider\lib\site.py", line 279, in addsitepackages
addsitedir(sitedir, known_paths)
"c:\users\nelson.wu\envs\spider\lib\site.py", line 202, in addsitedir
addpackage(sitedir, name, known_paths)
"c:\users\nelson.wu\envs\spider\lib\site.py", line 170, in addpackage
exec(line)
"<string>", line 1, in <module>
"c:\users\nelson.wu\envs\spider\lib\site-packages\win32\lib\pywin32_bootstrap.py", line 14, in <module>
for maybe in site.getsitepackages():
AttributeError: module 'site' has no attribute 'getsitepackages' | 0.54581 |
Traceback (most recent call last):
"/usr/lib/python3.5/argparse.py", line 1489, in _get_handler
return getattr(self, handler_func_name)
AttributeError: 'CustomParser' object has no attribute '_handle_conflict_None'
| [!] Traceback (most recent call last):
"lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
| 0.598156 |
Traceback (most recent call last):
"/root/Tools/owtf/owtf/install/install.py", line 136, in <module>
install_restricted_from_cfg(restricted_cfg)
"/root/Tools/owtf/owtf/install/install.py", line 85, in install_restricted_from_cfg
install_in_directory(os.path.expanduser(cp.get(section, "directory")), cp.get(section, "command"))
"/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 811, in get
d)
"/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 384, in before_get
self._interpolate_some(parser, option, L, value, section, defaults, 1)
"/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py", line 425, in _interpolate_some
if "%" in v:
TypeError: argument of type 'int' is not iterable | Traceback (most recent call last):
"/app/redash/tasks/queries/execution.py", line 160, in run
data, error = query_runner.run_query(annotated_query, self.user)
"/app/redash/query_runner/prometheus.py", line 139, in run_query
response = requests.get(api_endpoint, params=payload)
"/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
"/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
"/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
"/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
"/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
"/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
"/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
"/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
"/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 394, in connect
ssl_context=context,
TypeError: ssl_wrap_socket_with_ocsp() got an unexpected keyword argument 'key_password'
| 0.558994 |
Traceback (most recent call last):
"/mnt/scratch0/clusterfuzz/src/python/bot/fuzzers/ml/gradientfuzz/train.py", line 163, in <module>
main()
"/mnt/scratch0/clusterfuzz/src/python/bot/fuzzers/ml/gradientfuzz/train.py", line 159, in main
train_model(model, config, train_dataset, val_dataset)
"/mnt/scratch0/clusterfuzz/src/python/bot/fuzzers/ml/gradientfuzz/train.py", line 132, in train_model
use_multiprocessing=False)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 108, in _method_wrapper
return method(self, *args, **kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 1098, in fit
tmp_logs = train_function(iterator)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 780, in __call__
result = self._call(*args, **kwds)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 823, in _call
self._initialize(args, kwds, add_initializers_to=initializers)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 697, in _initialize
*args, **kwds))
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2855, in _get_concrete_function_internal_garbage_collected
graph_function, _, _ = self._maybe_define_function(args, kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 3213, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 3075, in _create_graph_function
capture_by_value=self._capture_by_value),
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 986, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 600, in wrapped_fn
return weak_wrapped_fn().__wrapped__(*args, **kwds)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 973, in wrapper
raise e.ag_error_metadata.to_exception(e)
TypeError: in user code:
| 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.504385 |
Traceback (most recent call last):
"test.py", line 1, in <module>
import parsedatetime
"<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
"C:\Users\burke\Workspace\certserve-native\env\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
exec(bytecode, module.__dict__)
"lib\site-packages\parsedatetime\__init__.py", line 69, in <module>
"lib\site-packages\parsedatetime\__init__.py", line 69, in <listcomp>
"lib\site-packages\parsedatetime\pdt_locales\__init__.py", line 29, in load_locale
AttributeError: module 'parsedatetime.pdt_locales' has no attribute 'de_DE'
| Traceback (most recent call last):
"/projecthome/venv/lib/python3.6/site-packages/remi/server.py", line 788, in do_GET
self.client.root = self.main(*self.server.userdata)
"widgetoverview.py", line 40, in main
self.table.set_on_table_row_click_listener(self.on_table_row_click)
AttributeError: 'Table' object has no attribute 'set_on_table_row_click_listener'
| 0.558927 |
Traceback (most recent call last):
"/home/jbernier/.local/lib/python3.6/site-packages/airflow/models/dagbag.py", line 256, in process_file
m = imp.load_source(mod_name, filepath)
"/usr/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
"<frozen importlib._bootstrap>", line 684, in _load
"<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/jbernier/.local/lib/python3.6/site-packages/airflow/example_dags/example_skip_dag.py", line 52, in <module>
dag = DAG(dag_id='example_skip_dag', default_args=args, tags=['example'])
"/home/jbernier/.local/lib/python3.6/site-packages/airflow/models/dag.py", line 250, in __init__
self.default_args = copy.deepcopy(default_args or {})
"/usr/lib/python3.6/copy.py", line 150, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.6/copy.py", line 240, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.6/copy.py", line 180, in deepcopy
y = _reconstruct(x, memo, *rv)
"/usr/lib/python3.6/copy.py", line 274, in _reconstruct
y = func(*args)
"/usr/lib/python3.6/copy.py", line 273, in <genexpr>
args = (deepcopy(arg, memo) for arg in args)
"/usr/lib/python3.6/copy.py", line 180, in deepcopy
y = _reconstruct(x, memo, *rv)
"/usr/lib/python3.6/copy.py", line 280, in _reconstruct
state = deepcopy(state, memo)
"/usr/lib/python3.6/copy.py", line 150, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.6/copy.py", line 240, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.6/copy.py", line 150, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.6/copy.py", line 220, in _deepcopy_tuple
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.6/copy.py", line 220, in <listcomp>
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.6/copy.py", line 180, in deepcopy
y = _reconstruct(x, memo, *rv)
"/usr/lib/python3.6/copy.py", line 274, in _reconstruct
y = func(*args)
TypeError: __init__() missing 5 required positional arguments: 'tz', 'utc_offset', 'is_dst', 'dst', and 'abbrev'
| Traceback (most recent call last):
"/home/yu/Mask_RCNN/mrcnn/model.py", line 1695, in data_generator
use_mini_mask=config.USE_MINI_MASK)
"/home/yu/Mask_RCNN/mrcnn/model.py", line 1210, in load_image_gt
mask, class_ids = dataset.load_mask(image_id)
"train_shapes.py", line 137, in load_mask
num_obj = self.get_obj_index('fish_'+img)
TypeError: Can't convert 'PngImage
' object to str implicitly
| 0.511485 |
Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/dns/inet.py", line 104, in is_multicast
first = ord(dns.ipv4.inet_aton(text)[0])
TypeError: ord() expected string of length 1, but int found
| Traceback (most recent call last):
"C:\Users\S10500\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\widgets\ipythonconsole\client.py", line 575, in show_time
elapsed_time = time.monotonic() - self.t0
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
| 0.540922 |
Traceback (most recent call last):
"/private/tmp/venv/lib/python3.8/site-packages/vispy/gloo/gl/_gl2.py", line 442, in glEnable
nativefunc = glEnable._native
AttributeError: 'function' object has no attribute '_native'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/work/.pyenv/versions/tf20/lib/python3.5/site-packages/sonnet/__init__.py", line 67, in <module>
from sonnet.python import custom_getters
"/home/work/.pyenv/versions/tf20/lib/python3.5/site-packages/sonnet/python/custom_getters/__init__.py", line 26, in <module>
from sonnet.python.custom_getters.restore_initializer import restore_initializer
"/home/work/.pyenv/versions/tf20/lib/python3.5/site-packages/sonnet/python/custom_getters/restore_initializer.py", line 27, in <module>
collection=tf.GraphKeys.GLOBAL_VARIABLES):
AttributeError: module 'tensorflow' has no attribute 'GraphKeys'
| 0.56218 |
Traceback (most recent call last):
"/Users/ox/_ws/ten_lines_spacy/p3_6e/lib/python3.6/site-packages/pyclustering/cluster/examples/dbscan_examples.py", line 150, in <module>
cluster_sample1();
"/Users/ox/_ws/ten_lines_spacy/p3_6e/lib/python3.6/site-packages/pyclustering/cluster/examples/dbscan_examples.py", line 55, in cluster_sample1
template_clustering(0.4, 2, SIMPLE_SAMPLES.SAMPLE_SIMPLE1);
"/Users/ox/_ws/ten_lines_spacy/p3_6e/lib/python3.6/site-packages/pyclustering/cluster/examples/dbscan_examples.py", line 38, in template_clustering
(ticks, _) = timedcall(dbscan_instance.process);
"/usr/local/lib/python2.7/site-packages/pyclustering/utils/__init__.py", line 432, in timedcall
result = executable_function(*args);
"/usr/local/lib/python2.7/site-packages/pyclustering/cluster/dbscan.py", line 88, in process
(self.__clusters, self.__noise) = wrapper.dbscan(self.__pointer_data, self.__eps, self.__neighbors, True);
"/usr/local/lib/python2.7/site-packages/pyclustering/core/dbscan_wrapper.py", line 34, in dbscan
package = ccore.dbscan_algorithm(pointer_data, c_double(eps), c_size_t(min_neighbors));
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 375, in __getattr__
func = self.__getitem__(name)
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 380, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, dbscan_algorithm): symbol not found | Traceback (most recent call last):
"C:\Users\UrbiJ\AppData\Local\Programs\Python\Python37\lib\site-packages\httpx\_client.py", line 1130, in __del__
self.close()
"C:\Users\UrbiJ\AppData\Local\Programs\Python\Python37\lib\site-packages\httpx\_client.py", line 1102, in close
self._transport.close()
AttributeError: 'Client' object has no attribute '_transport'
| 0.545736 |
Traceback (most recent call last):
"train.py", line 47, in <module>
import tensorflow as tf
"C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\__init__.py", line 99, in <module>
from tensorflow_core import *
"C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\__init__.py", line 32, in <module>
from tensorflow._api.v1 import app
"C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\_api\v1\app\__init__.py", line 10, in <module>
from tensorflow.python.platform.app import run
"C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_core\python\platform\app.py", line 23, in <module>
from absl.app import run as _run
"C:\Users\Hp\Anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 26, in <module>
from object_detection import model_lib
"C:\tensorflow1\models\research\object_detection\model_lib.py", line 27, in <module>
from object_detection import eval_util
"C:\tensorflow1\models\research\object_detection\eval_util.py", line 31, in <module>
from object_detection.core import box_list_ops
"C:\tensorflow1\models\research\object_detection\core\box_list_ops.py", line 34, in <module>
from object_detection.utils import ops
"C:\tensorflow1\models\research\object_detection\utils\ops.py", line 317, in <module>
dtype=tf.float32):
AttributeError: module 'tensorflow' has no attribute 'float32' | Traceback (most recent call last):
"/usr/bin/khal", line 5, in <module>
main_khal()
"/usr/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
"/usr/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
"/usr/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
"/usr/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
"/usr/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
"/usr/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
"/usr/lib/python3.7/site-packages/khal/cli.py", line 587, in edit
conf=ctx.obj['conf']
"/usr/lib/python3.7/site-packages/khal/controllers.py", line 517, in edit
if not edit_event(event, collection, locale, allow_quit=True, width=term_width):
"/usr/lib/python3.7/site-packages/khal/controllers.py", line 492, in edit_event
getattr(event, "update_" + attr)(value)
"/usr/lib/python3.7/site-packages/khal/khalendar/event.py", line 415, in update_categories
if categories.strip():
AttributeError: 'vCategory' object has no attribute 'strip'
| 0.595273 |
Traceback (most recent call last):
"mod1.py", line 18, in <module>
new_defaults = PulseDefaults.from_dict(defaults_dict)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/validation/base.py", line 354, in from_dict
data = cls.schema.load(dict_)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/marshmallow/schema.py", line 723, in load
data, many=many, partial=partial, unknown=unknown, postprocess=True
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/marshmallow/schema.py", line 897, in _do_load
partial=partial,
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/marshmallow/schema.py", line 1098, in _invoke_load_processors
partial=partial,
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/marshmallow/schema.py", line 1224, in _invoke_processors
data = processor(data, many=many, **kwargs)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/validation/base.py", line 163, in make_model
return self.model_cls(**data)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/validation/base.py", line 245, in _decorated
return init_method(self, **kwargs, validate=False)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/providers/models/pulsedefaults.py", line 146, in __init__
pulse_insts = [self.converter(inst) for inst in inst.sequence]
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/providers/models/pulsedefaults.py", line 146, in <listcomp>
pulse_insts = [self.converter(inst) for inst in inst.sequence]
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/qobj/converters/pulse_instruction.py", line 312, in __call__
return method(self, instruction)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/qobj/converters/pulse_instruction.py", line 476, in convert_parametric
command = ParametricPulseShapes[instruction.pulse_shape].value(**instruction.parameters)
"/Users/jessieyu/.pyenv/versions/test_3.7.3/lib/python3.7/site-packages/qiskit/pulse/commands/parametric_pulses.py", line 295, in __init__
self._amp = complex(amp)
TypeError: complex() first argument must be a string or a number, not 'list'
|
Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/salt/loader.py", line 1607, in _load_module
mod = imp.load_module(mod_namespace, fn_, fpath, desc)
"/usr/lib/python2.7/site-packages/salt/grains/esxi.py", line 16, in <module>
import salt.modules.vsphere
"/usr/lib/python2.7/site-packages/salt/modules/vsphere.py", line 222, in <module>
import jsonschema
"/usr/lib/python2.7/site-packages/jsonschema/__init__.py", line 18, in <module>
from jsonschema.validators import (
"/usr/lib/python2.7/site-packages/jsonschema/validators.py", line 163, in <module>
meta_schema=_utils.load_schema("draft3"),
"/usr/lib/python2.7/site-packages/jsonschema/_utils.py", line 57, in load_schema
data = pkgutil.get_data('jsonschema', "schemas/{0}.json".format(name))
"/usr/lib64/python2.7/pkgutil.py", line 576, in get_data
loader = get_loader(package)
"/usr/lib64/python2.7/pkgutil.py", line 462, in get_loader
return find_loader(fullname)
"/usr/lib64/python2.7/pkgutil.py", line 473, in find_loader
loader = importer.find_module(fullname)
TypeError: find_module() takes exactly 3 arguments (2 given)
| 0.609085 |
Traceback (most recent call last):
"sendgrid.py", line 1, in <module>
import sendgrid
"c:\ang\gurucho-back\modules\sendgrid.py", line 7, in <module>
sg = sendgrid.SendGridAPIClient(apikey=SENDGRID_API_KEY)
AttributeError: module 'sendgrid' has no attribute 'SendGridAPIClient'
| [!] Traceback (most recent call last):
"lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
| 0.523071 |
Traceback (most recent call last):
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/_compat.py", line 33, in reraise
raise value
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_admin/base.py", line 69, in inner
return self._run_view(f, *args, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_admin/base.py", line 368, in _run_view
return fn(self, *args, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_login/utils.py", line 258, in decorated_view
return func(*args, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/utils/db.py", line 73, in wrapper
return func(*args, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/www/views.py", line 2224, in index
auto_complete_data=auto_complete_data)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_admin/base.py", line 308, in render
return render_template(template, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render
return original_render(self, *args, **kwargs)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/www/templates/airflow/dags.html", line 18, in top-level template code
{% extends "airflow/master.html" %}
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/www/templates/airflow/master.html", line 18, in top-level template code
{% extends "admin/master.html" %}
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/www/templates/admin/master.html", line 18, in top-level template code
{% extends 'admin/base.html' %}
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_admin/templates/bootstrap3/admin/base.html", line 81, in top-level template code
{% block tail_js %}
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/airflow/www/templates/admin/master.html", line 44, in block "tail_js"
xhr.setRequestHeader("X-CSRFToken", "{{ csrf_token() }}");
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/flask_wtf/csrf.py", line 47, in generate_csrf
setattr(g, field_name, s.dumps(session[field_name]))
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/itsdangerous/serializer.py", line 166, in dumps
payload = want_bytes(self.dump_payload(obj))
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/itsdangerous/url_safe.py", line 42, in dump_payload
json = super(URLSafeSerializerMixin, self).dump_payload(obj)
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/itsdangerous/serializer.py", line 133, in dump_payload
return want_bytes(self.serializer.dumps(obj, **self.serializer_kwargs))
"/Users/ian/taxi_pipeline/lib/python3.7/site-packages/itsdangerous/_json.py", line 18, in dumps
return json.dumps(obj, **kwargs)
"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 238, in dumps
**kw).encode(obj)
"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
"/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
| Traceback (most recent call last):
"run.py", line 64, in <module>
func(*args, **kwargs)
"/home/rorym/pysystemtrade/sysproduction/interactive_diagnostics.py", line 64, in interactive_diagnostics
method_chosen(data)
"/home/rorym/pysystemtrade/sysproduction/interactive_diagnostics.py", line 197, in strategy_report
run_report(report_config, data=data)
"/home/rorym/pysystemtrade/sysproduction/diagnostic/reporting.py", line 23, in run_report
run_report_with_data_blob(report_config, data)
"/home/rorym/pysystemtrade/sysproduction/diagnostic/reporting.py", line 37, in run_report_with_data_blob
report_results = report_function(data, **report_kwargs)
"/home/rorym/pysystemtrade/sysproduction/diagnostic/strategies.py", line 35, in strategy_report
formatted_output = get_strategies_report_output(
"/home/rorym/pysystemtrade/sysproduction/diagnostic/strategies.py", line 49, in get_strategies_report_output
strategy_format_output_list = get_output_for_single_strategy(
"/home/rorym/pysystemtrade/sysproduction/diagnostic/strategies.py", line 70, in get_output_for_single_strategy
strategy_format_output_list = strategy_reporting_function(
"/home/rorym/pysystemtrade/sysproduction/strategy_code/report_system_classic.py", line 139, in report_system_classic
timestamp_positions = get_position_at_timestamp_df_for_instrument_code_list(
"/home/rorym/pysystemtrade/sysproduction/strategy_code/report_system_classic.py", line 488, in get_position_at_timestamp_df_for_instrument_code_list
position_df = pd.DataFrame(
"/home/rorym/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 450, in __init__
arrays, columns = to_arrays(data, columns, dtype=dtype)
"/home/rorym/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 487, in to_arrays
data = [tuple(x) for x in data]
"/home/rorym/.local/lib/python3.8/site-packages/pandas/core/internals/construction.py", line 487, in <listcomp>
data = [tuple(x) for x in data]
TypeError: 'float' object is not iterable
| 0.6598 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py", line 716, in __init__
self.Model = self.make_declarative_base(model_class, metadata)
"/usr/local/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py", line 798, in make_declarative_base
model.query_class = self.Query
"/usr/local/lib/python3.8/site-packages/sqlalchemy/ext/declarative/api.py", line 79, in __setattr__
_add_attribute(cls, key, value)
"/usr/local/lib/python3.8/site-packages/sqlalchemy/ext/declarative/base.py", line 802, in _add_attribute
type.__setattr__(cls, key, value)
TypeError: can't apply this __setattr__ to DefaultMeta object
| Traceback (most recent call last):
"train_model.py", line 101, in <module>
my_app()
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/main.py", line 37, in decorated_main
strict=strict,
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 345, in _run_hydra
lambda: hydra.run(
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 199, in run_and_report
raise ex
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 196, in run_and_report
return func()
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/utils.py", line 348, in <lambda>
overrides=args.overrides,
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/_internal/hydra.py", line 112, in run
configure_logging=with_log_configuration,
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/core/utils.py", line 126, in run_job
ret.return_value = task_function(task_cfg)
"train_model.py", line 69, in my_app
hydra.utils.instantiate(cfg.repr)
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/utils.py", line 121, in instantiate
).with_traceback(sys.exc_info()[2])
"/home/alexander/anaconda3/envs/pt18/lib/python3.7/site-packages/hydra/utils.py", line 114, in instantiate
return target(*args, **final_kwargs)
TypeError: Error instantiating/calling 'train_model.MyReprClass' : __init__() missing 1 required positional argument: 'root'
| 0.58446 |
Traceback (most recent call last):
"/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
"/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
"/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
"/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
"/usr/local/lib/python2.7/site-packages/django/contrib/auth/mixins.py", line 92, in dispatch
return super(PermissionRequiredMixin, self).dispatch(request, *args, **kwargs)
"/usr/local/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
return handler(request, *args, **kwargs)
"/opt/netbox/utilities/views.py", line 188, in get
'return_url': self.get_return_url(request, obj),
TypeError: get_return_url() takes exactly 2 arguments (3 given)``` | Traceback (most recent call last):
"./jasper.py", line 146, in <module>
app = Jasper()
"./jasper.py", line 109, in _init_
stt_passive_engine_class.get_passive_instance(),
"/home/pi/jasper/client/stt.py", line 48, in get_passive_instance
return cls.get_instance('keyword', phrases)
"/home/pi/jasper/client/stt.py", line 42, in get_instance
instance = cls(**config)
TypeError: __init__() takes exactly 2 arguments (1 given)
| 0.65874 |
Traceback (most recent call last):
"/Users/ovidijus/Apps/nzbToMedia/nzbToSickBeard.py", line 273, in <module>
result = nzbToMedia.main(sys.argv, section)
"/Users/ovidijus/Apps/nzbToMedia/nzbToMedia.py", line 1019, in main
client_agent = text_type(core.DOWNLOAD_INFO[0].get('client_agent', 'manual'))
AttributeError: 'sqlite3.Row' object has no attribute 'get'
| Traceback (most recent call last):
"/usr/local/bin/shreddit", line 11, in <module>
sys.exit(main())
"/usr/local/lib/python2.7/dist-packages/shreddit/app.py", line 44, in main
shredder = Shredder(default_config, args.user)
"/usr/local/lib/python2.7/dist-packages/shreddit/shredder.py", line 33, in __init__
self._recent_cutoff = arrow.now().replace(hours=-self._hours)
"/usr/local/lib/python2.7/dist-packages/arrow/arrow.py", line 590, in replace
raise AttributeError('unknown attribute: "{}"'.format(key))
AttributeError: unknown attribute: "hours"
| 0.55634 |
Traceback (most recent call last):
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3214, in run_ast_nodes
if (yield from self.run_code(code, result)):
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 3313, in run_code
self.showtraceback(running_compiled_code=True)
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 2036, in showtraceback
value, tb, tb_offset=tb_offset)
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1379, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context)
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1282, in structured_traceback
self, etype, value, tb, tb_offset, number_of_lines_of_context
"C:\Users\ROHAN LOCKS\Anaconda3\lib\site-packages\IPython\core\ultratb.py", line 1144, in structured_traceback
formatted_exceptions += self.prepare_chained_exception_message(evalue.__cause__)
TypeError: can only concatenate str (not "list") to str
| Traceback (most recent call last):
"threading.py", line 914, in _bootstrap_inner
"threading.py", line 862, in run
"pupil_remote.py", line 202, in thread_loop
"site-packages\zmq\sugar\socket.py", line 363, in send_multipart
TypeError: Frame 1 ("Could not bind to Socket: b'tcp...) does not support the buffer interface.
| 0.521552 |
Traceback (most recent call last):
"/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message
self.ui.dispatch_event(update['uid'], update['event'], update['params'])
"/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event
self.root.dispatch_event(uid, event, params)
"/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
if child.dispatch_event(uid, event, params):
"/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event
if child.dispatch_event(uid, event, params):
"/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 388, in dispatch_event
getattr(self, k)(**(params or {}))
"/usr/lib/pymodules/python2.7/ajenti/plugins/configurator/configurator.py", line 208, in on_gen_ssl
self.gen_ssl(host)
"/usr/lib/pymodules/python2.7/ajenti/plugins/configurator/configurator.py", line 252, in gen_ssl
self.save()
"/usr/lib/pymodules/python2.7/ajenti/users.py", line 18, in wrapper
return fx(*args, **kwargs)
"/usr/lib/pymodules/python2.7/ajenti/plugins/configurator/configurator.py", line 187, in save
self.binder.update()
"/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 605, in update
binding.update()
"/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 155, in update
if new_value != self.old_value:
AttributeError: 'PropertyBinding' object has no attribute 'old_value'
|
Traceback (most recent call last):
"/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/__main__.py", line 26, in <module>
sys.exit(_main())
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 73, in main
command = create_command(cmd_name, isolated=("--isolated" in cmd_args))
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/commands/__init__.py", line 104, in create_command
module = importlib.import_module(module_path)
"/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/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
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 24, in <module>
from pip._internal.cli.req_command import RequirementCommand, with_cleanup
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 16, in <module>
from pip._internal.index.package_finder import PackageFinder
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/index/package_finder.py", line 21, in <module>
from pip._internal.index.collector import parse_links
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_internal/index/collector.py", line 14, in <module>
from pip._vendor import html5lib, requests
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_vendor/requests/__init__.py", line 114, in <module>
from . import utils
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_vendor/requests/utils.py", line 25, in <module>
from . import certs
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_vendor/requests/certs.py", line 15, in <module>
from pip._vendor.certifi import where
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_vendor/certifi/__init__.py", line 1, in <module>
from .core import contents, where
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/pip/_vendor/certifi/core.py", line 12, in <module>
from importlib.resources import read_text
"/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/resources.py", line 11, in <module>
from typing import Iterable, Iterator, Optional, Set, Union
# noqa: F401
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/typing.py", line 1359, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
"/Users/mrlubos/.local/share/virtualenvs/api-T1wVW5XM/lib/python3.7/site-packages/typing.py", line 1007, in __new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
| 0.657517 |
Traceback (most recent call last):
"/home/jim/.local/lib/python3.8/site-packages/paddle/vision/transforms/transforms.py", line 117, in __call__
data = f(data)
"/home/jim/.local/lib/python3.8/site-packages/paddle/vision/transforms/transforms.py", line 273, in __call__
outputs.append(apply_func(inputs[i]))
"/home/jim/.local/lib/python3.8/site-packages/paddle/vision/transforms/transforms.py", line 347, in _apply_image
return F.to_tensor(img, self.data_format)
"/home/jim/.local/lib/python3.8/site-packages/paddle/vision/transforms/functional.py", line 91, in to_tensor
return F_pil.to_tensor(pic, data_format)
"/home/jim/.local/lib/python3.8/site-packages/paddle/vision/transforms/functional_pil.py", line 75, in to_tensor
img = paddle.to_tensor(np.array(pic, copy=False))
"<decorator-gen-118>", line 2, in to_tensor
"/home/jim/.local/lib/python3.8/site-packages/paddle/fluid/wrapped_decorator.py", line 25, in __impl__
return wrapped_func(*args, **kwargs)
"/home/jim/.local/lib/python3.8/site-packages/paddle/fluid/framework.py", line 225, in __impl__
return func(*args, **kwargs)
"/home/jim/.local/lib/python3.8/site-packages/paddle/tensor/creation.py", line 173, in to_tensor
return paddle.Tensor(
OSError: (External)
Cuda error(3), initialization error.
| Traceback (most recent call last):
"repo-bug.py", line 4, in <module>
"/home/jayden/holodeck/src/holodeck/holodeck.py", line 87, in make
"/home/jayden/holodeck/src/holodeck/environments.py", line 134, in __init__
"/home/jayden/holodeck/src/holodeck/environments.py", line 285, in reset
"/home/jayden/holodeck/src/holodeck/environments.py", line 250, in _load_scenario
"/home/jayden/holodeck/src/holodeck/environments.py", line 408, in add_agent
"/home/jayden/holodeck/src/holodeck/agents.py", line 170, in add_sensors
"/home/jayden/holodeck/src/holodeck/sensors.py", line 650, in build_sensor
"/home/jayden/holodeck/src/holodeck/sensors.py", line 34, in __init__
"/home/jayden/holodeck/src/holodeck/holodeckclient.py", line 120, in malloc
"/home/jayden/holodeck/src/holodeck/shmem.py", line 42, in __init__
OSError: [Errno 24] Too many open files: '/dev/shm/HOLODECK_MEM5ff7a9cb-26c4-4f1a-a473-4690257e75d4_sphere0_DistanceTask_sensor_data'
| 0.542828 |
Traceback (most recent call last):
"/usr/local/bin/telepresence/telepresence/cli.py", line 130, in crash_reporting
yield
"/usr/local/bin/telepresence/telepresence/main.py", line 60, in main
remote_info = start_proxy(runner)
"/usr/local/bin/telepresence/telepresence/proxy/__init__.py", line 104, in start_proxy
run_id=run_id,
"/usr/local/bin/telepresence/telepresence/proxy/remote.py", line 205, in get_remote_info
wait_for_pod(runner, remote_info)
"/usr/local/bin/telepresence/telepresence/proxy/remote.py", line 137, in wait_for_pod
"Pod isn't starting or can't be found: {}".format(pod["status"])
RuntimeError: Pod isn't starting or can't be found: {'conditions': [{'lastProbeTime': None, 'lastTransitionTime': '2019-04-29T18:05:03Z', 'status': 'True', 'type': 'Initialized'}, {'lastProbeTime': None, 'lastTransitionTime': '2019-04-29T18:03:58Z', 'message': 'containers with unready status: [matrix-ana-reportjobs-api]', 'reason': 'ContainersNotReady', 'status': 'False', 'type': 'Ready'}, {'lastProbeTime': None, 'lastTransitionTime': '2019-04-29T18:03:58Z', 'message': 'containers with unready status: [matrix-ana-reportjobs-api]', 'reason': 'ContainersNotReady', 'status': 'False', 'type': 'ContainersReady'}, {'lastProbeTime': None, 'lastTransitionTime': '2019-04-29T18:03:58Z', 'status': 'True', 'type': 'PodScheduled'}], 'containerStatuses': [{'image': 'datawire/telepresence-k8s-priv:0.97', 'imageID': '', 'lastState': {}, 'name': 'matrix-ana-reportjobs-api', 'ready': False, 'restartCount': 0, 'state': {'waiting': {'reason': 'PodInitializing'}}}], 'hostIP': '10.128.0.75', 'initContainerStatuses': [{'containerID': 'docker://a890ed540dfedd4ce38c6b40169a973e15cc0bcdcc2ca53c648460bd14a74678', 'image': 'postgres:11.2', 'imageID': 'docker-pullable://postgres@sha256:e002abfaf7b0f1015b7510f66b709e2bacbecc7762c428634c27a3c5e58ffbae', 'lastState': {}, 'name': 'db-ready', 'ready': True, 'restartCount': 0, 'state': {'terminated': {'containerID': 'docker://a890ed540dfedd4ce38c6b40169a973e15cc0bcdcc2ca53c648460bd14a74678', 'exitCode': 0, 'finishedAt': '2019-04-29T18:05:03Z', 'reason': 'Completed', 'startedAt': '2019-04-29T18:05:03Z'}}}], 'phase': 'Pending', 'podIP': '10.76.3.112', 'qosClass': 'Burstable', 'startTime': '2019-04-29T18:03:58Z'}
| Traceback (most recent call last):
"<console>", line 1, in <module>
"scripts/pipeline/interactive.py", line 81, in process
question, candidates, top_n, n_docs, return_context=True
"/home/ubuntu/DrQA/drqa/pipeline/drqa.py", line 190, in process
top_n, n_docs, return_context
"/home/ubuntu/DrQA/drqa/pipeline/drqa.py", line 270, in process_batch
handle = self.reader.predict(batch, async_pool=self.processes)
"/home/ubuntu/DrQA/drqa/reader/model.py", line 290, in predict
score_s, score_e = self.network(*inputs)
"/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/DrQA/drqa/reader/rnn_reader.py", line 122, in forward
doc_hiddens = self.doc_rnn(torch.cat(drnn_input, 2), x1_mask)
"/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in __call__
result = self.forward(*input, **kwargs)
"/home/ubuntu/DrQA/drqa/reader/layers.py", line 60, in forward
output = self._forward_padded(x, x_mask)
"/home/ubuntu/DrQA/drqa/reader/layers.py", line 141, in _forward_padded
output = torch.cat(outputs[1:], 2)
RuntimeError: CUDA error: out of memory
| 0.550354 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
".../lib/python2.7/site-packages/pyramid/viewderivers.py", line 31, in <module>
from pyramid.config.util import (
".../lib/python2.7/site-packages/pyramid/config/__init__.py", line 78, in <module>
from pyramid.config.views import ViewsConfiguratorMixin
".../lib/python2.7/site-packages/pyramid/config/views.py", line 80, in <module>
from pyramid.viewderivers import (
ImportError: cannot import name INGRESS
| Traceback (most recent call last):
"pyconsume.py", line 30, in <module>
use_rdkafka = True
"/usr/local/lib/python2.7/dist-packages/pykafka/topic.py", line 214, in get_balanced_consumer
return cls(self, self._cluster, consumer_group, **kwargs)
"/usr/local/lib/python2.7/dist-packages/pykafka/managedbalancedconsumer.py", line 188, in __init__
self.__class__.__name__))
ImportError: use_rdkafka is not available for ManagedBalancedConsumer
| 0.576458 |
Traceback (most recent call last):
"/usr/bin/salt-call", line 11, in <module>
salt_call()
"/usr/lib/python2.7/dist-packages/salt/scripts.py", line 410, in salt_call
client.run()
"/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 47, in run
caller = salt.cli.caller.Caller.factory(self.config)
"/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 79, in factory
return ZeroMQCaller(opts, **kwargs)
"/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 291, in __init__
super(ZeroMQCaller, self).__init__(opts)
"/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 102, in __init__
self.minion = salt.minion.SMinion(opts)
"/usr/lib/python2.7/dist-packages/salt/minion.py", line 806, in __init__
lambda: self.eval_master(self.opts, failed=True)
"/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 457, in run_sync
return future_cell[0].result()
"/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 237, in result
raise_exc_info(self._exc_info)
"/usr/lib/python2.7/dist-packages/tornado/gen.py", line 285, in wrapper
yielded = next(result)
"/usr/lib/python2.7/dist-packages/salt/minion.py", line 694, in eval_master
opts.update(prep_ip_port(opts))
"/usr/lib/python2.7/dist-packages/salt/minion.py", line 265, in prep_ip_port
host, port = parse_host_port(opts['master'])
"/usr/lib/python2.7/dist-packages/salt/utils/network.py", line 1956, in parse_host_port
host_ip = ipaddress.ip_address(host).compressed
"/usr/lib/python2.7/dist-packages/salt/ext/ipaddress.py", line 115, in ip_address
return IPv6Address(address)
"/usr/lib/python2.7/dist-packages/salt/_compat.py", line 175, in __init__
elif self._is_packed_binary(address):
"/usr/lib/python2.7/dist-packages/salt/_compat.py", line 194, in _is_packed_binary
packed = bool(int(str(bytearray(data)).encode('hex'), 16))
TypeError: unicode argument without an encoding
| Traceback (most recent call last):
"/usr/bin/green-recorder", line 536, in audioswitchchanged
with open(conf
, 'w+') as newconf
:
TypeError: coercing to Unicode: need string or buffer, file found
| 0.618287 |
Traceback (most recent call last):
"/home/pymarl2/src/main.py", line 107, in <module>
ex.run_commandline(params)
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/experiment.py", line 250, in run_commandline
return self.run(cmd_name, config_updates, named_configs, {}, args)
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/experiment.py", line 199, in run
run()
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/run.py", line 247, in __call__
self._stop_heartbeat()
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/run.py", line 282, in _stop_heartbeat
self._emit_heartbeat()
# one final beat to flush pending changes
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/run.py", line 352, in _emit_heartbeat
result=self.result)
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/run.py", line 399, in _safe_call
getattr(obs, method)(**kwargs)
"/usr/local/lib/python3.5/dist-packages/sacred-0.7.2-py3.5.egg/sacred/observers/file_storage.py", line 172, in heartbeat_event
self.run_entry['heartbeat'] = beat_time.isoformat()
TypeError: 'NoneType' object does not support item assignment | Traceback (most recent call last):
"labelImg.py", line 1359, in <module>
sys.exit(main(sys.argv))
"labelImg.py", line 1355, in main
app, _win = get_main_app(argv)
"labelImg.py", line 1348, in get_main_app
argv[2] if len(argv) >= 3 else os.path.join('data', 'predefined_classes.txt'))
"labelImg.py", line 426, in __init__
self.recent
s = list(settings.get('recent
s', []))
TypeError: 'QVariant' object is not iterable
| 0.565216 |
Traceback (most recent call last):
"/usr/lib/python3.9/site-packages/cura/CuraApplication.py", line 1063, in event
return super().event(event)
"/usr/lib/python3.9/site-packages/UM/Qt/QtApplication.py", line 464, in event
event._function_event.call()
"/usr/lib/python3.9/site-packages/UM/Event.py", line 218, in call
self._function(*self._args, **self._kwargs)
"/usr/lib/python3.9/site-packages/cura/Utils/Threading.py", line 34, in _handle_call
ico.result = func(*args, **kwargs)
"/usr/lib/cura/plugins/3MFWriter/ThreeMFWorkspaceWriter.py", line 57, in write
self._writeContainerToArchive(container, archive)
"/usr/lib/cura/plugins/3MFWriter/ThreeMFWorkspaceWriter.py", line 154, in _writeContainerToArchive
serialized_data = container.serialize(ignored_metadata_keys = ignore_keys)
"/usr/lib/cura/plugins/XmlMaterialProfile/XmlMaterialProfile.py", line 154, in serialize
builder.start("metadata") # type: ignore
TypeError: start expected 2 arguments, got 1
| Traceback (most recent call last):
".../lib/python3.8/site-packages/django/core/handlers/asgi.py", line 161, in __call__
response = await self.get_response_async(request)
".../lib/python3.8/site-packages/django/core/handlers/base.py", line 148, in get_response_async
response = await self._middleware_chain(request)
TypeError: object HttpResponse can't be used in 'await' expression
| 0.497934 |
Traceback (most recent call last):
"<console>", line 1, in <module>
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/django/core/files/storage.py", line 52, in save
return self._save(name, content)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 506, in _save
self._save_content(obj, content, parameters=parameters)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/storages/backends/s3boto3.py", line 521, in _save_content
obj.upload_fileobj(content, ExtraArgs=put_parameters)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/boto3/s3/inject.py", line 621, in object_upload_fileobj
ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/boto3/s3/inject.py", line 539, in upload_fileobj
return future.result()
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/futures.py", line 106, in result
return self._coordinator.result()
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/futures.py", line 265, in result
raise self._exception
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/tasks.py", line 126, in __call__
return self._execute_main(kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/tasks.py", line 150, in _execute_main
return_value = self._main(**kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/s3transfer/upload.py", line 692, in _main
client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/client.py", line 642, in _make_api_call
request_signer=self._request_signer, context=request_context)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 360, in emit_until_response
return self._emitter.emit_until_response(aliased_event_name, **kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 243, in emit_until_response
responses = self._emit(event_name, kwargs, stop_on_response=True)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 212, in conditionally_calculate_md5
calculate_md5(params, **kwargs)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 190, in calculate_md5
binary_md5 = _calculate_md5_from_file(body)
"/home/grelek/projects/djstorages-test/venv/lib/python3.7/site-packages/botocore/handlers.py", line 204, in _calculate_md5_from_file
md5.update(chunk)
TypeError: Unicode-objects must be encoded before hashing
| Traceback (most recent call last):
"/usr/local/bin/svtplay-dl", line 4, in <module>
__import__('pkg_resources').run_script('svtplay-dl==2.4+9.gb428bcc', 'svtplay-dl')
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1438, in run_script
exec(code, namespace, namespace)
"/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/EGG-INFO/scripts/svtplay-dl", line 7, in <module>
svtplay_dl.main()
"/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/__init__.py", line 69, in main
get_media(urls[0], config, __version__)
"/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/utils/getmedia.py", line 61, in get_media
get_one_media(stream)
"/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/utils/getmedia.py", line 228, in get_one_media
post.remux()
"/usr/local/lib/python3.6/dist-packages/svtplay_dl-2.4+9.gb428bcc-py3.6.egg/svtplay_dl/postprocess/__init__.py", line 122, in remux
if ext == ".ts" and "aac" in self._getcodec(streams, audiotrack):
TypeError: argument of type 'NoneType' is not iterable
| 0.541031 |
Traceback (most recent call last):
"run_pretraining.py", line 496, in <module>
tf.app.run()
"/usr/local/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
"/usr/local/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
"/usr/local/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
"run_pretraining.py", line 469, in main
estimator.train(input_fn=train_input_fn, max_steps=FLAGS.num_train_steps)
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 2876, in train
rendezvous.raise_errors()
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/error_handling.py", line 131, in raise_errors
six.reraise(typ, value, traceback)
"/usr/local/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 2871, in train
saving_listeners=saving_listeners)
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 367, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1158, in _train_model
return self._train_model_default(input_fn, hooks, saving_listeners)
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1185, in _train_model_default
input_fn, ModeKeys.TRAIN))
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1022, in _get_features_and_labels_from_input_fn
self._call_input_fn(input_fn, mode))
"/usr/local/lib/python3.7/site-packages/tensorflow_estimator/python/estimator/tpu/tpu_estimator.py", line 2828, in _call_input_fn
return input_fn(**kwargs)
"run_pretraining.py", line 371, in input_fn
cycle_length=cycle_length))
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 1853, in apply
return DatasetV1Adapter(super(DatasetV1, self).apply(transformation_func))
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 1290, in apply
dataset = transformation_func(self)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/experimental/ops/interleave_ops.py", line 93, in _apply_fn
buffer_output_elements, prefetch_input_elements)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/readers.py", line 224, in __init__
map_func, self._transformation_name(), dataset=input_dataset)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 2555, in __init__
self._function = wrapper_fn._get_concrete_function_internal()
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 1355, in _get_concrete_function_internal
*args, **kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 1349, in _get_concrete_function_internal_garbage_collected
graph_function, _, _ = self._maybe_define_function(args, kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 1652, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 1545, in _create_graph_function
capture_by_value=self._capture_by_value),
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 715, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 2549, in wrapper_fn
ret = _wrapper_helper(*args)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/dataset_ops.py", line 2489, in _wrapper_helper
ret = func(*nested_args)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/readers.py", line 335, in __init__
filenames, compression_type, buffer_size, num_parallel_reads)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/readers.py", line 295, in __init__
filenames = _create_or_validate_filenames_dataset(filenames)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/data/ops/readers.py", line 57, in _create_or_validate_filenames_dataset
filenames = ops.convert_to_tensor(filenames, dtype=dtypes.string)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1087, in convert_to_tensor
return convert_to_tensor_v2(value, dtype, preferred_dtype, name)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1145, in convert_to_tensor_v2
as_ref=False)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1224, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
"/usr/local/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1018, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("args_0:0", shape=(), dtype=float32)'
| Traceback (most recent call last):
"/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_shape.py", line 670, in merge_with
new_dims.append(dim.merge_with(other[i]))
"/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_shape.py", line 143, in merge_with
self.assert_is_compatible_with(other)
"/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/tensor_shape.py", line 116, in assert_is_compatible_with
other))
ValueError: Dimensions 1 and 512 are not compatible
| 0.530126 |
Traceback (most recent call last):
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 271, in error_router
return original_handler(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 268, in error_router
return self.handle_error(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 271, in error_router
return original_handler(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 268, in error_router
return self.handle_error(e)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 477, in wrapper
resp = resource(*args, **kwargs)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask/views.py", line 88, in view
return self.dispatch_request(*args, **kwargs)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_restful/__init__.py", line 587, in dispatch_request
resp = meth(*args, **kwargs)
"/data0/www/htdocs/walle-web/venv/lib/python2.7/site-packages/flask_login/utils.py", line 228, in decorated_view
return func(*args, **kwargs)
"/data0/www/htdocs/walle-web/walle/service/rbac/role.py", line 111, in decorator
return func(*args, **kwargs)
"/data0/www/htdocs/walle-web/walle/api/general.py", line 40, in get
return self_action()
"/data0/www/htdocs/walle-web/walle/api/general.py", line 101, in info
branch, commit = ''
ValueError: need more than 0 values to unpack
| Traceback (most recent call last):
"/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
"/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
| 0.527352 |
Traceback (most recent call last):
"/tmp/asuglia/ParlAI/parlai/core/agents.py", line 429, in _create_task_agents
create_agent = getattr(my_module, 'create_agents')
AttributeError: 'module' object has no attribute 'create_agents'
| Traceback (most recent call last):
"testPcolorXarray.py", line 10, in <module>
ax.pcolormesh(time, depth, data)
"/Users/jklymak/anaconda3/envs/mpldev3/lib/python3.6/site-packages/matplotlib/__init__.py", line 1710, in inner
return func(ax, *args, **kwargs)
"/Users/jklymak/anaconda3/envs/mpldev3/lib/python3.6/site-packages/matplotlib/axes/_axes.py", line 5631, in pcolormesh
coords = np.column_stack((X.flat, Y.flat)).astype(float, copy=False)
AttributeError: 'list' object has no attribute 'flat'
| 0.564372 |
The minion function caused an exception: Traceback (most recent call last):
"c:\salt\bin\lib\site-packages\salt\minion.py", line 1606, in _thread_return
return_data = minion_instance.executors[fname](opts, data, func, args, kwargs)
"c:\salt\bin\lib\site-packages\salt\executors\direct_call.py", line 12, in execute
return func(*args, **kwargs)
"c:\salt\bin\lib\site-packages\salt\modules\zenoss.py", line 181, in add_device
response = _router_request('DeviceRouter', 'addDevice', data=[data])
"c:\salt\bin\lib\site-packages\salt\modules\zenoss.py", line 96, in _router_request
url = '{0}/zport/dmd/{1}_router'.format(config.get('hostname'), ROUTERS[router])
AttributeError: 'str' object has no attribute 'get'
| Traceback (most recent call last):
"/usr/local/bin/svtplay-dl", line 4, in <module>
__import__('pkg_resources').run_script('svtplay-dl==2.0+21.gfd0171d', 'svtplay-dl')
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 719, in run_script
self.require(requires)[0].run_script(script_name, ns)
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1504, in run_script
exec(code, namespace, namespace)
"/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/EGG-INFO/scripts/svtplay-dl", line 7, in <module>
svtplay_dl.main()
"/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/__init__.py", line 63, in main
get_media(urls[0], config, __version__)
"/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/utils/getmedia.py", line 58, in get_media
get_one_media(stream)
"/usr/local/lib/python3.5/dist-packages/svtplay_dl-2.0+21.gfd0171d-py3.5.egg/svtplay_dl/utils/getmedia.py", line 130, in get_one_media
after_date = datetime.fromisoformat(stream.config.get("after_date"))
AttributeError: type object 'datetime.datetime' has no attribute 'fromisoformat'
| 0.657851 |
Traceback (most recent call last):
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\main.py", line 37, in main
cmd_result = APPLICATION.execute(args)
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\application.py", line 157, in execute
result = expanded_arg.func(params)
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 358, in _execute_command
raise ex
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\core\commands\__init__.py", line 353, in _execute_command
result = op(client, **kwargs) if client else op(**kwargs)
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\command_modules\vm\custom.py", line 1623, in create_vm
return get_vm_details(resource_group_name, vm_name)
"C:\Users\teodelas\AppData\Local\Programs\Python\Python35\lib\site-packages\azure\cli\command_modules\vm\custom.py", line 194, in get_vm_details
setattr(result, 'private_ips', ','.join(private_ips))
TypeError: sequence item 1: expected str instance, NoneType found
| Traceback (most recent call last):
"/home/petr/.local/bin/ansible", line 109, in <module>
exit_code = cli.run()
"/home/petr/.local/lib/python3.6/site-packages/ansible/cli/adhoc.py", line 200, in run
result = self._tqm.run(play)
"/home/petr/.local/lib/python3.6/site-packages/ansible/executor/task_queue_manager.py", line 264, in run
start_at_done = self._start_at_done,
"/home/petr/.local/lib/python3.6/site-packages/ansible/executor/play_iterator.py", line 210, in __init__
if host.name in variable_manager._fact_cache and variable_manager._fact_cache.get(host.name).get('module_setup', False):
"/home/petr/.local/lib/python3.6/site-packages/ansible/plugins/cache/__init__.py", line 57, in __contains__
return self._plugin.contains(key)
"/home/petr/.local/lib/python3.6/site-packages/ansible/plugins/cache/redis.py", line 87, in contains
return (self._cache.zrank(self._keys_set, key) >= 0)
TypeError: '>=' not supported between instances of 'NoneType' and 'int'
| 0.667591 |
Traceback (most recent call last):
"start_trainer.py", line 678, in <module>
main(args)
"start_trainer.py", line 604, in main
gradient_clipping_threshold=args.gradient_clipping_threshold)
"/usr/local/lib/python2.7/dist-packages/Newbie-0.0.1-py2.7.egg/newbie/model/anomaly_detection/lstm_model.py", line 137, in __init__
self.__lstm_network()
"/usr/local/lib/python2.7/dist-packages/Newbie-0.0.1-py2.7.egg/newbie/model/anomaly_detection/lstm_model.py", line 229, in __lstm_network
self.__parameters = paddle.parameters.create(cost)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/parameters.py", line 19, in create
topology = Topology(layers)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/topology.py", line 69, in __init__
layers, extra_layers=extra_layers)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/layer.py", line 96, in parse_network
return __parse__(__real_func__)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/config_parser_utils.py", line 32, in parse_network_config
config = config_parser.parse_config(network_conf, config_arg_str)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 3597, in parse_config
trainer_config()
"/usr/local/lib/python2.7/dist-packages/paddle/v2/layer.py", line 89, in __real_func__
real_output = [each.to_proto(context=context) for each in output_layers]
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 109, in to_proto
context=context)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 116, in to_proto
ret_val = self.to_proto_impl(**kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/v2/config_base.py", line 212, in to_proto_impl
return getattr(conf_helps, method_name)(**args)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/default_decorators.py", line 53, in __wrapper__
return func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/layers.py", line 329, in wrapper
return method(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer_config_helpers/layers.py", line 938, in fc_layer
**ExtraLayerAttribute.to_kwargs(layer_attr))
"/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 3180, in Layer
return layer_func(name, **xargs)
"/usr/local/lib/python2.7/dist-packages/paddle/trainer/config_parser.py", line 1592, in __init__
super(FCLayer, self).__init__(name, 'fc', size, inputs=inputs, **xargs)
TypeError: __init__() got an unexpected keyword argument 'error_clipping_threshold'
| Traceback (most recent call last):
"/usr/local/bin/checkov", line 5, in <module>
run()
"/usr/local/lib/python3.9/site-packages/checkov/main.py", line 63, in run
scan_reports = runner_registry.run(root_folder=root_folder, external_checks_dir=external_checks_dir,
"/usr/local/lib/python3.9/site-packages/checkov/common/runners/runner_registry.py", line 30, in run
scan_report = runner.run(root_folder, external_checks_dir=external_checks_dir, files=files,
"/usr/local/lib/python3.9/site-packages/checkov/terraform/runner.py", line 55, in run
self.check_tf_definition(report, root_folder, runner_filter, collect_skip_comments)
"/usr/local/lib/python3.9/site-packages/checkov/terraform/runner.py", line 89, in check_tf_definition
definitions_context = parser_registry.enrich_definitions_context(definition, collect_skip_comments)
"/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/registry.py", line 28, in enrich_definitions_context
self.definitions_context[tf_file][definition_type] = context_parser.run(tf_file, definition_blocks, collect_skip_comments)
"/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/base_parser.py", line 118, in run
self.context = self._collect_skip_comments(definition_blocks)
"/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/base_parser.py", line 87, in _collect_skip_comments
if skip_check['id'] in bc_id_mapping:
TypeError: argument of type 'NoneType' is not iterable
| 0.543987 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.