Raphael Fix on Firefox 3.6

187 views
Skip to first unread message

rodkun

unread,
Jan 27, 2010, 10:15:03 PM1/27/10
to Raphaël
We are using Raphael in our web application and was working fine.
After we upgraded from Firefox 3.5.7 to Firefox 3.6 Raphael does not
work anymore and displays the message below.

uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE)
[nsIDOMSVGTextPositioningElement.getNumberOfChars]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
http://localhost:8080/machine-applet/js/lib/raphael.js :: anonymous ::
line 1283" data: no]


Is there a way to make it work on Firefox 3.6? It's working fine in
IE6 but a lot slower.

ET

unread,
Feb 1, 2010, 3:51:58 PM2/1/10
to Raphaël
which version of raphael are you using?

ET

unread,
Feb 1, 2010, 4:01:39 PM2/1/10
to Raphaël
Oops, thought I posted more... I was wondering which version as I'm
having a similar issue.

Rod Uzumaki

unread,
Feb 1, 2010, 10:22:59 PM2/1/10
to raph...@googlegroups.com
We're using the Raphael 1.3.1, we also tried downgrading the js to a previous version but still not working.

2010/2/2 ET <erict...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "Raphaël" group.
To post to this group, send an email to raph...@googlegroups.com.
To unsubscribe from this group, send email to raphaeljs+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/raphaeljs?hl=en-GB.


Dmitry Baranovskiy

unread,
Feb 1, 2010, 10:47:10 PM2/1/10
to raph...@googlegroups.com
Works for me. Give an example.

2010/2/2 Rod Uzumaki <uzuma...@gmail.com>:

--
Best regards,
Dmitry Baranovskiy
http://dmitry.baranovskiy.com

Eric Tallman

unread,
Feb 3, 2010, 1:58:41 PM2/3/10
to Raphaël
I'm not sure where my issue is anymore... I think it may be other GWT
code contributing to a failure. A clean project using your 1.2.4
library runs just fine. I'll let everyone know if I find something.

On Feb 1, 10:47 pm, Dmitry Baranovskiy <dmi...@baranovskiy.com> wrote:
> Works for me. Give an example.
>

> 2010/2/2 Rod Uzumaki <uzumaki...@gmail.com>:


>
>
>
> > We're using the Raphael 1.3.1, we also tried downgrading the js to a
> > previous version but still not working.
>

> > 2010/2/2 ET <erictall...@gmail.com>

Dakota

unread,
Feb 9, 2010, 12:10:16 PM2/9/10
to Raphaël
I'm also having this issue, which I think is related to the upgrade to
FF3.6:

uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE)
[nsIDOMSVGTextPositioningElement.getNumberOfChars]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
https://www.aidcalculator.com/assets/carleton/carleton.graphael.js ::
anonymous :: line 2" data: no]

For example, the graphael pie chart on http://carleton.aidcalculator.com/results/
shows up with too few and wrongly positioned text labels in FF3.6, but
works fine in Webkit (Chrome, Safari), and in IE7 and 8 (though the IE
browsers have never correctly displayed the labels[0] legend circles).

I found a similar issue reported in Bugzilla at:
https://bugzilla.mozilla.org/show_bug.cgi?id=536912

Dakota

On Feb 1, 9:47 pm, Dmitry Baranovskiy <dmi...@baranovskiy.com> wrote:
> Works for me. Give an example.
>

> 2010/2/2 Rod Uzumaki <uzumaki...@gmail.com>:


>
>
>
> > We're using the Raphael 1.3.1, we also tried downgrading the js to a
> > previous version but still not working.
>

> > 2010/2/2 ET <erictall...@gmail.com>

Geoff Speicher

unread,
Feb 9, 2010, 2:04:57 PM2/9/10
to Raphaël
Found the problem. You can't append text to the drawing until the
drawing is appended to the document.

On Feb 9, 12:10 pm, Dakota <d...@dakotaryan.net> wrote:
> I'm also having this issue, which I think is related to the upgrade to
> FF3.6:
> uncaught exception: [Exception... "Component returned failure code:
> 0x80004005 (NS_ERROR_FAILURE)
> [nsIDOMSVGTextPositioningElement.getNumberOfChars]" nsresult:
> "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::https://www.aidcalculator.com/assets/carleton/carleton.graphael.js::
> anonymous :: line 2" data: no]
>

> For example, the graphael pie chart onhttp://carleton.aidcalculator.com/results/

zapnap

unread,
Feb 12, 2010, 5:38:27 PM2/12/10
to Raphaël
I'm experiencing the same thing. Only in FF3.6 thus far. If I remove
the text() I can get the graph to render, but it still errors out with
the same getNumberOfChars exception.

BadMinus

unread,
Mar 12, 2010, 9:10:38 PM3/12/10
to Raphaël
+1 I have the same thing.
When html element is hided (display:none)

Fledder

unread,
Mar 23, 2010, 9:54:25 AM3/23/10
to Raphaël
I am having this same problem, both when hiding and when not hiding in
Firefox 3.6 and even the all new Firefox 3.6.2. In IE 7, 8 and
Chrome,Safari it works fine, so I am thinking this is a Firefox bug.
One of the previous posters linked to the bug report but it is set to
solved, yet I still have the same problem :(

Dakota

unread,
Mar 24, 2010, 2:39:55 PM3/24/10
to Raphaël
This issue has been diagnosed by the developer working on the FF SVG
support at: https://bugzilla.mozilla.org/show_bug.cgi?id=536912
It should be fixed (reverted back to FF 3.5.7 handling) in an upcoming
update. Until then consider using CSS to move the target holder out of
viewport while Raphaël is loading SVG elements, or else position an
element with higher z-index in front of it. Basically avoid using
display:none; Hacky but does the trick for me.

Best, D

bpmn-dev

unread,
Mar 24, 2010, 6:41:45 PM3/24/10
to Raphaël
The same problem on 3.6
Reply all
Reply to author
Forward
0 new messages