Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 290] New: import error caused by soc.decoder.isa.all no longer being generated
Date: Tue, 21 Apr 2020 02:11:17 +0000
Message-ID: <bug-290-13@https.bugs.libre-soc.org/> (raw)

https://bugs.libre-soc.org/show_bug.cgi?id=290

            Bug ID: 290
           Summary: import error caused by soc.decoder.isa.all no longer
                    being generated
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: ---
         Component: Source Code
          Assignee: lkcl@lkcl.net
          Reporter: programmerjake@gmail.com
                CC: libre-riscv-dev@lists.libre-riscv.org
   NLnet milestone: ---

This is causing CI to fail and I finally got around to reproducing it locally:

After running git clean and rerunning src/doc/decoder/pseudo/pywriter.py:

ERROR: Failure: ModuleNotFoundError (No module named 'soc.decoder.isa.all')
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/site-packages/nose/failure.py",
line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File
"/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/site-packages/nose/loader.py",
line 418, in loadTestsFromName
    addr.filename, addr.module)
  File
"/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/site-packages/nose/importer.py",
line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File
"/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/site-packages/nose/importer.py",
line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/imp.py", line
235, in load_module
    return load_source(name, filename, file)
  File "/home/jacob/.virtualenvs/libre-riscv-venv/lib/python3.6/imp.py", line
172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File
"/home/jacob/projects/libreriscv/soc/src/soc/decoder/isa/test_caller.py", line
12, in <module>
    from soc.decoder.isa.all import ISA
ModuleNotFoundError: No module named 'soc.decoder.isa.all'


I'm on soc.git d557f4fb2a9e5b159c7abbdcd1d85712fabc6b9b

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

             reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21  2:11 bugzilla-daemon [this message]
2020-04-21  3:28 ` [libre-riscv-dev] [Bug 290] " bugzilla-daemon
2020-04-21  3:31 ` bugzilla-daemon
2020-04-21  3:35 ` bugzilla-daemon
2020-04-21  4:01 ` bugzilla-daemon
2020-04-21  4:28 ` bugzilla-daemon
2020-04-21  4:48 ` bugzilla-daemon
2020-04-21  4:54   ` Jacob Lifshay
2020-04-21 11:15 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-290-13@https.bugs.libre-soc.org/ \
    --to=bugzilla-daemon@libre-soc.org \
    --cc=libre-riscv-dev@lists.libre-riscv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git