Hi,
I’m having major problem in both updating to current version of 12 and trying to upgrade to v13.
However, the most immediate issue is that I continue to get errors just running bench update. I receive the error below. Can anyone please help?
Thanks in advance,
Gus
ERROR:
frappe@ubuntu:~/frappe-bench$ bench update
remote: Enumerating objects: 2241, done.
remote: Counting objects: 100% (1528/1528), done.
remote: Compressing objects: 100% (547/547), done.
remote: Total 1050 (delta 756), reused 791 (delta 502), pack-reused 0
Receiving objects: 100% (1050/1050), 199.42 KiB | 8.31 MiB/s, done.
Resolving deltas: 100% (756/756), completed with 135 local objects.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
b856fa45f…08e7d7e9f version-12 → upstream/version-12
- [new tag] v12.22.1 → v12.22.1
- [new tag] v12.17.0 → v12.17.0
- [new tag] v12.18.0 → v12.18.0
- [new tag] v12.18.1 → v12.18.1
- [new tag] v12.19.0 → v12.19.0
- [new tag] v12.19.1 → v12.19.1
- [new tag] v12.19.2 → v12.19.2
- [new tag] v12.20.0 → v12.20.0
- [new tag] v12.21.0 → v12.21.0
- [new tag] v12.21.1 → v12.21.1
- [new tag] v12.22.0 → v12.22.0
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/cli.py”, line 41, in cli
bench_command()
File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.6/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/update.py”, line 25, in update
update(pull=pull, patch=patch, build=build, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup=not no_backup, force=force, reset=reset)
File “/home/frappe/.bench/bench/utils.py”, line 176, in update
version_upgrade = is_version_upgrade()
File “/home/frappe/.bench/bench/app.py”, line 286, in is_version_upgrade
upstream_version = get_major_version(upstream_version)
File “/home/frappe/.bench/bench/app.py”, line 430, in get_major_version
return semantic_version.Version(version).major
File “/usr/local/lib/python3.6/dist-packages/semantic_version/base.py”, line 105, in init
major, minor, patch, prerelease, build = self.parse(version_string, partial)
File “/usr/local/lib/python3.6/dist-packages/semantic_version/base.py”, line 303, in parse
raise ValueError(‘Invalid version string: %r’ % version_string)
ValueError: Invalid version string: ‘Release 12.22.1’