In myth auto search function is not working

A forum for dicussing all matters related to the tain.

Moderator: Doobie

In myth auto search function is not working

Postby Omicron » Mon Jan 06, 2014 7:38 pm

Like the title says, that feature that will bring up the tain page for a plug doesn't seem to be working. It would not find Emond's Field or Defend the Fort.
This message delivered by Interplanetary Telegraph Service
Omicron
 
Posts: 217
Joined: Fri Apr 13, 2007 1:16 am
Location: Sea of Tranquility

Re: In myth auto search function is not working

Postby punkUser » Wed Jan 08, 2014 1:41 pm

Perhaps silly question, but are you sure the exact versions that were being played in the game you were trying to join are on the tain?
punkUser
Site Admin
 
Posts: 1048
Joined: Fri Oct 01, 2010 12:58 am

Re: In myth auto search function is not working

Postby Omicron » Mon Jan 13, 2014 12:59 am

Yes, it was a silly question. :P


EDIT: Added the razz.
This message delivered by Interplanetary Telegraph Service
Omicron
 
Posts: 217
Joined: Fri Apr 13, 2007 1:16 am
Location: Sea of Tranquility

Re: In myth auto search function is not working

Postby Pyro » Tue Feb 11, 2014 10:45 pm

If the Tain is down at the moment you try to use that feature it won't work. If the plugin is not at the Tain (different version or corrupt) that would be another reason as Punkuser pointed out. Another possibility is some bug. In the past a few plugins were not findable due to a bug that has since been fixed. Maybe the plugin you are trying to find is different case of such a bug.

If you find that the plugin is at the Tain but can't be found through the missing plugins dialog, please let us know.
User avatar
Pyro
Bug Finder Extraordinaire
 
Posts: 4622
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: In myth auto search function is not working

Postby jason_ac » Tue Feb 11, 2014 11:25 pm

Pyro wrote:If the plugin is not at the Tain (different version or corrupt) that would be another reason

So far everytime I've used that "lookup" arrow, it says "not found". Perhaps every person I've tried it on was using a different version than the Tain.
For manuals and tips about Myth, visit http://tinyurl.com/MythGuides
jason_ac
 
Posts: 130
Joined: Thu Jan 02, 2014 2:51 am
Location: USA

Re: In myth auto search function is not working

Postby Pyro » Wed Feb 12, 2014 12:09 am

Well maybe its due to some of the recent issues the Tain has been having with the hosting company. Could be that the Tain lookup is somehow broken.
User avatar
Pyro
Bug Finder Extraordinaire
 
Posts: 4622
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: In myth auto search function is not working

Postby jason_ac » Thu Feb 20, 2014 3:34 pm

I'm starting to think this feature doesn't work anymore. I have never seen it work, and that's with a variety of plugins. Could they ALL be old versions? Anyone want to run a test with me? My autohost is up right now, and currently on a map that requires ffaleaguepackv3 (http://tain.totalcodex.net/items/show/m ... e-map-pack)
For manuals and tips about Myth, visit http://tinyurl.com/MythGuides
jason_ac
 
Posts: 130
Joined: Thu Jan 02, 2014 2:51 am
Location: USA

Re: In myth auto search function is not working

Postby Melekor » Thu Feb 20, 2014 8:13 pm

The result returned by http://tain.totalcodex.net/plugins/find seems to have an extra leading newline which it didn't have before, and myth considers this an invalid result. I'll see what I can do, but we might need myrd to fix it.
User avatar
Melekor
Site Admin
 
Posts: 2076
Joined: Sat May 01, 2004 12:10 am
Location: British Columbia

Re: In myth auto search function is not working

Postby Melekor » Thu Feb 20, 2014 9:07 pm

I think I got it working again, in a hacky way. Myrd, please take a look when you have a chance.
User avatar
Melekor
Site Admin
 
Posts: 2076
Joined: Sat May 01, 2004 12:10 am
Location: British Columbia

Re: In myth auto search function is not working

Postby jason_ac » Thu Feb 20, 2014 9:58 pm

Just tried it, worked for me!
For manuals and tips about Myth, visit http://tinyurl.com/MythGuides
jason_ac
 
Posts: 130
Joined: Thu Jan 02, 2014 2:51 am
Location: USA

Re: In myth auto search function is not working

Postby Myrd » Thu Feb 27, 2014 11:42 pm

Melekor wrote:I think I got it working again, in a hacky way. Myrd, please take a look when you have a chance.


Does reverting your change and changing the first line of app/views/plugins/find.rhtml to <%# coding: utf-8 -%> fix it too? (Note the "-%>" at the end instead of just "%>")
Myrd
Site Admin
 
Posts: 3678
Joined: Fri Mar 19, 2004 10:17 pm

Re: In myth auto search function is not working

Postby Melekor » Fri Feb 28, 2014 11:27 am

Yes, that seems to do the trick. What does that syntax mean?
User avatar
Melekor
Site Admin
 
Posts: 2076
Joined: Sat May 01, 2004 12:10 am
Location: British Columbia

Re: In myth auto search function is not working

Postby Myrd » Fri Mar 07, 2014 10:19 pm

Melekor wrote:Yes, that seems to do the trick. What does that syntax mean?


The - tells the template interpreted to not include any trailing whitespace on that line in the output. Otherwise, the newline character at the end of that line will get send as part of the output causing the issue.
Myrd
Site Admin
 
Posts: 3678
Joined: Fri Mar 19, 2004 10:17 pm


Return to Tain General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest