Files
LabelChange-server/.trae/docs/QUICK_FIX.md
2026-06-01 16:30:29 +08:00

70 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 快速解决方案 - GhostScript 64位库错误
## ⚡ 3分钟快速修复
### 步骤1下载1分钟
```
访问: https://www.ghostscript.com/download/gsdnld.html
选择: Windows (64-bit)
下载: gs9571w64.exe 或最新版本
```
### 步骤2安装1分钟
```
1. 双击 gs9571w64.exe
2. 点击 NextNextInstallFinish
3. 默认安装路径C:\Program Files\gs\gs9.57.1
```
### 步骤3验证1分钟
```powershell
# 打开PowerShell运行
gswin64c -version
# 如果看到版本号,说明安装成功!
# GPL Ghostscript 9.57.1
```
---
## ✅ 验证成功标志
```
✅ 应用程序能正常启动
✅ PDF缓存功能工作
✅ 日志中看到:"Successfully rendered PDF to bitmap using GhostScript"
✅ 条码识别返回有效结果
```
---
## ⚠️ 如果仍然出错
您的应用已支持**自动降级**
- 会自动切换到备选渲染方案
- 条码识别仍然继续工作
- 质量会降低,但功能完整
**无需操作,应用会自动处理!**
---
## 🔗 重要链接
| 资源 | 链接 |
|------|------|
| Ghostscript官网 | https://www.ghostscript.com/ |
| 下载页面 | https://www.ghostscript.com/download/gsdnld.html |
| 问题排查 | 见 GhostScript_Installation_Guide.md |
---
## 💡 记住
1. **必须是64位版本** - 您的应用是64位
2. **需要重启应用** - 安装后必须重启
3. **路径自动发现** - 无需配置路径
4. **有备选方案** - 即使失败也能工作
**祝您顺利!** 🎉