You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pvshrink yields the below error when run under Python 3.8:
Traceback (most recent call last):
File "./pvshrink", line 118, in
match = re.search(r'Found text metadata area: offset=(\d+), size=(\d+)', pvck)
File "/usr/lib64/python3.8/re.py", line 201, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
The text was updated successfully, but these errors were encountered:
This error is the same as in issue #1 and can be solved similarly. For further information look for instance under StackOverflow or this tutorial
Fortunately the error occurred after defragmentation, so in my case I could solve the resizing manually and do not want to repeat the operation on my harddisk (for further testing of code).
pvshrink yields the below error when run under Python 3.8:
Traceback (most recent call last):
File "./pvshrink", line 118, in
match = re.search(r'Found text metadata area: offset=(\d+), size=(\d+)', pvck)
File "/usr/lib64/python3.8/re.py", line 201, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
The text was updated successfully, but these errors were encountered: