Launch WebPaint locally

49 views
Skip to first unread message

Dave

unread,
Oct 13, 2010, 4:41:06 PM10/13/10
to PaintWeb discussions
Howdy,

I've tried experimenting with the WebPaint application locally on my
machine, but when I launch the demo, I get the following errors:

Demo: PaintWeb initialization failed.

Error: Failed loading the configuration file.

Does anyone know why this is? Is there something else I need to do in
order to get the app running locally?

Mihai Sucan

unread,
Oct 14, 2010, 4:36:39 AM10/14/10
to Dave, PaintWeb discussions
Hello Dave!

To start PaintWeb you need a web server, like IIS or Apache. Web browsers
do not allow the loading of local files via XMLHttpRequest. The PaintWeb
code tries to load the configuration file and fails due to security
restrictions.

If you have a web server locally or remotely, simply copy-paste PaintWeb
there and you can start the demo.

Let me know if you have further questions. Thanks for trying PaintWeb!


Best regards,
Mihai

Le Wed, 13 Oct 2010 23:41:06 +0300, Dave <davidho...@gmail.com> a
écrit:

--
Mihai Sucan
http://www.robodesign.ro

MC

unread,
Sep 16, 2012, 11:05:52 AM9/16/12
to pain...@googlegroups.com, Dave
Hello,
 
Paintweb is an amazing tool that's exactly what I've been searching for but I can't get iit to work due to the initialization errors described by Dave in this thread. I'm running IIS 7.5 and get the exact same errors. Is anyone successfully running this on IIS 7.5 and if so, can you let me know what you had to do to get rid of the initialization errors? I changedf NTFS permissions to allow everything just to see if it was that, but no joy. The alerts are triggered in all browsers, not just IE 9 when running under IIS. Thank you.

arshpreet singh

unread,
Feb 28, 2014, 6:30:07 AM2/28/14
to pain...@googlegroups.com, Dave


On Thursday, 14 October 2010 14:06:39 UTC+5:30, Mihai Șucan wrote:
Hello Dave!

To start PaintWeb you need a web server, like IIS or Apache. Web browsers  
do not allow the loading of local files via XMLHttpRequest. The PaintWeb  
code tries to load the configuration file and fails due to security  
restrictions.

If you have a web server locally or remotely, simply copy-paste PaintWeb  
there and you can start the demo.

Hi Mihai,
I tried the same option as you suggested. I am using Debian LInux. First of all I copied the PaintWeb directory inside /var/www/ directory and after giving the required permissions i am able to open PaintWeb directory from browser but when I try to run demos/demo1.html and click on the "Edit Image" button nothing happens at all. No Error and no Execution.

Mihai Sucan

unread,
Feb 28, 2014, 7:04:05 AM2/28/14
to pain...@googlegroups.com, arshpreet singh
Hello!

Le 28/02/2014 13:30, arshpreet singh a écrit :
> Hi Mihai,
> I tried the same option as you suggested. I am using Debian LInux.
> First of all I copied the PaintWeb directory inside /var/www/
> directory and after giving the required permissions i am able to open
> PaintWeb directory from browser but when I try to run demos/demo1.html
> and click on the "Edit Image" button nothing happens at all. No Error
> and no Execution.

Please check the firefox web console for errors, and the network
monitor. [1]

You may also want to start the debugger and see where/why it fails.
Enable break on exception.

Good luck,
Mihai

[1] for web dev work I recommend you use firefox aurora or firefox
nightlies. they have much-improved devtools.
Reply all
Reply to author
Forward
0 new messages