GMGraphicsMBS causing error in web app deployment on XOJO cloud

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


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?


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 =>  (0x00007fff391f3000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ec08bd000) => /lib/x86_64-linux-gnu/ (0x00007f3ec06b9000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ec04a7000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ec0172000) => /lib/x86_64-linux-gnu/ (0x00007f3ebff6a000) => /lib/x86_64-linux-gnu/ (0x00007f3ebfd4c000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ebfa4c000) => /lib/x86_64-linux-gnu/ (0x00007f3ebf750000) => /lib/x86_64-linux-gnu/ (0x00007f3ebf539000) => /lib/x86_64-linux-gnu/ (0x00007f3ebf17b000)
/lib64/ (0x00007f3ec126c000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ebef5d000) => /usr/lib/x86_64-linux-gnu/ (0x00007f3ebed59000) => /usr/lib/x86_64-linux-gnu/ (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.