after_merge stringlengths 28 79.6k | before_merge stringlengths 20 79.6k | url stringlengths 38 71 | full_traceback stringlengths 43 922k | traceback_type stringclasses 555
values |
|---|---|---|---|---|
def getsource(obj, is_binary=False):
"""Wrapper around inspect.getsource.
This can be modified by other projects to provide customized source
extraction.
Inputs:
- obj: an object whose source code we will attempt to extract.
Optional inputs:
- is_binary: whether the object is known to c... | def getsource(obj, is_binary=False):
"""Wrapper around inspect.getsource.
This can be modified by other projects to provide customized source
extraction.
Inputs:
- obj: an object whose source code we will attempt to extract.
Optional inputs:
- is_binary: whether the object is known to c... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def _getdef(self, obj, oname=""):
"""Return the definition header for any callable object.
If any exception is generated, None is returned instead and the
exception is suppressed."""
try:
hdef = oname + inspect.formatargspec(*getargspec(obj))
return cast_unicode(hdef)
except:
... | def _getdef(self, obj, oname=""):
"""Return the definition header for any callable object.
If any exception is generated, None is returned instead and the
exception is suppressed."""
try:
# We need a plain string here, NOT unicode!
hdef = oname + inspect.formatargspec(*getargspec(obj))... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def psource(self, obj, oname=""):
"""Print the source code for an object."""
# Flush the source cache because inspect can return out-of-date source
linecache.checkcache()
try:
src = getsource(obj)
except:
self.noinfo("source", oname)
else:
page.page(self.format(src))
| def psource(self, obj, oname=""):
"""Print the source code for an object."""
# Flush the source cache because inspect can return out-of-date source
linecache.checkcache()
try:
src = getsource(obj)
except:
self.noinfo("source", oname)
else:
page.page(self.format(py3compat... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def pfile(self, obj, oname=""):
"""Show the whole file where an object was defined."""
lineno = find_source_lines(obj)
if lineno is None:
self.noinfo("file", oname)
return
ofile = find_file(obj)
# run contents of file through pager starting at line where the object
# is defined... | def pfile(self, obj, oname=""):
"""Show the whole file where an object was defined."""
lineno = find_source_lines(obj)
if lineno is None:
self.noinfo("file", oname)
return
ofile = find_file(obj)
# run contents of file through pager starting at line where the object
# is defined... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def _format_fields(self, fields, title_width=12):
"""Formats a list of fields for display.
Parameters
----------
fields : list
A list of 2-tuples: (field_title, field_content)
title_width : int
How many characters to pad titles to. Default 12.
"""
out = []
header = self.__he... | def _format_fields(self, fields, title_width=12):
"""Formats a list of fields for display.
Parameters
----------
fields : list
A list of 2-tuples: (field_title, field_content)
title_width : int
How many characters to pad titles to. Default 12.
"""
out = []
header = self.__he... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def pinfo(self, obj, oname="", formatter=None, info=None, detail_level=0):
"""Show detailed information about an object.
Optional arguments:
- oname: name of the variable pointing to the object.
- formatter: special formatter for docstrings (see pdoc)
- info: a structure with some information fi... | def pinfo(self, obj, oname="", formatter=None, info=None, detail_level=0):
"""Show detailed information about an object.
Optional arguments:
- oname: name of the variable pointing to the object.
- formatter: special formatter for docstrings (see pdoc)
- info: a structure with some information fi... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def tkinter_clipboard_get():
"""Get the clipboard's text using Tkinter.
This is the default on systems that are not Windows or OS X. It may
interfere with other UI toolkits and should be replaced with an
implementation that uses that toolkit.
"""
try:
import Tkinter
except ImportErr... | def tkinter_clipboard_get():
"""Get the clipboard's text using Tkinter.
This is the default on systems that are not Windows or OS X. It may
interfere with other UI toolkits and should be replaced with an
implementation that uses that toolkit.
"""
try:
import Tkinter
except ImportErr... | https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def less(self, arg_s):
"""Show a file through the pager.
Files ending in .py are syntax-highlighted."""
if not arg_s:
raise UsageError("Missing filename.")
cont = open(arg_s).read()
if arg_s.endswith(".py"):
cont = self.shell.pycolorize(
openpy.read_py_file(arg_s, skip_... | def less(self, arg_s):
"""Show a file through the pager.
Files ending in .py are syntax-highlighted."""
if not arg_s:
raise UsageError("Missing filename.")
cont = open(arg_s).read()
if arg_s.endswith(".py"):
cont = self.shell.pycolorize(cont)
page.page(cont)
| https://github.com/ipython/ipython/issues/1688 | In [1]: %run err.py
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
C:\python\ipydevel\VENV\Py27\lib\site-packages\ipython-0.13.dev-py2.7.egg\IPython\utils\py3compat.pyc in execfile(fname, glob, loc)
166 ... | ZeroDivisionError |
def merge_branch(repo, branch):
"""try to merge the givent branch into the current one
If something does not goes smoothly, merge is aborted
Returns True if merge sucessfull, False otherwise
"""
# Delete the branch first
try:
check_call(["git", "pull", repo, branch], stdin=io.open(os.d... | def merge_branch(repo, branch):
"""try to merge the givent branch into the current one
If something does not goes smoothly, merge is aborted
Returns True if merge sucessfull, False otherwise
"""
# Delete the branch first
try:
check_call(["git", "pull", "--no-edit", repo, branch])
e... | https://github.com/ipython/ipython/issues/2195 | (master)longs[ipython]> git mpr -m 2179
error: unknown option `no-edit'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet ... | subprocess.CalledProcessError |
def main(*args):
parser = argparse.ArgumentParser(
description="""
Merge one or more github pull requests by their number. If any
one pull request can't be merged as is, its merge is ignored
and the process continues with the next ones (if any).
... | def main(*args):
parser = argparse.ArgumentParser(
description="""
Merge (one|many) github pull request by their number.\
If pull request can't be merge as is, cancel merge,
and continue to the next if any.
"""
)
parser... | https://github.com/ipython/ipython/issues/2195 | (master)longs[ipython]> git mpr -m 2179
error: unknown option `no-edit'
usage: git fetch [<options>] [<repository> [<refspec>...]]
or: git fetch [<options>] <group>
or: git fetch --multiple [<options>] [(<repository> | <group>)...]
or: git fetch --all [<options>]
-v, --verbose be more verbose
-q, --quiet ... | subprocess.CalledProcessError |
def init_magics(self):
super(ZMQInteractiveShell, self).init_magics()
self.register_magics(KernelMagics)
self.run_line_magic("alias_magic", "ed edit")
| def init_magics(self):
super(ZMQInteractiveShell, self).init_magics()
self.register_magics(KernelMagics)
| https://github.com/ipython/ipython/issues/2085 | %ed
IPython will make a temporary file named: /var/folders/gw/ttdxvysn20sf7tspmk384q000000gn/T/ipython_edit_d2eA7c.py
Editing...---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-649c77c2a5b5> in <modul... | AttributeError |
def pycmd2argv(cmd):
r"""Take the path of a python command and return a list (argv-style).
This only works on Python based command line programs and will find the
location of the ``python`` executable using ``sys.executable`` to make
sure the right version is used.
For a given path ``cmd``, this r... | def pycmd2argv(cmd):
r"""Take the path of a python command and return a list (argv-style).
This only works on Python based command line programs and will find the
location of the ``python`` executable using ``sys.executable`` to make
sure the right version is used.
For a given path ``cmd``, this r... | https://github.com/ipython/ipython/issues/1428 | FAIL: Test that prun does not clobber string escapes (GH #1302)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "c:\python\external\ipython\IPython\testing\decorato... | AssertionError |
def system(cmd):
"""Win32 version of os.system() that works with network shares.
Note that this implementation returns None, as meant for use in IPython.
Parameters
----------
cmd : str
A command to be executed in the system shell.
Returns
-------
None : we explicitly do NOT ret... | def system(cmd):
"""Win32 version of os.system() that works with network shares.
Note that this implementation returns None, as meant for use in IPython.
Parameters
----------
cmd : str
A command to be executed in the system shell.
Returns
-------
None : we explicitly do NOT ret... | https://github.com/ipython/ipython/issues/1632 | TypeError Traceback (most recent call last)
c:\Users\jmarch\<ipython-input-2-56af63bcfcf6> in <module>()
----> 1 get_ipython().magic(u'cd ..')
c:\users\jmarch\ipython\IPython\core\interactiveshell.pyc in magic(self, arg_s, next_input)
2034 self._magic_locals = sys._getfr... | TypeError |
def _showtraceback(self, etype, evalue, stb):
exc_content = {
"traceback": stb,
"ename": unicode(etype.__name__),
"evalue": safe_unicode(evalue),
}
dh = self.displayhook
# Send exception info over pub socket for other clients than the caller
# to pick up
topic = None
... | def _showtraceback(self, etype, evalue, stb):
exc_content = {
"traceback": stb,
"ename": unicode(etype.__name__),
"evalue": unicode(evalue),
}
dh = self.displayhook
# Send exception info over pub socket for other clients than the caller
# to pick up
topic = None
if d... | https://github.com/ipython/ipython/issues/1827 | UnicodeDecodeError Traceback (most recent call last)
/Users/jonathantaylor/ipython/IPython/core/interactiveshell.pyc in run_code(self, code_obj)
2722 self.CustomTB(etype,value,tb)
2723 except:
-> 2724 self.showtraceback()
2725 else:
2726 outflag = 0
/Users/jonathantaylor/ipython/IPython/core/interactiveshell.pyc in sh... | UnicodeDecodeError |
def save_task_result(self, idents, msg):
"""save the result of a completed task."""
client_id = idents[0]
try:
msg = self.session.unserialize(msg)
except Exception:
self.log.error(
"task::invalid task result message send to %r: %r",
client_id,
msg,
... | def save_task_result(self, idents, msg):
"""save the result of a completed task."""
client_id = idents[0]
try:
msg = self.session.unserialize(msg)
except Exception:
self.log.error(
"task::invalid task result message send to %r: %r",
client_id,
msg,
... | https://github.com/ipython/ipython/issues/1647 | In [14]: client.resubmit("2e8e2c96-1767-4c7e-b26c-498682fa4c85")
---------------------------------------------------------------------------
RemoteError Traceback (most recent call last)
/Users/kaazoo/<ipython-input-15-bd12698bd336> in <module>()
----> 1 client.resubmit("2e8e2c96-1767-4c7e... | RemoteError |
def new_notebook(name=None, metadata=None, worksheets=None):
"""Create a notebook by name, id and a list of worksheets."""
nb = NotebookNode()
nb.nbformat = nbformat
if worksheets is None:
nb.worksheets = []
else:
nb.worksheets = list(worksheets)
if metadata is None:
nb.m... | def new_notebook(metadata=None, worksheets=None):
"""Create a notebook by name, id and a list of worksheets."""
nb = NotebookNode()
nb.nbformat = nbformat
if worksheets is None:
nb.worksheets = []
else:
nb.worksheets = list(worksheets)
if metadata is None:
nb.metadata = n... | https://github.com/ipython/ipython/issues/1487 | %notebook -e foo.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')
... | TypeError |
def writes(self, nb, **kwargs):
kwargs["cls"] = BytesEncoder
kwargs["indent"] = 1
kwargs["sort_keys"] = True
kwargs["separators"] = (",", ": ")
if kwargs.pop("split_lines", True):
nb = split_lines(copy.deepcopy(nb))
return py3compat.str_to_unicode(json.dumps(nb, **kwargs), "utf-8")
| def writes(self, nb, **kwargs):
kwargs["cls"] = BytesEncoder
kwargs["indent"] = 1
kwargs["sort_keys"] = True
kwargs["separators"] = (",", ": ")
if kwargs.pop("split_lines", True):
nb = split_lines(copy.deepcopy(nb))
return json.dumps(nb, **kwargs)
| https://github.com/ipython/ipython/issues/1487 | %notebook -e foo.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')
... | TypeError |
def split_lines(nb):
"""split likely multiline text into lists of strings
For file output more friendly to line-based VCS. ``rejoin_lines(nb)`` will
reverse the effects of ``split_lines(nb)``.
Used when writing JSON files.
"""
for ws in nb.worksheets:
for cell in ws.cells:
... | def split_lines(nb):
"""split likely multiline text into lists of strings
For file output more friendly to line-based VCS. ``rejoin_lines(nb)`` will
reverse the effects of ``split_lines(nb)``.
Used when writing JSON files.
"""
for ws in nb.worksheets:
for cell in ws.cells:
... | https://github.com/ipython/ipython/issues/1487 | %notebook -e foo.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')
... | TypeError |
def read(self, fp, **kwargs):
"""Read a notebook from a file like object"""
nbs = fp.read()
if not py3compat.PY3 and not isinstance(nbs, unicode):
nbs = py3compat.str_to_unicode(nbs)
return self.reads(nbs, **kwargs)
| def read(self, fp, **kwargs):
"""Read a notebook from a file like object"""
return self.read(fp.read(), **kwargs)
| https://github.com/ipython/ipython/issues/1487 | %notebook -e foo.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')
... | TypeError |
def write(self, nb, fp, **kwargs):
"""Write a notebook to a file like object"""
nbs = self.writes(nb, **kwargs)
if not py3compat.PY3 and not isinstance(nbs, unicode):
# this branch is likely only taken for JSON on Python 2
nbs = py3compat.str_to_unicode(nbs)
return fp.write(nbs)
| def write(self, nb, fp, **kwargs):
"""Write a notebook to a file like object"""
return fp.write(self.writes(nb, **kwargs))
| https://github.com/ipython/ipython/issues/1487 | %notebook -e foo.py
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/opt/source/packaging/pandas/pandas_build_virtenv/<ipython-input-245-d2b2edf081ed> in <module>()
----> 1 get_ipython().magic(u'notebook -e foo.py')
... | TypeError |
def list_profiles(self):
self.update_profiles()
result = [self.profile_info(p) for p in sorted(self.profiles.keys())]
return result
| def list_profiles(self):
self.update_profiles()
result = [self.profile_info(p) for p in self.profiles.keys()]
result.sort()
return result
| https://github.com/ipython/ipython/issues/1507 | Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tornado/web.py", line 954, in _execute
getattr(self, self.request.method.lower())(*args, **kwargs)
File "/usr/lib/python3/dist-packages/tornado/web.py", line 1667, in wrapper
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages... | TypeError |
def arg_split(commandline, posix=False, strict=True):
"""Split a command line's arguments in a shell-like manner.
This is a special version for windows that use a ctypes call to CommandLineToArgvW
to do the argv splitting. The posix paramter is ignored.
If strict=False, process_common.arg_split(...str... | def arg_split(commandline, posix=False):
"""Split a command line's arguments in a shell-like manner.
This is a special version for windows that use a ctypes call to CommandLineToArgvW
to do the argv splitting. The posix paramter is ignored.
"""
# CommandLineToArgvW returns path to executable if cal... | https://github.com/ipython/ipython/issues/1148 | ERROR: test shlex issues with timeit (#1109)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python26\lib\site-packages\nose\case.py", line 197, in runTest
self.test(*self.arg)
File "c:\python\external\ipython\IPython\core\tests\test_magic.py", line 350... | SyntaxError |
def handle(self, line_info):
"""Handle lines which can be auto-executed, quoting if requested."""
line = line_info.line
ifun = line_info.ifun
the_rest = line_info.the_rest
pre = line_info.pre
esc = line_info.esc
continue_prompt = line_info.continue_prompt
obj = line_info.ofind(self)["obj... | def handle(self, line_info):
"""Handle lines which can be auto-executed, quoting if requested."""
line = line_info.line
ifun = line_info.ifun
the_rest = line_info.the_rest
pre = line_info.pre
esc = line_info.esc
continue_prompt = line_info.continue_prompt
obj = line_info.ofind(self)["obj... | https://github.com/ipython/ipython/issues/988 | I1 from scipy import io
I2 s1 = io.idl.readsav('test.sav')
I3 s1?
Type: AttrDict
Base Class: <class 'scipy.io.idl.AttrDict'>
String Form:
{'dn': array([ 1.02282184e+07, 1.05383408e+07, 1.08758739e+07,
1.12449965e+07, 1. <...> (('r', 'R'), '>f8'), (('v', 'V'), '>f8')]), 'tfit': array([ 4.82394886e+02, ... | KeyError |
def __call__(self, *sequences):
client = self.view.client
# check that the length of sequences match
len_0 = len(sequences[0])
for s in sequences:
if len(s) != len_0:
msg = "all sequences must have equal length, but %i!=%i" % (len_0, len(s))
raise ValueError(msg)
bal... | def __call__(self, *sequences):
# check that the length of sequences match
len_0 = len(sequences[0])
for s in sequences:
if len(s) != len_0:
msg = "all sequences must have equal length, but %i!=%i" % (len_0, len(s))
raise ValueError(msg)
balanced = "Balanced" in self.view... | https://github.com/ipython/ipython/issues/986 | In [3]: v = c.direct_view()
In [4]: v
Out[4]: <DirectView all>
In [5]: v.map_sync(lambda x: x**10, range(32))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/thomas/Code/virtualenvs/ipy-trunk/<ipython-input-5... | TypeError |
def publish(self, source, data, metadata=None):
if metadata is None:
metadata = {}
self._validate_data(source, data, metadata)
content = {}
content["source"] = source
_encode_binary(data)
content["data"] = data
content["metadata"] = metadata
self.session.send(
self.pub_so... | def publish(self, source, data, metadata=None):
if metadata is None:
metadata = {}
self._validate_data(source, data, metadata)
content = {}
content["source"] = source
_encode_binary(data)
content["data"] = data
content["metadata"] = metadata
self.session.send(
self.pub_so... | https://github.com/ipython/ipython/issues/535 | ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
C:\python\external\ipy-bugs\run_qtcons_bug.py in <module>()
2
3 a=[]
----> 4 a.apppend(u"åäö")
AttributeError: 'list' object has no attribute 'apppend' | AttributeError |
def _showtraceback(self, etype, evalue, stb):
exc_content = {
"traceback": stb,
"ename": unicode(etype.__name__),
"evalue": unicode(evalue),
}
dh = self.displayhook
# Send exception info over pub socket for other clients than the caller
# to pick up
exc_msg = dh.session.... | def _showtraceback(self, etype, evalue, stb):
exc_content = {
"traceback": stb,
"ename": unicode(etype.__name__),
"evalue": unicode(evalue),
}
dh = self.displayhook
# Send exception info over pub socket for other clients than the caller
# to pick up
exc_msg = dh.session.... | https://github.com/ipython/ipython/issues/535 | ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
C:\python\external\ipy-bugs\run_qtcons_bug.py in <module>()
2
3 a=[]
----> 4 a.apppend(u"åäö")
AttributeError: 'list' object has no attribute 'apppend' | AttributeError |
def _exec_file(self, fname):
try:
full_filename = filefind(fname, [".", self.ipython_dir])
except IOError as e:
self.log.warn("File not found: %r" % fname)
return
# Make sure that the running script gets a proper sys.argv as if it
# were run from a system shell.
save_argv = s... | def _exec_file(self, fname):
full_filename = filefind(fname, [".", self.ipython_dir])
# Make sure that the running script gets a proper sys.argv as if it
# were run from a system shell.
save_argv = sys.argv
sys.argv = sys.argv[sys.argv.index(fname) :]
try:
if os.path.isfile(full_filename... | https://github.com/ipython/ipython/issues/566 | [TerminalIPythonApp] Unknown error in handling IPythonApp.exec_files:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
c:\python\external\ipython-js\IPython\core\shellapp.pyc in _exec_file(self, fname
192 # we... | ValueError |
def _handle_object_info_reply(self, rep):
"""Handle replies for call tips."""
cursor = self._get_cursor()
info = self._request_info.get("call_tip")
if (
info
and info.id == rep["parent_header"]["msg_id"]
and info.pos == cursor.position()
):
# Get the information for a... | def _handle_object_info_reply(self, rep):
"""Handle replies for call tips."""
cursor = self._get_cursor()
info = self._request_info.get("call_tip")
if (
info
and info.id == rep["parent_header"]["msg_id"]
and info.pos == cursor.position()
):
# Get the information for a... | https://github.com/ipython/ipython/issues/516 | {'content': {'oname': 'range'},
'header': {'username': 'mspacek', 'msg_id': 0, 'session': 'b744a851-3e62-4d64-930b-71ddefde10b0'},
'msg_type': 'object_info_request',
'parent_header': {}}
{'content': {'docstring': 'range([start,] stop[, step]) -> list of integers\n\nReturn a list containing an arithmetic progression of ... | KeyError |
def _handle_pyout(self, msg):
"""Handle display hook output."""
if not self._hidden and self._is_from_this_session(msg):
data = msg["content"]["data"]
if isinstance(data, basestring):
# plaintext data from pure Python kernel
text = data
else:
# formatt... | def _handle_pyout(self, msg):
"""Handle display hook output."""
if not self._hidden and self._is_from_this_session(msg):
self._append_plain_text(msg["content"]["data"]["text/plain"] + "\n")
| https://github.com/ipython/ipython/issues/516 | {'content': {'oname': 'range'},
'header': {'username': 'mspacek', 'msg_id': 0, 'session': 'b744a851-3e62-4d64-930b-71ddefde10b0'},
'msg_type': 'object_info_request',
'parent_header': {}}
{'content': {'docstring': 'range([start,] stop[, step]) -> list of integers\n\nReturn a list containing an arithmetic progression of ... | KeyError |
def save_svg(string, parent=None):
"""Prompts the user to save an SVG document to disk.
Parameters:
-----------
string : basestring
A Python string containing a SVG document.
parent : QWidget, optional
The parent to use for the file dialog.
Returns:
--------
The name o... | def save_svg(string, parent=None):
"""Prompts the user to save an SVG document to disk.
Parameters:
-----------
string : basestring
A Python string containing a SVG document.
parent : QWidget, optional
The parent to use for the file dialog.
Returns:
--------
The name o... | https://github.com/ipython/ipython/issues/489 | Traceback (most recent call last):
File "/home/mspacek/source/ipython/IPython/frontend/qt/console/rich_ipython_widget.py", line 60, in <lambda>
lambda: save_svg(svg, self._control))
File "/home/mspacek/source/ipython/IPython/frontend/qt/svg.py", line 32, in save_svg
f.write(string)
UnicodeEncodeError: 'ascii' codec can... | UnicodeEncodeError |
def get_pool(self, num=None):
"""Gets a pool of workers to do some parallel work.
pool will be cached, which implies that one should be very clear how
many processes one needs, as it's allocated at most once. Subsequent
calls of get_pool() will reuse the cached pool.
Args:
num(int): Number... | def get_pool(self, num=None):
"""Gets a pool of workers to do some parallel work.
pool will be cached, which implies that one should be very clear how
many processes one needs, as it's allocated at most once. Subsequent
calls of get_pool() will reuse the cached pool.
Args:
num(int): Number... | https://github.com/quantumlib/OpenFermion/issues/461 | ---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-10-f4067f5432d2> in <module>()
8
9 linear_qubit_op.dot(state)
---> 10 linear_qubit_op.dot(state)
~/environments/ofc/lib/python3.5/site-packages/scipy/sp... | ValueError |
def create_dict_node_class(cls):
"""
Create dynamic node class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | def create_dict_node_class(cls):
"""
Create dynamic node class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/1363 | 2020-02-17 15:24:57,775 - cfnlint - DEBUG - Completed linting of file: .\test.yml
E0002 Unknown exception while processing rule E3028: Traceback (most recent call last):
File "c:\python36\lib\site-packages\cfnlint\rules\__init__.py", line 203, in run_check
return check(*args)
File "c:\python36\lib\site-packages\cfnlint... | AttributeError |
def get_safe(self, key, default=None, path=None, type_t=()):
"""
Get values in format
"""
path = path or []
value = self.get(key, default)
if value is None and default is None:
# if default is None and value is None return empty list
return []
# if the value is the default m... | def get_safe(self, key, default=None, path=None, type_t=()):
"""
Get values in format
"""
path = path or []
value = self.get(key, default)
if not isinstance(value, (dict)):
if isinstance(value, type_t) or not type_t:
return [(value, (path[:] + [key]))]
results = []
f... | https://github.com/aws-cloudformation/cfn-python-lint/issues/1363 | 2020-02-17 15:24:57,775 - cfnlint - DEBUG - Completed linting of file: .\test.yml
E0002 Unknown exception while processing rule E3028: Traceback (most recent call last):
File "c:\python36\lib\site-packages\cfnlint\rules\__init__.py", line 203, in run_check
return check(*args)
File "c:\python36\lib\site-packages\cfnlint... | AttributeError |
def decode(filename, ignore_bad_template):
"""
Decode filename into an object
"""
template = None
matches = []
try:
template = cfnlint.decode.cfn_yaml.load(filename)
except IOError as e:
if e.errno == 2:
LOGGER.error("Template file not found: %s", filename)
... | def decode(filename, ignore_bad_template):
"""
Decode filename into an object
"""
template = None
matches = []
try:
template = cfnlint.decode.cfn_yaml.load(filename)
except IOError as e:
if e.errno == 2:
LOGGER.error("Template file not found: %s", filename)
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/357 | Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
load_entry_point('cfn-lint==0.7.2', 'console_scripts', 'cfn-lint')()
File "/usr/local/lib/python3.6/site-packages/cfn_lint-0.7.2-py3.6.egg/cfnlint/__main__.py", line 30, in main
(template, rules, template_matches) = cfnlint.core.get... | yaml.reader.ReaderError |
def __deepcopy__(self, memo):
result = list_node([], self.start_mark, self.end_mark)
memo[id(self)] = result
for _, v in enumerate(self):
result.append(deepcopy(v, memo))
return result
| def __deepcopy__(self, memo):
cls = self.__class__
result = cls.__new__(cls, self.start_mark, self.end_mark)
memo[id(self)] = result
for _, v in enumerate(self):
result.append(deepcopy(v, memo))
return result
| https://github.com/aws-cloudformation/cfn-python-lint/issues/459 | Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/cfnlint/__main__.py", line 36, in main
args.regions, args.override_spec))
File "/usr/local/lib/python2.7/site-packages/cfnlint/core.py", line 46, in run_cli
return run_ch... | AttributeError |
def create_dict_node_class(cls):
"""
Create dynamic node class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | def create_dict_node_class(cls):
"""
Create dynamic node class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/459 | Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/cfnlint/__main__.py", line 36, in main
args.regions, args.override_spec))
File "/usr/local/lib/python2.7/site-packages/cfnlint/core.py", line 46, in run_cli
return run_ch... | AttributeError |
def __deepcopy__(self, memo):
result = dict_node(self, self.start_mark, self.end_mark)
memo[id(self)] = result
for k, v in self.items():
result[deepcopy(k)] = deepcopy(v, memo)
return result
| def __deepcopy__(self, memo):
cls = self.__class__
result = cls.__new__(cls, self.start_mark, self.end_mark)
memo[id(self)] = result
for k, v in self.items():
result[deepcopy(k)] = deepcopy(v, memo)
return result
| https://github.com/aws-cloudformation/cfn-python-lint/issues/459 | Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/cfnlint/__main__.py", line 36, in main
args.regions, args.override_spec))
File "/usr/local/lib/python2.7/site-packages/cfnlint/core.py", line 46, in run_cli
return run_ch... | AttributeError |
def create_dict_list_class(cls):
"""
Create dynamic list class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | def create_dict_list_class(cls):
"""
Create dynamic list class
"""
class node_class(cls):
"""Node class created based on the input class"""
def __init__(self, x, start_mark, end_mark):
try:
cls.__init__(self, x)
except TypeError:
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/459 | Traceback (most recent call last):
File "/usr/local/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/site-packages/cfnlint/__main__.py", line 36, in main
args.regions, args.override_spec))
File "/usr/local/lib/python2.7/site-packages/cfnlint/core.py", line 46, in run_cli
return run_ch... | AttributeError |
def transform_template(self):
"""
Transform the Template using the Serverless Application Model.
"""
matches = []
try:
sam_translator = Translator(
managed_policy_map=self._managed_policy_map, sam_parser=self._sam_parser
)
self._replace_local_codeuri()
... | def transform_template(self):
"""
Transform the Template using the Serverless Application Model.
"""
matches = []
try:
sam_translator = Translator(
managed_policy_map=self._managed_policy_map, sam_parser=self._sam_parser
)
self._replace_local_codeuri()
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/436 | $ cfn-lint -t template.yaml
Traceback (most recent call last):
File "/Users/emilbryggare/Library/Python/2.7/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/Users/emilbryggare/Library/Python/2.7/lib/python/site-packages/cfnlint/__main__.py", line 36, in main
args.regions, args.override_spec))
File "/Users/em... | KeyError |
def match(self, cfn):
"""Check CloudFormation Resources"""
matches = []
for r_name, r_values in cfn.get_resources().items():
update_policy = r_values.get("UpdatePolicy", {})
resource_type = r_values.get("Type")
if isinstance(update_policy, dict):
for up_type, up_value i... | def match(self, cfn):
"""Check CloudFormation Resources"""
matches = []
for r_name, r_values in cfn.get_resources().items():
update_policy = r_values.get("UpdatePolicy", {})
resource_type = r_values.get("Type")
if isinstance(update_policy, dict):
for up_type, up_value i... | https://github.com/aws-cloudformation/cfn-python-lint/issues/422 | FAIL: test_file_negative_alias (rules.resources.updatepolicy.test_configuration.TestConfiguration)
Test failure
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cmmeyer/Documents/DevAdvocate/cfn-python-lint/test/rules/resources/updatepolicy/test_conf... | AssertionError |
def decode(filename, ignore_bad_template):
"""
Decode filename into an object
"""
template = None
matches = []
try:
template = cfnlint.decode.cfn_yaml.load(filename)
except IOError as e:
if e.errno == 2:
LOGGER.error("Template file not found: %s", filename)
... | def decode(filename, ignore_bad_template):
"""
Decode filename into an object
"""
template = None
matches = []
try:
template = cfnlint.decode.cfn_yaml.load(filename)
except IOError as e:
if e.errno == 2:
LOGGER.error("Template file not found: %s", filename)
... | https://github.com/aws-cloudformation/cfn-python-lint/issues/322 | $ echo malformed > test.yml
$ cfn-lint test.yml
Traceback (most recent call last):
File "/Users/myusername/.virtualenvs/myvirtualenv/bin/cfn-lint", line 11, in <module>
sys.exit(main())
File "/Users/myusername/.virtualenvs/myvirtualenv/lib/python3.7/site-packages/cfnlint/__main__.py", line 27, in main
(args, filename, ... | UnboundLocalError |
def add_field(doc, name, value):
if isinstance(value, (list, set)):
for v in value:
add_field(doc, name, v)
return
else:
field = Element("field", name=name)
if not isinstance(value, six.string_types):
value = str(value)
try:
value = str... | def add_field(doc, name, value):
if isinstance(value, (list, set)):
for v in value:
add_field(doc, name, v)
return
else:
field = Element("field", name=name)
if not isinstance(value, six.string_types):
value = str(value)
try:
value = str... | https://github.com/internetarchive/openlibrary/issues/4542 | 2021-02-04 19:47:02 [420] [openlibrary.solrwriter] [INFO] updating loans/loan-1944642791
2021-02-04 19:47:02 [420] [openlibrary.solrwriter] [ERROR] Error in normalizing 'loans/loan-1944635007'
Traceback (most recent call last):
File "/openlibrary/scripts/openlibrary-server", line 133, in
main()
File "/openlibrary/scrip... | AttributeError |
def __init__(self, e):
self.code = e.response.status_code
self.headers = e.response.headers
Exception.__init__(self, "{}. Response: {}".format(e, e.response.text))
| def __init__(self, http_error):
self.code = http_error.code
self.headers = http_error.headers
msg = http_error.msg + ": " + http_error.read()
Exception.__init__(self, msg)
| https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def _request(self, path, method="GET", data=None, headers=None, params=None):
logger.info("%s %s", method, path)
url = self.base_url + path
headers = headers or {}
params = params or {}
if self.cookie:
headers["Cookie"] = self.cookie
try:
response = requests.request(
... | def _request(self, path, method="GET", data=None, headers=None):
logger.info("%s %s", method, path)
url = self.base_url + path
headers = headers or {}
if self.cookie:
headers["Cookie"] = self.cookie
try:
req = urllib.request.Request(url, data, headers)
req.get_method = lambd... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def login(self, username, password):
"""Login to Open Library with given credentials."""
headers = {"Content-Type": "application/json"}
try:
data = json.dumps(dict(username=username, password=password))
response = self._request(
"/account/login", method="POST", data=data, headers... | def login(self, username, password):
"""Login to Open Library with given credentials."""
headers = {"Content-Type": "application/json"}
try:
data = json.dumps(dict(username=username, password=password))
response = self._request(
"/account/login", method="POST", data=data, headers... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def get(self, key, v=None):
response = self._request(key + ".json", params={"v": v} if v else {})
return unmarshal(response.json())
| def get(self, key, v=None):
data = self._request(key + ".json" + ("?v=%d" % v if v else "")).read()
return unmarshal(json.loads(data))
| https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def _get_many(self, keys):
response = self._request("/api/get_many", params={"keys": json.dumps(keys)})
return response.json()["result"]
| def _get_many(self, keys):
response = self._request(
"/api/get_many?" + urllib.parse.urlencode({"keys": json.dumps(keys)})
)
return json.loads(response.read())["result"]
| https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def save(self, key, data, comment=None):
headers = {"Content-Type": "application/json"}
data = marshal(data)
if comment:
headers["Opt"] = '"%s/dev/docs/api"; ns=42' % self.base_url
headers["42-comment"] = comment
data = json.dumps(data)
return self._request(key, method="PUT", data=da... | def save(self, key, data, comment=None):
headers = {"Content-Type": "application/json"}
data = marshal(data)
if comment:
headers["Opt"] = '"%s/dev/docs/api"; ns=42' % self.base_url
headers["42-comment"] = comment
data = json.dumps(data)
return self._request(key, method="PUT", data=da... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def _call_write(self, name, query, comment, action):
headers = {"Content-Type": "application/json"}
query = marshal(query)
# use HTTP Extension Framework to add custom headers. see RFC 2774 for more details.
if comment or action:
headers["Opt"] = '"%s/dev/docs/api"; ns=42' % self.base_url
i... | def _call_write(self, name, query, comment, action):
headers = {"Content-Type": "application/json"}
query = marshal(query)
# use HTTP Extension Framework to add custom headers. see RFC 2774 for more details.
if comment or action:
headers["Opt"] = '"%s/dev/docs/api"; ns=42' % self.base_url
i... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def query(self, q=None, **kw):
"""Query Open Library.
Open Library always limits the result to 1000 items due to
performance issues. Pass limit=False to fetch all matching
results by making multiple requests to the server. Please note
that an iterator is returned instead of list when limit=False is... | def query(self, q=None, **kw):
"""Query Open Library.
Open Library always limits the result to 1000 items due to
performance issues. Pass limit=False to fetch all matching
results by making multiple requests to the server. Please note
that an iterator is returned instead of list when limit=False is... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def import_ocaid(self, ocaid, require_marc=True):
data = {"identifier": ocaid, "require_marc": "true" if require_marc else "false"}
return self._request("/api/import/ia", method="POST", data=data).content
| def import_ocaid(self, ocaid, require_marc=True):
data = {"identifier": ocaid, "require_marc": "true" if require_marc else "false"}
return self._request(
"/api/import/ia", method="POST", data=urllib.parse.urlencode(data)
).read()
| https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def save_many(self, sitename, data):
# Work-around for https://github.com/internetarchive/openlibrary/issues/4285
# Infogami seems to read encoded bytes as a string with a byte literal inside
# of it, which is invalid JSON and also can't be decode()'d.
if isinstance(data.get("query"), bytes):
da... | def save_many(self, sitename, data):
return self.conn.request(sitename, "/save_many", "POST", data)
| https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def parse_args():
parser = OptionParser(
"usage: %s [options] path1 path2" % sys.argv[0],
description=desc,
version=__version__,
)
parser.add_option("-c", "--comment", dest="comment", default="", help="comment")
parser.add_option(
"--src",
dest="src",
meta... | def parse_args():
parser = OptionParser(
"usage: %s [options] path1 path2" % sys.argv[0],
description=desc,
version=__version__,
)
parser.add_option("-c", "--comment", dest="comment", default="", help="comment")
parser.add_option(
"--src",
dest="src",
meta... | https://github.com/internetarchive/openlibrary/issues/4212 | Error using client:
HTTPError Traceback (most recent call last)
<ipython-input-5-d841aca49599> in <module>()
6 save_set.append(ed)
7 response = ol.save_many(save_set, 'moving edition(s) to primary work')
----> 8 response.raise_for_status()
9 response
/usr/local/lib/python3.6/dist-pac... | HTTPError |
def GET(self, key):
page = web.ctx.site.get(key)
if not page:
raise web.notfound("")
else:
from infogami.utils import template
from openlibrary.plugins.openlibrary import opds
try:
result = template.typetemplate("opds")(page, opds)
except:
rai... | def GET(self, key):
page = web.ctx.site.get(key)
if not page:
raise web.notfound("")
else:
from infogami.utils import template
import opds
try:
result = template.typetemplate("opds")(page, opds)
except:
raise web.notfound("")
else:
... | https://github.com/internetarchive/openlibrary/issues/1409 | Traceback (most recent call last):
...
File "/opt/openlibrary/deploys/openlibrary/openlibrary/openlibrary/plugins/openlibrary/code.py", line 445, in GET
import opds
ImportError: No module named opds | ImportError |
def prepare(self, elaboratable, name="top", **kwargs):
assert not self._prepared
self._prepared = True
fragment = Fragment.get(elaboratable, self)
fragment = SampleLowerer()(fragment)
fragment._propagate_domains(self.create_missing_domain, platform=self)
fragment = DomainLowerer()(fragment)
... | def prepare(self, elaboratable, name="top", **kwargs):
assert not self._prepared
self._prepared = True
fragment = Fragment.get(elaboratable, self)
fragment = SampleLowerer()(fragment)
fragment._propagate_domains(self.create_missing_domain, platform=self)
fragment = DomainLowerer()(fragment)
... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_tristate(self, pin, port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| def get_diff_tristate(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input_output(self, pin, port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| def get_diff_input_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(), valid_attrs=None
)
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def request(self, name, number=0, *, dir=None, xdr=None):
resource = self.lookup(name, number)
if (resource.name, resource.number) in self._requested:
raise ResourceError(
"Resource {}#{} has already been requested".format(name, number)
)
def merge_options(subsignal, dir, xdr):
... | def request(self, name, number=0, *, dir=None, xdr=None):
resource = self.lookup(name, number)
if (resource.name, resource.number) in self._requested:
raise ResourceError(
"Resource {}#{} has already been requested".format(name, number)
)
def merge_options(subsignal, dir, xdr):
... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def resolve(resource, dir, xdr, name, attrs):
for attr_key, attr_value in attrs.items():
if hasattr(attr_value, "__call__"):
attr_value = attr_value(self)
assert attr_value is None or isinstance(attr_value, str)
if attr_value is None:
del attrs[attr_key]
e... | def resolve(resource, dir, xdr, name, attrs):
for attr_key, attr_value in attrs.items():
if hasattr(attr_value, "__call__"):
attr_value = attr_value(self)
assert attr_value is None or isinstance(attr_value, str)
if attr_value is None:
del attrs[attr_key]
e... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def iter_single_ended_pins(self):
for res, pin, port, attrs in self._ports:
if pin is None:
continue
if isinstance(res.ios[0], Pins):
yield pin, port, attrs, res.ios[0].invert
| def iter_single_ended_pins(self):
for res, pin, port, attrs in self._ports:
if pin is None:
continue
if isinstance(res.ios[0], Pins):
yield pin, port.io, attrs, res.ios[0].invert
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def iter_differential_pins(self):
for res, pin, port, attrs in self._ports:
if pin is None:
continue
if isinstance(res.ios[0], DiffPairs):
yield pin, port, attrs, res.ios[0].invert
| def iter_differential_pins(self):
for res, pin, port, attrs in self._ports:
if pin is None:
continue
if isinstance(res.ios[0], DiffPairs):
yield pin, port.p, port.n, attrs, res.ios[0].invert
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_in",
p_enable_bus_hold=... | def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_in",
p_enable_bus_hold=... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_out",
p_enable_bus_ho... | def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_out",
p_enable_bus_ho... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_out",
p_enable_bu... | def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_out",
p_enable_bu... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_bidir",
p... | def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
"altiobuf_bidir",
p... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.p.attrs["useioff"] = 1
port.n.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
... | def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
p_port.attrs["useioff"] = 1
n_port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instan... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.p.attrs["useioff"] = 1
port.n.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
... | def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
p_port.attrs["useioff"] = 1
n_port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Inst... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_tristate(self, pin, port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.p.attrs["useioff"] = 1
port.n.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = Instance(
... | def get_diff_tristate(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
p_port.attrs["useioff"] = 1
n_port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = ... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input_output(self, pin, port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
port.p.attrs["useioff"] = 1
port.n.attrs["useioff"] = 1
m = Module()
m.submodules[pin.name] = In... | def get_diff_input_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
if pin.xdr == 1:
p_port.attrs["useioff"] = 1
n_port.attrs["useioff"] = 1
m = Module()
m.submodules[pin.... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name,... | def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name,... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.nam... | def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.nam... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
... | def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in... | def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.... | def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}"... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pi... | def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2, 4, 7), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_tristate(self, pin, port, attrs, invert):
self._check_feature(
"differential tristate",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
... | def get_diff_tristate(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential tristate",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input_output(self, pin, port, attrs, invert):
self._check_feature(
"differential input/output",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for b... | def get_diff_input_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input/output",
pin,
attrs,
valid_xdrs=(0, 1, 2, 4, 7),
valid_attrs=True,
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port.io, attrs, i_invert=invert)
return m
| def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port, attrs, i_invert=invert)
return m
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port.io, attrs, o_invert=invert)
return m
| def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port, attrs, o_invert=invert)
return m
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port.io, attrs, o_invert=invert)
return m
| def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port, attrs, o_invert=invert)
return m
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port.io, attrs, i_invert=invert, o_invert=invert)
return m
| def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
self._get_io_buffer(m, pin, port, attrs, i_invert=invert, o_invert=invert)
return m
| https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
# See comment in should_skip_port_component above.
self._get_io_buffer(m, pin, port.p, attrs, i_invert=invert)
return m
| def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
# See comment in should_skip_port_component above.
self._get_io_buffer(m, pin, p_port, attrs, i_invert=invert)
return... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
# Note that the non-inverting output pin is not driven the same way as a regular
# output pin. The inverter introduces a delay, s... | def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
# Note that the non-inverting output pin is not driven the same way as a regular
# output pin. The inverter introduces ... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit)]... | def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit)]... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit... | def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name,... | def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name,... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(len(port)):
m.submodules... | def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(len(port)):
m.submodules... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name, ... | def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}".forma... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name... | def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}".for... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_tristate(self, pin, port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.... | def get_diff_tristate(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}"... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input_output(self, pin, port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(pin.width):
m.submo... | def get_diff_input_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(len(p_port)):
... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name, bit)]... | def get_input(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit)]... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name, bit... | def get_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name, bit... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name,... | def get_tristate(self, pin, port, attrs, invert):
self._check_feature(
"single-ended tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(port)):
m.submodules["{}_{}".format(pin.name,... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(pin.width):
m.submodules... | def get_input_output(self, pin, port, attrs, invert):
self._check_feature(
"single-ended input/output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert, o_invert=invert)
for bit in range(len(port)):
m.submodules... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_input(self, pin, port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name, ... | def get_diff_input(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential input", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, i_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}".forma... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_output(self, pin, port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.name... | def get_diff_output(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential output", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}".for... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
def get_diff_tristate(self, pin, port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(pin.width):
m.submodules["{}_{}".format(pin.... | def get_diff_tristate(self, pin, p_port, n_port, attrs, invert):
self._check_feature(
"differential tristate", pin, attrs, valid_xdrs=(0, 1, 2), valid_attrs=True
)
m = Module()
i, o, t = self._get_xdr_buffer(m, pin, o_invert=invert)
for bit in range(len(p_port)):
m.submodules["{}_{}"... | https://github.com/nmigen/nmigen/issues/456 | ERROR: IO 'ddr3_0__dqs__n[0]' is unconstrained in LPF (override this error with --lpf-allow-unconstrained)
0 warnings, 1 error
Traceback (most recent call last):
File "diffpairissue.py", line 20, in <module>
ECPIX585Platform().build(Top(), do_program=True)
File "/home/jeanthomas/Documents/nmigen/nmigen/build/plat.py", ... | subprocess.CalledProcessError |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.