Comments (15)
If I use the src version of the js script
smt-aux-2.0.0.js
it seems to be on line 307
uncaught exception: [Exception... "Could not convert JavaScript argument"
nsresult:
"0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
http://127.0.0.1/WEB/SCRIPTS_VRAC/love/smt2/core/js/smt-aux-2.0.0.js ::
anonymous ::
line 307" data: no]
addEvent: function(obj, type, fn)
{
if (obj.addEventListener) {
obj.addEventListener(type, fn, false); /************ this line *******/
} else if (obj.attachEvent) {
obj["e"+type+fn] = fn;
obj[type+fn] = function(){ obj["e"+type+fn](window.event); };
obj.attachEvent("on"+type, obj[type+fn]);
}
},
Original comment by [email protected]
on 5 Feb 2010 at 9:14
from smt2.
[deleted comment]
from smt2.
Hello,
Please tell wich OS and Browser (name + version) you are having problems with;
and it
would be great if you could provide an URL to isolate those error(s).
For using the src versions of JavaScript core files, you must edit
/admin/sys/define.php and change line 7 -> define ('JS_PATH',
ABS_PATH."core/js/");
for this one -> define ('JS_PATH', ABS_PATH."core/js/src/");
Regards,
Luis
Original comment by [email protected]
on 5 Feb 2010 at 11:31
from smt2.
Yes sorry,
Os : Win XP SP2
browser : Firefox 3.5.7
with firebug 1.5.0
I cann't give you a test URL because I'm testing on my localhost ...
woul you want a screenshoot ? (and which screenshoot ?)
I can sent it to you by email ;)
++
Nans
Original comment by [email protected]
on 5 Feb 2010 at 1:15
from smt2.
I try something
If I load only the script Firebug don't return error
<script type="text/javascript"
src="smt2/core/js/src/smt-aux-2.0.0.js"></script>
If I load the 2 scripts
<script type="text/javascript"
src="smt2/core/js/src/smt-aux-2.0.0.js"></script>
<script type="text/javascript" src="smt2/core/js/smt-record.min.js"></script>
the error appears
????
don't understand
Original comment by [email protected]
on 5 Feb 2010 at 1:41
from smt2.
hellow
I send you an email with the link where you can test this bug
regards
Original comment by [email protected]
on 9 Feb 2010 at 2:53
from smt2.
I don't see the link to test the bug.
Again, for using the src versions of JavaScript core files, you must edit
/admin/sys/define.php and change line 7 -> define ('JS_PATH',
ABS_PATH."core/js/");
for this one -> define ('JS_PATH', ABS_PATH."core/js/src/");
Original comment by [email protected]
on 9 Feb 2010 at 5:17
from smt2.
I've sended an email on your gmail with the link.
did you recieve it ?
Original comment by [email protected]
on 9 Feb 2010 at 5:57
from smt2.
Hello
It semms it is a real problem with this function
addEvent: function(obj, type, fn)
{
if (obj.addEventListener) {
obj.addEventListener(type, fn, false); /**** FIREBUG ERROR ON FIREFOX :
uncaught exception: [Exception... "Could not convert JavaScript argument"
nsresult:
"0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
http://127.0.0.1/WEB/SCRIPTS_VRAC/love/smt2/core/js/src/smt-aux-2.0.0.js ::
anonymous
:: line 307" data: no] **********/
} else if (obj.attachEvent) {
obj["e"+type+fn] = fn;
obj[type+fn] = function(){ obj["e"+type+fn](window.event); };
obj.attachEvent("on"+type, obj[type+fn]);
}
},
--------
ON FIREFOX
obj.addEventListener(type, fn, false);
/**** FIREBUG ERROR : uncaught exception: [Exception... "Could not convert
JavaScript
argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS
frame ::
http://127.0.0.1/WEB/mysite/smt2/core/js/src/smt-aux-2.0.0.js :: anonymous ::
line
307" data: no] **********/
--------------------------------------
ON IE (line 310):
obj[type+fn] = function(){ obj["e"+type+fn](window.event); };
/***** compaioonjs ( http://www.my-debugbar.com/wiki/CompanionJS/HomePage )
This object does not support this property or method ******/
------------------
which browser did you use for your developpement ?
did you have this errors ?
regards,
Nans
Original comment by [email protected]
on 10 Feb 2010 at 8:40
from smt2.
may be a trail to follow
http://groups.google.fr/group/mozilla.dev.platform/browse_thread/thread/22d4e8d8
3c1a9d8e?pli=1
-------
I try something
just add this alert (obj+' '+type+' '+fn);
like that
addEvent: function(obj, type, fn)
{
alert (obj+' '+type+' '+fn);
if (obj.addEventListener) {
obj.addEventListener(type, fn, false);
} else if (obj.attachEvent) {
obj["e"+type+fn] = fn;
obj[type+fn] = function(){ obj["e"+type+fn](window.event); };
obj.attachEvent("on"+type, obj[type+fn]);
}
},
-------
the exception is on the "focus" event initialization...
function seems undefined ...
Original comment by [email protected]
on 10 Feb 2010 at 8:46
from smt2.
I try a little Hack ... no errors ... but no focus ...
addEvent: function(obj, type, fn)
{
// alert (obj+' '+type+' '+fn);
if (type != 'focus') {
if (obj.addEventListener) {
obj.addEventListener(type, fn, false);
} else if (obj.attachEvent) {
obj["e"+type+fn] = fn;
obj[type+fn] = function(){ obj["e"+type+fn](window.event); };
obj.attachEvent("on"+type, obj[type+fn]);
}
}
},
Original comment by [email protected]
on 10 Feb 2010 at 8:51
from smt2.
I think I've fixed this bug
In smt-record-2.0.0.js
add the function continueRecording
for example line 130
continueRecording: function()
{
smtRec.paused = false;
},
this fix the bug... But I'm not sure that the insctruction smtRec.paused =
false;
is good...
What did you think about that ?
Nans
Original comment by [email protected]
on 10 Feb 2010 at 11:05
from smt2.
Wow! My mistake; there is a function called resumeRecording, and should be
continueRecording -- this is the callback assigned to the focus event. That
function
does exactly the line you tried (smtRec.paused = false;)
I've just updated the SVN.
Thank you for your testing!
Original comment by [email protected]
on 10 Feb 2010 at 2:44
from smt2.
Original comment by [email protected]
on 10 Feb 2010 at 3:13
- Changed state: Fixed
from smt2.
ok, excellent :) No pb ;)
Original comment by [email protected]
on 10 Feb 2010 at 4:48
from smt2.
Related Issues (20)
- SWF playback shows no layers and control menu not available HOT 6
- MySql error: CMS won't display or analyze raw data HOT 4
- Could not find new (smt)2 releases. If your Internet connection is OK, maybe the server is temporarily down. HOT 8
- Metrics not recorded exept time HOT 3
- Logs older than 1 hour are Orphans HOT 5
- Nothing to run HOT 1
- Not files in ZIP HOT 1
- Horizontal scroll bar HOT 2
- Empty Log View HOT 2
- Cross domain POST - smt2 installed on one domain, tracking data from another domain HOT 2
- [deleted issue]
- Cookies and only first visit HOT 1
- Bug when using remote "storageServer" HOT 1
- no tracking HOT 15
- Creating database smt: Error. HOT 3
- Mouse movements not animated
- Mouse tracker does not record HOT 1
- Several User IDs for the same User HOT 3
- Import Logs and session lifetime HOT 7
- Click movements not recorded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smt2.