Mark Hewitt
unread,May 18, 2026, 11:03:04 AM (7 days ago) May 18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Johannes Berg, bup list
As Johannes suggested, I noticed a type issue in the current main with a
remote bup server of a different version.
Here, I have bup main (0.34~5f9cf697b3daa3d4d6899f9366ebc1fd64161a32)
running on my test system (called disker) talking to a bup server
(bupman2). The latter is running 0.33.10.
> root@disker:/bupsys/spec# /usr/local/bin/bup
> --bup-dir=/bupsys/data/External-200/bupdata/localbup/disker.bup init
> --remote=bup@bupman2:/bupsys/data/External-200/bupdata/repository/disker
> Traceback (most recent call last):
> File "/usr/local/lib/bup/bup/main.py", line 221, in main
> rc = run_subcmd(cmd_module, subcmd, opt['profile'])
> File "/usr/local/lib/bup/bup/main.py", line 178, in run_subcmd
> return module.main(args)
> ~~~~~~~~~~~^^^^^^
> File "/usr/local/lib/bup/bup/cmd/init.py", line 27, in main
> loc = main_repo_location(opt.remote, o.fatal)
> File "/usr/local/lib/bup/bup/repo/__init__.py", line 45, in
> main_repo_location
> url = url_for_remote_opt(remote)
> File "/usr/local/lib/bup/bup/config.py", line 23, in url_for_remote_opt
> url = parse_bytes_path_url(remote, require_auth=True)
> File "/usr/local/lib/bup/bup/url.py", line 122, in parse_bytes_path_url
> m = _scheme_and_rest_rx.fullmatch(url)
> TypeError: cannot use a bytes pattern on a string-like object
Hope that helps!
Mark
>