"Timed out waiting for the following requests" error on sample svg files

When I tried to open my earlier created template it takes very long and eventually ends up giving me this error:

"Failed to load ‘C:\Users\svens\Connect\temp\Connectdesigner\6840\template3294439704517271552’

Here is the error log: http://pastebin.com/JQd2q9JP

Hi SvenSlijkoord,

I was recreating your issue and it’s seems that this could be a Unexpected behavior, so I just escalate this problem to our development team and I will be back to you as soon as I have news.

Thank you for report this issue,

Best Regards,

Juan

Hi Juan,

I remember now that the last time the file worked. I had just closed the designer and tried to shut down my computer. Unfortunately my laptop wouldn’t shut down, like it normally does (black screen but fans kept spinning). So I held the power button to force the shutdown. Maybe that could have done something although I closed the designer I believe the MergeEngine and WeaverEngine still run in the background.

Let me know if you need any more information, I could also give you the OL-template and OL-datamapper files that have this issue.

Kind Regards,

Sven Slijkoord

Hi SvenSlijkoord,

This Unexpected behavior will be correct directly at one of our next updates. For now a workaround is adding the .svg data as base 64 encoded string to the css. See the image below. Solution is not elegant but seems to solve the issue.

You can convert your .svg images via the following link:
http://www.opinionatedgeek.com/dotnet/tools/Base64Encode/

Add the resulting code to the following CSS property:

background-image: url(“data:image/svg+xml;base64,>>YOURBASE64ENCODEDDATAHERE<<”);

background-image:

url(“data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmo=…end of he file”);

Let me know if that resolve your issue,

Best Regards,

Juan

Hello,

How can I edit the files (where are they located) when I can’t open the project in the designer?

Kind Regards,

Sven Slijkoord

Hi Sven Slijkoord,

Normally after the prompt message that shows you the error you will be able to open and edit your files on Designer, if you cannot please make some screen shoots to better understand your issue.

This is a step by step how to add the .svg data as base 64 encoded string to the CSS.

You will open your template and get the prompt error windows, you must to click ok and continue to edit the files.

image

The CSS file that you must modify is “my-form-styles.css” as on the image below,

image

Then you should look at for your svg images like on the example below, and encoded to base64.

Then in order to encode your images, get your images from the template (to get the images you can drag/drop or copy/paste the images from the Resources panel to the file system.), and do the next steps for each image.

  1. Go to http://www.opinionatedgeek.com/dotnet/tools/Base64Encode/

  2. Select Base64 encode on the Web Tools Menu, Click on “Choose File”, and then select the image that you want to encode like on the image below.

image

  1. Click on “Encode” button and then you will have your output like on the image below.

image

  1. Now go to your “my-form-styles.css” file and edit your Background-image like on the image below.
    1. Orange line: It will be the same for all the images.
    2. Red-light line: It will be your Encode output image.

image

  1. After finish with all your svg images you save your file and can loaded again, normally you will not have any error related to SVG images after this.

I hope this will help you, just let me know if it’s works for you.

Best Regards,

Juan

Hi,

Thanks for the tutorial but I am not able to see / edit the files. Here is a screenshot of the view after the timeout has happened.

Kind Regards,

Sven Slijkoord

Hi Sven Slijkoord,

At this point, you may have a corrupted file if you cannot open it in Connect.
If you have current OLCare , you can see if your local support team can assist further or report your issue at http://planetpress.objectiflune.com/en/resources/support

Best Regards,

Juan