Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
I'm having an issue parsing some Photoshop files. I've narrowed the issue down, using the TextCallback, to a textString that looks like the following: Code:<p style="space-after:2pt;"><span>EASY RETURNS</span></p><p style="space-after:2pt;"><span></span><span style="tracking:20pt;font-name: Whitney-Medium; ">online and in-store</span></p>
The exception message is: "InvalidStyleValueException: tracking-20pt" While I'm able to manually go fix this particular psd, it would be nice if there was a way to ignore style's that are invalid or don't apply to your component. I'm afraid of writing a bunch of code that strips out "tracking:0pt", "tacking:1pt", etc... Any suggestions on how I can fix this issue so I don't have to alter all our Photoshop files?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 9/19/2006(UTC) Posts: 505
Was thanked: 41 time(s) in 41 post(s)
|
Hi, Could you post here one of those files? And maybe a code if it is not straightforward. |
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
Another user got this exception: "InvalidStyleValueException: tracking--20pt" I've attached the problematic psd file. I know the psd is ugly, but I've narrowed it down to one layer, I just can't figure out what property is causing the exception. Although it would be nice if the psdProcessor just ignored styles that it might not recognize, right now I'd take an explanation so I can inform our users of what properties or styles not to use on text layers. Any help would be greatly appreciated. 20pt Problem.zip (59kb) downloaded 4 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
We confirm the bug (#469). We will fix it before Christmas. I will let you know as soon as the problem is solved. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
We fixed the problem. It will be included in the next release after 10.0.27. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
Because we can't upgrade to the new version, can you give me a hint on what the property is in Photoshop? That way we can at least trap the error and tell our users to update there PSD file?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Originally Posted by: Nifty Because we can't upgrade to the new version, can you give me a hint on what the property is in Photoshop? That way we can at least trap the error and tell our users to update there PSD file? Why can't you upgrade to the new version? The version 10 is just a bug fix of Graphics Mill 9. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
Because of the new License Server / No Internet on our side. But I believe I can alleviate some frustrations if I can at least tell them what option/property to fix in their PSD File. I can trap the error by looking for the string: "InvalidStyleValueException: tracking" I would greatly appreciate any hints as to what is causing the error (from the Photoshop Side), so I can pass that message along to our users. Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Quote:Because of the new License Server / No Internet on our side. The Graphics Mill server license doesn't require an active internet connection and sends nothing to our licensing server. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
As far as the license key issue, we were getting the error: "The response from the license server is invalid." I'll have to tackle that problem another time. Any hints on what is causing the exception in the Photoshop file though, so we can tell users?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Originally Posted by: Nifty As far as the license key issue, we were getting the error: "The response from the license server is invalid." I'll have to tackle that problem another time. The problem occurred with the initial version of Graphics Mill 10 and was fixed promptly. The Developer license only requires an Internet connection. This kind of license is used on desktop computers during the development process. The Server license for the production environment doesn't rely on our license server at all. It has an offline licensing engine. Originally Posted by: Nifty Any hints on what is causing the exception in the Photoshop file though, so we can tell users? That's our internal bug. I see no easy way to prevent it. Edited by user Thursday, November 29, 2018 8:40:32 AM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
Our users are still getting this error. I understand that the problem is fixed in the new version, but you can tell me what a Photoshop User can do to prevent this? Can we tell our users to stay away from certain text properties like horizontal spacing (for example). If they know what to avoid during the creation of the PSD, this could alleviate some frustrations from our users. I've tried to figure it out by making small changes to the PSD and processing it, but I haven't been able to figure it out.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
You can advise your users not to use tracking at all, but I am not sure whether it helps. We made a minor change in our code to fix the problem in some PSD files, but it is unclear for us which exact Photoshop settings causes the saving files with the unparsable format. Anyway, we continue to improve the PSD format support and I see no reason not to upgrade to the recent version. Edited by user Thursday, May 30, 2019 7:42:52 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.