guozhigq / pilipala

PiliPala 是使用Flutter开发的BiliBili第三方客户端,感谢使用。
GNU General Public License v3.0
7.3k stars 299 forks source link

首页视频卡片的视频发布时间错误 #799

Open Tecon opened 4 months ago

Tecon commented 4 months ago

问题描述

首页视频卡片中的视频发布时间错误

复现步骤

打开app,首页的视频卡片显示的视频发布时间错误

预期行为

打开app,首页的视频卡片显示的视频发布时间与视频详情页真正的发布时间一致

系统信息

HyperOS,app最新版本,

相关截图或日志

Screenshot_2024-07-04-20-44-19

Pilipala错误日志


------- 设备信息 ------- id: UKQ1.231003.002 board: taro bootloader: unknown brand: Xiaomi device: mayfly display: UKQ1.231003.002 release-keys fingerprint: Xiaomi/mayfly/mayfly:14/UKQ1.231003.002/V816.0.5.0.ULTCNXM:user/release-keys hardware: qcom host: pangu-build-component-system-60677-glgds-mfddt-17j7g isPhysicalDevice: true manufacturer: Xiaomi model: 2206123SC product: mayfly tags: release-keys type: user versionBaseOs: versionCodename: REL versionIncremental: V816.0.5.0.ULTCNXM versionPreviewSdk: 0 versionRelease: 14 versionSdk: 34 versionSecurityPatch: 2024-03-01 ------- 应用信息 ------- environment: release version: 1.0.24 appName: PiliPala buildNumber: 10243 packageName: com.guozhigq.pilipala ---------- 错误信息 ---------- PathNotFoundException: Cannot retrieve length of file, path = '/data/user/0/com.guozhigq.pilipala/cache/libCachedImageData/0ace40e0-3954-11ef-9351-c3bb47697850.webp' (OS Error: No such file or directory, errno = 2) ------- 错误堆栈 ------- Line0 _checkForErrorResponse (dart:io/common.dart:55) Line1 _File.length. (dart:io/file_impl.dart:389)

Line2 CacheManage.getTotalSizeOfFilesInDir (package:pilipala/utils/cache_manage.dart:52) Line3 CacheManage.getTotalSizeOfFilesInDir (package:pilipala/utils/cache_manage.dart:59) Line4 CacheManage.getTotalSizeOfFilesInDir (package:pilipala/utils/cache_manage.dart:59) Line5 CacheManage.loadApplicationCache (package:pilipala/utils/cache_manage.dart:30) Line6 _AboutPageState.getCacheSize (package:pilipala/pages/about/index.dart:31) ------- CUSTOM INFO -------
Tecon commented 4 months ago

好吧,这个没问题,是评论数量和发布时间挤到一起了,导致看起来发布时间特别大