[fpga-miniconf] download-env got "unexpected error" - please suggest what I can do to fix
Tim Ansell
mithro at mithis.com
Fri Jan 5 21:48:09 AEDT 2018
Something has a unicode character in the path. I'm on my phone at the
moment so can't get you the exact value, but you want something like;
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
If that works can you log an issue and we will make sure to add them to the
script to solve it for everyone?
Tim 'mithro' Ansell
On 5 Jan. 2018 6:42 pm, "Duncan Roe" <duncan_roe at optusnet.com.au> wrote:
Hi Tim,
On Thu, Jan 04, 2018 at 02:53:12AM +0000, Tim Ansell (via Google Docs)
wrote:
> I've shared an item with you:
>
> FPGA Miniconf Set Up Instructions
> https://docs.google.com/document/d/1b2rBju9Fxjlcv6y3Ib1WcrvmzPA63
Pe-pnBaziJXZNY/edit?usp=sharing&ts=5a4d9718
>
> It's not an attachment ??? it's stored online. To open this item, just
click
> the link above.
>
> Hi!
>
> This is the initial attempt at set up instructions for the LCA2018 FPGA
> Miniconf. Please attempt to follow these instructions and add comments
where
> you encounter issues and we will try to update the instructions with
fixes.
>
> Looking forward to seeing everyone at an awesome Linux.conf.au 2018!
>
> Thanks!
>
> Tim 'mithro' Ansell
Everything was going well until this:
> Installing openocd (jtag tool for programming and debug)
> Solving environment: done
>
> ## Package Plan ##
>
> environment location: /usr/src/litex-buildenv/build/conda
>
> added / updated specs:
> - openocd=0.10.0
>
>
> The following NEW packages will be INSTALLED:
>
> openocd: 0.10.0_226_g1c2e3d41d-20180101_0708 timvideos
>
> Preparing transaction: done
> Verifying transaction: failed
>
> # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
>
> Traceback (most recent call last):
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/exceptions.py", line 724, in __call__
> return func(*args, **kwargs)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/cli/main.py", line 78, in _main
> exit_code = do_call(args, p)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/cli/conda_argparse.py", line 76, in do_call
> exit_code = getattr(module, func_name)(args, parser)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/cli/main_install.py", line 11, in execute
> install(args, parser, 'install')
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/cli/install.py", line 255, in install
> handle_txn(progressive_fetch_extract, unlink_link_transaction,
prefix, args, newenv)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/cli/install.py", line 285, in handle_txn
> unlink_link_transaction.execute()
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/link.py", line 220, in execute
> self.verify()
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/common/io.py", line 415, in decorated
> return f(*args, **kwds)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/link.py", line 207, in verify
> exceptions = self._verify(self.prefix_setups,
self.prefix_action_groups)
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/link.py", line 460, in _verify
> cls._verify_transaction_level(prefix_setups),
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/link.py", line 455, in <genexpr>
> exceptions = tuple(exc for exc in concatv(
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/link.py", line 323, in _verify_individual_level
> error_result = axn.verify()
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/
site-packages/conda/core/path_actions.py", line 258, in verify
> if self.link_type != LinkType.directory and not
lexists(self.source_full_path): # pragma: no cover # NOQA
> File "/usr/src/litex-buildenv/build/conda/lib/python3.5/posixpath.py",
line 171, in lexists
> os.lstat(path)
> UnicodeEncodeError: 'latin-1' codec can't encode characters in
position 118-119: ordinal not in range(256)
>
> `$ /usr/src/litex-buildenv/build/conda/bin/conda install -y
openocd=0.10.0`
>
> environment variables:
> CIO_TEST=<not set>
> CONDA_ROOT=/usr/src/litex-buildenv/build/conda
> CPLUS_INCLUDE_PATH=/usr/lib64/qt/include
> INFOPATH=/usr/info
> LADSPA_PATH=/usr/lib64/ladspa
> LV2_PATH=/usr/lib64/lv2
> MANPATH=/usr/local/man:/usr/
man:/usr/lib64/java/man:/usr/share/texmf/man
> PATH=/usr/src/litex-buildenv/
build/conda/bin:/opt/Xilinx/Vivado/2017.3/bin:
> /home/dunc/bin64:/home/dunc/
bin:/home/dunc/command_line_tools/bin:/usr
> /local/bin:/usr/bin:/bin:/usr/
games:/opt/FDK/Tools/linux:/usr/lib64/ja
> va/bin:/usr/lib64/java/jre/
bin:/usr/lib64/kde4/libexec:/usr/lib64/qt/b
> in:/usr/lib64/qt5/bin:/usr/
share/texmf/bin:/usr/local/sbin:/usr/sbin:/
> sbin:/sbin
> PKG_CONFIG_PATH=/usr/lib64/pkgconfig:/usr/share/pkgconfig
> PYTHONHASHSEED=0
> REQUESTS_CA_BUNDLE=<not set>
> SSL_CERT_FILE=<not set>
> VAMP_PATH=/usr/lib64/vamp
>
> active environment : None
> user config file : /home/dunc/.condarc
> populated config files : /home/dunc/.condarc
> conda version : 4.4.6
> conda-build version : not installed
> python version : 3.5.4.final.0
> base environment : /usr/src/litex-buildenv/build/conda (writable)
> channel URLs : https://conda.anaconda.org/timvideos/linux-64
> https://conda.anaconda.org/timvideos/noarch
> https://repo.continuum.io/pkgs/main/linux-64
> https://repo.continuum.io/pkgs/main/noarch
> https://repo.continuum.io/pkgs/free/linux-64
> https://repo.continuum.io/pkgs/free/noarch
> https://repo.continuum.io/pkgs/r/linux-64
> https://repo.continuum.io/pkgs/r/noarch
> https://repo.continuum.io/pkgs/pro/linux-64
> https://repo.continuum.io/pkgs/pro/noarch
> package cache : /usr/src/litex-buildenv/build/conda/pkgs
> /home/dunc/.conda/pkgs
> envs directories : /usr/src/litex-buildenv/build/conda/envs
> /home/dunc/.conda/envs
> platform : linux-64
> user-agent : conda/4.4.6 requests/2.18.4 CPython/3.5.4
Linux/4.13.13-k8_64 slackware/14.2 glibc/2.23
> UID:GID : 501:100
> netrc file : None
> offline mode : False
>
>
> An unexpected error has occurred. Conda has prepared the above report.
> Upload successful.
I tried "export LC_ALL=C" and re-run, but it still failed. Only difference
I could see was
> UnicodeEncodeError: 'ascii' codec can't encode characters in position
118-119: ordinal not in range(128)
i.e. "ascii" replaces "latin-1" above.
Let me know if I can provide any otherdata that might help,
Cheers ... Duncan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lca2018.linux.org.au/pipermail/fpga-miniconf/attachments/20180105/b2d76bab/attachment-0001.html>
More information about the fpga-miniconf
mailing list