"Find in Project" for Redcar [v0.4.1] doesn't seem to work on Jaunty
Reported by Eduardo Garibay | August 24th, 2010 @ 07:26 PM
I recently upgraded to the latest redcar and when I started using the new built in "Find in Project" I got a "JSON is not defined" alert message. I had v0.3.8.1 prior to the update and it was working just fine. So I thought it was that it didn't upgraded correctly, so I uninstalled all of the previous versions and also removed the ~/.redcar from my directory, then installed the latest version again only giving me the same result.
I thought the problem was because I had the Find in project plugin from github but after removing this plugin it didn't do anything. I don't know why I got this problem after the update. I also went back to the previous version and now it doesn't seem to work either.
Comments and changes to this ticket
-
Chris Nelson November 14th, 2010 @ 12:48 AM
So I'm not sure why this doesn't happen to everyone, but it seems quite obvious why it's happening and actually proved quite easy to fix when I checked out the code. In the html loaded by the webview for this (and other) plugins, the only javascript included is jquery. Adding a line to include json2.js so JSON is defined fixed the problem for me. I'll fork and commit this, but I'm not sure if this was the best way to fix, or how everyone else is able to see JSON from javascript when it doesn't appear to load it.
-
tim.felgentreff (at student.hpi.uni-potsdam) November 15th, 2010 @ 05:01 AM
Are you really talking about version 0.4.1? Because that has been outdated for 2 months. Could you try again on 0.8.1?
-
tim.felgentreff (at student.hpi.uni-potsdam) November 15th, 2010 @ 05:02 AM
On another note, Find-in-project will be replaced by a lucene based search (hope it happens for 0.9 - I'm looking at you, Dan Lucraft :D ).
-
Eduardo Garibay November 15th, 2010 @ 03:39 PM
Yeah, this problem was when I had v0.4.1
I'm now using v0.8.1 and on the latest Ubuntu v10.10 and I haven't had as many problems as before. Though it does seem that the current Find and replace doesn't searches throughout the entire project. I have done some searches with it and got no results, but when I perform the same search on github, I get plenty of matches. But I guess this is a 0.8.1 bug which (hopefully) will be fixed with the new lucene based search that tim mentioned :)
-
Chris Nelson November 17th, 2010 @ 08:46 PM
This error happens for me on latest .9 dev code from git. I've fixed it in my fork. It seems that for whatever reason, the Safari renderer my mac is using does not include JSON.
-
rain November 24th, 2010 @ 11:05 AM
Hi Chris
Can you give more details on how to fix this problem? which file should I add the line 'include json2.js' (in ubuntu)
both my office/home desktop works ,but my colleague got this problem. all install redcar 0.8.1 , very strange
thx~
-
tim.felgentreff (at student.hpi.uni-potsdam) February 19th, 2011 @ 01:10 PM
Is this still broken? Find In Project has been completely rewritten.
-
delisa March 10th, 2011 @ 05:21 AM
- Tag changed from redcar find in project json undefined to needs info, redcar find in project json undefined
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.