GMGraphicsMBS causing error in web app deployment on XOJO cloud

Hi,
I have web app which when I deployed on XOJO cloud with out using GMGraphics plugin was done properly but when I included this lines of code

[code]dim g as new GMGeometryMBS(ImageView3.Width,ImageView3.Height)
dim c as new GMColorRGBMBS(“white”) // white
dim image as new GMImageMBS(g, c)
image.strokeColor = new GMColorRGBMBS(“black”) // Outline color
image.fillColor = new GMColorRGBMBS(“white”) // Fill color

image.strokeWidth = 1
dim draw as GMGraphicsMBS = image.Graphics
draw.Line(0,ImageView3.Height/2,ImageView3.Width,ImageView3.Height/2)
draw.DrawPath
draw.Draw

ImageView3.Picture=image.CopyPicture[/code]

and then try to deploy it on XOJO cloud it gives following error :

[quote]An error occurred during Xojo cloud deployment.
Please wait a few minutes and try again.[/quote]

What is the problem?

Thanks

Well, our plugin may have dependencies which are not fulfilled for the cloud server.

Is there any way around it ?

did you ask Xojo’s support team?
They could check what libraries are missing…

I suggest adding a feature request to Feedback so that we can consider adding the needed libraries. If you do that, please attach the plugin to the case - even if you need to make it private.

ldd libMBSGraphicsMagick.Linux64.so

linux-vdso.so.1 =>  (0x00007fff391f3000)
libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f3ec08bd000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3ec06b9000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f3ec04a7000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3ec0172000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3ebff6a000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3ebfd4c000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3ebfa4c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3ebf750000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3ebf539000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ebf17b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3ec126c000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3ebef5d000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3ebed59000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3ebeb53000)

If you can, login via SSH and check yourself.

As you see the library has those dependencies.
I’ve no idea whether those libraries are part of the Xojo Cloud installation.
You may need to ask Xojo’s support team.

That’s good info. to add to the feature request in Feedback.

How much time will it take to add it xojo cloud after the feature request is made?

Do you have SSH?
Maybe you can login and go to the folder and use ldd on each plugin .so file to figure out what’s missing?

I don’t know how to check that. I have enabled the tunnel of xojo cloud but not able to connect it.(I’m using putty)

Well first of all, we’re all asleep at the moment (or at least we should be) as I mentioned in your request, we will review your request on Tuesday once the engineers responsible for this reach their desk.

We review requests like this to make sure the change doesn’t pose any security risk to your server or to the integrity of our management/upgrade system as most of the time installing software is not just one library on Linux, but one or more dependency libraries as well.

@devyani gaikwad – I sent a response on your private message which should fix the problem and I think eliminate the need for GMGraphicsMBS.

FWIW, you could also have used the code in your example project to draw to a picture object that you show in a WebImageView.

It works fast than previous, but still it takes time around 10-15 second to display.
Tried with both solution (web canvas and web image view)
Is it because of xojo cloud? Xojo cloud responses are pretty slow.