text1
stringlengths 92
132k
| text2
stringlengths 83
99.1k
| score
float64 0.01
1
|
---|---|---|
Traceback (most recent call last):
"/home/jordi/Documents/vinissimus/checkout/env/lib/python3.7/site-packages/uvicorn/protocols/http/httptools_impl.py", line 368, in run_asgi
result = await app(self.scope, self.receive, self.send)
"/home/jordi/Documents/vinissimus/checkout/env/lib/python3.7/site-packages/uvicorn/middleware/asgi2.py", line 6, in __call__
instance = self.app(scope)
TypeError: 'NoneType' object is not callable
| Traceback (most recent call last):
"C:\Users\sriki\Miniconda3\Scripts\ludwig-script.py", line 11, in <module>
load_entry_point('ludwig==0.2.1', 'console_scripts', 'ludwig')()
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 108, in main
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 64, in __init__
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 94, in visualize
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 3119, in cli
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 650, in confusion_matrix_cli
"C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\utils\data_utils.py", line 76, in load_json
TypeError: expected str, bytes or os.PathLike object, not NoneType
| 0.602653 |
Traceback (most recent call last):
...
"c:\leo.repo\leo-editor\leo\plugins\qt_gui.py", line 1899, in set_style_sheets
sheet = self.expand_css_constants(sheet)
"c:\leo.repo\leo-editor\leo\plugins\qt_gui.py", line 1540, in expand_css_constants
sheet,
"c:\Anaconda3\lib\re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
"c:\Anaconda3\lib\re.py", line 326, in _subx
template = _compile_repl(template, pattern)
"c:\Anaconda3\lib\re.py", line 317, in _compile_repl
return sre_parse.parse_template(repl, pattern)
"c:\Anaconda3\lib\sre_parse.py", line 879, in parse_template
s = Tokenizer(source)
"c:\Anaconda3\lib\sre_parse.py", line 227, in __init__
string = str(string, 'latin1')
TypeError: decoding to str: need a bytes-like object, int found
| Traceback (most recent call last):
"/home/eraser3112/miniconda3/bin/mmconvert", line 8, in <module>
sys.exit(_main())
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/convert.py", line 102, in _main
ret = convertToIR._convert(ir_args)
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/_script/convertToIR.py", line 115, in _convert
parser.run(args.dstPath)
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/common/DataStructure/parser.py", line 22, in run
self.gen_IR()
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/keras/keras2_parser.py", line 147, in gen_IR
func(current_node)
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/keras/keras2_parser.py", line 430, in rename_Conv2D
self._convert_convolution(source_node, 2)
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/keras/keras2_parser.py", line 280, in _convert_convolution
Keras2Parser._convert_padding(source_node, IR_node)
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/keras/keras2_parser.py", line 209, in _convert_padding
list(source_node.layer.strides))
"/home/eraser3112/miniconda3/lib/python3.7/site-packages/mmdnn/conversion/common/utils.py", line 116, in compute_tf_same_padding
output_shape = (input_shape[idx] + strides[idx] - 1) // strides[idx]
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'`
| 0.571584 |
Traceback (most recent call last):
"./bin/bb-repositories.py", line 27, in <module>
data = bitbucket.project_list()
"/Users/wdijkerman/.virtualenvs/python2/lib/python2.7/site-packages/atlassian/bitbucket.py", line 22, in project_list
return (self.get('rest/api/1.0/projects', params=params) or {}).get('values')
AttributeError: 'unicode' object has no attribute 'get'
| Traceback (most recent call last):
"/root/routersploit/routersploit/interpreter.py", line 334, in command_run
self.current_module.run()
"/root/routersploit/routersploit/modules/exploits/cameras/mvpower/dvr_jaws_rce.py", line 32, in run
shell(self, architecture="armle", method="echo", location="/tmp")
"/root/routersploit/routersploit/core/exploit/shell.py", line 75, in shell
data.append((p, available_payloads[p]._Exploit__info__["name"], available_payloads[p]._Exploit__info__["description"]))
AttributeError: type object 'Exploit' has no attribute '_Exploit__info__'
| 0.56975 |
Traceback (most recent call last):
"/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
"/home/tkloczko/rpmbuild/BUILD/arrow-0.15.6/tests/test_arrow.py", line 481, in test_ctime
result = self.arrow.ctime()
AttributeError: 'TestArrowDatetimeInterface' object has no attribute 'arrow'
| Traceback (most recent call last):
"<input>", line 5, in <module>
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 138, in doit
expr = canonicalize(MatMul(*args))
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 11, in exhaustive_rl
new, old = rule(expr), expr
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 95, in switch_rl
return rl(expr)
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 85, in do_one_rl
result = rl(expr)
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 190, in any_zeros
for arg in mul.args]):
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 190, in <listcomp>
for arg in mul.args]):
"/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/matrices.py", line 2141, in __getattr__
"%s has no attribute %s." % (self.__class__.__name__, attr))
AttributeError: ImmutableSparseMatrix has no attribute is_ZeroMatrix.
| 0.578207 |
Traceback (most recent call last):
"/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 294, in _reconnect
await self._send_loop_handle
"/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotosender.py", line 379, in _send_loop
body = self.state.pack_message(message)
"/home/aaa/venvs/myenv/lib/python3.6/site-packages/telethon/network/mtprotostate.py", line 88, in pack_message
self.auth_key.key[88:88 + 32] + data + padding).digest()
AttributeError: 'NoneType' object has no attribute 'key'
| Traceback (most recent call last):
"C:\Users\h0r1zonZ\Desktop\A\B\C\regular\DEFENDER.py", line 53, in <module>
Bot.run(token)
"C:\Program
s (x86)\Python36-32\lib\site-packages\discord\client.py", line 543, in run
loop = self.loop
AttributeError: 'str' object has no attribute 'loop'
| 0.623407 |
Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
await self.async_update()
"/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 128, in async_update
await super().async_update()
"/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 57, in async_update
self._rates = await self._api.async_get_bytes_total()
"/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 325, in async_get_bytes_total
rx = await self.async_get_rx()
"/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 332, in async_get_rx
return int(data[0])
ValueError: invalid literal for int() with base 10: ''
|
Traceback (most recent call last):
"test.py", line 11, in <module>
resp
ValueError: I/O operation on closed file.
| 0.523659 |
Traceback (most recent call last):
"/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
"/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
"/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
"/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
"/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
"/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
"/usr/local/bin/youtube-dl/youtube_dl/extractor/shared.py", line 26, in _real_extract
"/usr/local/bin/youtube-dl/youtube_dl/extractor/shared.py", line 120, in _extract_video_url
"/usr/local/bin/youtube-dl/youtube_dl/extractor/shared.py", line 116, in decode_url
"/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2947, in compat_b64decode
"/usr/lib/python2.7/base64.py", line 75, in b64decode
return binascii.a2b_base64(s)
TypeError: a2b_base64() argument 1 must be string or buffer, not None
| Traceback (most recent call last):
"examples/melgan/train_melgan.py", line 628, in <module>
main()
"examples/melgan/train_melgan.py", line 608, in main
gen_optimizer=tf.keras.optimizers.Adam(**config["generator_optimizer_params"]),
"anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/optimizer_v2/adam.py", line 144, in __init__
super(Adam, self).__init__(name, **kwargs)
"anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/optimizer_v2/optimizer_v2.py", line 269, in __init__
"passed to optimizer: " + str(k))
TypeError: Unexpected keyword argument passed to optimizer: lr_fn | 0.549881 |
Traceback (most recent call last):
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 102, in _get_module_details
loader = get_loader(mod_name)
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 464, in get_loader
return find_loader(fullname)
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 474, in find_loader
for importer in iter_importers(fullname):
"/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 430, in iter_importers
__import__(pkg)
"nmt.py", line 28, in <module>
from . import inference
ValueError: Attempted relative import in non-package
| Traceback (most recent call last):
"/home/travis/miniconda/envs/test/lib/python3.6/site-packages/distributed/utils.py", line 648, in log_errors
yield
"/home/travis/miniconda/envs/test/lib/python3.6/site-packages/distributed/scheduler.py", line 1278, in add_worker
raise ValueError("Worker already exists %s" % address)
ValueError: Worker already exists tcp://127.0.0.1:46060
| 0.516405 |
Traceback (most recent call last):
"/root/tools/dirsearch/dirsearch.py", line 38, in <module>
main = Program()
"/root/tools/dirsearch/dirsearch.py", line 34, in __init__
self.controller = Controller(self.script_path, self.arguments, self.output)
"/root/tools/dirsearch/lib/controller/Controller.py", line 135, in __init__
self.wait()
"/root/tools/dirsearch/lib/controller/Controller.py", line 334, in wait
self.fuzzer.start()
"/root/tools/dirsearch/lib/core/Fuzzer.py", line 80, in start
self.setupScanners()
"/root/tools/dirsearch/lib/core/Fuzzer.py", line 56, in setupScanners
self.defaultScanner = Scanner(self.requester, self.testFailPath, "")
"/root/tools/dirsearch/lib/core/Scanner.py", line 44, in __init__
self.setup()
"/root/tools/dirsearch/lib/core/Scanner.py", line 61, in setup
self.dynamicParser = DynamicContentParser(self.requester, firstPath, firstResponse.body, secondResponse.body)
"/root/tools/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 14, in __init__
self.generateDynamicMarks(firstPage, secondPage)
"/root/tools/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 31, in generateDynamicMarks
self.cleanPage = self.removeDynamicContent(firstPage, self.dynamicMarks)
"/root/tools/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 101, in removeDynamicContent
page = re.sub(r'(?s){0}.+{1}'.format(re.escape(prefix), re.escape(suffix)), "{0}{1}".format(prefix.replace('\\', r'\\'), suffix.replace('\\', r'\\')), page)
TypeError: a bytes-like object is required, not 'str'
| Traceback (most recent call last):
"Train_POS.py", line 69, in <module>
model.fit(epochs=25)
"/mnt/beegfs/home/thomas.haider/Documents/workspace/poetry/mtl/emnlp2017-bilstm-cnn-crf/neuralnets/BiLSTM.py", line 381, in fit
self.buildModel()
"/mnt/beegfs/home/thomas.haider/Documents/workspace/poetry/mtl/emnlp2017-bilstm-cnn-crf/neuralnets/BiLSTM.py", line 210, in buildModel
output = crf(output)
"/mnt/beegfs/home/thomas.haider/Documents/workspace/python36-venv/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 75, in symbolic_fn_wrapper
return func(*args, **kwargs)
"/mnt/beegfs/home/thomas.haider/Documents/workspace/python36-venv/lib/python3.6/site-packages/keras/engine/base_layer.py", line 463, in __call__
self.build(unpack_singleton(input_shapes))
"/mnt/beegfs/home/thomas.haider/Documents/workspace/poetry/mtl/emnlp2017-bilstm-cnn-crf/neuralnets/keraslayers/ChainCRF.py", line 317, in build
constraint=self.U_constraint)
TypeError: add_weight() got multiple values for argument 'name'`
| 0.542898 |
Traceback (most recent call last):
"/Users/jtzero/.local/share/virtualenvs/persistor-YNkITIws/lib/python3.8/site-packages/sqlalchemy/engine/cursor.py", line 1646, in lastrowid
return self.context.get_lastrowid()
"/Users/jtzero/.asdf/installs/python/3.8.6/lib/python3.8/unittest/mock.py", line 647, in __getattr__
raise AttributeError(name)
AttributeError: get_lastrowid
| Traceback (most recent call last):
"c:\program files\python37\lib\site-packages\ffmpeg_normalize\_logger.py", line 18, in emit
tqdm.set_lock(Lock())
AttributeError: type object 'tqdm' has no attribute 'set_lock'
| 0.487092 |
Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/setup.py", line 50, in async_setup_component
return await task
# type: ignore
"/usr/src/homeassistant/homeassistant/setup.py", line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
"/usr/src/homeassistant/homeassistant/setup.py", line 291, in async_process_deps_reqs
hass, integration.domain
"/usr/src/homeassistant/homeassistant/requirements.py", line 55, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
"/usr/src/homeassistant/homeassistant/requirements.py", line 99, in async_process_requirements
if pkg_util.is_installed(req):
"/usr/src/homeassistant/homeassistant/util/package.py", line 44, in is_installed
return version(req.project_name) in req
"/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3145, 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
| Traceback (most recent call last):
"<stripped>/stacker/venv/lib/python3.6/site-packages/stacker/plan.py", line 93, in _run_once
status = self.fn(self.stack, status=self.status)
"<stripped>/stacker/venv/lib/python3.6/site-packages/stacker/actions/build.py", line 353, in _launch_stack
stack_policy=stack_policy,
"<stripped>/stacker/venv/lib/python3.6/site-packages/stacker/providers/aws/default.py", line 805, in update_stack
stack_policy=stack_policy, **kwargs)
"<stripped>/stacker/venv/lib/python3.6/site-packages/stacker/providers/aws/default.py", line 891, in noninteractive_changeset_update
'UPDATE', service_role=self.service_role, **kwargs
TypeError: create_change_set() got an unexpected keyword argument 'stack_policy'
| 0.557677 |
Traceback (most recent call last):
"manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
res = handle_func(*args, **kwargs)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/core/management/commands/makemigrations.py", line 141, in handle
loader.project_state(),
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/db/migrations/loader.py", line 324, in project_state
return self.graph.make_state(nodes=nodes, at_end=at_end, real_apps=list(self.unmigrated_apps))
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/db/migrations/graph.py", line 315, in make_state
project_state = self.nodes[node].mutate_state(project_state, preserve=False)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/db/migrations/migration.py", line 87, in mutate_state
operation.state_forwards(self.app_label, new_state)
"/Users/raymaun/Projects/soqoni-web/soqonee/lib/python3.7/site-packages/django/db/migrations/operations/fields.py", line 229, in state_forwards
state.models[app_label, self.model_name_lower].fields
KeyError: ('checkout', 'cart')
| Traceback (most recent call last):
"D:\Anaconda\envs\PyTorch\lib\site-packages\tensorboardX\record_writer.py", line 47, in directory_check
factory = REGISTERED_FACTORIES[prefix]
KeyError: 'runs\\vgg16\\2020-03-08T16'
| 0.494913 |
Traceback (most recent call last):
"offlineExample.py", line 1, in <module>
import plotly.plotly
"/usr/local/lib/python2.7/dist-packages/plotly/__init__.py", line 31, in <module>
from plotly import (plotly, dashboard_objs, graph_objs, grid_objs, tools,
"/usr/local/lib/python2.7/dist-packages/plotly/plotly/__init__.py", line 10, in <module>
from . plotly import (
"/usr/local/lib/python2.7/dist-packages/plotly/plotly/plotly.py", line 28, in <module>
from requests.compat import json as _json
"/usr/lib/python2.7/dist-packages/requests/__init__.py", line 52, in <module>
from .packages.urllib3.contrib import pyopenssl
"/usr/lib/python2.7/dist-packages/requests/packages/__init__.py", line 53, in <module>
vendored('urllib3')
"/usr/lib/python2.7/dist-packages/requests/packages/__init__.py", line 35, in vendored
__import__(modulename, globals(), locals(), level=0)
"/usr/lib/python2.7/dist-packages/urllib3/__init__.py", line 8, in <module>
from .connectionpool import (
"/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 11, in <module>
from .exceptions import (
"/usr/lib/python2.7/dist-packages/urllib3/exceptions.py", line 2, in <module>
from six.moves.http_client import (
"/usr/lib/python2.7/dist-packages/six.py", line 203, in load_module
mod = mod._resolve()
"/usr/lib/python2.7/dist-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
"/usr/lib/python2.7/dist-packages/six.py", line 82, in _import_module
__import__(name)
"/usr/lib/python2.7/httplib.py", line 80, in <module>
import mimetools
"/usr/lib/python2.7/mimetools.py", line 6, in <module>
import tempfile
"/usr/lib/python2.7/tempfile.py", line 35, in <module>
from random import Random as _Random
"/home/pi/Coding/Realsat/sunTracking/examples/plotly/random.py", line 1, in <module>
import plotly.graph_objs as go
"/usr/local/lib/python2.7/dist-packages/plotly/graph_objs/__init__.py", line 14, in <module>
from plotly.graph_objs.graph_objs import *
# this is protected with __all__
"/usr/local/lib/python2.7/dist-packages/plotly/graph_objs/graph_objs.py", line 34, in <module>
from plotly import exceptions, graph_reference
"/usr/local/lib/python2.7/dist-packages/plotly/exceptions.py", line 10, in <module>
from plotly.api.utils import to_native_utf8_string
"/usr/local/lib/python2.7/dist-packages/plotly/api/utils.py", line 3, in <module>
from requests.compat import builtin_str, is_py2
"/usr/lib/python2.7/dist-packages/requests/compat.py", line 43, in <module>
import cookielib
"/usr/lib/python2.7/cookielib.py", line 53, in <module>
DEFAULT_HTTP_PORT = str(httplib.HTTP_PORT)
AttributeError: 'module' object has no attribute 'HTTP_PORT'
| Traceback (most recent call last):
"/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
"/home/tabbott/zulip/zerver/lib/test_runner.py", line 209, in run_subsuite
result = runner.run(deserialize_suite(subsuite))
"/srv/zulip-py3-venv/lib/python3.6/site-packages/django/test/runner.py", line 251, in run
test(result)
"/usr/lib/python3.6/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
"/home/tabbott/zulip/zerver/lib/test_runner.py", line 353, in run
failed = run_test(test, result)
"/home/tabbott/zulip/zerver/lib/test_runner.py", line 130, in run_test
test(result)
# unittest will handle skipping, error, failure and success.
"/srv/zulip-py3-venv/lib/python3.6/site-packages/django/test/testcases.py", line 213, in __call__
super(SimpleTestCase, self).__call__(result)
"/usr/lib/python3.6/unittest/case.py", line 653, in __call__
return self.run(*args, **kwds)
"/usr/lib/python3.6/unittest/case.py", line 613, in run
self._feedErrorsToResult(result, outcome.errors)
"/usr/lib/python3.6/unittest/case.py", line 538, in _feedErrorsToResult
result.addSubTest(test.test_case, test, exc_info)
"/srv/zulip-py3-venv/lib/python3.6/site-packages/django/test/runner.py", line 208, in addSubTest
self.check_subtest_picklable(test, subtest)
"/srv/zulip-py3-venv/lib/python3.6/site-packages/django/test/runner.py", line 166, in check_subtest_picklable
self._confirm_picklable(subtest)
"/srv/zulip-py3-venv/lib/python3.6/site-packages/django/test/runner.py", line 99, in _confirm_picklable
pickle.loads(pickle.dumps(obj))
AttributeError: Can't pickle local object 'convert_exception_to_response.<locals>.inner'
| 0.627097 |
[!] Traceback (most recent call last):
"lazagne\softwares\browsers\mozilla.py", line 398, in is_master_password_correct
AttributeError: 'Sequence' object has no attribute 'asOctets'
| Traceback (most recent call last):
"example2.py", line 39, in <module>
vecs = bc.fetch_all(concat=True)
"/home/anaconda3/lib/python3.6/site-packages/bert_serving/client/__init__.py", line 336, in fetch_all
tmp = [v.content for v in tmp]
"/home/anaconda3/lib/python3.6/site-packages/bert_serving/client/__init__.py", line 336, in <listcomp>
tmp = [v.content for v in tmp]
AttributeError: 'Response' object has no attribute 'content'
| 0.543651 |
Traceback (most recent call last):
"/var/lib/awx/venv/awx/bin/awx-manage", line 11, in <module>
load_entry_point('awx==3.0.0.0', 'console_scripts', 'awx-manage')()
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/__init__.py", line 150, in manage
execute_from_command_line(sys.argv)
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 1030, in handle
raise exc
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 975, in handle
self.load_into_database()
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 824, in load_into_database
self._delete_hosts()
"/var/lib/awx/venv/awx/lib64/python3.6/site-packages/awx/main/management/commands/inventory_import.py", line 413, in _delete_hosts
instance_ids = all_instance_ids[offset:(offset + self._batch_size)]
TypeError: 'dict_keys' object is not subscriptable
| Traceback (most recent call last):
"train.py", line 404, in <module>
train(hyp)
"train.py", line 57, in train
yaml.dump(hyp, f, sort_keys=False)
"/usr/local/lib/python3.6/dist-packages/yaml/__init__.py", line 200, in dump
return dump_all([data], stream, Dumper=Dumper, **kwds)
TypeError: dump_all() got an unexpected keyword argument 'sort_keys'
| 0.554572 |
Traceback (most recent call last):
"/usr/lib/python3.6/asyncio/base_events.py", line 1191, in subprocess_exec
bufsize, **kwargs)
"/usr/lib/python3.6/asyncio/unix_events.py", line 194, in _make_subprocess_transport
self._child_watcher_callback, transp)
"/usr/lib/python3.6/asyncio/unix_events.py", line 858, in add_child_handler
"Cannot add child handler, "
RuntimeError: Cannot add child handler, the child watcher does not have a loop attached
| Traceback (most recent call last):
"setup.py", line 488, in <module>
setup_package()
"setup.py", line 472, in setup_package
generate_cython()
"setup.py", line 249, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
| 0.541545 |
Bandit internal error running: django_mark_safe on file /home/travis/build/PyCQA/bandit/examples/mark_safe_secure.py at line 33: 'Call' object has no attribute 'starargs'Traceback (most recent call last):
"/home/travis/build/PyCQA/bandit/bandit/core/tester.py", line 64, in run_tests
result = test(context)
"/home/travis/build/PyCQA/bandit/bandit/plugins/django_xss.py", line 279, in django_mark_safe
return check_risk(context.node)
"/home/travis/build/PyCQA/bandit/bandit/plugins/django_xss.py", line 232, in check_risk
secure = evaluate_call(xss_var, parent)
"/home/travis/build/PyCQA/bandit/bandit/plugins/django_xss.py", line 159, in evaluate_call
if call.starargs and isinstance(call.starargs, (ast.List, ast.Tuple)):
AttributeError: 'Call' object has no attribute 'starargs'
| [!] 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.571681 |
Traceback (most recent call last):
"/home/user/miniconda/envs/py36/bin/stylegan2_pytorch", line 53, in <module>
fire.Fire(train_from_folder)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/fire/core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/fire/core.py", line 471, in _Fire
target=component.__name__)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/fire/core.py", line 675, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
"/home/user/miniconda/envs/py36/bin/stylegan2_pytorch", line 48, in train_from_folder
model.train()
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/stylegan2_pytorch/stylegan2_pytorch.py", line 443, in train
real_output = self.GAN.D(image_batch)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/stylegan2_pytorch/stylegan2_pytorch.py", line 324, in forward
x = self.blocks(x)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/container.py", line 100, in forward
input = module(input)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/stylegan2_pytorch/stylegan2_pytorch.py", line 254, in forward
res = self.conv_res(x)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 345, in forward
return self.conv2d_forward(input, self.weight)
"/home/user/miniconda/envs/py36/lib/python3.6/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 16 3 1 1, expected input[3, 1, 128, 128] to have 3 channels, but got 1 channels instead
| Traceback (most recent call last):
"multiprocessing\process.py", line 297, in _bootstrap
"multiprocessing\process.py", line 99, in run
"paddlexui\pms\model_tasks\tasks.py", line 68, in _call_paddlex_train
"paddlexui\pms\model_tasks\train\classification.py", line 134, in train
"site-packages\paddlex\cv\models\classifier.py", line 195, in train
"site-packages\paddlex\cv\models\base.py", line 262, in net_initialize
"site-packages\paddlex\utils\utils.py", line 292, in load_pretrain_weights
"site-packages\paddle\fluid\io.py", line 1894, in load_program_state
RuntimeError: Failed to load model file , please make sure model file is saved with the following APIs: save_params, save_persistables, save_vars | 0.557201 |
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/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
"/srv/hass/lib/python3.5/site-packages/homeassistant/core.py", line 1023, in _event_to_service_call
yield from service_handler.func(service_call)
"/srv/hass/lib/python3.5/site-packages/homeassistant/components/notify/__init__.py", line 136, in async_notify_message
yield from notify_service.async_send_message(**kwargs)
"/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self
# This tells Task to wait for completion.
"/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
"/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
"/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
"/srv/hass/lib/python3.5/site-packages/homeassistant/components/notify/twitter.py", line 63, in send_message
media = data.get(ATTR_MEDIA)
AttributeError: 'NoneType' object has no attribute 'get'
| 0.589855 |
Traceback (most recent call last):
"/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
"/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self
# This tells Task to wait for completion.
"/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
"/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
"/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
"/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/spotify.py", line 157, in update
devices = self._player.devices().get('devices')
AttributeError: 'NoneType' object has no attribute 'get'
| Traceback (most recent call last):
"manage.py", line 21, in <module>
main()
"manage.py", line 17, in main
execute_from_command_line(sys.argv)
"/home/abbracx/Documents/virtualenv/pycon/lib/python3.7/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
"/home/abbracx/Documents/virtualenv/pycon/lib/python3.7/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
"/home/abbracx/Documents/virtualenv/pycon/lib/python3.7/site-packages/django/core/management/__init__.py", line 244, in fetch_command
klass = load_command_class(app_name, subcommand)
"/home/abbracx/Documents/virtualenv/pycon/lib/python3.7/site-packages/django/core/management/__init__.py", line 38, in load_command_class
return module.Command()
AttributeError: module 'channels.management.commands.runserver' has no attribute 'Command' | 0.632072 |
Traceback (most recent call last):
"/usr/bin/cppclean", line 145, in <module>
sys.exit(main())
"/usr/bin/cppclean", line 138, in main
quiet=args.quiet):
"/usr/lib/python2.7/site-packages/cpp/static_data.py", line 117, in run
_find_warnings(filename, lines, entire_ast, True) +
"/usr/lib/python2.7/site-packages/cpp/static_data.py", line 64, in _find_warnings
print_warning(node)
"/usr/lib/python2.7/site-packages/cpp/static_data.py", line 31, in print_warning
for name in node.name.split(','):
AttributeError: 'NoneType' object has no attribute 'split'
| Traceback (most recent call last):
"scripts/dev\..\..\scripts\..\qutebrowser\browser\qtnetworkdownloads.py", line 293, in _on_read_timer_timeout
AttributeError: 'NoneType' object has no attribute 'isOpen'
| 0.669323 |
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":
| Traceback (most recent call last):
"test_model_layers.py", line 1851, in <module>
convert_to_coreml()
"test_model_layers.py", line 1754, in convert_to_coreml
custom_conversion_functions={'relu6':relu6,'DepthwiseConv2D':DepthwiseConv2D})
"/Users/user/anaconda3/lib/python3.6/site-packages/coremltools/converters/keras/_keras_converter.py", line 747, in convert
return _MLModel(spec)
"/Users/user/anaconda3/lib/python3.6/site-packages/coremltools/models/model.py", line 153, in __init__
self.__proxy__ = _get_proxy_from_spec(filename)
"/Users/user/anaconda3/lib/python3.6/site-packages/coremltools/models/model.py", line 77, in _get_proxy_from_spec
return _MLModelProxy(filename)
RuntimeError: Error compiling model: "Error reading protobuf spec. validator error: Layer 'separable_conv2d_3_step_1' produces a layer named 'input_intermin_' which is also an output produced by the layer 'separable_conv2d_1_step_1'.".
| 0.639744 |
Traceback (most recent call last):
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/cli.py", line 66, in main
result = handler()
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/commands/deps_convert.py", line 45, in __call__
resolver = loader.load_resolver(path=self.config['from']['path'])
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/converters/base.py", line 94, in load_resolver
root = self.load(path=path)
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/converters/base.py", line 54, in load
root = self.loads(content=stream.read())
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/converters/conda.py", line 42, in loads
parsed = root.repo.parse_req(req)
"/Users/orcarmi/.local/share/dephell/venvs/dephell/lib/python3.8/site-packages/dephell/repositories/_conda/_base.py", line 22, in parse_req
req = req.split('#', 1)[0]
AttributeError: 'dict' object has no attribute 'split'
| Traceback (most recent call last):
"/mnt/d/gitcoderepo/freqtrade/freqtrade/main.py", line 42, in main
worker.run()
"/mnt/d/gitcoderepo/freqtrade/freqtrade/worker.py", line 72, in run
state = self._worker(old_state=state)
"/mnt/d/gitcoderepo/freqtrade/freqtrade/worker.py", line 82, in _worker
state = self.freqtrade.state
AttributeError: 'NoneType' object has no attribute 'state'
| 0.652252 |
Traceback (most recent call last):
"RDP.py", line 6, in <module>
s = winrm.Session('windows-host.example.com', auth=('john.smith', 'secret'))
AttributeError: 'module' object has no attribute 'Session'
| Traceback (most recent call last):
"/Users/lzfelix/anaconda3/envs/mirror/lib/python3.5/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
"<ipython-input-14-b955394cb092>", line 1, in <module>
vsm['oi']
"/Users/lzfelix/anaconda3/envs/mirror/lib/python3.5/site-packages/gensim/models/keyedvectors.py", line 169, in __getitem__
return self.get_vector(entities)
"/Users/lzfelix/anaconda3/envs/mirror/lib/python3.5/site-packages/gensim/models/keyedvectors.py", line 277, in get_vector
return self.word_vec(word)
"/Users/lzfelix/anaconda3/envs/mirror/lib/python3.5/site-packages/gensim/models/keyedvectors.py", line 269, in word_vec
result = self.vectors[self.vocab[word].index]
AttributeError: 'Word2VecKeyedVectors' object has no attribute 'vectors'
| 0.591176 |
Traceback (most recent call last):
"/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
self.finish_request(request, client_address)
"/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
"/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 167, in __init__
StreamRequestHandler.__init__(self, socket, addr, server)
"/usr/lib/python2.7/SocketServer.py", line 654, in __init__
self.finish()
"/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 328, in finish
self.server._client_left_(self)
"/home/pi/python-websocket-server-master/websocket_server/websocket_server.py", line 146, in _client_left_
self.client_left(client, self)
"server.py", line 11, in client_left
print("Client(%d) disconnected" % client['id'])
TypeError: 'NoneType' object has no attribute '__getitem__'
| Traceback (most recent call last):
"/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/usr/lib64/python3.6/doctest.py", line 2787, in <module>
sys.exit(_test())
"/usr/lib64/python3.6/doctest.py", line 2777, in _test
failures, _ = testmod(m, verbose=verbose, optionflags=options)
"/usr/lib64/python3.6/doctest.py", line 1950, in testmod
for test in finder.find(m, name, globs=globs, extraglobs=extraglobs):
"/usr/lib64/python3.6/doctest.py", line 933, in find
self._find(tests, obj, name, module, source_lines, globs, {})
"/usr/lib64/python3.6/doctest.py", line 992, in _find
if ((inspect.isroutine(inspect.unwrap(val))
"/usr/lib64/python3.6/inspect.py", line 512, in unwrap
while _is_wrapper(func):
"/usr/lib64/python3.6/inspect.py", line 503, in _is_wrapper
return hasattr(f, '__wrapped__')
"/home/tdescham/repo/contrib/kallithea/venv/kallithea-review/lib/python3.6/site-packages/tg/support/objectproxy.py", line 19, in __getattr__
return getattr(self._current_obj(), attr)
"/home/tdescham/repo/contrib/kallithea/venv/kallithea-review/lib/python3.6/site-packages/tg/request_local.py", line 240, in _current_obj
return getattr(context, self.name)
"/home/tdescham/repo/contrib/kallithea/venv/kallithea-review/lib/python3.6/site-packages/tg/support/objectproxy.py", line 19, in __getattr__
return getattr(self._current_obj(), attr)
"/home/tdescham/repo/contrib/kallithea/venv/kallithea-review/lib/python3.6/site-packages/tg/support/registry.py", line 72, in _current_obj
'thread' % self.____name__)
TypeError: No object (name: context) has been registered for this thread
| 0.644941 |
Traceback (most recent call last):
"commix.py", line 35, in <module>
main()
"commix.py", line 30, in main
import src.core.main
"main.py", line 906, in <module>
filename = logs_filename_creation()
"main.py", line 349, in logs_filename_creation
filename = logs.create_log_file(url, output_dir)
"logs.py", line 84, in create_log_file
parts = url.split('//', 1)
AttributeError: 'NoneType' object has no attribute 'split'
| Traceback (most recent call last):
"D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner
self.run()
"D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
"D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker
xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'
| 0.651456 |
Traceback (most recent call last):
"<string>", line 1, in <module>
"/private/var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/pip-build-dzkUib/cupy/setup.py", line 102, in <module>
'sdist': sdist},
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
"cupy_setup_build.py", line 554, in run
build_ext.build_ext.run(self)
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 75, in run
_build_ext.run(self)
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run
_build_ext.build_ext.run(self)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions
self.build_extension(ext)
"/Users/davidlaxer/anaconda/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension
depends=ext.depends)
"/Users/davidlaxer/anaconda/lib/python2.7/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
"cupy_setup_build.py", line 447, in _compile
base_opts = build.get_compiler_base_options()
"install/build.py", line 153, in get_compiler_base_options
_compiler_base_options = _get_compiler_base_options()
"install/build.py", line 191, in _get_compiler_base_options
stderrdata.decode('utf8'))
RuntimeError: Encountered unknown error while testing nvcc:
| Traceback (most recent call last):
"tools/deploy/caffe2_converter.py", line 52, in <module>
caffe2_model = export_caffe2_model(cfg, torch_model, first_batch)
"/home/ashwin/Desktop/Projects/detectron2/detectron2/export/api.py", line 57, in export_caffe2_model
predict_net, init_net = export_caffe2_detection_model(c2_compatible_model, c2_format_input)
"/home/ashwin/Desktop/Projects/detectron2/detectron2/export/caffe2_export.py", line 143, in export_caffe2_detection_model
onnx_model = export_onnx_model(model, (tensor_inputs,))
"/home/ashwin/Desktop/Projects/detectron2/detectron2/export/caffe2_export.py", line 60, in export_onnx_model
operator_export_type=OperatorExportTypes.ONNX_ATEN_FALLBACK,
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/onnx/__init__.py", line 172, in export
custom_opsets, enable_onnx_checker, use_external_data_format)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/onnx/utils.py", line 92, in export
use_external_data_format=use_external_data_format)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/onnx/utils.py", line 510, in _export
fixed_batch_size=fixed_batch_size)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/onnx/utils.py", line 350, in _model_to_graph
graph, torch_out = _trace_and_get_graph_from_model(model, args)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/onnx/utils.py", line 307, in _trace_and_get_graph_from_model
torch.jit._get_trace_graph(model, args, _force_outplace=False, _return_inputs_states=True)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/jit/__init__.py", line 277, in _get_trace_graph
outs = ONNXTracedModule(f, _force_outplace, return_inputs, _return_inputs_states)(*args, **kwargs)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/nn/modules/module.py", line 558, in __call__
result = self.forward(*input, **kwargs)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/jit/__init__.py", line 360, in forward
self._force_outplace,
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/jit/__init__.py", line 347, in wrapper
outs.append(self.inner(*trace_inputs))
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/nn/modules/module.py", line 556, in __call__
result = self._slow_forward(*input, **kwargs)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/nn/modules/module.py", line 542, in _slow_forward
result = self.forward(*input, **kwargs)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
"/home/ashwin/Desktop/Projects/detectron2/detectron2/export/caffe2_modeling.py", line 268, in forward
proposals, _ = self._wrapped_model.proposal_generator(images, features)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/nn/modules/module.py", line 556, in __call__
result = self._slow_forward(*input, **kwargs)
"/home/ashwin/anaconda3/envs/test/lib/python3.7/site-packages/torch/nn/modules/module.py", line 542, in _slow_forward
result = self.forward(*input, **kwargs)
"/home/ashwin/Desktop/Projects/detectron2/detectron2/export/c10.py", line 205, in forward
legacy_plus_one=False,
RuntimeError: Could not run '_caffe2::GenerateProposals' with arguments from the 'CUDATensorId' backend. '_caffe2::GenerateProposals' is only available for these backends: [CPUTensorId].
| 0.654387 |
Traceback (most recent call last):
"s2s.py", line 324, in <module>
tf.app.run()
"/var/lib/hadoop-hdfs/.venvs/py3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
"s2s.py", line 319, in main
train()
"s2s.py", line 129, in train
model = create_model(sess, False)
"s2s.py", line 110, in create_model
dtype
"/var/lib/hadoop-hdfs/zhuangxuekun/research/Seq2Seq_Chatbot_QA/s2s_model.py", line 31, in __init__
cell = tf.nn.rnn_cell.BasicLSTMCell(size)
AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'rnn_cell' | Traceback (most recent call last):
"/Users/ultimaker/build/2.6/build/inst/lib/python3.5/site-packages/cura/MachineAction.py", line 57, in reset
"/Applications/Cura.app/Contents/MacOS/plugins/plugins/MachineSettingsAction/MachineSettingsAction.py", line 73, in _reset
self._backend.disableTimer()
AttributeError: 'NoneType' object has no attribute 'disableTimer'
| 0.588406 |
Traceback (most recent call last):
"vocal-translate.py", line 6, in <module>
print(sr.Microphone.list_working_microphones())
AttributeError: type object 'Microphone' has no attribute 'list_working_microphones'
| Traceback (most recent call last):
"manage.py", line 21, in <module>
main()
"manage.py", line 17, in main
execute_from_command_line(sys.argv)
"/home/jagl/.virtualenvs/django-getting-started/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
"/home/jagl/.virtualenvs/django-getting-started/lib/python3.6/site-packages/django/core/management/__init__.py", line 357, in execute
django.setup()
"/home/jagl/.virtualenvs/django-getting-started/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
"/home/jagl/.virtualenvs/django-getting-started/lib/python3.6/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
"/home/jagl/.virtualenvs/django-getting-started/lib/python3.6/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
"/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 994, in _gcd_import
"<frozen importlib._bootstrap>", line 971, in _find_and_load
"<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 665, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/home/jagl/Documents/Learning/Programming/Django/django-getting-started/meeting_planner/reports/models.py", line 27, in <module>
class attack(models.Model):
"/home/jagl/Documents/Learning/Programming/Django/django-getting-started/meeting_planner/reports/models.py", line 28, in attack
succesfullInjections = models.ArrayModelField(
AttributeError: module 'djongo.models' has no attribute 'ArrayModelField'
| 0.580728 |
Traceback (most recent call last):
"G:/python/AngrTest/CoreTest.py", line 17, in <module>
data, actual_size, new_pos = simfile.read(0, 5)
TypeError: 'int' object is not iterable
| Traceback (most recent call last):
"/usr/local/bin/gsutil", line 10, in <module>
sys.exit(main())
"/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 431, in main
user_project=user_project)
"/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 760, in _RunNamedCommandAndHandleExceptions
_HandleUnknownFailure(e)
"/usr/local/lib/python3.6/site-packages/gslib/__main__.py", line 626, in _RunNamedCommandAndHandleExceptions
user_project=user_project)
"/usr/local/lib/python3.6/site-packages/gslib/command_runner.py", line 411, in RunNamedCommand
return_code = command_inst.RunCommand()
"/usr/local/lib/python3.6/site-packages/gslib/commands/ls.py", line 640, in RunCommand
listing_helper.ExpandUrlAndPrint(storage_url))
"/usr/local/lib/python3.6/site-packages/gslib/utils/ls_helper.py", line 369, in ExpandUrlAndPrint
print_initial_newline=False)
"/usr/local/lib/python3.6/site-packages/gslib/utils/ls_helper.py", line 443, in _RecurseExpandUrlAndPrint
bucket_listing_fields=self.bucket_listing_fields):
"/usr/local/lib/python3.6/site-packages/gslib/wildcard_iterator.py", line 497, in IterAll
expand_top_level_buckets=expand_top_level_buckets):
"/usr/local/lib/python3.6/site-packages/gslib/wildcard_iterator.py", line 173, in __iter__
fields=bucket_listing_fields):
"/usr/local/lib/python3.6/site-packages/gslib/gcs_json_api.py", line 715, in ListObjects
global_params=global_params)
"/usr/local/lib/python3.6/site-packages/gslib/third_party/storage_apitools/storage_v1_client.py", line 1217, in List
config, request, global_params=global_params)
"/usr/local/lib/python3.6/site-packages/apitools/base/py/base_api.py", line 729, in _RunMethod
http, http_request, **opts)
"/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 356, in MakeRequest
max_retry_wait, total_wait_sec))
"/usr/local/lib/python3.6/site-packages/gslib/utils/retry_util.py", line 65, in WarnAfterManyRetriesHandler
http_wrapper.HandleExceptionsAndRebuildHttpConnections(retry_args)
"/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 304, in HandleExceptionsAndRebuildHttpConnections
raise retry_args.exc
"/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 346, in MakeRequest
check_response_func=check_response_func)
"/usr/local/lib/python3.6/site-packages/apitools/base/py/http_wrapper.py", line 396, in _MakeRequestNoRetry
redirections=redirections, connection_type=connection_type)
"/usr/local/lib/python3.6/site-packages/oauth2client/transport.py", line 159, in new_request
credentials._refresh(orig_request_method)
"/usr/local/lib/python3.6/site-packages/oauth2client/client.py", line 761, in _refresh
self._do_refresh_request(http)
"/usr/local/lib/python3.6/site-packages/oauth2client/client.py", line 780, in _do_refresh_request
body=body, headers=headers)
"/usr/local/lib/python3.6/site-packages/oauth2client/transport.py", line 282, in request
connection_type=connection_type)
"/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1953, in request
cachekey,
"/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1618, in _request
conn, request_uri, method, body, headers
"/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1524, in _conn_request
conn.connect()
"/usr/local/lib/python3.6/site-packages/httplib2/__init__.py", line 1305, in connect
sock.connect((self.host, self.port))
"/usr/local/lib/python3.6/site-packages/socks.py", line 406, in connect
self.__negotiatehttp(destpair[0],destpair[1])
"/usr/local/lib/python3.6/site-packages/socks.py", line 357, in __negotiatehttp
while resp.find("\r\n\r\n")==-1:
TypeError: a bytes-like object is required, not 'str'
| 0.541099 |
Traceback (most recent call last):
"c:\projects\plover\plover\gui_qt\main.py", line 66, in __del__
del self._win
AttributeError: _win
| Traceback (most recent call last):
"c:\users\me\pyenv\test-env\lib\site.py", line 769, in <module>
main()
"c:\users\me\pyenv\test-env\lib\site.py", line 746, in main
paths_in_sys = addsitepackages(paths_in_sys)
"c:\users\me\pyenv\test-env\lib\site.py", line 279, in addsitepackages
addsitedir(sitedir, known_paths)
"c:\users\me\pyenv\test-env\lib\site.py", line 202, in addsitedir
addpackage(sitedir, name, known_paths)
"c:\users\me\pyenv\test-env\lib\site.py", line 170, in addpackage
exec(line)
"<string>", line 1, in <module>
"c:\users\me\pyenv\test-env\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.503409 |
Traceback (most recent call last):
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 721, in getImports
return _getImports_pe(pth)
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 109, in _getImports_pe
import_dllnames_only=True,
TypeError: parse_data_directories() got an unexpected keyword argument 'forwarded_exports_only'
| Traceback (most recent call last):
"/usr/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.619891 |
Traceback (most recent call last):
"test.py", line 8, in <module>
arrow.get(payload, fmtstr).humanize()
"/home/user/ven/lib/python3.8/site-packages/arrow/api.py", line 21, in get
return _factory.get(*args, **kwargs)
"/home/user/ven/lib/python3.8/site-packages/arrow/factory.py", line 246, in get
dt = parser.DateTimeParser(locale).parse(
"/home/user/ven/lib/python3.8/site-packages/arrow/parser.py", line 244, in parse
self._parse_token(token, value, parts)
"/home/user/ven/lib/python3.8/site-packages/arrow/parser.py", line 386, in _parse_token
parts["expanded_timestamp"] = int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
| 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)
"/root/pupy/pupy/network/lib/servers.py", line 119, in _setup_connection
config=config
"/root/pupy/pupy/network/lib/connection.py", line 35, in __init__
Connection.__init__(self, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument '_lazy'
| 0.586099 |
Traceback (most recent call last):
"C:\Anaconda\Scripts\conda-script.py", line 4, in <module>
sys.exit(main())
"C:\Anaconda\lib\site-packages\conda\cli\main.py", line 207, in main
args_func(args, p)
"C:\Anaconda\lib\site-packages\conda\cli\main.py", line 212, in args_func
args.func(args, p)
"C:\Anaconda\lib\site-packages\conda\cli\common.py", line 609, in inner
return func(args, parser)
"C:\Anaconda\lib\site-packages\conda\cli\main_update.py", line 44, in execute
install.install(args, parser, 'update')
"C:\Anaconda\lib\site-packages\conda\cli\install.py", line 413, in install
plan.execute_actions(actions, index, verbose=not args.quiet)
"C:\Anaconda\lib\site-packages\conda\plan.py", line 531, in execute_actions
inst.execute_instructions(plan, index, verbose)
"C:\Anaconda\lib\site-packages\conda\instructions.py", line 156, in execute_instructions
cmd(state, arg)
"C:\Anaconda\lib\site-packages\conda\instructions.py", line 105, in ENSURE_WRITE_CMD
install.ensure_write(state["prefix"], arg)
"C:\Anaconda\lib\site-packages\conda\install.py", line 658, in ensure_write
files = [a for a in meta["files"] if not a.lower().endswith("conda.exe")]
TypeError: 'NoneType' object has no attribute '__getitem__'
| Traceback (most recent call last):
"/usr/src/app/homeassistant/helpers/entity_platform.py", line 257, in _async_add_entity
if entity.unique_id is not None:
"/usr/src/app/homeassistant/components/tplink/light.py", line 82, in unique_id
return self._sysinfo["mac"]
TypeError: 'NoneType' object is not subscriptable
| 0.653974 |
> Traceback (most recent call last):
"/home/ran/PycharmProjects/untitled/bctest_P.py", line 302, in <module>
agent = BCAgent(config, 'gazebocar')
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/agent.py", line 93, in __init__
Trainable.__init__(self, config, registry, logger_creator)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/tune/trainable.py", line 90, in __init__
self._setup()
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/agent.py", line 116, in _setup
self._init()
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/bc.py", line 66, in _init
self.registry, self.env_creator, self.config, self.logdir)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/bc_evaluator.py", line 22, in __init__
env.action_space, config)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/policy.py", line 25, in __init__
self.setup_loss(action_space)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/bc/policy.py", line 43, in setup_loss
log_prob = self.curr_dist.logp(self.ac)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/ray/rllib/models/action_dist.py", line 86, in logp
0.5 * np.log(2.0 * np.pi) * tf.to_float(tf.shape(x)[1]) -
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/ops/math_ops.py", line 962, in binary_op_wrapper
y = ops.convert_to_tensor(y, dtype=x.dtype.base_dtype, name="y")
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 950, in convert_to_tensor
as_ref=False)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1040, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
"/home/ran/.virtualenvs/gym_gazebo/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 883, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype int64 for Tensor with dtype float32: 'Tensor("local/split:0", shape=(?, 2), dtype=float32, device=/job:localhost/replica:0/task:0/device:CPU:0)'
| Traceback (most recent call last):
"deployment_examples.py", line 111, in <module>
main()
"deployment_examples.py", line 105, in main
rollback_deployment(extensions_v1beta1)
"deployment_examples.py", line 86, in rollback_deployment
body=body)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/extensions_v1beta1_api.py", line 273, in create_namespaced_deployment_rollback
(data) = self.create_namespaced_deployment_rollback_with_http_info(name, namespace, body, **kwargs)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/apis/extensions_v1beta1_api.py", line 364, in create_namespaced_deployment_rollback_with_http_info
collection_formats=collection_formats)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 321, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 163, in __call_api
return_data = self.deserialize(response_data, response_type)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 236, in deserialize
return self.__deserialize(data, response_type)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 276, in __deserialize
return self.__deserialize_model(data, klass)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/api_client.py", line 622, in __deserialize_model
instance = klass(**kwargs)
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py", line 65, in __init__
self.name = name
"/usr/local/lib/python2.7/dist-packages/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py", line 137, in name
raise ValueError("Invalid value for `name`, must not be `None`")
ValueError: Invalid value for `name`, must not be `None`
| 0.593183 |
Traceback (most recent call last):
"/home/yura/git/lutris/lutris/gui/lutriswindow.py", line 405, in update_store
self.reload_service_media()
"/home/yura/git/lutris/lutris/gui/lutriswindow.py", line 528, in reload_service_media
self.game_store.set_service_media(
"/home/yura/git/lutris/lutris/gui/views/store.py", line 162, in set_service_media
row[COL_SLUG],
"/usr/lib/python3.9/site-packages/gi/overrides/Gtk.py", line 1129, in __getitem__
return self.model.get_value(self.iter, key)
TypeError: unknown type (null)
| Traceback (most recent call last):
"/opt/sabnzbd/sabnzbd/newsunpack.py", line 2323, in pre_queue
creationflags=creationflags)
"/usr/lib64/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
"/usr/lib64/python3.7/subprocess.py", line 1453, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not int
| 0.571985 |
Traceback (most recent call last):
"run.py", line 86, in <module>
main()
"run.py", line 33, in main
if not os.path.exists(configs['model']['save_dir']): os.makedirs(configs['model']['save_dir'])
KeyError: 'save_dir'
| Traceback (most recent call last):
"c:\python36\lib\site-packages\instalooter\cli\__init__.py", line 171, in main
dlpbar_cls=None if args['--quiet'] else TqdmProgressBar)
"c:\python36\lib\site-packages\instalooter\looters.py", line 828, in download
new_only, condition)
"c:\python36\lib\site-packages\instalooter\looters.py", line 600, in _fill_media_queue
for media in six.moves.filter(_condition, medias_iter):
"c:\python36\lib\site-packages\instalooter\looters.py", line 792, in medias
info = self.info
"c:\python36\lib\site-packages\instalooter\looters.py", line 760, in info
self._info = self.get_post_info(self.code)
"c:\python36\lib\site-packages\instalooter\looters.py", line 337, in get_post_info
return data['entry_data']['PostPage'][0]['graphql']['shortcode_media']
KeyError: 'PostPage'
| 0.499677 |
Traceback (most recent call last):
"42-as_casci_fcisolver.py", line 65, in <module>
mc.kernel()
"/home/zhcui/program/pyscf_dev/pyscf/mcscf/casci.py", line 858, in kernel
cas_natorb=self.natorb, verbose=log)
"/home/zhcui/program/pyscf_dev/pyscf/mcscf/casci.py", line 917, in canonicalize_
sort, cas_natorb, casdm1, verbose, with_meta_lowdin)
"/home/zhcui/program/pyscf_dev/pyscf/mcscf/casci.py", line 419, in canonicalize
casdm1 = mc.fcisolver.make_rdm1(ci[0], mc.ncas, mc.nelecas)
"42-as_casci_fcisolver.py", line 37, in make_rdm1
t1, t2, l1, l2 = fake_ci
ValueError: too many values to unpack
| Traceback (most recent call last):
"/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
"/usr/lib/python3/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
"/usr/lib/python3/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
"/usr/lib/python3/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
"/usr/lib/python3/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
"/usr/lib/python3/dist-packages/pkg_resources.py", line 2508, in _compute_dependencies
parsed = next(parse_requirements(distvers))
"/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
"/usr/lib/python3/dist-packages/pkg_resources.py", line 2573, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'coala ~=0.11.0', 'at', ' ~=0.11.0')
| 0.546204 |
Traceback (most recent call last):
"/home/spott/.local/venvs/pipsi/lib/python3.6/hashlib.py", line 243, in <module>
globals()[__func_name] = __get_hash(__func_name)
"/home/spott/.local/venvs/pipsi/lib/python3.6/hashlib.py", line 128, in __get_openssl_constructor
return __get_builtin_constructor(name)
"/home/spott/.local/venvs/pipsi/lib/python3.6/hashlib.py", line 113, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type shake_256
| `Traceback (most recent call last):
"train.py", line 198, in <module>
tf.app.run()
"/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
"train.py", line 194, in main
worker_job_name, is_chief, FLAGS.train_dir)
"build/bdist.linux-x86_64/egg/object_detection/trainer.py", line 193, in train
first_clone_scope = clones[0].scope
"build/bdist.linux-x86_64/egg/object_detection/builders/model_builder.py", line 85, in build
"build/bdist.linux-x86_64/egg/object_detection/builders/model_builder.py", line 327, in _build_faster_rcnn_model
"build/bdist.linux-x86_64/egg/object_detection/meta_architectures/faster_rcnn_meta_arch.py", line 326, in __init__
ValueError: second_stage_batch_size should be no greater than first_stage_max_proposals.`
| 0.574711 |
Traceback (most recent call last):
"tools/train.py", line 153, in <module>
main()
"tools/train.py", line 149, in main
meta=meta)
"/home/zqc/zjj/mmdetection/mmdet/apis/train.py", line 143, in train_detec tor
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/mmcv/runner/e poch_based_runner.py", line 122, in run
epoch_runner(data_loaders[i], **kwargs)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/mmcv/runner/e poch_based_runner.py", line 32, in train
**kwargs)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/mmcv/parallel /data_parallel.py", line 31, in train_step
return self.module.train_step(*inputs[0], **kwargs[0])
"/home/zqc/zjj/mmdetection/mmdet/models/detectors/base.py", line 237, in
train_step
losses = self(**data)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/torch/nn/modu les/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
"/home/zqc/zjj/mmdetection/mmdet/core/fp16/decorators.py", line 51, in ne w_func
return old_func(*args, **kwargs)
"/home/zqc/zjj/mmdetection/mmdet/models/detectors/base.py", line 171, in
forward
return self.forward_train(img, img_metas, **kwargs)
"/home/zqc/zjj/mmdetection/mmdet/models/detectors/two_stage.py", line 164 , in forward_train
**kwargs)
"/home/zqc/zjj/mmdetection/mmdet/models/roi_heads/htc_roi_head.py", line
323, in forward_train
semantic_feat)
"/home/zqc/zjj/mmdetection/mmdet/models/roi_heads/htc_roi_head.py", line
154, in _mask_forward_train
mask_pred = mask_head(mask_feats, last_feat, return_feat=False)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/torch/nn/modu les/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
"/home/zqc/zjj/mmdetection/mmdet/models/roi_heads/mask_heads/htc_mask_hea d.py", line 36, in forward
x = self.upsample(x)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/torch/nn/modu les/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/torch/nn/modu les/conv.py", line 790, in forward
output_padding, self.groups, self.dilation)
"/home/zqc/anaconda3/envs/wheat/lib/python3.7/site-packages/torch/utils/d ata/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 12890) is killed by signal: Killed.
| Traceback (most recent call last):
"setup.py", line 405, in <module>
setup(
"/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
"/public/software/Anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
"/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
"/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
"/public/software/Anaconda3/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
"/public/software/Anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
"/public/software/Anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
"/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
"/public/software/Anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
"/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
"/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
build_ext.build_extensions(self)
"/public/software/Anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
_build_ext.build_ext.build_extensions(self)
"/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
"/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
"/public/software/Anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
"/public/software/Anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
"/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 469, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
"/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1228, in _write_ninja_file_and_compile_objects
_run_ninja_build(
"/public/software/Anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
| 0.589146 |
Traceback (most recent call last):
"/local/wasiahmad/software/anaconda3/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq_cli/train.py", line 324, in distributed_main
main(args, init_distributed=True)
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq_cli/train.py", line 117, in main
valid_losses = train(args, trainer, task, epoch_itr, max_update)
"/local/wasiahmad/software/anaconda3/lib/python3.6/contextlib.py", line 52, in inner
return func(*args, **kwds)
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq_cli/train.py", line 201, in train
valid_losses = validate_and_save(args, trainer, task, epoch_itr, valid_subsets)
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq_cli/train.py", line 241, in validate_and_save
valid_losses = validate(args, trainer, task, epoch_itr, valid_subsets)
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq_cli/train.py", line 278, in validate
num_workers=args.num_workers,
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq/tasks/fairseq_task.py", line 181, in get_batch_iterator
required_batch_size_multiple=required_batch_size_multiple,
"/home/wasiahmad/workspace/git_repos/fairseq/fairseq/data/data_utils.py", line 234, in batch_by_size
return batch_by_size_fast(indices, num_tokens_fn, max_tokens, max_sentences, bsz_mult)
"fairseq/data/data_utils_fast.pyx", line 27, in fairseq.data.data_utils_fast.batch_by_size_fast
"fairseq/data/data_utils_fast.pyx", line 50, in fairseq.data.data_utils_fast.batch_by_size_fast
AssertionError: sentence at index 2618 of size 513 exceeds max_tokens limit of 512!
| Traceback (most recent call last):
"/tmp/kitchen/testing/tests/support/jinja_filters.py", line 213, in test_files_list_files
self.assertIn('module_|-test_|-test.echo_|-run', ret)
AssertionError: u'module_|-test_|-test.echo_|-run' not found in [u'Pillar failed to render with the following messages:', u"Failed to load ext_pillar cmd_yaml: local variable 'output' referenced before assignment"]
| 0.481997 |
Traceback (most recent call last):
"enormously_complex_code.py", line 2030, in <module>
results = minimize(some_func, initial_guesses=(the_variable), method='nelder
-mead', options={'fatol':4e3, 'xatol':4e3})
"/usr/lib/python3.6/site-packages/scipy/optimize/_minimize.py", line 591, in minimize
return _minimize_neldermead(fun, x0, args, callback, **options)
"/usr/lib/python3.6/site-packages/scipy/optimize/optimize.py", line 571, in _minimize_neldermead
if fxr < fsim[0]:
TypeError: '>' not supported between instances of 'float' and 'NoneType'
| Traceback (most recent call last):
"/usr/local/bin/docker-compose", line 11, in <module>
sys.exit(main())
"/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 68, in main
command()
"/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 118, in perform_command
handler(command, command_options)
"/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 926, in up
scale_override=parse_scale_args(options['--scale']),
"/usr/local/lib/python2.7/dist-packages/compose/project.py", line 424, in up
get_deps
"/usr/local/lib/python2.7/dist-packages/compose/parallel.py", line 69, in parallel_execute
raise error_to_reraise
TypeError: expected string or buffer
| 0.589685 |
Traceback (most recent call last):
"./run_electrum", line 377, in <module>
pid = os.fork()
AttributeError: module 'os' has no attribute 'fork'```
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/jan/.pyenv/versions/3.7.4/lib/python3.7/site-packages/sympy/matrices/expressions/blockmatrix.py", line 91, in _blockmul
self.colblocksizes == other.rowblocksizes):
"/home/jan/.pyenv/versions/3.7.4/lib/python3.7/site-packages/sympy/matrices/expressions/blockmatrix.py", line 80, in colblocksizes
return [self.blocks[0, i].cols for i in range(self.blockshape[1])]
"/home/jan/.pyenv/versions/3.7.4/lib/python3.7/site-packages/sympy/matrices/expressions/blockmatrix.py", line 80, in <listcomp>
return [self.blocks[0, i].cols for i in range(self.blockshape[1])]
AttributeError: 'Zero' object has no attribute 'cols'
| 0.615875 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/home/scottgigante/.local/lib/python3.8/site-packages/scanpy/preprocessing/_simple.py", line 531, in pca
X_pca = pca_.fit_transform(X)
"/usr/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 369, in fit_transform
U, S, V = self._fit(X)
"/usr/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 418, in _fit
return self._fit_truncated(X, n_components, self._fit_svd_solver)
"/usr/lib/python3.8/site-packages/sklearn/decomposition/_pca.py", line 497, in _fit_truncated
raise ValueError("n_components=%r must be between 1 and "
ValueError: n_components=50 must be between 1 and min(n_samples, n_features)=40 with svd_solver='arpack'
| Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
await self.async_update()
"/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 128, in async_update
await super().async_update()
"/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 57, in async_update
self._rates = await self._api.async_get_bytes_total()
"/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 325, in async_get_bytes_total
rx = await self.async_get_rx()
"/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 332, in async_get_rx
return int(data[0])
ValueError: invalid literal for int() with base 10: ''
| 0.460809 |
Traceback (most recent call last):
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state
await self.async_device_update()
"/usr/src/homeassistant/homeassistant/helpers/entity.py", line 472, in async_device_update
await self.hass.async_add_executor_job(self.update)
"/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
"/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 85, in wrapper
result = func(self, *args, **kwargs)
"/usr/src/homeassistant/homeassistant/components/spotify/media_player.py", line 354, in update
self._playlist = self._spotify.playlist(current["context"]["uri"])
AttributeError: 'Spotify' object has no attribute 'playlist'`
| Traceback (most recent call last):
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
R = retval = fun(*args, **kwargs)
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/app/trace.py", line 648, in __protected_call__
return self.run(*args, **kwargs)
"/root/spider_projects/django4celery/taskproj/app01/utils/tasks.py", line 354, in down_single_json
rdb.set_trace()
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 193, in set_trace
return debugger().set_trace(frame)
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 185, in debugger
rdb = _current[0] = Rdb()
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 104, in __init__
host, port, port_search_limit, port_skew,
"/root/anaconda3/envs/django4celery/lib/python3.7/site-packages/celery/contrib/rdb.py", line 141, in get_avail_port
raise Exception(NO_AVAILABLE_PORT.format(self=self))
AttributeError: 'Rdb' object has no attribute 'ident'
| 0.60761 |
Traceback (most recent call last):
"/home/sander/repos/blueman/blueman/plugins/manager/Info.py", line 114, in <lambda>
item.connect('activate', lambda x: show_info(device, manager_menu.get_toplevel()))
"/home/sander/repos/blueman/blueman/plugins/manager/Info.py", line 95, in show_info
store.append((name, func(device.get(name))))
"/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 995, in append
return self._do_insert(-1, row)
"/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 986, in _do_insert
row, columns = self._convert_row(row)
"/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 898, in _convert_row
result.append(self._convert_value(cur_col, value))
"/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 912, in _convert_value
return GObject.Value(self.get_column_type(column), value)
"/usr/lib/python3.7/site-packages/gi/overrides/GObject.py", line 210, in __init__
self.set_value(py_value)
"/usr/lib/python3.7/site-packages/gi/overrides/GObject.py", line 250, in set_value
(py_value, type(py_value)))
TypeError: Expected string but got 0<class 'int'>
| ```Traceback (most recent call last):
"/usr/local/bin/docker-compose", line 9, in <module>
load_entry_point('docker-compose==1.11.0.dev0', 'console_scripts', 'docker-compose')()
"/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 88, in main
command()
"/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 137, in perform_command
project = project_from_options('.', options)
"/usr/local/lib/python2.7/dist-packages/compose/cli/command.py", line 36, in project_from_options
environment=environment
"/usr/local/lib/python2.7/dist-packages/compose/cli/command.py", line 103, in get_project
config_data = config.load(config_details)
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 331, in load
service_dicts = load_services(config_details, main_file)
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 432, in load_services
return build_services(service_config)
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 411, in build_services
for name, service_dict in service_config.items()
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 396, in build_service
service_dict = process_service(resolver.run())
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 658, in process_service
service_dict = process_healthcheck(service_dict, service_config.name)
"/usr/local/lib/python2.7/dist-packages/compose/config/config.py", line 689, in process_healthcheck
hc['interval'] = parse_nanoseconds_int(raw['interval'])
"/usr/local/lib/python2.7/dist-packages/compose/utils.py", line 120, in parse_nanoseconds_int
parsed = timeparse(value or '')
"/usr/local/lib/python2.7/dist-packages/compose/timeparse.py", line 86, in timeparse
match = re.match(r'\s*' + TIMEFORMAT + r'\s*$', sval, re.I)
"/usr/lib/python2.7/re.py", line 141, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
| 0.658658 |
Traceback (most recent call last):
"G:\Scripts\OnlyFans\start_ofd.py", line 40, in <module>
main_datascraper.start_datascraper(json_config, site_name_lower)
"G:\Scripts\OnlyFans\datascraper\main_datascraper.py", line 87, in start_datascraper
x = main_helper.process_names(
"G:\Scripts\OnlyFans\helpers\main_helper.py", line 570, in process_names
result = module.start_datascraper(
"G:\Scripts\OnlyFans\modules\onlyfans.py", line 147, in start_datascraper
results = prepare_scraper(
"G:\Scripts\OnlyFans\modules\onlyfans.py", line 683, in prepare_scraper
w = process_metadata(metadata_path, new_metadata,
"G:\Scripts\OnlyFans\modules\onlyfans.py", line 555, in process_metadata
Session, api_type, folder = main_helper.make_metadata(
"G:\Scripts\OnlyFans\helpers\main_helper.py", line 252, in make_metadata
filename=media["filename"], created_at=date_object).first()
KeyError: 'filename'
| Traceback (most recent call last):
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/commands.py", line 237, in run
policy()
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/policy.py", line 703, in __call__
resources = PullMode(self).run()
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/policy.py", line 222, in run
resources = self.policy.resource_manager.resources()
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/resources/account.py", line 66, in resources
return self.filter_resources([get_account(self.session_factory, self.config)])
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/manager.py", line 90, in filter_resources
resources = f.process(resources, event)
"/Users/9200779/git/bitbucket.org/vmdb/custodian/custodian/lib/python2.7/site-packages/c7n/resources/account.py", line 432, in process
checks['flaggedResources'] = [r for r in checks['flaggedResources']
KeyError: u'flaggedResources'
| 0.581873 |
Traceback (most recent call last):
"main.py", line 114, in <module>
start_speech_recognition()
"main.py", line 95, in start_speech_recognition
ask_susi(value)
"main.py", line 62, in ask_susi
reply = susi.ask(input_query)
"/home/betterclever/Github/susi_hardware/app/susi_python/main.py", line 46, in ask
response = query(query_string)
"/home/betterclever/Github/susi_hardware/app/susi_python/main.py", line 22, in query
return api_response.json(cls=SusiResponseDecoder)
"/usr/local/lib/python3.5/dist-packages/requests/models.py", line 894, in json
return complexjson.loads(self.text, **kwargs)
"/usr/lib/python3/dist-packages/simplejson/__init__.py", line 533, in loads
return cls(encoding=encoding, **kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'
| Traceback (most recent call last):
"build.py", line 32, in <module>
extra_objects=extra_objects
"/home/renb/anaconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 228, in __init__
super(BuildExtension, self).__init__(*args, **kwargs)
"/home/renb/anaconda3/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in __init__
_Command.__init__(self, dist)
"/home/renb/anaconda3/lib/python3.7/distutils/cmd.py", line 57, in __init__
raise TypeError("dist must be a Distribution instance")
TypeError: dist must be a Distribution instance
| 0.533357 |
Traceback (most recent call last):
"C:\Python\anaconda3\lib\site-packages\spyder\widgets\variableexplorer\dataframeeditor.py", line 295, in data
return to_qvariant(to_text_string(value))
"C:\Python\anaconda3\lib\site-packages\spyder\py3compat.py", line 140, in to_text_string
return str(obj)
"C:\Python\anaconda3\lib\site-packages\pandas\core\base.py", line 59, in __str__
return self.__unicode__()
"C:\Python\anaconda3\lib\site-packages\pandas\core\frame.py", line 636, in __unicode__
line_width=width, show_dimensions=show_dimensions)
"C:\Python\anaconda3\lib\site-packages\pandas\core\frame.py", line 1675, in to_string
formatter.to_string()
"C:\Python\anaconda3\lib\site-packages\pandas\io\formats\format.py", line 597, in to_string
strcols = self._to_str_columns()
"C:\Python\anaconda3\lib\site-packages\pandas\io\formats\format.py", line 537, in _to_str_columns
max_len = max(np.max([self.adj.len(x) for x in fmt_values]),
"C:\Python\anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 2320, in amax
out=out, **kwargs)
"C:\Python\anaconda3\lib\site-packages\numpy\core\_methods.py", line 26, in _amax
return umr_maximum(a, axis, None, out, keepdims)
ValueError: zero-size array to reduction operation maximum which has no identity
| Traceback (most recent call last):
"jukebox/train.py", line 342, in <module>
fire.Fire(run)
"/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 127, in Fire
component_trace = _Fire(component, args, context, name)
"/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 366, in _Fire
component, remaining_args)
"/home/btrude/Documents/workspace/jukebox/.venv/lib/python3.7/site-packages/fire/core.py", line 542, in _CallCallable
result = fn(*varargs, **kwargs)
"jukebox/train.py", line 325, in run
train_metrics = train(distributed_model, model, opt, shd, scalar, ema, logger, metrics, data_processor, hps)
"jukebox/train.py", line 277, in train
sample_prior(orig_model, ema, logger, x_in, y, hps)
"jukebox/train.py", line 141, in sample_prior
log_labels(logger, orig_model.labeller, f'sample_x_T1', allgather(y.cuda()), hps)
"jukebox/train.py", line 36, in log_labels
description = labeller.describe_label(y[item])
"/home/btrude/Documents/workspace/jukebox/jukebox/data/labels.py", line 92, in describe_label
tokens = y[-self.n_tokens:]
ValueError: not enough values to unpack (expected at least 4, got 0)
| 0.602941 |
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 {}))
"/var/lib/ajenti/plugins/vh/main.py", line 214, in on_go_back
WebsitesPlugin.get().activate()
"/usr/lib/pymodules/python2.7/ajenti/api/__init__.py", line 83, in get
return context.get_instance(cls)
"/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 188, in get_instance
return self.instantiate(cls)
"/usr/lib/pymodules/python2.7/ajenti/plugins/__init__.py", line 195, in instantiate
instance = cls(*args, **kwargs)
TypeError: __init__() takes at least 2 arguments (1 given) | Traceback (most recent call last):
"D:/gitlab/playground/test_thop.py", line 20, in <module>
flops, params = profile(model, inputs=(input_rand, ))
"C:\Users\.conda\envs\pytorch\lib\site-packages\thop\profile.py", line 188, in profile
model(*inputs)
"C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
"D:/gitlab/playground/test_thop.py", line 15, in forward
return self.ConvNet(input)
"C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
"C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\container.py", line 100, in forward
input = module(input)
"C:\Users\.conda\envs\pytorch\lib\site-packages\torch\nn\modules\module.py", line 552, in __call__
hook_result = hook(self, input, result)
"C:\Users\.conda\envs\pytorch\lib\site-packages\thop\vision\basic_hooks.py", line 92, in count_adap_avgpool
kernel = torch.DoubleTensor([*(x[0].shape[2:])]) // torch.DoubleTensor(list((m.output_size,))).squeeze()
TypeError: must be real number, not NoneType
| 0.588614 |
Traceback (most recent call last):
"<console>", line 1, in <module>
"/home/user/telegram/lib/python3.7/site-packages/telethon/client/uploads.py", line 176, in send_file
msg = self._get_response_message(request, self(request), entity)
"/home/user/telegram/lib/python3.7/site-packages/telethon/client/users.py", line 19, in __call__
r.resolve(self, utils)
"/home/user/telegram/lib/python3.7/site-packages/telethon/tl/functions/messages.py", line 3403, in resolve
self.media = utils.get_input_media(self.media)
"/home/user/telegram/lib/python3.7/site-packages/telethon/utils.py", line 310, in get_input_media
_raise_cast_fail(media, 'InputMedia')
"/home/user/telegram/lib/python3.7/site-packages/telethon/utils.py", line 108, in _raise_cast_fail
type(entity).__name__, target))
TypeError: Cannot cast NoneType to any kind of InputMedia.
|
Traceback (most recent call last):
"issue.py", line 10, in <module>
issue_thrift.WalkingDistanceParam(from_param, to_param, 'orderId', 1)
TypeError: object() takes no parameters | 0.575991 |
Traceback (most recent call last):
"...\.venv\lib\site-packages\pip\_internal\cli\base_command.py", line 186, in _main
status = self.run(options, args)
"...\.venv\lib\site-packages\pip\_internal\commands\install.py", line 404, in run
use_user_site=options.use_user_site,
"...\.venv\lib\site-packages\pip\_internal\req\__init__.py", line 71, in install_given_reqs
**kwargs
"...\.venv\lib\site-packages\pip\_internal\req\req_install.py", line 815, in install
warn_script_location=warn_script_location,
"...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 614, in install_wheel
warn_script_location=warn_script_location,
"...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 447, in install_unpacked_wheel
clobber(source, dest, False, fixer=fixer, filter=filter)
"...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 412, in clobber
record_installed(srcfile, destfile, changed)
"...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 345, in record_installed
newpath = normpath(destfile, lib_dir)
"...\.venv\lib\site-packages\pip\_internal\operations\install\wheel.py", line 52, in normpath
return os.path.relpath(src, p).replace(os.path.sep, '/')
"...\.venv\lib\ntpath.py", line 584, in relpath
path_drive, start_drive))
ValueError: path is on mount 'f:', start on mount 'c:'
| Traceback (most recent call last):
"radar_relay_market.pyx", line 755, in hummingbot.market.radar_relay.radar_relay_market.RadarRelayMarket.execute_trade
"radar_relay_market.pyx", line 681, in submit_limit_order
ValueError: Unknown format code 'f' for object of type 'str'
| 0.473276 |
Traceback (most recent call last):
"/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 645, in run
self.load_config_watt(rqueue, url)
"/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 820, in load_config_watt
self._load_ir(rqueue, aconf, fetcher, scc, snapshot)
"/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 827, in _load_ir
open(aconf_path, "w").write(aconf.as_json())
OSError: [Errno 12] Out of memory
| Traceback (most recent call last):
"D:\Power\workspace\Power_AndroidP_Derek3050\TestCase\ApplicationSW.py", line 49, in Game
control.d(resourceId="com.glbenchmark.glbenchmark27:id/textViewScore").wait(timeout=70.0)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\uiautomator2\__init__.py", line 2027, in wait
self.selector, int(timeout * 1000), http_timeout=http_wait)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\uiautomator2\__init__.py", line 489, in __call__
params, http_timeout)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\uiautomator2\__init__.py", line 496, in jsonrpc_retry_call
return self.jsonrpc_call(*args, **kwargs)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\uiautomator2\__init__.py", line 539, in jsonrpc_call
data=data)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\requests\sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
"C:\Users\XXX\AppData\Local\Programs\Python\Python36\lib\site-packages\uiautomator2\__init__.py", line 314, in request
"atx-agent is not running. Fix it with following steps.\n1. Plugin device into computer.\n2. Run command \"python -m uiautomator2 init\""
OSError: atx-agent is not running. Fix it with following steps.
| 0.492138 |
Traceback (most recent call last):
"C:\Users\SESA151752\Documents\Anaconda3\lib\site-packages\traitlets\traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'context'
| Traceback (most recent call last):
"/usr/lib/python3/dist-packages/salt/loader.py", line 1754, in _load_module
module_init(self.opts)
"/usr/lib/python3/dist-packages/salt/modules/boto3_elasticsearch.py", line 96, in __init__
__utils__["boto3.assign_funcs"](__name__, "es")
"/usr/lib/python3/dist-packages/salt/loader.py", line 1278, in __getitem__
func = super(LazyLoader, self).__getitem__(item)
"/usr/lib/python3/dist-packages/salt/utils/lazy.py", line 108, in __getitem__
raise KeyError(key)
KeyError: 'boto3.assign_funcs'
| 0.566017 |
Traceback (most recent call last):
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_internal\basecommand.py", line 228, in main
status = self.run(options, args)
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_internal\commands\install.py", line 318, in run
self._warn_about_conflicts(to_install)
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_internal\commands\install.py", line 442, in _warn_about_conflicts
package_set, _dep_info = check_install_conflicts(to_install)
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_internal\operations\check.py", line 89, in check_install_conflicts
state = create_package_set_from_installed()
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_internal\operations\check.py", line 39, in create_package_set_from_installed
retval[name] = PackageDetails(dist.version, dist.requires())
"c:\programdata\anaconda3\lib\site-packages\pip-10.0.1-py3.6.egg\pip\_vendor\pkg_resources\__init__.py", line 2567, in version
raise ValueError(tmpl % self.PKG_INFO, self)
ValueError: ("Missing 'Version:' header and/or METADATA file", Unknown [unknown version] (c:\programdata\anaconda3\lib\site-packages))
| Traceback (most recent call last):
"hummingbot\core\clock.pyx", line 119, in hummingbot.core.clock.Clock.run_til
"hummingbot\strategy\arbitrage\arbitrage.pyx", line 192, in hummingbot.strategy.arbitrage.arbitrage.ArbitrageStrategy.c_tick
"hummingbot\strategy\arbitrage\arbitrage.pyx", line 317, in hummingbot.strategy.arbitrage.arbitrage.ArbitrageStrategy.c_process_market_pair
"hummingbot\strategy\arbitrage\arbitrage.pyx", line 254, in hummingbot.strategy.arbitrage.arbitrage.ArbitrageStrategy.c_calculate_arbitrage_top_order_profitability
"hummingbot\strategy\market_trading_pair_tuple.py", line 37, in get_price
"hummingbot\connector\exchange_base.pyx", line 203, in hummingbot.connector.exchange_base.ExchangeBase.get_price
"hummingbot\connector\exchange_base.pyx", line 100, in hummingbot.connector.exchange_base.ExchangeBase.c_get_price
"hummingbot\connector\exchange\paper_trade\paper_trade_market.pyx", line 899, in hummingbot.connector.exchange.paper_trade.paper_trade_market.PaperTradeMarket.c_get_order_book
ValueError: No order book exists for 'YFII-USDT'.
| 0.540342 |
Traceback (most recent call last):
"/usr/local/bin/thumbor", line 9, in <module>
load_entry_point('thumbor==6.1.5', 'console_scripts', 'thumbor')()
"/usr/local/lib64/python2.7/site-packages/thumbor/server.py", line 128, in main
with get_context(server_parameters, config, importer) as context:
"/usr/local/lib64/python2.7/site-packages/thumbor/server.py", line 88, in get_context
importer=importer
"/usr/local/lib64/python2.7/site-packages/thumbor/context.py", line 36, in __init__
self.modules = ContextImporter(self, importer)
"/usr/local/lib64/python2.7/site-packages/thumbor/context.py", line 213, in __init__
self.engine = importer.engine(context)
"/usr/local/lib64/python2.7/site-packages/thumbor/engines/pil.py", line 55, in __init__
warnings.simplefilter('error', Image.DecompressionBombWarning)
AttributeError: 'module' object has no attribute 'DecompressionBombWarning'
| Traceback (most recent call last):
"D:/Python37Projects/weixin_ticket_spider/socket_server.py", line 99, in <module>
ws.run_server(port=10020)
"D:/Python37Projects/weixin_ticket_spider/socket_server.py", line 92, in run_server
spider_process.start()
"C:\Python\Python37\lib\site-packages\aiomultiprocess\core.py", line 140, in start
return self.aio_process.start()
"C:\Python\Python37\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
"C:\Python\Python37\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
"C:\Python\Python37\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__
reduction.dump(process_obj, to_child)
"C:\Python\Python37\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'WeakSet.__init__.<locals>._remove'
| 0.655483 |
Traceback (most recent call last):
"/usr/local/bin/legendary", line 11, in <module>
load_entry_point('legendary-gl==0.0.14', 'console_scripts', 'legendary')()
"/usr/local/lib/python3.8/dist-packages/legendary_gl-0.0.14-py3.8.egg/legendary/cli.py", line 853, in main
"/usr/lib/python3.8/argparse.py", line 1380, in add_argument
action = action_class(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'type'
| Traceback (most recent call last):
"/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
"/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
"/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
yield from entity.async_update_ha_state()
"/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
device_attr = self.device_state_attributes
"/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
self._camera.get_battery_level,
"/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
| 0.583428 |
Traceback (most recent call last):
"solve.py", line 51, in <module>
m.finalize()
"/home/ehennenfent/manticore/manticore/native/manticore.py", line 345, in finalize
super().finalize()
"/home/ehennenfent/manticore/manticore/core/manticore.py", line 1174, in finalize
self.generate_testcase(state)
"/home/ehennenfent/manticore/manticore/native/manticore.py", line 29, in generate_testcase
self._output.save_testcase(state, testcase, message)
"/home/ehennenfent/manticore/manticore/core/workspace.py", line 608, in save_testcase
self.save_input_symbols(testcase, state)
"/home/ehennenfent/manticore/manticore/core/workspace.py", line 663, in save_input_symbols
buf = state.solve_one(symbol)
"/home/ehennenfent/manticore/manticore/core/state.py", line 452, in solve_one
return self.solve_one_n(expr, constrain=constrain)[0]
"/home/ehennenfent/manticore/manticore/core/state.py", line 470, in solve_one_n
value = self._solver.get_value(self._constraints, expr)
"/home/ehennenfent/manticore/manticore/core/state.py", line 135, in get_value
solved = self._solver.get_value(constraints, expression, *args, **kwargs)
"/home/ehennenfent/manticore/manticore/core/smtlib/solver.py", line 619, in get_value
result.append(self.__getvalue_bv(var[i].name))
"/home/ehennenfent/manticore/manticore/core/smtlib/solver.py", line 356, in __getvalue_bv
expr, value = m.group("expr"), m.group("value")
# type: ignore
AttributeError: 'NoneType' object has no attribute 'group'
| Traceback (most recent call last):
"{$my_working_path}/lib/python3.8/site-packages/telegram/ext/dispatcher.py", line 442, in process_update
handler.handle_update(update, self, check, context)
"{$my_working_path}/lib/python3.8/site-packages/telegram/ext/handler.py", line 160, in handle_update
return self.callback(update, context)
"{$my_working_path}/src/utils/auth.py", line 27, in __call__
return self.function(*args)
"main.py", line 68, in queue_searches
context.job_queue.run_daily(search_over_time, options["time"], options["days"], context = job_args, name =
str(update.message.chat_id))
"{$my_working_path}/lib/python3.8/site-packages/telegram/ext/jobqueue.py", line 439, in run_daily
j = self.scheduler.add_job(
"{$my_working_path}/lib/python3.8/site-packages/apscheduler/schedulers/base.py", line 443, in add_job
self._real_add_job(job, jobstore, replace_existing)
"{$my_working_path}/lib/python3.8/site-packages/apscheduler/schedulers/base.py", line 867, in _real_add_job
store.add_job(job)
"{$my_working_path}/lib/python3.8/site-packages/apscheduler/jobstores/sqlalchemy.py", line 95, in add_job
'job_state': pickle.dumps(job.__getstate__(), self.pickle_protocol)
AttributeError: Can't pickle local object 'PoolManager.__init__.<locals>.<lambda>'
| 0.618624 |
Traceback (most recent call last):
"/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
"/usr/lib/python2.7/multiprocessing/util.py", line 284, in _exit_function
info('process shutting down')
TypeError: 'NoneType' object is not callable | Traceback (most recent call last):
"examples/np2vec/train.py", line 216, in <module>
args.word_ngrams)
"/home/ubuntu/.local/lib/python3.6/site-packages/nlp_architect/models/np2vec.py", line 177, in __init__
self._train()
"/home/ubuntu/.local/lib/python3.6/site-packages/nlp_architect/models/np2vec.py", line 216, in _train
word_ngrams=self.word_ngrams)
"/home/ubuntu/.local/lib/python3.6/site-packages/gensim/models/fasttext.py", line 388, in __init__
seed=seed, hs=hs, negative=negative, cbow_mean=cbow_mean, min_alpha=min_alpha, fast_version=FAST_VERSION)
"/home/ubuntu/.local/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 763, in __init__
end_alpha=self.min_alpha, compute_loss=compute_loss)
"/home/ubuntu/.local/lib/python3.6/site-packages/gensim/models/fasttext.py", line 666, in train
queue_factor=queue_factor, report_delay=report_delay, callbacks=callbacks)
"/home/ubuntu/.local/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 1081, in train
**kwargs)
"/home/ubuntu/.local/lib/python3.6/site-packages/gensim/models/base_any2vec.py", line 546, in train
for cur_epoch in range(self.epochs):
TypeError: 'builtin_function_or_method' object cannot be interpreted as an integer
| 0.556923 |
Traceback (most recent call last):
"quickstart.py", line 32, in <module>
session.set_dont_like('herbalife', 'amyway', 'maione', 'youngliving', 'avon', 'marykay', '#sex', 'follow', 'follower', 'shop', 'doterra', 'forex', 'cryto')
TypeError: set_dont_like() takes at most 2 arguments (14 given) | Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/sknn/tests/test_types.py", line 61, in test_FitMutator
self.nn._fit(X, y)
"/usr/local/lib/python2.7/dist-packages/sknn/mlp.py", line 239, in _fit
self._train(X, y, w)
"/usr/local/lib/python2.7/dist-packages/sknn/mlp.py", line 151, in _train
avg_train_error = self._backend._train_impl(X, y, w)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 338, in _train_impl
return self._batch_impl(X, y, w, self.trainer, mode='train', output='.', shuffle=True)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 319, in _batch_impl
for Xb, yb, wb, _ in self._iterate_data(self.batch_size, X, y, w, shuffle):
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 308, in _iterate_data
Xb, yb, wb = cast(X, excerpt), cast(y, excerpt), cast(w, excerpt)
"/usr/local/lib/python2.7/dist-packages/sknn/backend/lasagne/mlp.py", line 293, in cast
array = array[indices]
"/usr/lib/python2.7/dist-packages/scipy/sparse/dok.py", line 140, in __getitem__
raise TypeError('index must be a pair of integers or slices')
TypeError: index must be a pair of integers or slices
| 0.547328 |
Traceback (most recent call last):
"../chia-blockchain/src/daemon/server.py", line 157, in safe_handle
response = format_response(message, error)
"/Users/seeden/Documents/git/chia-blockchain/src/util/ws_message.py", line 21, in format_response
"command": incoming_msg["command"],
TypeError: string indices must be integers
| Traceback (most recent call last):
"pylint_example.py", line 37, in <module>
impl().class_prop().method(0)
TypeError: method() missing 1 required positional argument: 'param'
| 0.543105 |
Traceback (most recent call last):
"gangpu.py", line 278, in <module>
gan = GANGPU('gan')
"gangpu.py", line 96, in __init__
parallel_discriminator_model = multi_gpu_model(discriminator_model, gpus=2)
"/n/home06/koshiba/.conda/envs/Keras7/lib/python3.6/site-packages/keras/utils/multi_gpu_utils.py", line 189, in multi_gpu_model
return Model(model.inputs, merged)
"/n/home06/koshiba/.conda/envs/Keras7/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
"/n/home06/koshiba/.conda/envs/Keras7/lib/python3.6/site-packages/keras/engine/topology.py", line 1829, in __init__
'Layer names: ', all_names)
RuntimeError: ('The name "Discriminator" is used 2 times in the model. All layer names should be unique. Layer names: ', ['input_3', 'input_4', 'lambda_3', 'lambda_4', 'lambda_5', 'lambda_6', 'model_3', 'Discriminator', 'Discriminator'])
| Traceback (most recent call last):
"train.py", line 190, in <module>
device=device, ext_len=args.ext_len)
"/home/agemagician/Downloads/transformer-xl/pytorch/data_utils.py", line 239, in get_iterator
data_iter = LMOrderedIterator(self.train, *args, **kwargs)
"/home/agemagician/Downloads/transformer-xl/pytorch/data_utils.py", line 29, in __init__
self.data = data.view(bsz, -1).t().contiguous().to(device)
RuntimeError: CUDA out of memory. Tried to allocate 40.00 GiB (GPU 0; 11.75 GiB total capacity; 0 bytes already allocated; 11.08 GiB free; 0 bytes cached)
| 0.576002 |
Traceback (most recent call last):
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/api.py", line 1089, in to_netcdf
dataset, store, writer, encoding=encoding, unlimited_dims=unlimited_dims
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/api.py", line 1135, in dump_to_store
store.store(variables, attrs, check_encoding, writer, unlimited_dims=unlimited_dims)
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/common.py", line 298, in store
variables, check_encoding_set, writer, unlimited_dims=unlimited_dims
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/common.py", line 339, in set_variables
writer.add(source, target)
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/common.py", line 188, in add
target[...] = source
"/usr/local/anaconda3/envs/cdat81/lib/python3.7/site-packages/xarray/backends/netCDF4_.py", line 51, in __setitem__
data[key] = value
"netCDF4/_netCDF4.pyx", line 4950, in netCDF4._netCDF4.Variable.__setitem__
"netCDF4/_netCDF4.pyx", line 5229, in netCDF4._netCDF4.Variable._put
"netCDF4/_netCDF4.pyx", line 1887, in netCDF4._netCDF4._ensure_nc_success
RuntimeError: NetCDF: HDF error
| Traceback (most recent call last):
"../../mmdetection/tools/train.py", line 108, in <module>
main()
"../../mmdetection/tools/train.py", line 104, in main
logger=logger)
"/home/user/repos/mmdetection1.3/mmdet/apis/train.py", line 61, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
"/home/user/repos/mmdetection1.3/mmdet/apis/train.py", line 225, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/mmcv/runner/runner.py", line 358, in run
epoch_runner(data_loaders[i], **kwargs)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/mmcv/runner/runner.py", line 264, in train
self.model, data_batch, train_mode=True, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/apis/train.py", line 38, in batch_processor
losses = model(**data)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 150, in forward
return self.module(*inputs[0], **kwargs[0])
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/core/fp16/decorators.py", line 49, in new_func
return old_func(*args, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/models/detectors/base.py", line 92, in forward
return self.forward_train(img, img_meta, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/models/detectors/single_stage.py", line 56, in forward_train
x = self.extract_feat(img)
"/home/user/repos/mmdetection1.3/mmdet/models/detectors/single_stage.py", line 40, in extract_feat
x = self.backbone(img)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/models/backbones/resnet.py", line 526, in forward
x = res_layer(x)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/repos/mmdetection1.3/mmdet/models/backbones/resnet.py", line 264, in forward
out = _inner_forward(x)
"/home/user/repos/mmdetection1.3/mmdet/models/backbones/resnet.py", line 249, in _inner_forward
out = self.norm3(out)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
result = self.forward(*input, **kwargs)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/modules/batchnorm.py", line 81, in forward
exponential_average_factor, self.eps)
"/home/user/anaconda3/envs/mmdet2/lib/python3.7/site-packages/torch/nn/functional.py", line 1670, in batch_norm
training, momentum, eps, torch.backends.cudnn.enabled
RuntimeError: CUDA out of memory. Tried to allocate 42.00 MiB (GPU 0; 7.80 GiB total capacity; 6.38 GiB already allocated; 23.25 MiB free; 602.65 MiB cached)
| 0.612479 |
Traceback (most recent call last):
"/usr/bin/pydoc2.5", line 5, in <module>
pydoc.cli()
"/usr/lib/python2.5/pydoc.py", line 2225, in cli
help.help(arg)
"/usr/lib/python2.5/pydoc.py", line 1688, in help
elif request: doc(request, 'Help on %s:')
"/usr/lib/python2.5/pydoc.py", line 1481, in doc
pager(title % desc + '\n\n' + text.document(object, name))
"/usr/lib/python2.5/pydoc.py", line 324, in document
if inspect.ismodule(object): return self.docmodule(*args)
"/usr/lib/python2.5/pydoc.py", line 1070, in docmodule
inspect.getclasstree(classlist, 1), name)]
"/usr/lib/python2.5/inspect.py", line 656, in getclasstree
for parent in c.__bases__:
TypeError: '_FunctionGenerator' object is not iterable | Traceback (most recent call last):
"<input>", line 1, in <module>
"/usr/share/java/pycharm/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
"/home/rhall/.virtualenvs/nornir-netops-6ImgWdqL/lib/python3.6/site-packages/grafanalib/core.py", line 449, in <module>
class Row(object):
"/home/rhall/.virtualenvs/nornir-netops-6ImgWdqL/lib/python3.6/site-packages/grafanalib/core.py", line 452, in Row
panels = attr.ib(default=attr.Factory(list), convert=_balance_panels)
TypeError: attrib() got an unexpected keyword argument 'convert'
| 0.543015 |
Traceback (most recent call last):
"scripts/retriever/interactive.py", line 27, in <module>
ranker = retriever.get_class('tfidf')(tfidf_path=args.model)
"/media/jintian/Netac/CodeSpace/AISpace/pytorch_space/other_repos/DrQA/drqa/retriever/tfidf_doc_ranker.py", line 37, in __init__
matrix, metadata = utils.load_sparse_csr(tfidf_path)
"/media/jintian/Netac/CodeSpace/AISpace/pytorch_space/other_repos/DrQA/drqa/retriever/utils.py", line 34, in load_sparse_csr
matrix = sp.csr_matrix((loader['data'], loader['indices'],
TypeError: 'int' object is not subscriptable
| Traceback (most recent call last):
"train.py", line 229, in <module>
train(cfg, writer, logger)
"train.py", line 49, in train
augmentations=data_aug,
"/home/lxc/PythonProjects/pytorch-semseg-master/ptsemseg/loader/pascal_voc_loader.py", line 73, in __init__
self.setup_annotations()
"/home/lxc/PythonProjects/pytorch-semseg-master/ptsemseg/loader/pascal_voc_loader.py", line 199, in setup_annotations
path = pjoin(sbd_path, "dataset/train.txt")
"/home/lxc/anaconda3/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
| 0.571897 |
Traceback (most recent call last):
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 347, in _dispatch_request
res = self._HANDLERS[handler](self, *args)
"/var/mycodo-root/env/lib/python3.5/site-packages/rpyc/core/protocol.py", line 624, in _handle_call
return self._local_objects[oid](*args, **dict(kwargs))
"/var/mycodo-root/mycodo/mycodo_daemon.py", line 216, in exposed_relay_sec_currently_on
return mycodo.controller['Output'].relay_sec_currently_on(relay_id)
AttributeError: 'OutputController' object has no attribute 'relay_sec_currently_on'
| Traceback (most recent call last):
"/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
"/home/tkloczko/rpmbuild/BUILD/arrow-0.15.6/tests/test_locales.py", line 733, in test_format_relative_future
assert self.locale._format_relative("3 oras", "hour", -3) == "nakaraang 3 oras"
AttributeError: 'TestTagalogLocale' object has no attribute 'locale'
| 0.589003 |
Traceback (most recent call last):
"/Users/lbotelho/Library/Python/2.7/bin/coursera-dl", line 8, in <module>
sys.exit(main())
"/Users/lbotelho/Library/Python/2.7/lib/python/site-packages/coursera/coursera_dl.py", line 235, in main
session = get_session()
"/Users/lbotelho/Library/Python/2.7/lib/python/site-packages/coursera/coursera_dl.py", line 95, in get_session
session.mount('https://', TLSAdapter())
"/Users/lbotelho/Library/Python/2.7/lib/python/site-packages/requests/adapters.py", line 129, in __init__
self.init_poolmanager(pool_connections, pool_maxsize, block=pool_block)
"/Users/lbotelho/Library/Python/2.7/lib/python/site-packages/coursera/cookies.py", line 385, in init_poolmanager
ssl_version=ssl.PROTOCOL_TLSv1_2)
AttributeError: 'module' object has no attribute 'PROTOCOL_TLSv1_2'
| Traceback (most recent call last):
"src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
"/Users/paul/Projects/brainbot/raiden/raiden/network/transport/matrix/client.py", line 438, in _handle_response
self.call(room._put_event, event)
"/Users/paul/Projects/brainbot/raiden/raiden/network/transport/matrix/client.py", line 386, in call
return callback(*args, **kwargs)
"/Users/paul/Projects/brainbot/raiden/venv/lib/python3.7/site-packages/matrix_client/room.py", line 308, in _put_event
listener['callback'](self, event)
"/Users/paul/Projects/brainbot/raiden/raiden/network/transport/matrix/transport.py", line 914, in _handle_message
self._receive_message(message)
"/Users/paul/Projects/brainbot/raiden/raiden/network/transport/matrix/transport.py", line 947, in _receive_message
self._raiden_service.on_message(message)
"/Users/paul/Projects/brainbot/raiden/raiden/raiden_service.py", line 665, in on_message
self.message_handler.on_message(self, message)
"/Users/paul/Projects/brainbot/raiden/raiden/message_handler.py", line 49, in on_message
self.handle_message_unlock(raiden, message)
"/Users/paul/Projects/brainbot/raiden/raiden/message_handler.py", line 100, in handle_message_unlock
raiden.handle_and_track_state_change(state_change)
"/Users/paul/Projects/brainbot/raiden/raiden/raiden_service.py", line 673, in handle_and_track_state_change
for greenlet in self.handle_state_change(state_change):
"/Users/paul/Projects/brainbot/raiden/raiden/raiden_service.py", line 695, in handle_state_change
update_services_from_balance_proof(self, current_state, changed_balance_proof)
"/Users/paul/Projects/brainbot/raiden/raiden/raiden_service.py", line 229, in update_services_from_balance_proof
new_balance_proof=changed_balance_proof.balance_proof,
"/Users/paul/Projects/brainbot/raiden/raiden/raiden_service.py", line 296, in update_monitoring_service_from_balance_proof
rei_balance = raiden.user_deposit.effective_balance(raiden.address, 'latest')
AttributeError: 'NoneType' object has no attribute 'effective_balance'
| 0.602207 |
Traceback (most recent call last):
"/home/abuild/rpmbuild/BUILD/plotly.py-3.9.0/plotly/tests/test_core/test_offline/test_offline.py", line 92, in test_default_plot_generates_expected_html
cls=plotly.utils.PlotlyJSONEncoder)
"/usr/lib64/python2.7/site-packages/simplejson/__init__.py", line 419, in dumps
**kw).encode(obj)
TypeError: __init__() got an unexpected keyword argument 'iterable_as_array'
| Traceback (most recent call last):
"/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_load_client_ca_invalid() takes exactly 3 arguments (1 given)
| 0.537378 |
Traceback (most recent call last):
"train.py", line 610, in <module>
train_test()
"train.py", line 553, in train_test
fluid.io.save_inference_model(model_dir, data_name_list, [loss, auc_var], pe)
"/home/kangjianfeng/paddlepaddle/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/io.py", line 681, in save_inference_model
main_program = main_program._prune(targets=target_vars)
"/home/kangjianfeng/paddlepaddle/paddle_release_home/python/lib/python2.7/site-packages/paddle/fluid/framework.py", line 1741, in _prune
"The target variable must have an "
ValueError: The target variable must have an associated operator that generates it.
| [WARNING] [2019-04-23 17:03:09,459:EnsembleBuilder(1):digits] Error loading /tmp/autosklearn_parallel_example_tmp/.auto-sklearn/predictions_ensemble/predictions_ensemble_1_19.npy: Traceback (most recent call last):
"/usr/local/lib/python3.6/dist-packages/autosklearn/ensemble_builder.py", line 316, in read_ensemble_preds
y_ensemble = self._read_np_fn(fp=fp)
"/usr/local/lib/python3.6/dist-packages/autosklearn/ensemble_builder.py", line 641, in _read_np_fn
predictions = np.load(fp).astype(dtype=np.float32)
"/usr/local/lib/python3.6/dist-packages/numpy/lib/npyio.py", line 451, in load
raise ValueError("Cannot load file containing pickled data "
ValueError: Cannot load file containing pickled data when allow_pickle=False
| 0.535287 |
Traceback (most recent call last):
"/usr/local/lib/python3.5/dist-packages/paperwork/frontend/mainwindow/__init__.py", line 3759, in _show_doc_hook
self._show_doc_internal(doc, force_refresh)
"/usr/local/lib/python3.5/dist-packages/paperwork/frontend/mainwindow/__init__.py", line 3744, in _show_doc_internal
self._show_pages(doc)
"/usr/local/lib/python3.5/dist-packages/paperwork/frontend/mainwindow/__init__.py", line 3696, in _show_pages
first_scan_drawer = self.__reset_page_drawers(doc)
"/usr/local/lib/python3.5/dist-packages/paperwork/frontend/mainwindow/__init__.py", line 3612, in __reset_page_drawers
sentence=search)
"/usr/local/lib/python3.5/dist-packages/paperwork/frontend/mainwindow/pages.py", line 1228, in __init__
Gtk.IconLookupFlags.NO_SVG).load_icon(),
AttributeError: 'NoneType' object has no attribute 'load_icon'
| Traceback (most recent call last):
"/home/rakelkar/anaconda3/envs/fastai/bin/mmtoir", line 11, in <module>
sys.exit(_main())
"/home/rakelkar/anaconda3/envs/fastai/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 192, in _main
ret = _convert(args)
"/home/rakelkar/anaconda3/envs/fastai/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 92, in _conv$rt
parser = PytorchParser(args.network, inputshape[0])
"/home/rakelkar/anaconda3/envs/fastai/lib/python3.6/site-packages/mmdnn/conversion/pytorch/pytorch_parser.py", line 82, in __$nit__
self.pytorch_graph = PytorchGraph(model)
"/home/rakelkar/anaconda3/envs/fastai/lib/python3.6/site-packages/mmdnn/conversion/pytorch/pytorch_graph.py", line 59, in __i$it__
self.state_dict = _unique_state_dict(self.model)
"/home/rakelkar/anaconda3/envs/fastai/lib/python3.6/site-packages/torch/jit/__init__.py", line 200, in _unique_state_dict
state_dict = module.state_dict(keep_vars=keep_vars)
AttributeError: 'dict' object has no attribute 'state_dict'
| 0.579752 |
Traceback (most recent call last):
"/usr/bin/ldapdomaindump", line 3, in <module>
ldapdomaindump.main()
"/usr/lib/python3/dist-packages/ldapdomaindump/__init__.py", line 912, in main
if not c.bind():
"/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 563, in bind
response = self.do_ntlm_bind(controls)
"/usr/lib/python3/dist-packages/ldap3/core/connection.py", line 1302, in do_ntlm_bind
request = bind_operation(self.version, 'SICILY_RESPONSE_NTLM', ntlm_client, result['server_creds'])
"/usr/lib/python3/dist-packages/ldap3/operation/bind.py", line 81, in bind_operation
server_creds = name.create_authenticate_message()
"/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 379, in create_authenticate_message
nt_challenge_response = self.compute_nt_response()
"/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 485, in compute_nt_response
response_key_nt = self.ntowf_v2()
"/usr/lib/python3/dist-packages/ldap3/utils/ntlm.py", line 497, in ntowf_v2
return hmac.new(password_digest, (self.user_name.upper() + self.user_domain).encode('utf-16-le')).digest()
"/usr/lib/python3.8/hmac.py", line 153, in new
return HMAC(key, msg, digestmod)
"/usr/lib/python3.8/hmac.py", line 51, in __init__
raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.
| Traceback (most recent call last):
"E:\DropboxBACKUP14112018\Cff\Python\PhoneBot_with_lock\phonebot.dist\phonebot.py", line 654, in <module>
"E:\DropboxBACKUP14112018\Cff\Python\PhoneBot_with_lock\phonebot.dist\phonebot.py", line 555, in main
"E:\DropboxBACKUP14112018\Cff\Python\PhoneBot_with_lock\phonebot.dist\mymodules.py", line 997, in give_systemPort_to_smartphones
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
| 0.57133 |
Traceback (most recent call last):
"keras_retinanet/bin/train.py", line 426, in <module>
main()
"keras_retinanet/bin/train.py", line 394, in main
freeze_backbone=args.freeze_backbone
"keras_retinanet/bin/train.py", line 91, in create_models
model
= model_with_weights(backbone_retinanet(num_classes, backbone=backbone, nms=True, modifier=modifier), weights=weights, skip_mismatch=True)
"keras_retinanet/bin/../../keras_retinanet/models/resnet.py", line 80, in resnet_retinanet
return retinanet.retinanet_bbox(inputs=inputs, num_classes=num_classes, backbone_layers=resnet.outputs[1:], **kwargs)
"keras_retinanet/bin/../../keras_retinanet/models/retinanet.py", line 348, in retinanet_bbox
model = retinanet(inputs=inputs, num_classes=num_classes, **kwargs)
"keras_retinanet/bin/../../keras_retinanet/models/retinanet.py", line 312, in retinanet
anchors
= __build_anchors(anchor_parameters, features)
"keras_retinanet/bin/../../keras_retinanet/models/retinanet.py", line 265, in __build_anchors
)(f) for i, f in enumerate(features)
"/home/jhony/anaconda2/envs/tensorflow/lib/python2.7/site-packages/keras/engine/topology.py", line 619, in __call__
output = self.call(inputs, **kwargs)
"keras_retinanet/bin/../../keras_retinanet/layers/_misc.py", line 54, in call
anchors = backend.shift(features_shape[1:3], self.stride, self.anchors)
"keras_retinanet/bin/../../keras_retinanet/backend/common.py", line 63, in shift
shift_x = keras.backend.reshape(shift_x, [-1])
"/home/jhony/anaconda2/envs/tensorflow/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1894, in reshape
return tf.reshape(x, shape)
"/home/jhony/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 5782, in reshape
"Reshape", tensor=tensor, shape=shape, name=name)
"/home/jhony/anaconda2/envs/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 513, in _apply_op_helper
raise err
TypeError: Expected binary or unicode string, got <tf.Tensor 'anchors_0/mul:0' shape=(?,) dtype=float32
| Traceback (most recent call last):
"./st2common/bin/st2-register-content", line 22, in <module>
sys.exit(content_loader.main(sys.argv[1:]))
"/root/st2/st2common/st2common/content/bootstrap.py", line 406, in main
setup(argv)
"/root/st2/st2common/st2common/content/bootstrap.py", line 397, in setup
common_setup(config=config, setup_db=True, register_mq_exchanges=True,
"/root/st2/st2common/st2common/script_setup.py", line 96, in setup
db_setup()
"/root/st2/st2common/st2common/database_setup.py", line 56, in db_setup
connection = db_init.db_setup_with_retry(**db_cfg)
"/root/st2/st2common/st2common/persistence/db_init.py", line 68, in db_setup_with_retry
return db_func_with_retry(db_setup, db_name, db_host, db_port,
"/root/st2/st2common/st2common/persistence/db_init.py", line 58, in db_func_with_retry
return retrying_obj.call(db_func, *args, **kwargs)
"/root/st2/virtualenv/lib/python3.8/site-packages/retrying.py", line 206, in call
return attempt.get(self._wrap_exception)
"/root/st2/virtualenv/lib/python3.8/site-packages/retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
"/root/st2/virtualenv/lib/python3.8/site-packages/six.py", line 696, in reraise
raise value
"/root/st2/virtualenv/lib/python3.8/site-packages/retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
"/root/st2/st2common/st2common/models/db/__init__.py", line 164, in db_setup
connection = _db_connect(db_name, db_host, db_port, username=username,
"/root/st2/st2common/st2common/models/db/__init__.py", line 119, in _db_connect
LOG.info('Connecting to database "%s" @ "%s" as user "%s".' % (db_name, host_string,
"/root/st2/st2common/st2common/log.py", line 115, in func_wrapper
raise e
"/root/st2/st2common/st2common/log.py", line 105, in func_wrapper
return func(*args, **kwargs)
"/usr/lib/python3.8/logging/__init__.py", line 1434, in info
self._log(INFO, msg, args, **kwargs)
"/usr/lib/python3.8/logging/__init__.py", line 1565, in _log
fn, lno, func, sinfo = self.findCaller(stack_info, stacklevel)
TypeError: find_caller() takes from 0 to 1 positional arguments but 2 were given```
| 0.580398 |
[autoreload of pandas.core.panel failed: Traceback (most recent call last):
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 246, in check
superreload(m, reload, self.old_objects)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 369, in superreload
module = reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/imp.py", line 315, in reload
return importlib.reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/importlib/__init__.py", line 166, in reload
_bootstrap._exec(spec, module)
"<frozen importlib._bootstrap>", line 618, in _exec
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/pandas/core/panel.py", line 18, in <module>
import pandas.core.ops as ops
AttributeError: module 'pandas.core' has no attribute 'ops'
| Traceback (most recent call last):
"main.py", line 70, in <module>
tf.app.run()
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 125, in run
_sys.exit(main(argv))
"main.py", line 43, in main
dataset_name=FLAGS.dataset
# name of the dataset in the folder ./data
"C:\Users\user\Downloads\Face-Aging-CAAE-master\FaceAging.py", line 95, in __init__
is_training=self.is_training
"C:\Users\user\Downloads\Face-Aging-CAAE-master\FaceAging.py", line 554, in discriminator_z
current = tf.contrib.layers.batch_norm(
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\lazy_loader.py", line 53, in __getattr__
module = self._load()
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\util\lazy_loader.py", line 42, in _load
module = importlib.import_module(self.__name__)
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"<frozen importlib._bootstrap>", line 994, in _gcd_import
"<frozen importlib._bootstrap>", line 971, in _find_and_load
"<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
"<frozen importlib._bootstrap>", line 665, in _load_unlocked
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\__init__.py", line 39, in <module>
from tensorflow.contrib import distributions
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\distributions\__init__.py", line 40, in <module>
from tensorflow.contrib.distributions.python.ops.estimator import *
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\distributions\python\ops\estimator.py", line 21, in <module>
from tensorflow.contrib.learn.python.learn.estimators.head import _compute_weighted_loss
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\__init__.py", line 95, in <module>
from tensorflow.contrib.learn.python.learn import *
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\__init__.py", line 28, in <module>
from tensorflow.contrib.learn.python.learn import *
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\__init__.py", line 40, in <module>
from tensorflow.contrib.learn.python.learn.experiment import Experiment
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\learn\python\learn\experiment.py", line 39, in <module>
from tensorflow.contrib.tpu.python.tpu import tpu_estimator
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\__init__.py", line 55, in <module>
from tensorflow.contrib.tpu.python import profiler
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\python\profiler\__init__.py", line 23, in <module>
from tensorflow.contrib.tpu.profiler.tpu_profiler_analysis_pb2 import *
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\profiler\tpu_profiler_analysis_pb2.py", line 16, in <module>
from tensorflow.contrib.tpu.profiler import tpu_profiler_pb2 as tensorflow_dot_contrib_dot_tpu_dot_profiler_dot_tpu__profiler__pb2
"C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\contrib\tpu\profiler\tpu_profiler_pb2.py", line 402, in <module>
_sym_db.RegisterServiceDescriptor(_TPUPROFILER)
AttributeError: 'SymbolDatabase' object has no attribute 'RegisterServiceDescriptor'
| 0.600818 |
Traceback (most recent call last):
"main.py", line 70, in <module>
tf.app.run()
"/usr/local/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
"main.py", line 62, in main
agent = Agent(config, env, sess)
"/Users/emmanuel.mwangi/open_source/laml/DQN-tensorflow/dqn/agent.py", line 31, in __init__
self.build_dqn()
"/Users/emmanuel.mwangi/open_source/laml/DQN-tensorflow/dqn/agent.py", line 329, in build_dqn
self._saver = tf.train.Saver(self.w.values() + [self.step_op], max_to_keep=30)
TypeError: unsupported operand type(s) for +: 'dict_values' and 'list'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/Users/dstansby/github/matplotlib/lib/matplotlib/pyplot.py", line 2397, in axis
return gca().axis(*args, **kwargs)
"/Users/dstansby/github/matplotlib/lib/matplotlib/axes/_base.py", line 1725, in axis
if len(v) != 4:
TypeError: object of type 'int' has no len()
| 0.550671 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"./sympy/core/decorators.py", line 91, in __sympifyit_wrapper
return func(a, b)
"./sympy/core/decorators.py", line 132, in binary_op_wrapper
return func(self, other)
"./sympy/core/expr.py", line 190, in __mod__
return Mod(self, other)
"./sympy/core/function.py", line 441, in __new__
result = super(Function, cls).__new__(cls, *args, **options)
"./sympy/core/function.py", line 250, in __new__
evaluated = cls.eval(*args)
"./sympy/core/mod.py", line 91, in eval
rv = doit(p, q)
"./sympy/core/mod.py", line 56, in doit
rv = getattr(p, '_eval_Mod')(q)
"./sympy/functions/combinatorial/factorials.py", line 942, in _eval_Mod
ValueError: Integers expected for binomial Mod
| Traceback (most recent call last):
"c:\users\fermispm\appdata\local\programs\python\python38\lib\site-packages\cellprofiler_core\utilities\core\modules\__init__.py", line 71, in add_module
m = __import__(mod, globals(), locals(), ["__all__"], 0)
"c:\users\fermispm\appdata\local\programs\python\python38\lib\site-packages\cellprofiler\modules\saveimages.py", line 61, in <module>
from cellprofiler.modules import _help
"c:\users\fermispm\appdata\local\programs\python\python38\lib\site-packages\cellprofiler\modules\_help.py", line 9, in <module>
import cellprofiler.gui.help.content
"c:\users\fermispm\appdata\local\programs\python\python38\lib\site-packages\cellprofiler\gui\help\content.py", line 60, in <module>
MODULE_HELP_BUTTON = image_resource("module_help.png")
"c:\users\fermispm\appdata\local\programs\python\python38\lib\site-packages\cellprofiler\gui\help\content.py", line 28, in image_resource
relpath = os.path.relpath(
"c:\users\fermispm\appdata\local\programs\python\python38\lib\ntpath.py", line 703, in relpath
raise ValueError("path is on mount %r, start on mount %r" % (
ValueError: path is on mount 'c:', start on mount 'E:'
| 0.51781 |
Traceback (most recent call last):
"/home/kangus/src/ArchiveBox/bin/archivebox", line 7, in <module>
from .cli import main
"/home/kangus/src/ArchiveBox/archivebox/cli/__init__.py", line 65, in <module>
SUBCOMMANDS = list_subcommands()
"/home/kangus/src/ArchiveBox/archivebox/cli/__init__.py", line 41, in list_subcommands
module = import_module('.archivebox_{}'.format(subcommand), __package__)
"/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
"/home/kangus/src/ArchiveBox/archivebox/cli/archivebox_init.py", line 11, in <module>
from ..main import init, docstring
"/home/kangus/src/ArchiveBox/archivebox/main.py", line 8, in <module>
from crontab import CronTab, CronSlices
"/usr/local/lib/python3.8/dist-packages/crontab.py", line 91, in <module>
import logging
"/home/kangus/src/ArchiveBox/archivebox/logging.py", line 16, in <module>
from .index.schema import Link, ArchiveResult
"/home/kangus/src/ArchiveBox/archivebox/index/__init__.py", line 13, in <module>
from ..system import atomic_write
"/home/kangus/src/ArchiveBox/archivebox/system.py", line 12, in <module>
from crontab import CronTab
ImportError: cannot import name 'CronTab' from partially initialized module 'crontab' (most likely due to a circular import) (/usr/local/lib/python3.8/dist-packages/crontab.py)
| Traceback (most recent call last):
"/usr/local/bin/wifiphisher", line 11, in <module>
load_entry_point('wifiphisher==1.4', 'console_scripts', 'wifiphisher')()
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 487, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2728, in load_entry_point
return ep.load()
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2346, in load
return self.resolve()
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2352, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
"/usr/local/lib/python2.7/dist-packages/wifiphisher-1.4-py2.7.egg/wifiphisher/pywifiphisher.py", line 27, in <module>
import wifiphisher.common.accesspoint as accesspoint
"/usr/local/lib/python2.7/dist-packages/wifiphisher-1.4-py2.7.egg/wifiphisher/common/accesspoint.py", line 7, in <module>
from roguehostapd import hostapd_controller
ImportError: cannot import name hostapd_controller
| 0.652295 |
Traceback (most recent call last):
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 721, in getImports
return _getImports_pe(pth)
"D:\Apps\Python\Anaconda3\lib\site-packages\PyInstaller\depend\bindepend.py", line 109, in _getImports_pe
import_dllnames_only=True,
TypeError: parse_data_directories() got an unexpected keyword argument 'forwarded_exports_only'
| Traceback (most recent call last):
"C:\Users\Slawek\anaconda3\lib\site-packages\spyder\plugins\profiler\widgets\profilergui.py", line 235, in show_log
readonly=True, size=(700, 500), parent=self).exec_()
TypeError: __init__() got an unexpected keyword argument 'size'
| 0.624618 |
Traceback (most recent call last):
"/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
"/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
"/home/ubuntu/Python36Env/lib/python3.6/site-packages/pip/__main__.py", line 23, in <module>
from pip._internal.cli.main import main as _main
# isort:skip # noqa
"/home/ubuntu/Python36Env/lib/python3.6/site-packages/pip/_internal/cli/main.py", line 5, in <module>
import locale
"/home/ubuntu/Python36Env/lib/python3.6/locale.py", line 16, in <module>
import re
"/home/ubuntu/Python36Env/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
| Traceback (most recent call last):
"/usr/lib/python3.6/xml/etree/ElementTree.py", line 789, in _get_writer
write = file_or_filename.write
AttributeError: 'str' object has no attribute 'write'
| 0.563266 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
AttributeError: module 'furl' has no attribute '__version__'
| Traceback (most recent call last):
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
"/home/homeassistant/.pyenv/versions/3.6.3/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/homeassistant/components/somfy_mylink/cover.py", line 22, in async_setup_platform
mylink_status = await somfy_mylink.status_info()
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/somfy_mylink_synergy/__init__.py", line 34, in status_info
return await self.command("mylink.status.info", targetID=target_id)
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/somfy_mylink_synergy/__init__.py", line 59, in command
return await self.send_message(message)
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/somfy_mylink_synergy/__init__.py", line 71, in send_message
return await self._recieve_data(read_until_string)
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/somfy_mylink_synergy/__init__.py", line 135, in _recieve_data
await self._close_socket()
"/home/homeassistant/.pyenv/versions/3.6.3/envs/homeassistant-3.6.3/lib/python3.6/site-packages/somfy_mylink_synergy/__init__.py", line 107, in _close_socket
await self._stream_writer.wait_closed()
AttributeError: 'StreamWriter' object has no attribute 'wait_closed'
| 0.561602 |
Traceback (most recent call last):
"E:\WeCharGamePython\wechat_jump_game-master\wechat_jump_game-master\wechat_jump_auto.py", line 5, in <module>
from PIL import Image
ImportError: No module named PIL | Traceback (most recent call last):
"./fusee-launcher.py", line 594, in <module>
pid=arguments.pid, os_override=arguments.platform, override_checks=arguments.skip_checks)
"./fusee-launcher.py", line 466, in __init__
self.dev = self._find_device(vid, pid)
"./fusee-launcher.py", line 496, in _find_device
return self.backend.find_device(vid, pid)
"./fusee-launcher.py", line 133, in find_device
import usb
ImportError: No module named 'usb'
| 0.605077 |
Traceback (most recent call last):
"/usr/lib64/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: test_beautify() missing 2 required positional arguments: 'filename' and 'tdata'
| Traceback (most recent call last):
"deeplab/model_test.py", line 105, in testForwardpassDeepLabv3plus
image_pyramid=[1.0])
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/model.py", line 289, in multi_scale_logits
fine_tune_batch_norm=fine_tune_batch_norm)
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/model.py", line 454, in _get_logits
fine_tune_batch_norm=fine_tune_batch_norm)
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/model.py", line 357, in _extract_features
fine_tune_batch_norm=fine_tune_batch_norm)
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/core/feature_extractor.py", line 227, in extract_features
final_endpoint=final_endpoint)
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/core/feature_extractor.py", line 262, in network_fn
return func(preprocess_function(inputs), *args, **kwargs)
"/home/computer/Documents/SBIR/TensorFlow/models/research/deeplab/core/feature_extractor.py", line 65, in _mobilenet_v2
scope=scope)
"/home/computer/anaconda3/envs/tensorflow/lib/python3.6/site-packages/tensorflow/contrib/framework/python/ops/arg_scope.py", line 183, in func_with_args
return func(*args, **current_args)
"/home/computer/Documents/SBIR/TensorFlow/models/research/slim/nets/mobilenet/mobilenet.py", line 198, in mobilenet_base
_set_arg_scope_defaults(conv_defs_defaults), \
"/home/computer/anaconda3/envs/tensorflow/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
"/home/computer/Documents/SBIR/TensorFlow/models/research/slim/nets/mobilenet/mobilenet.py", line 90, in _set_arg_scope_defaults
func, default_arg = items[0]
TypeError: 'dict_items' object does not support indexing
| 0.44943 |
Traceback (most recent call last):
"/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
"/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
"telethon_2/network/mtprotosender.py", line 385, in _send_loop
body = self.state.pack_message(message)
"telethon_2/network/mtprotostate.py", line 88, in pack_message
self.auth_key.key[88:88 + 32] + data + padding).digest()
AttributeError: 'NoneType' object has no attribute 'key'
| Traceback (most recent call last):
"<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'install_check'
| 0.585858 |
Traceback (most recent call last):
"./cifar10_resnet.py", line 380, in <module>
callbacks=callbacks)
"/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
"/usr/local/lib/python3.5/dist-packages/keras/engine/training.py", line 2213, in fit_generator
callbacks.on_epoch_end(epoch, epoch_logs)
"/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 76, in on_epoch_end
callback.on_epoch_end(epoch, logs)
"/usr/local/lib/python3.5/dist-packages/keras/callbacks.py", line 418, in on_epoch_end
self.model.save(filepath, overwrite=True)
"/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2573, in save
save_model(self, filepath, overwrite, include_optimizer)
"/usr/local/lib/python3.5/dist-packages/keras/models.py", line 111, in save_model
'config': model.get_config()
"/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2414, in get_config
return copy.deepcopy(config)
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 218, in _deepcopy_list
y.append(deepcopy(a, memo))
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 223, in _deepcopy_tuple
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.5/copy.py", line 223, in <listcomp>
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 223, in _deepcopy_tuple
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.5/copy.py", line 223, in <listcomp>
y = [deepcopy(a, memo) for a in x]
"/usr/lib/python3.5/copy.py", line 182, in deepcopy
y = _reconstruct(x, rv, 1, memo)
"/usr/lib/python3.5/copy.py", line 297, in _reconstruct
state = deepcopy(state, memo)
"/usr/lib/python3.5/copy.py", line 155, in deepcopy
y = copier(x, memo)
"/usr/lib/python3.5/copy.py", line 243, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
"/usr/lib/python3.5/copy.py", line 182, in deepcopy
y = _reconstruct(x, rv, 1, memo)
"/usr/lib/python3.5/copy.py", line 306, in _reconstruct
y.__dict__.update(state)
AttributeError: 'NoneType' object has no attribute 'update'
| Traceback (most recent call last):
"C:/Users/Pilmus/Documents/example_1.py", line 28, in <module>
get_sims('βασιλεύς', 'greek', lemmatized=False, threshold=0.5)
"C:\Python36-32\lib\site-packages\cltk\vector\word2vec.py", line 150, in get_sims
model = w2v.load(model_path)
"C\Python36-32\lib\site-packages\gensim\utils.py", line 236, in call_on_class_only
raise AttributeError('This method should be called on a class object.')
AttributeError: This method should be called on a class object.
| 0.568062 |
Traceback (most recent call last):
"run.py", line 99, in <module>
eel.start('main.html', size=(650, 612))
"/home/marco/git/auto-py-to-exe/venv/local/lib/python2.7/site-packages/eel/__init__.py", line 84, in start
brw.open(start_urls, options)
"/home/marco/git/auto-py-to-exe/venv/local/lib/python2.7/site-packages/eel/browsers.py", line 8, in open
chrome_path = find_chrome()
"/home/marco/git/auto-py-to-exe/venv/local/lib/python2.7/site-packages/eel/browsers.py", line 32, in find_chrome
return find_chrome_linux()
"/home/marco/git/auto-py-to-exe/venv/local/lib/python2.7/site-packages/eel/browsers.py", line 50, in find_chrome_linux
chrome = shu.which(name)
AttributeError: 'module' object has no attribute 'which'
| Traceback (most recent call last):
"/Users/alex/plotly/fiddle/f.py", line 74, in update_dist_plot
"data": [go.Bar(x=bins, y=counts)],
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotly/graph_objs/__init__.py", line 93149, in __init__
self["x"] = x if x is not None else _v
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotly/basedatatypes.py", line 3490, in __setitem__
self._set_prop(prop, value)
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/plotly/basedatatypes.py", line 3772, in _set_prop
val = validator.validate_coerce(val)
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/_plotly_utils/basevalidators.py", line 385, in validate_coerce
v = copy_to_readonly_numpy_array(v)
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/_plotly_utils/basevalidators.py", line 93, in copy_to_readonly_numpy_array
if pd and isinstance(v, (pd.Series, pd.Index)):
AttributeError: module 'pandas' has no attribute 'Series'
| 0.643362 |
Traceback (most recent call last):
"imaged.py", line 13, in <module>
detector.loadModel()
"/usr/local/lib/python3.7/site-packages/imageai/Detection/__init__.py", line 189, in loadModel
model = yolo_main(Input(shape=(None, None, 3)), len(self.__yolo_anchors) // 3, len(self.numbers_to_names))
"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py", line 60, in yolo_main
darknet_network = Model(input, darknet(input))
"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py", line 33, in darknet
network = NetworkConv2D_BN_Leaky(input=input, channels=32, kernel_size=(3,3))
"/usr/local/lib/python3.7/site-packages/imageai/Detection/YOLOv3/models.py", line 18, in NetworkConv2D_BN_Leaky
network = LeakyReLU(alpha=0.1)(network)
"/usr/local/lib/python3.7/site-packages/keras/engine/base_layer.py", line 457, in __call__
output = self.call(inputs, **kwargs)
"/usr/local/lib/python3.7/site-packages/keras/layers/advanced_activations.py", line 46, in call
return K.relu(inputs, alpha=self.alpha)
"/usr/local/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 3116, in relu
x = tf.nn.leaky_relu(x, alpha)
AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'leaky_relu'
| Traceback (most recent call last):
"/home/mplebanski/Projects/golem/golem/client.py", line 333, in start
self.start_network()
"/home/mplebanski/Projects/golem/golem/client.py", line 391, in start_network
self._restore_locks()
"/home/mplebanski/Projects/golem/golem/client.py", line 540, in _restore_locks
if subtask_state.subtask_status is not None and\
AttributeError: 'SubtaskState' object has no attribute 'subtask_status'
| 0.597115 |
Traceback (most recent call last):
"./ffmpeg2vmaf", line 191, in <module>
ret = main()
"./ffmpeg2vmaf", line 155, in main
runner.run()
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/executor.py", line 125, in run
self.results = map(self._run_on_asset, self.assets)
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/quality_runner.py", line 309, in _run_on_asset
vmaf_fassembler.run()
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/feature_assembler.py", line 83, in run
runner.run(parallelize=self.parallelize)
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/executor.py", line 125, in run
self.results = map(self._run_on_asset, self.assets)
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/executor.py", line 332, in _run_on_asset
result = self._post_process_result(result)
"/home/ubuntu/VMAF/vmaf/python/src/vmaf/core/feature_extractor.py", line 185, in _post_process_result
/ np.array(result.result_dict[vif_den_scale0_scores_key]))
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float' | Traceback (most recent call last):
"/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
"/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 477, in wrapper
resp = resource(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flask_login/utils.py", line 228, in decorated_view
return func(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
"/app/redash/handlers/base.py", line 27, in dispatch_request
return super(BaseResource, self).dispatch_request(*args, **kwargs)
"/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 587, in dispatch_request
resp = meth(*args, **kwargs)
"/app/redash/handlers/dashboards.py", line 184, in get
return serializers.public_dashboard(dashboard)
"/app/redash/serializers.py", line 54, in public_dashboard
dashboard_dict['widgets'] = [public_widget(w) for w in widget_list]
"/app/redash/serializers.py", line 23, in public_widget
query_data = models.QueryResult.query.get(widget.visualization.query_rel.latest_query_data_id).to_dict()
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 831, in get
return self._get_impl(ident, loading.load_on_ident)
"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 842, in _get_impl
if len(ident) != len(mapper.primary_key):
TypeError: object of type 'NoneType' has no len()
| 0.634749 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"/usr/local/lib/python2.7/site-packages/pandas/core/ops.py", line 720, in wrapper
converted = _Op.get_op(left, right, name, na_op)
"/usr/local/lib/python2.7/site-packages/pandas/core/ops.py", line 349, in get_op
return _TimeOp(left, right, name, na_op)
"/usr/local/lib/python2.7/site-packages/pandas/core/ops.py", line 385, in __init__
self._validate(lvalues, rvalues, name)
"/usr/local/lib/python2.7/site-packages/pandas/core/ops.py", line 444, in _validate
raise ValueError("Incompatible tz's on datetime subtraction "
ValueError: Incompatible tz's on datetime subtraction ops
| Traceback (most recent call last):
"/Users/allenyin/anaconda3/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
"/Users/allenyin/anaconda3/lib/python3.7/site-packages/ray/autoscaler/updater.py", line 95, in run
cli_logger.error(str(e))
# todo: handle this better somehow?
"/Users/allenyin/anaconda3/lib/python3.7/site-packages/ray/autoscaler/cli_logger.py", line 316, in error
self._print(_format_msg(cf.red(msg), *args, **kwargs))
"/Users/allenyin/anaconda3/lib/python3.7/site-packages/ray/autoscaler/cli_logger.py", line 96, in _format_msg
return numbering_str + msg.format(*args, **kwargs) + tags_str
ValueError: expected '}' before end of string
| 0.552695 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
TypeError: unhashable type: 'MinHash'
| Traceback (most recent call last):
"/opt/code/localstack/localstack/services/plugins.py", line 96, in check_infra
check_service_health(api=name, print_error=print_error)
"/opt/code/localstack/localstack/services/plugins.py", line 115, in check_service_health
raise e
"/opt/code/localstack/localstack/services/plugins.py", line 111, in check_service_health
plugin.check(expect_shutdown=expect_shutdown, print_error=print_error)
"/opt/code/localstack/localstack/services/plugins.py", line 45, in check
return self.check_function(expect_shutdown=expect_shutdown, print_error=print_error)
"/opt/code/localstack/localstack/services/secretsmanager/secretsmanager_starter.py", line 129, in check_secretsmanager
assert isinstance(out['SecretList'], list)
TypeError: 'NoneType' object is not subscriptable
| 0.486976 |
Traceback (most recent call last):
"/home/jwolosonovich/.virtualenvs/ztrip35i/lib/python3.5/site-packages/nltk/test/unit/test_json2csv_corpus.py", line 103, in test_tweet_usermention
self.assertTrue(are_files_identical(outfn, ref_fn), msg=self.msg)
"/home/jwolosonovich/.virtualenvs/ztrip35i/lib/python3.5/site-packages/nltk/test/unit/test_json2csv_corpus.py", line 29, in are_files_identical
with open(filename2, "rb") as fileB:
NotFoundError: [Errno 2] No such file or directory: '/home/jwolosonovich/.virtualenvs/ztrip35i/lib/python3.5/site-packages/nltk/test/unit/files/tweets.20150430-223406.usermention.csv.ref' | Traceback (most recent call last):
"D:\Documents\Coding\Installations\manim\manimlib\extract_scene.py", line 154, in main
open_file_if_needed(scene.file_writer, **config)
"D:\Documents\Coding\Installations\manim\manimlib\extract_scene.py", line 35, in open_file_if_needed
os.startfile(file_path)
NotFoundError: [WinError 2] The system cannot find the file specified: 'D:\\Documents\\Coding\\Installations\\manim\\media\\videos\\example_scenes\\480p15\\SquareToCircle.mp4'
| 0.577304 |
Traceback (most recent call last):
"demo.py", line 8, in <module>
from tracker.multitracker import JDETracker
"/HDD/lq/data/Towards-Realtime-MOT/tracker/multitracker.py", line 10, in <module>
from utils.utils import *
"/HDD/lq/data/Towards-Realtime-MOT/utils/utils.py", line 13, in <module>
import maskrcnn_benchmark.layers.nms as nms
"/HDD/lq/data/Towards-Realtime-MOT/maskrcnn-benchmark/maskrcnn_benchmark/layers/__init__.py", line 10, in <module>
from .nms import nms
"/HDD/lq/data/Towards-Realtime-MOT/maskrcnn-benchmark/maskrcnn_benchmark/layers/nms.py", line 5, in <module>
from apex import amp
"/usr/local/lib/python3.6/dist-packages/apex/__init__.py", line 18, in <module>
from apex.interfaces import (ApexImplementation,
"/usr/local/lib/python3.6/dist-packages/apex/interfaces.py", line 10, in <module>
class ApexImplementation(object):
"/usr/local/lib/python3.6/dist-packages/apex/interfaces.py", line 14, in ApexImplementation
implements(IApex)
"/usr/lib/python3/dist-packages/zope/interface/declarations.py", line 485, in implements
raise TypeError(_ADVICE_ERROR % 'implementer')
TypeError: Class advice impossible in Python3.
Use the @implementer class decorator instead.
| Traceback (most recent call last):
"/home/***/test.py", line 56, in <module>
NetworkActor = Network.remote()
"/home/***/venv/lib/python3.6/site-packages/ray/actor.py", line 322, in remote
return self._remote(args=args, kwargs=kwargs)
"/home/***/venv/lib/python3.6/site-packages/ray/actor.py", line 405, in _remote
self._modified_class, self._actor_method_names)
"/home/***/venv/lib/python3.6/site-packages/ray/function_manager.py", line 578, in export_actor_class
"class": pickle.dumps(Class),
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 1123, in dumps
cp.dump(obj)
"/home/***/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 482, in dump
return Pickler.dump(self, obj)
"/usr/lib/python3.6/pickle.py", line 409, in dump
self.save(obj)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 875, in save_global
self.save_dynamic_class(obj)
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 682, in save_dynamic_class
obj=obj)
"/usr/lib/python3.6/pickle.py", line 610, in save_reduce
save(args)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 751, in save_tuple
save(element)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 736, in save_tuple
save(element)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 875, in save_global
self.save_dynamic_class(obj)
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 686, in save_dynamic_class
save(clsdict)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 821, in save_dict
self._batch_setitems(obj.items())
"/usr/lib/python3.6/pickle.py", line 847, in _batch_setitems
save(v)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 556, in save_function
return self.save_function_tuple(obj)
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 756, in save_function_tuple
save(state)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 821, in save_dict
self._batch_setitems(obj.items())
"/usr/lib/python3.6/pickle.py", line 847, in _batch_setitems
save(v)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 821, in save_dict
self._batch_setitems(obj.items())
"/usr/lib/python3.6/pickle.py", line 847, in _batch_setitems
save(v)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 556, in save_function
return self.save_function_tuple(obj)
"/home/***/venv/lib/python3.6/site-packages/ray/cloudpickle/cloudpickle.py", line 756, in save_function_tuple
save(state)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 821, in save_dict
self._batch_setitems(obj.items())
"/usr/lib/python3.6/pickle.py", line 847, in _batch_setitems
save(v)
"/usr/lib/python3.6/pickle.py", line 476, in save
f(self, obj) # Call unbound method with explicit self
"/usr/lib/python3.6/pickle.py", line 781, in save_list
self._batch_appends(obj)
"/usr/lib/python3.6/pickle.py", line 808, in _batch_appends
save(tmp[0])
"/usr/lib/python3.6/pickle.py", line 496, in save
rv = reduce(self.proto)
TypeError: can't pickle _LazyLoader objects
| 0.571476 |
Traceback (most recent call last):
"C:\Users\NAME\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\cats-blender-plugin-master\tools\bake.py", line 357, in execute
self.perform_bake(context)
"C:\Users\NAME\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\cats-blender-plugin-master\tools\bake.py", line 772, in perform_bake
multiplytexnode.operation = "MULTIPLY_ADD"
TypeError: bpy_struct: item.attr = val: enum "MULTIPLY_ADD" not found in ('ADD', 'SUBTRACT', 'MULTIPLY', 'DIVIDE', 'POWER', 'LOGARITHM', 'SQRT', 'ABSOLUTE', 'MINIMUM', 'MAXIMUM', 'LESS_THAN', 'GREATER_THAN', 'ROUND', 'FLOOR', 'CEIL', 'FRACT', 'MODULO', 'SINE', 'COSINE', 'TANGENT', 'ARCSINE', 'ARCCOSINE', 'ARCTANGENT', 'ARCTAN2')
| Traceback (most recent call last):
"/Users/sanguine/PycharmProjects/KongaApp/check.py", line 30, in <module>
driver.execute('mobile:performEditorAction', {'action:' 'search'})
"/Users/sanguine/.pyenv/versions/3.7.3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 307, in execute
params['sessionId'] = self.session_id
TypeError: 'set' object does not support item assignment
| 0.560833 |
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):
"code.py", line 6, in <module>
with rasterio.open(gzip_infile) as raster_infile:
"[path]/env/lib/python3.6/site-packages/rasterio/__init__.py", line 152, in open
raise TypeError("invalid path: {0!r}".format(path))
TypeError: invalid path: <gzip _io.BufferedReader name='sample_ascii_grid.txt.gz' 0x104ef95c0>
| 0.520048 |
[autoreload of pandas.core.base failed: Traceback (most recent call last):
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 246, in check
superreload(m, reload, self.old_objects)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 369, in superreload
module = reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/imp.py", line 315, in reload
return importlib.reload(module)
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/importlib/__init__.py", line 166, in reload
_bootstrap._exec(spec, module)
"<frozen importlib._bootstrap>", line 618, in _exec
"<frozen importlib._bootstrap_external>", line 678, in exec_module
"<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
"/Users/sentient-asoellinger/miniconda2/envs/ipykernel_py3/lib/python3.6/site-packages/pandas/core/base.py", line 12, in <module>
from pandas.core.dtypes.common import (
ImportError: cannot import name 'is_extension_array_dtype'
| Traceback (most recent call last):
"/home/yfeng1/anaconda3/mini/bin/conda", line 11, in <module>
load_entry_point('conda', 'console_scripts', 'conda')()
"/home/yfeng1/anaconda3/mini/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
"/home/yfeng1/anaconda3/mini/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2750, in load_entry_point
raise ImportError("Entry point %r not found" % ((group, name),))
ImportError: Entry point ('console_scripts', 'conda') not found
| 0.594157 |
Traceback (most recent call last):
"D:\Python\Python36\lib\site-packages\PIL\Image.py", line 93, in <module>
from . import _imaging as core
ImportError: cannot import name '_imaging'
|
[ERROR
] An exception occurred in this state: Traceback (most recent call last):
"/usr/lib/python2.7/dist-packages/salt/state.py", line 1746, in call
**cdata['kwargs'])
"/usr/lib/python2.7/dist-packages/salt/loader.py", line 1703, in wrapper
return f(*args, **kwargs)
"/usr/lib/python2.7/dist-packages/salt/states/mysql_user.py", line 131, in present
**connection_args):
"/usr/lib/python2.7/dist-packages/salt/modules/mysql.py", line 1128, in user_exists
dbc = _connect(**connection_args)
"/usr/lib/python2.7/dist-packages/salt/modules/mysql.py", line 330, in _connect
dbc = MySQLdb.connect(**connargs)
"/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 80, in Connect
ImportError: No module named connections
| 0.549753 |
Traceback (most recent call last):
"/home/rockers/frappe-bench/apps/frappe/frappe/app.py", line 61, in application
response = frappe.handler.handle()
"/home/rockers/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
data = execute_cmd(cmd)
"/home/rockers/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
return frappe.call(method, **frappe.form_dict)
"/home/rockers/frappe-bench/apps/frappe/frappe/__init__.py", line 1026, in call
"""Call a function and match arguments."""
"/home/rockers/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 43, in cancel
doc.cancel()
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 853, in cancel
self._cancel()
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 843, in _cancel
self.save()
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 260, in save
return self._save(*args, **kwargs)
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 313, in _save
self.run_post_save_methods()
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 910, in run_post_save_methods
self.run_method("on_cancel")
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer
return composed(self, method, *args, **kwargs)
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
"/home/rockers/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
"/home/rockers/frappe-bench/apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py", line 86, in on_cancel
from erpnext.hr.doctype.salary_slip.salary_slip import unlink_ref_doc_from_salary_slip
"/home/rockers/frappe-bench/apps/erpnext/erpnext/hr/doctype/salary_slip/salary_slip.py", line 17, in <module>
from erpnext.hr.doctype.payroll_period.payroll_period import get_period_factor, get_payroll_period
"/home/rockers/frappe-bench/apps/erpnext/erpnext/hr/doctype/payroll_period/payroll_period.py", line 8, in <module>
from frappe.utils import date_diff, getdate, formatdate, cint, month_diff, flt
ImportError: cannot import name month_diff`
|
Traceback (most recent call last):
"/home/nacho/anaconda/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
"/home/nacho/anaconda/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
"/home/nacho/anaconda/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
"/home/nacho/anaconda/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
"/home/nacho/anaconda/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
"/home/nacho/Programming/bokeh/bokeh/server/crossdomain.py", line 32, in wrapped_function
resp = make_response(f(*args, **kwargs))
"/home/nacho/Programming/bokeh/bokeh/server/views/main.py", line 130, in get_user
bokehuser = bokeh_app.current_user()
"/home/nacho/Programming/bokeh/bokeh/server/app.py", line 33, in current_user
return self.authentication.current_user()
"/home/nacho/Programming/bokeh/bokeh/server/server_backends.py", line 185, in current_user
bokehuser = user.User.load(bokeh_app.servermodel_storage, username)
"/home/nacho/Programming/bokeh/bokeh/server/models/user.py", line 59, in load
attrs = cls.load_json(client, objid)
"/home/nacho/Programming/bokeh/bokeh/server/models/__init__.py", line 36, in load_json
data = client.get(cls.modelkey(objid))
"/home/nacho/Programming/bokeh/bokeh/server/server_backends.py", line 94, in get
_data = shelve.open('bokeh.server')
"/home/nacho/anaconda/lib/python2.7/shelve.py", line 239, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
"/home/nacho/anaconda/lib/python2.7/shelve.py", line 223, in __init__
Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback)
"/home/nacho/anaconda/lib/python2.7/anydbm.py", line 84, in open
mod = __import__(result)
"/home/nacho/anaconda/lib/python2.7/dbhash.py", line 7, in <module>
import bsddb
"/home/nacho/anaconda/lib/python2.7/bsddb/__init__.py", line 67, in <module>
import _bsddb
ImportError: No module named _bsddb | 0.658949 |
Traceback (most recent call last):
"extract_test_set_articles.py", line 66, in <module> assert len(test_articles) == 500, 'Not all articles were found in shards. Incomplete test set.'
AssertionError: Not all articles were found in shards. Incomplete test set.
| 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.478607 |
Traceback (most recent call last):
"manage.py", line 1510, in <module>
main()
"manage.py", line 1506, in main
sys.exit(not cli_runner(options))
"/home/patrickod/src/streamalert/stream_alert_cli/runner.py", line 84, in cli_runner
result = cmds[args.command](args)
"/home/patrickod/src/streamalert/stream_alert_cli/runner.py", line 79, in <lambda>
'test': lambda opts: test_handler(opts, config),
"/home/patrickod/src/streamalert/stream_alert_cli/test/handler.py", line 54, in test_handler
for i in range(options.repeat):
AttributeError: 'Namespace' object has no attribute 'repeat'
| Traceback (most recent call last):
"<pyshell#63>", line 1, in <module>
canmatrix.formats.dbc.dump(db1, "testDBC.txt")
"C:\Users\4NONYM4U5\AppData\Local\Programs\Python\Python37-32\lib\site-packages\canmatrix\formats\dbc.py", line 163, in dump
f.write(header.encode(dbcExportEncoding))
AttributeError: 'str' object has no attribute 'write' | 0.617859 |
Traceback (most recent call last):
"svtplay-dl", line 7, in <module>
"site-packages\svtplay_dl-1.9.3-py3.5.egg\svtplay_dl\__init__.py", line 463, in main
"site-packages\svtplay_dl-1.9.3-py3.5.egg\svtplay_dl\__init__.py", line 194, in get_media
"site-packages\svtplay_dl-1.9.3-py3.5.egg\svtplay_dl\__init__.py", line 241, in get_one_media
"site-packages\svtplay_dl-1.9.3-py3.5.egg\svtplay_dl\service\tv4play.py", line 33, in get
"site-packages\svtplay_dl-1.9.3-py3.5.egg\svtplay_dl\service\tv4play.py", line 236, in _login
AttributeError: 'NoneType' object has no attribute 'json'
| Traceback (most recent call last):
"/Users/pavelkonan/anaconda3/bin/jupyter-notebook", line 6, in <module>
sys.exit(notebook.notebookapp.main())
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 652, in launch_instance
app.initialize(argv)
"<decorator-gen-7>", line 2, in initialize
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 1071, in initialize
self.init_webapp()
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 892, in init_webapp
self.jinja_environment_options
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 132, in __init__
default_url, settings_overrides, jinja_env_options)
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 202, in init_settings
nbextensions_path=ipython_app.nbextensions_path,
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/notebook/notebookapp.py", line 643, in nbextensions_path
from IPython.paths import get_ipython_dir
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/application.py", line 25, in <module>
from IPython.core import release, crashhandler
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/ultratb.py", line 119, in <module>
from IPython.core import debugger
"/Users/pavelkonan/anaconda3/lib/python3.5/site-packages/IPython/core/debugger.py", line 45, in <module>
from pdb import Pdb as OldPdb
"/Users/pavelkonan/anaconda3/lib/python3.5/pdb.py", line 135, in <module>
class Pdb(bdb.Bdb, cmd.Cmd):
AttributeError: module 'cmd' has no attribute 'Cmd'
| 0.58321 |
Traceback (most recent call last):
"pytorch-lightning-feature-exactor.py", line 3, in <module>
model1 = VAE(pretrained='imagenet2012')
TypeError: __init__() missing 1 required positional argument: 'input_height'
| Traceback (most recent call last):
"/usr/local/lib/python3.8/site-packages/zappa/cli.py", line 2778, in handle
sys.exit(cli.handle())
"/usr/local/lib/python3.8/site-packages/zappa/cli.py", line 512, in handle
self.dispatch_command(self.command, stage)
"/usr/local/lib/python3.8/site-packages/zappa/cli.py", line 551, in dispatch_command
self.package(self.vargs['output'])
"/usr/local/lib/python3.8/site-packages/zappa/cli.py", line 642, in package
self.create_package(output)
"/usr/local/lib/python3.8/site-packages/zappa/cli.py", line 2257, in create_package
self.zip_path = self.zappa.create_lambda_zip(
"/usr/local/lib/python3.8/site-packages/zappa/core.py", line 533, in create_lambda_zip
split_venv = splitpath(venv)
"/usr/local/lib/python3.8/site-packages/zappa/core.py", line 527, in splitpath
(path, tail) = os.path.split(path)
"/usr/local/lib/python3.8/posixpath.py", line 103, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
| 0.495156 |
Traceback (most recent call last):
"<stdin>", line 1, in <module>
"C:\Miniconda3\lib\site-packages\skimage\data\__init__.py", line 109, in camera
return _load("camera.png")
"C:\Miniconda3\lib\site-packages\skimage\data\__init__.py", line 96, in _load
return imread(_os.path.join(data_dir, f), plugin='pil', as_gray=as_gray)
"C:\Miniconda3\lib\site-packages\skimage\io\_io.py", line 48, in imread
img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
"C:\Miniconda3\lib\site-packages\skimage\io\manage_plugins.py", line 210, in call_plugin
return func(*args, **kwargs)
"C:\Miniconda3\lib\site-packages\skimage\io\_plugins\pil_plugin.py", line 36, in imread
return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
"C:\Miniconda3\lib\site-packages\skimage\io\_plugins\pil_plugin.py", line 66, in pil_to_ndarray
image.seek(i)
"C:\Miniconda3\lib\site-packages\PIL\PngImagePlugin.py", line 748, in seek
self._seek(f)
"C:\Miniconda3\lib\site-packages\PIL\PngImagePlugin.py", line 791, in _seek
cid, pos, length = self.png.read()
AttributeError: 'NoneType' object has no attribute 'read'
| Traceback (most recent call last):
...
"attr\__init__.pyo", line 5, in <module>
"zipextimporter.pyo", line 74, in load_module
"attr\filters.pyo", line 7, in <module>
"zipextimporter.pyo", line 74, in load_module
"attr\_compat.pyo", line 139, in <module>
"attr\_compat.pyo", line 131, in make_set_closure_cell
"ctypes\__init__.pyo", line 379, in __getattr__
"ctypes\__init__.pyo", line 384, in __getitem__
AttributeError: function 'PyCell_Set' not found
| 0.595298 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.