FooIbar / EhViewer

EhViewer overhauled with Material Design 3 and more, forked from https://github.com/Ehviewer-Overhauled/Ehviewer
GNU General Public License v3.0
2.19k stars 84 forks source link

打开设置->EH时闪退 #1563

Closed vexling201515 closed 6 days ago

vexling201515 commented 2 weeks ago

复现步骤 / Step to reproduce

https://github.com/user-attachments/assets/4bce009f-6d16-4530-933f-9c99b85ffde5

预期行为 / Expected behaviour

应该不闪退,以便用GP重置配额

实际行为 / Actual Behaviour

打开EH后配额数值未刷新就闪退

应用日志 / App logs

log-2024-08-26-19-45-15-678.zip

备注 / Addition details

浏览站点 / Browsing site

E-Hentai

EhViewer 版本号 / EhViewer version code

1.12.0

EhViewer CI 版本 / EhViewer CI Version

6191ad7

Android 系统版本 / Android version

Android14

设备型号 / Device model

iQOO Neo8 Pro

SoC 型号 / Soc model

3.35GHz 天玑 8200+ 八核

自查步骤 / Verify steps

FooIbar commented 2 weeks ago

E 站配额系统大改

2024-08-26

  • The cutoff for when quotas can be used on archives is now one year after the gallery was posted (increased from 30 days), matching the cutoff for the H@H downloader.

  • Extra re-creation costs are no longer applied to archives for galleries posted in the last year (increased from 30 days) or archives downloaded in the last 90 days (increased from 30 days).

  • The way the image downloading limits work have been reworked, mainly to address various issues caused by an increase in IP address sharing due to increased use of CG-NAT and VPNs.

The old system had two modes, an account-based quota for donators and an IP-based quota for everyone else. This had a few notable quirks, like how if non-donators spent GP to reset the quota, it could be consumed by someone else sharing the same IP address.

The new system has three modes:

  • Donators and people with the More Pages hathperk have an account-based quota, like what donators had before.

  • Everyone else defaults to an IP-based quota, similar to before. However;

  • People who do not have an account-based quota and spend the GP to "reset" it are now assigned a dedicated quota for 24 hours, set with a cookie-based token. Meaning that if you spend GP, the resulting quota can no longer be used by anyone else.

Furthermore, the behavior when you hit the limit has changed:

If you hit the limit while browsing normally, it will no longer error out with a 509 "bandwidth exceeded" screen as long as H@H is enabled. Instead, it will force using the 1280x resampled version even if the image size settings are set higher than this.

If you hit the limit while downloading source images, it will start automatically charging GP for this in the background like before, erroring out if you don't have any. If H@H is disabled, it will also still error out with the 509 "bandwidth exceeded" screen when browsing.

In other words, unless you have the image size setting at "prefer original images" or above 1280x, or H@H is disabled, hitting the limit while browsing will have no effect. Though you could still trigger the DDoS protection if you overdo it.

For IP-based quotas, it will no longer show what the limit is. This is intentional. It will however explicitly tell you on the home screen if your IP is currently restricted from using high-resolution images.

https://forums.e-hentai.org/index.php?showtopic=244935

mojiedepulini commented 2 weeks ago

+1,我点eh也发生闪退

FooIbar commented 2 weeks ago

闪退问题已于最新 CI 版本修复

luoshuijs commented 2 weeks ago

闪退问题已于最新 CI 版本修复

我这边遇到同样问题后使用最新的 CI 版本打开图片配额出现了解析失败的问题

应用日志 / App logs

log_2024_08_27_18_38_44.log

复现步骤 / Step to reproduce 跟 issue 同款步骤 IMG_20240827_184612

FooIbar commented 2 weeks ago

解析失败是预期的,因为 E 站不显示基于 IP 的配额了 之后会修改相关文本

yingheshiyu commented 1 week ago

我也是这样