vessillo / foxreplace

Automatically exported from code.google.com/p/foxreplace
0 stars 0 forks source link

No longer works after latest update #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install  the latest version
2. make a replacement
3. load site

What is the expected output? What do you see instead?

I expect to see the site with the text replaced. Instead either it completely 
broke the site or it put "undefined" everywhere. 

I had simple string replacement

foxreplace 0.13.0 
firefox aurora

Original issue reported on code.google.com by chiles.adrian.robinson on 3 Jul 2012 at 11:02

GoogleCodeExporter commented 9 years ago
I also attached a screenshot with what happens on my site 
(http://www.chlomo.org/chan/chloe). It doesn't save the substitutions. It saves 
the site though. 

Original comment by chiles.adrian.robinson on 3 Jul 2012 at 11:11

Attachments:

GoogleCodeExporter commented 9 years ago
the same thing happens to me. To clarify: when doing text replacement, every 
single word on the page is replaced with the word "undefined." When doing HTML 
replacement, the page fails to even display, and simply says "undefined" at the 
top of the page. This error occurs in all cases I have tested -- all uses of 
the replace function are producing this error on all pages affected by the 
function.

I'm using Firefox 13 on Win XP.

Original comment by aphe...@gmail.com on 4 Jul 2012 at 11:47

GoogleCodeExporter commented 9 years ago
I was very happy that there is going to be an update.  Unfortunately, every 
single page is filled with the word "undefined", sometimes breaking the page 
completely.  I had to use an earlier version for it to work (though not on 
vBulletin- or XenForo-powered forums).

I am using FireFox 13 on both Windows 7 and Linux Ubuntu Precise Pangolin 
(12.04)

Original comment by johnnyau88@gmail.com on 4 Jul 2012 at 2:30

GoogleCodeExporter commented 9 years ago
Same here.
It no longer works since I updated Firefox from 3.6.28 - yeah I'm a old school 
guy - to 13.0.1.
I've tried on both Windows XP and Windows Seven and experienced the same 
problem.

Original comment by nottin.n...@gmail.com on 4 Jul 2012 at 4:28

GoogleCodeExporter commented 9 years ago
Hi everyone, sorry for all the mess, but I don't know what it's happening, as 
it works in all my systems, both from source and from web-installed xpi.

As a workaround while I investigate the problem you can disable updates for 
FoxReplace and continue with the previous version with this steps:

- Type about:config in the address bar and press enter.
- Right-click -> New -> Boolean
- Name: extensions.fox@replace.fx.update.enabled
- Value: false
- Uninstall version 0.13.0
- Restart Firefox
- Install version 0.12.2 from 
https://addons.mozilla.org/firefox/addon/foxreplace/versions/?page=1#version-0.1
2.2
- Restart Firefox

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 6:27

GoogleCodeExporter commented 9 years ago
hey thanks, I appreciate it. If there's any debugging I can help with on my end 
feel free to bring something up.

Original comment by aphe...@gmail.com on 4 Jul 2012 at 6:29

GoogleCodeExporter commented 9 years ago
also another error I noticed alongside this error is the actual substitution 
settings will disappear upon saving changes. Like, I'll save changes, close the 
window, open the FoxReplace options up again.....then, in the preview window, 
where it shows the replace rules I've defined, everything looks normal, but 
when I open it up to edit, the URL remains where it belongs, but the 
replacements themselves are gone, and the "Replace HTML" option is also reset 
to "off." Seems related, thought I'd share, didn't care to submit a unique bug 
report about it though.

Original comment by aphe...@gmail.com on 4 Jul 2012 at 6:33

GoogleCodeExporter commented 9 years ago
Regarding Comment 7 : same here, but if i shift up the entry i want to edit, 
sometimes it becomes editable as normal.

Original comment by email.ak...@gmail.com on 4 Jul 2012 at 6:41

GoogleCodeExporter commented 9 years ago
I would need a list of your preferences related to FoxReplace and their values:

- Type about:config in the address bar and press enter
- Type foxreplace in the filter

You can take a screenshot if you don't want to copy them one by one.

Also any text message in the error console that appears just after opening 
Firefox or after doing a substitution:

- Open the error console: Firefox -> Web developer -> Error console
- Push "All" button

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 7:00

GoogleCodeExporter commented 9 years ago
config:

extensions.foxreplace.autoReplaceOnLoad/user set/boolean/true
extensions.foxreplace.debug/default/boolean/false
extensions.foxreplace.enableSubscription/default/boolean/false
extensions.foxreplace.replaceUrls/user set/boolean/true
extensions.foxreplace.subscriptionPeriod/default/integer/1
extensions.foxreplace.subscriptionUrl/default/string
extensions.foxreplace.substitutionListJSON/user 
set/string/{"version":"0.13","groups":[{"urls":["localhost"],"substitutions":[{"
input":"i","inputType":"text","output":"x","caseSensitive":false}],"html":false}
]}

----

console upon opening firefox:

Timestamp: 7/4/2012 3:11:48 PM
Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() 
instead.
Source File: moz-nullprincipal:{1d2a4599-da9e-45eb-b6ef-1fee54f7dd9e}
Line: 0

Timestamp: 7/4/2012 3:11:48 PM
Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() 
instead.
Source File: moz-nullprincipal:{1d2a4599-da9e-45eb-b6ef-1fee54f7dd9e}
Line: 0

Timestamp: 7/4/2012 3:11:48 PM
Warning: Use of attributes' nodeValue attribute is deprecated. Use value 
instead.
Source File: moz-nullprincipal:{1d2a4599-da9e-45eb-b6ef-1fee54f7dd9e}
Line: 0

Timestamp: 7/4/2012 3:11:48 PM
Warning: Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() 
instead.
Source File: moz-nullprincipal:{1d2a4599-da9e-45eb-b6ef-1fee54f7dd9e}
Line: 0

Timestamp: 7/4/2012 3:11:48 PM
Warning: Use of attributes' nodeValue attribute is deprecated. Use value 
instead.
Source File: moz-nullprincipal:{1d2a4599-da9e-45eb-b6ef-1fee54f7dd9e}
Line: 0

Timestamp: 7/4/2012 3:11:49 PM
Warning: XUL box for _moz_generated_content_after element contained an inline 
#text child, forcing all its children to be wrapped in a block.
Source File: chrome://browser/content/browser.xul
Line: 0

Timestamp: 7/4/2012 3:11:49 PM
Error: this.docShell is null
Source File: chrome://global/content/bindings/browser.xml
Line: 360

Timestamp: 7/4/2012 3:11:49 PM
Error: this.docShell is null
Source File: chrome://global/content/bindings/browser.xml
Line: 360

Timestamp: 7/4/2012 3:11:50 PM
Warning: nsIJSON.decode is deprecated.  Please use JSON.parse instead.

Timestamp: 7/4/2012 3:11:50 PM
Warning: WARN addons.manager: Exception calling callback: TypeError: aAddon is 
null
Source File: chrome://gmanager/content/overlay.js
Line: 87

Timestamp: 7/4/2012 3:11:50 PM
Error: no element found
Source File: chrome://browser/content/hiddenWindow.xul
Line: 3

----

console upon replacing text:

blank.

Original comment by aphe...@gmail.com on 4 Jul 2012 at 7:23

GoogleCodeExporter commented 9 years ago
I am using FireFox 13.  I cannot download the previous version.

Original comment by johnnyau88@gmail.com on 4 Jul 2012 at 7:26

GoogleCodeExporter commented 9 years ago
Oh sorry I didn't see this before I put in my issue 72. It's basically the same 
except with more detail. Can you merge my issue with this? Also, Firefox 13.0.1 
isn't allowing the previous versions of FoxReplace to be installed.

Original comment by jedi200...@gmail.com on 4 Jul 2012 at 7:43

GoogleCodeExporter commented 9 years ago
To install the previous version you may have to add a new preference in 
about:config:

- Type about:config in the address bar and press enter.
- Right-click -> New -> Boolean
- Name: extensions.checkCompatibility.13.0 (13.0 is the Firefox version, so it 
may have to be 14.0, or 15.0, etc.)
- Value: false

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 8:26

GoogleCodeExporter commented 9 years ago
Issue 72 has been merged into this issue.

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 8:30

GoogleCodeExporter commented 9 years ago
@jedi2001pk I can reproduce your problem of substitutions not showing in the 
substitution group editor. I'm trying to find what happens.

I can't yet reproduce the "undefined" problem.

To everyone: another thing that may help: go to about:config againt and set 
extensions.foxreplace.debug to true. With this some additional massages may pop 
up. Please post here if any is shown. If it gets annoying set the preference 
back to false.

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 8:37

GoogleCodeExporter commented 9 years ago
Thanks for the tip about disabling the compatibility check.

About the "undefined" not showing up on your system. Is your "auto-replace on 
page load" setting checked?

Original comment by jedi200...@gmail.com on 4 Jul 2012 at 8:43

GoogleCodeExporter commented 9 years ago
I have fixed the problem of substitutions not showing. I don't know if it is 
related to the main bug. I have attached an xpi with this fix so you can try it.

@jedi2001pk Yes, "auto-replace on page load" is checked.

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 9:18

Attachments:

GoogleCodeExporter commented 9 years ago
I installed and checked it. It seems to be working now.

Original comment by jedi200...@gmail.com on 4 Jul 2012 at 9:40

GoogleCodeExporter commented 9 years ago
Although the problem I mentioned in issue 71 is still present.

Original comment by jedi200...@gmail.com on 4 Jul 2012 at 9:41

GoogleCodeExporter commented 9 years ago
Thank you so much Marc!  It works beautifully (and it now works on vBulletin- 
and Xenforo-powered forums).

Original comment by johnnyau88@gmail.com on 4 Jul 2012 at 10:00

GoogleCodeExporter commented 9 years ago
New xpi with issue 71 fixed too. If the others can confirm that this bug is 
fixed now, I will release it officially.

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 10:34

Attachments:

GoogleCodeExporter commented 9 years ago
The new version is so much better.  Now it is possible to import and export 
XML!  Release it officially and advertise it as well by saying that it now 
works with vBulletin- and XenForo-powered forums, as well as being able to 
import and export both XML and JSON, and major bugs are fixed.  Thank you so 
much, Marc.

Original comment by johnnyau88@gmail.com on 4 Jul 2012 at 10:47

GoogleCodeExporter commented 9 years ago
In fact you can export only to JSON. XML is now read-only to allow 
transitioning from 0.12 to 0.13.

Original comment by marc.r...@gmail.com on 4 Jul 2012 at 11:24

GoogleCodeExporter commented 9 years ago
Thank you for the clarification.

Original comment by johnnyau88@gmail.com on 4 Jul 2012 at 11:54

GoogleCodeExporter commented 9 years ago
Had the same undefined issue, latest .xpi fixes it. Thanks!

Original comment by chr4...@gmail.com on 5 Jul 2012 at 9:10

GoogleCodeExporter commented 9 years ago
new xpi works perfectly for me. Tested it on text replace and HTML replace, and 
the substitution rules remain after saving changes as well. Thank you, much 
appreciated.

Original comment by aphe...@gmail.com on 5 Jul 2012 at 9:24

GoogleCodeExporter commented 9 years ago
Ok, then I will upload the new version to addons.mozilla.org now :)

Remember to remove or set to true the extensions.fox@replace.fx.update.enabled 
preference if you want to keep receiving future updates, hopefully without big 
bugs as this one ;)

Sorry for the inconveniences and thanks for your testing!

Original comment by marc.r...@gmail.com on 5 Jul 2012 at 2:38

GoogleCodeExporter commented 9 years ago
Issue 74 has been merged into this issue.

Original comment by marc.r...@gmail.com on 6 Jul 2012 at 5:20