In myth auto search function is not working

A forum for dicussing all matters related to the tain.
Post Reply
User avatar
Omicron
Posts: 217
Joined: Fri Apr 13, 2007 1:16 am
Location: Sea of Tranquility

In myth auto search function is not working

Post by Omicron »

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
punkUser
Site Admin
Posts: 1049
Joined: Fri Oct 01, 2010 12:58 am

Re: In myth auto search function is not working

Post by punkUser »

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?
User avatar
Omicron
Posts: 217
Joined: Fri Apr 13, 2007 1:16 am
Location: Sea of Tranquility

Re: In myth auto search function is not working

Post by Omicron »

Yes, it was a silly question. :P


EDIT: Added the razz.
This message delivered by Interplanetary Telegraph Service
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: In myth auto search function is not working

Post by Pyro »

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.
jason_ac
Posts: 132
Joined: Thu Jan 02, 2014 2:51 am
Location: USA
Contact:

Re: In myth auto search function is not working

Post by jason_ac »

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
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Re: In myth auto search function is not working

Post by Pyro »

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.
jason_ac
Posts: 132
Joined: Thu Jan 02, 2014 2:51 am
Location: USA
Contact:

Re: In myth auto search function is not working

Post by jason_ac »

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
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: In myth auto search function is not working

Post by Melekor »

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: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: In myth auto search function is not working

Post by Melekor »

I think I got it working again, in a hacky way. Myrd, please take a look when you have a chance.
jason_ac
Posts: 132
Joined: Thu Jan 02, 2014 2:51 am
Location: USA
Contact:

Re: In myth auto search function is not working

Post by jason_ac »

Just tried it, worked for me!
For manuals and tips about Myth, visit http://tinyurl.com/MythGuides
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Re: In myth auto search function is not working

Post by Myrd »

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 "%>")
User avatar
Melekor
Site Admin
Posts: 2449
Joined: Sat May 01, 2004 12:10 am
Contact:

Re: In myth auto search function is not working

Post by Melekor »

Yes, that seems to do the trick. What does that syntax mean?
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Re: In myth auto search function is not working

Post by Myrd »

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.
Post Reply