Jaded-Encoding-Thaumaturgy / vs-preview

Previewer for VapourSynth scripts.
Apache License 2.0
61 stars 19 forks source link

Uploading to slow.pics with an account does not work #125

Closed Ravencentric closed 9 months ago

Ravencentric commented 9 months ago

Simply says "Session Expired" and leaves

image

2023-12-21 00:18:12.805: urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): slow.pics:443
2023-12-21 00:18:14.484: urllib3.connectionpool: DEBUG: https://slow.pics:443 "GET /comparison HTTP/1.1" 200 None
2023-12-21 00:18:14.531: vsengine.policy: DEBUG: Setting environment: <vapoursynth.EnvironmentData object at 0x000002197B70C040>
2023-12-21 00:18:14.531: vsengine.policy: DEBUG: Setting environment: <vapoursynth.EnvironmentData object at 0x000002197B70C040>
2023-12-21 00:18:14.572: urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): slow.pics:443
2023-12-21 00:18:15.678: urllib3.connectionpool: DEBUG: https://slow.pics:443 "GET /comparison HTTP/1.1" 200 None

Only works if I delete the account stuff from settings image image

2023-12-21 00:20:52.522: urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): slow.pics:443
2023-12-21 00:20:53.691: urllib3.connectionpool: DEBUG: https://slow.pics:443 "GET /comparison HTTP/1.1" 200 None
2023-12-21 00:20:54.076: urllib3.connectionpool: DEBUG: https://slow.pics:443 "POST /upload/comparison HTTP/1.1" 200 None
2023-12-21 00:20:54.085: urllib3.connectionpool: DEBUG: Starting new HTTPS connection (2): slow.pics:443
2023-12-21 00:20:54.478: urllib3.connectionpool: DEBUG: https://slow.pics:443 "POST /upload/image HTTP/1.1" 200 2
2023-12-21 00:20:55.383: urllib3.connectionpool: DEBUG: https://slow.pics:443 "POST /upload/image HTTP/1.1" 200 2

@Kapppa pointed out that editing SLPSESSION to SLP-SESSION in toolbars/comp/toolbar.py#L230 fixes it, which did fix it according to 1 (one) test attempt image