Skip to content

在PS2023出现导出失败报错,其它版本没问题 #119

@MGRoid

Description

@MGRoid

All log:
read option from C:\ProgramData\labelplus_script\lp_ps_script.iniOK
Start import process!!!
Properties start ------------------
actionGroup:
dialogOverlayLabelGroups:
dialogOverlayTolerance: 16
docTemplate: 0
docTemplateCustomPath:
font: AaDonutsNon-CommercialUse
fontSize: 12
groupSelected: 框内,框外
ignoreNoLabelImg: false
imageSelected: [object Object],[object Object],[object Object]
lpTextFilePath: D:\LabelPlus_1.3.0\A\翻译_0.txt
noLayerGroup: false
notClose: false
outputLabelIndex: false
outputType: 0
source: D:\LabelPlus_1.3.0\A
target: D:\LabelPlus_1.3.0\A\output
textDirection: 0
textLeading: 0
textReplace:
Properties end ------------------
parse lptext done...
parse textreplace done...
auto match template: /c/Software/Hobby/Adobe/Adobe%20Photoshop%202023/Presets/Scripts/LabelPlus_PS-Script_1.7.3\ps_script_res\zh.psd
1.png(1.png)in processing...
import label 1...
All log:

Unexpected Error:
Message: 用户取消了操作
File: /c/Software/Hobby/Adobe/Adobe Photoshop 2023/Presets/Scripts/LabelPlus_PS-Script_1.7.3/LabelPlus_Ps_Script.jsx
Line: 9760
Error Name: Error
Error Number: 8007
Line: (9751) artLayerRef.kind = LayerKind.TEXT;
Line: (9752) textItemRef = artLayerRef.textItem;
Line: (9753) }
Line: (9754) if (topts.size)
Line: (9755) textItemRef.size = topts.size;
Line: (9756) if (topts.font)
Line: (9757) textItemRef.font = topts.font;
Line: (9758) if (topts.direction)
Line: (9759) textItemRef.direction = topts.direction;
Line: (9760) >> textItemRef.position = Array(UnitValue(doc.width.as("px") * x, "px"), UnitValue(doc.height.as("px") * y, "px"));
Line: (9761) if (topts.lgroup)
Line: (9762) artLayerRef.move(topts.lgroup, ElementPlacement.PLACEATBEGINNING);
Line: (9763) if ((topts.lending) && (topts.lending != 0)) {
Line: (9764) textItemRef.useAutoLeading = true;
Line: (9765) textItemRef.autoLeadingAmount = topts.lending;
Line: (9766) }
Line: (9767) artLayerRef.name = text;
Line: (9768) textItemRef.contents = text;
Line: (9769) return artLayerRef;
Line: (9770) }

[LabelPlus_Ps_Script.jsx]
anonymous([Object:[object Object]])
exec()
runProcess([Object:[object Object]],undefined)
process([Object:[object Object]],undefined)
exceptionMessage([Error:\u9519\u8BEF: \u7528\u6237\u53D6\u6D88\u4E86\u64CD\u4F5C])

Log File:C:\ProgramData\labelplus_script\lp_ps_script.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions