-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)bugDid we break something?Did we break something?p1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to do
Description
I got an error running a command. This happened when I'd just cloned my repo, before running dvc pull.
$ dvc repro --verbose mystage.dvc
2020-02-18 04:32:06,196 DEBUG: PRAGMA user_version;
2020-02-18 04:32:06,196 DEBUG: fetched: [(3,)]
2020-02-18 04:32:06,196 DEBUG: CREATE TABLE IF NOT EXISTS state (inode INTEGER PRIMARY KEY, mtime TEXT NOT NULL, size TEXT NOT NULL, md5 TEXT NOT NULL, timestamp TEXT NOT NULL)
2020-02-18 04:32:06,197 DEBUG: CREATE TABLE IF NOT EXISTS state_info (count INTEGER)
2020-02-18 04:32:06,197 DEBUG: CREATE TABLE IF NOT EXISTS link_state (path TEXT PRIMARY KEY, inode INTEGER NOT NULL, mtime TEXT NOT NULL)
2020-02-18 04:32:06,197 DEBUG: INSERT OR IGNORE INTO state_info (count) SELECT 0 WHERE NOT EXISTS (SELECT * FROM state_info)
2020-02-18 04:32:06,197 DEBUG: PRAGMA user_version = 3;
2020-02-18 04:32:06,465 DEBUG: SELECT count from state_info WHERE rowid=?
2020-02-18 04:32:06,465 DEBUG: fetched: [(0,)]
2020-02-18 04:32:06,465 DEBUG: UPDATE state_info SET count = ? WHERE rowid = ?
2020-02-18 04:32:06,696 ERROR: unexpected error - nbunch is not a node or a sequence of nodes.
------------------------------------------------------------
Traceback (most recent call last):
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/networkx/classes/graph.py", line 1908, in bunch_iter
for n in nlist:
TypeError: 'Stage' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/main.py", line 49, in main
ret = cmd.run()
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/command/repro.py", line 41, in run
recursive=self.args.recursive,
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/repo/__init__.py", line 27, in wrapper
ret = f(repo, *args, **kwargs)
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/repo/scm_context.py", line 4, in run
result = method(repo, *args, **kw)
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/repo/reproduce.py", line 70, in reproduce
active_graph = _get_active_graph(self.graph)
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/dvc/repo/reproduce.py", line 42, in _get_active_graph
if not active.in_degree(node):
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/networkx/classes/reportviews.py", line 354, in __call__
return self.__class__(self._graph, nbunch, weight)
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/networkx/classes/reportviews.py", line 339, in __init__
else list(G.nbunch_iter(nbunch))
File "/home/user/.cache/pypoetry/virtualenvs/proj-ngDuziVt-py3.6/lib/python3.6/site-packages/networkx/classes/graph.py", line 1916, in bunch_iter
raise NetworkXError(msg)
networkx.exception.NetworkXError: nbunch is not a node or a sequence of nodes.
dvc 0.85.0
Python 3.6
Ubuntu 18.04
Metadata
Metadata
Assignees
Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)bugDid we break something?Did we break something?p1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to do