[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] [PyBOMBS] TypeError: cannot use a string pattern
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] [PyBOMBS] TypeError: cannot use a string pattern on a bytes-like object |
Date: |
Wed, 2 May 2018 15:33:57 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Are you using Python 3?
-- M
On 02/12/2018 03:46 PM, Álvaro Cebrián Juan wrote:
> Hello everyone,
>
> I was following these instructions
> <http://gnss-sdr.org/build-and-install/#install-dependencies-using-pybombs>
> to install some dependencies using PyBOMBS, but when I add a list of
> default recipes wit|h the command:
>
> $ pybombs recipes add-defaults |
>
> I get the following error:
>
> address@hidden:~$ pybombs recipes add-defaults
> PyBOMBS - INFO - PyBOMBS Version 2.3.3a0
> Traceback (most recent call last):
> File "/usr/local/bin/pybombs", line 11, in <module>
> load_entry_point('PyBOMBS==2.3.3a0', 'console_scripts', 'pybombs')()
> File "/usr/local/lib/python3.5/dist-packages/pybombs/main.py", line
> 32, in main
> return dispatch() or 0
> File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line
> 194, in dispatch
> return get_cmd_dict(cmd_list)[args.command](cmd=args.command,
> args=args).run()
> File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line
> 120, in run
> return self.subcommands[self.args.sub_command]['run'](self)()
> File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py",
> line 180, in run_add_defaults
> if not self.add_recipe_dir(alias, uri):
> File
> "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py",
> line 347, in add_recipe_dir
> Fetcher().fetch_url(uri, recipe_cache_top_level, alias, {}) # No args
> File "/usr/local/lib/python3.5/dist-packages/pybombs/fetcher.py", line
> 73, in fetch_url
> result = fetcher.fetch_url(url, dest, dirname, args)
> File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
> line 81, in fetch_url
> git_version = get_git_version()
> File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py",
> line 56, in get_git_version
> subprocess.check_output(['git', '--version'])
> File "/usr/lib/python3.5/re.py", line 173, in search
> return _compile(pattern, flags).search(string)
> TypeError: cannot use a string pattern on a bytes-like object
>
> I would be grateful if somebody can shed some light on the cause of this
> error and on its possible solutions.
>
> Best regards,
>
> Álvaro
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Discuss-gnuradio] [PyBOMBS] TypeError: cannot use a string pattern on a bytes-like object,
Martin Braun <=