This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Nifty  
#1 Posted : Friday, May 4, 2018 8:51:52 AM(UTC)
Nifty

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?

Eugene Kosmin  
#2 Posted : Sunday, May 6, 2018 6:49:06 PM(UTC)
Eugene Kosmin

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

Nifty  
#3 Posted : Friday, November 9, 2018 6:32:49 AM(UTC)
Nifty

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).

Fedor  
#4 Posted : Monday, November 19, 2018 11:27:29 PM(UTC)
Fedor

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

Fedor  
#5 Posted : Friday, November 23, 2018 8:10:32 AM(UTC)
Fedor

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

Nifty  
#6 Posted : Wednesday, November 28, 2018 2:57:04 PM(UTC)
Nifty

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?

Fedor  
#7 Posted : Wednesday, November 28, 2018 3:33:47 PM(UTC)
Fedor

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 Go to Quoted Post
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

Nifty  
#8 Posted : Thursday, November 29, 2018 6:39:02 AM(UTC)
Nifty

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.

Fedor  
#9 Posted : Thursday, November 29, 2018 8:00:15 AM(UTC)
Fedor

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

Nifty  
#10 Posted : Thursday, November 29, 2018 8:16:19 AM(UTC)
Nifty

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?

Fedor  
#11 Posted : Thursday, November 29, 2018 8:39:48 AM(UTC)
Fedor

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 Go to Quoted Post
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 Go to Quoted Post
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

Nifty  
#12 Posted : Friday, December 14, 2018 6:47:20 AM(UTC)
Nifty

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.

Fedor  
#13 Posted : Friday, December 14, 2018 7:14:01 AM(UTC)
Fedor

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

Users browsing this topic
Guest (2)
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.