Replies: 4 comments 1 reply
-
I think you're trying to run it from inside the zip file which means the
state is inconsistent. You should extract it somewhere first.
…On Mon, 31 Oct 2022, 06:36 armzzz, ***@***.***> wrote:
Hi, I've just grabbed this script since GOG's current issues with their
update tab is annoying. I've got Python 3.11 installed on Windows 11 along
with the listed dependencies gogrepoc requires. I logged in successfully
using
py gogrepoc.py login
but when I try to run
py gogrepoc.py update -os windows -lang en
I get the following error:
16:19:14 | loading local manifest... 16:19:14 | fatal... Traceback (most
recent call last): File "C:\Users\armaa\Downloads\_Temp\_GOG\gogrepoc.py",
line 2891, in <module> main(process_argv(sys.argv)) File
"C:\Users\armaa\Downloads\_Temp\_GOG\gogrepoc.py", line 2630, in main
cmd_update(args.os, args.lang, args.skipknown, args.updateonly, not
args.full, args.ids,
args.skipids,args.skiphidden,args.installers,args.resumemode,args.strictverify)
File "C:\Users\armaa\Downloads\_Temp\_GOG\gogrepoc.py", line 1234, in
cmd_update gamesdb = load_manifest() ^^^^^^^^^^^^^^^ File
"C:\Users\armaa\Downloads\_Temp\_GOG\gogrepoc.py", line 348, in
load_manifest with codecs.open(filepath, 'rU', 'utf-8') as r:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen codecs>", line 905, in
open ValueError: invalid mode: 'rUb'
Any ideas what I'm doing wrong?
—
Reply to this email directly, view it on GitHub
<#78>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKZ334LST3V2KLIBUMILM3WF3L6RANCNFSM6AAAAAARSPKHKU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hmm. I haven't used Windows 11 or Python 3.11 before but I'm moving to a
new window 11 computer now so I'll be able to troubleshoot this shortly.
The error doesn't really make sense because it's not being opened in the
mode claimed.
…On Mon, 31 Oct 2022, 07:16 armzzz, ***@***.***> wrote:
It's not in a zip file.
—
Reply to this email directly, view it on GitHub
<#78 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKZ337MZJN5ET47JNFEN4DWF3QUTANCNFSM6AAAAAARSPKHKU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Okay, I've looked into this. U is the default behavior for open (since
Python 3) and was removed as a valid flag in Python 3.11.
I'll have to issue a compatibility update. Unfortunately I probably won't
get too in the next week or two. I'd recommend using Python 3.10 until I
get it sorted.
…On Mon, 31 Oct 2022, 07:56 Kalanyr, ***@***.***> wrote:
Hmm. I haven't used Windows 11 or Python 3.11 before but I'm moving to a
new window 11 computer now so I'll be able to troubleshoot this shortly.
The error doesn't really make sense because it's not being opened in the
mode claimed.
On Mon, 31 Oct 2022, 07:16 armzzz, ***@***.***> wrote:
> It's not in a zip file.
>
> —
> Reply to this email directly, view it on GitHub
> <#78 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABKZ337MZJN5ET47JNFEN4DWF3QUTANCNFSM6AAAAAARSPKHKU>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sweet. I'll install 3.10 for now. Thanks for looking into it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've just grabbed this script since GOG's current issues with their update tab is annoying. I've got Python 3.11 installed on Windows 11 along with the listed dependencies gogrepoc requires. I logged in successfully using
py gogrepoc.py login
but when I try to run
py gogrepoc.py update -os windows -lang en
I get the following error:
Any ideas what I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions