Description of problem: I tested ajaxterm in fedora there it seems to working fine. i tested it from fedora13.from there i can't access the ajaxterm. I dropped a mail to ajaxterm debain maintainer (Julien). He replied with patch for firefox 3.6 version. Could please check and apply some of the fixes enabled in the Debian package and missing fedora package ? Version-Release number of selected component (if applicable): Ajaxterm-0.10.9.fc12.noarch How reproducible: try with firefox 3.6 Steps to Reproduce: 1.install ajaxterm 2.use firefox 3.5.10 - it works 3.use firefox 3.6.3 - it won't work. Actual results: unable to view ajaxterm Expected results: accessing ajaxterm Additional info:
Hi there had the same issue with Ajaxterm on Centos 5.5 (i guess). Unfortenately i've got no access to this sys from here to get the correct versions. As i remember ajaxterm was 0.10 from the repos. But the solution was: edit „sarissa.js“ line around 269, change XMLDocument.prototype.readyState = 0; to // XMLDocument.prototype.readyState = 0 probably this will breake other things, but it worked for me as quick n dirty hack.
oh and yes there was another issue if it wont start: check the python version! and change the startstring. /usr/bin/python >>>> 2.X <<<< /usr/share/ajaxterm/ajaxterm.py --port 8022 --log note also the --log option this will log some things to stdout. cheers
thanks Tom.Here is the patch Julien sent me,instead of commenting out ,this patch uses try-catch. Following patch worked for me. ------ This is a problem in sarissa, which can be fixed easily with this patch: --- a/sarissa.js +++ b/sarissa.js @@ -265,7 +265,13 @@ * <li>3 == INTERACTIVE,</li> * <li>4 == COMPLETED</li></ul> */ - XMLDocument.prototype.readyState = 0; + try { + XMLDocument.prototype.readyState = 0; + } catch(e) { + // XXX on some browsers (Firefox 3.6 at least) this fails, + // however I think this is rarely a problem so we just + // ignore it here... + }; /** * <p>Emulate IE's parseError attribute</p> */ ------ You can get the list of other ajaxterm patches from here. http://git.kirya.net/?p=ajaxterm.git
(In reply to comment #2) > oh and yes there was another issue if it wont start: > > check the python version! and change the startstring. > > /usr/bin/python >>>> 2.X <<<< /usr/share/ajaxterm/ajaxterm.py --port 8022 --log > > note also the --log option this will log some things to stdout. > > cheers Sorry I can't understand this . Currently my python version is 2.6.2. Are you saying it won't version less than 2.6.2 or higher than 2.6.2? Just trying to understand ajaxterm issues little better. :)
no but it may be possible that it tries to start a python interpreter which isn't available on the box (version mismatch). So just check /etc/init.d/ajaxterm if the given paython interpreter is really installed :) Thanks for your patch, I'll try this tonight at home.
forget about the python stuff above. I messed up some gentoo stuff with fedora stuff. all my fault. please ignore. Ticket may be closed.
(In reply to comment #6) > forget about the python stuff above. I messed up some gentoo stuff with fedora > stuff. all my fault. please ignore. > no problems > Ticket may be closed. No :) though issue is fixed for me - Just awaiting response from Fedora Ajaxterm maintainers ,whether they will include,-if they already not included- patches available on debian,which will help other fedora users.
Thanks for your request. I'm willing to include the debian patches. I'm a bit short on time though, so it can take a while. If you could help me a little by comparing the versions of Ajaxterm on Debian and Fedora and either attach the patches to this bz or check them into the fedora git repo that would be great.
sure,I'll checkout the difference between Debian and Ajaxterm version & submit the patches.where can i find ajaxterm fedora repo url ?
http://pkgs.fedoraproject.org/gitweb/?p=Ajaxterm.git;a=summary
Created attachment 452681 [details] Fix for sarissa.js and Firefox 3.6
Created attachment 452682 [details] fix for severe security issue
Created attachment 452683 [details] uft8 support
Created attachment 452685 [details] bugfixes-tweaks-by-blt
As i'm not sure about your git commit procedure.I addded them here.I found following patches from debian missing in fedora.Upload few (20,25,30,35) above. Let me know ,if you need the remaining patches ,if its applicable for fedora > 05_ssh-port.diff > 06_fix-IOError.diff > 20_bugfixes-tweaks-by-blt.diff > 25_CVE-2009-1629.diff > 30_utf8-support.diff > 35_fix-sarissa.diff > 40_more-ctrl-catches.diff
Thanks for the patches! I should have some spare time to create at least a package for rawhide this week.
Ok, I finally had some time today to work on this, and did a major cleanup of the package. I've added all Debian patches, and some documentation as well. Please give it a try: http://koji.fedoraproject.org/koji/buildinfo?buildID=200804
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Ajaxterm-0.10-13.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/Ajaxterm-0.10-13.fc14
Ajaxterm-0.10-13.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/Ajaxterm-0.10-13.fc13
Ajaxterm-0.10-13.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
Ajaxterm-0.10-13.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.