[Script] WME Validator 1.1.20 / 03.11.2016

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby Glodenox » Wed Mar 16, 2016 10:46 am

Hmm, I've recently started having problems having WME Validator to load in Firefox 45.0 when I'm already logged in. This happens on two different computers.
The only message WME Validator gives in the browser console is "WME Validator v1.1.16: waiting for login...".
Only when I log out and log in, WME Validator loads fine for that session as the login gets triggered. So at least we know it isn't related to that. As this looks like a racing condition somewhere, I tried fixing it by putting the script to run before or after all other scripts, but neither action changed anything.

I personally use the following bit of code to check whether I still need to wait on a user login and that seems to work fine:
Code: Select all
// preceded by a check on whether the element with id user-info exists
if (!Waze.loginManager.hasUser()) {
  Waze.loginManager.events.register("login", null, exportFunction(init, unsafeWindow));
  Waze.loginManager.events.register("loginStatus", null, exportFunction(init, unsafeWindow));
  return;
}


To be absolutely safe that the event doesn't happen to be triggered between the check and registering the listener, you could also check hasUser again before actually returning, but in the time I've been using this bit of code I haven't had any issues yet.

EDIT: I've noticed that enabling the WME Toolbox makes Validator work again. Toolbox probably slows down Firefox enough for Validator to pick up that someone is already logged in. That's not really a solution though.
Last edited by Glodenox on Wed Mar 16, 2016 7:16 pm, edited 1 time in total.
Glodenox
Map Raider
Map Raider
 
Posts: 354
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 138 times
Been thanked: 410 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby nidnarb » Tue Mar 15, 2016 7:10 am

Anyway possible to get validator to stop saying roads that have a period are invalid. Example G.5 Rd NE, Q.1 Rd NE, T.7 Rd NE etc..

Thanks!

Sent from my Nexus 6P using Tapatalk
nidnarb
State Manager
State Manager
 
Posts: 156
Joined: Wed Apr 27, 2011 5:43 pm
Location: Bellingham, WA
Has thanked: 24 times
Been thanked: 49 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby BellHouse » Tue Feb 23, 2016 8:34 pm

Ratchetx wrote:Hello, good morning !, I need your help downloading the file to install offline, I'm having trouble installing from the webstore. thanks

If you first install Tampermonkey on Chrome an then follow the link for Firefox in the first post, you should be set up.
BellHouse
Waze Global Champs
Waze Global Champs
 
Posts: 3472
Joined: Sun May 12, 2013 5:57 pm
Location: Cologne / Germany
Has thanked: 790 times
Been thanked: 2466 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby Ratchetx » Tue Feb 23, 2016 3:41 pm

Hello, good morning !, I need your help downloading the file to install offline, I'm having trouble installing from the webstore. thanks
Ratchetx
Area Manager
Area Manager
 
Posts: 29
Joined: Tue Dec 13, 2011 2:05 am
Location: Paraíso, Cartago
Has thanked: 8 times
Been thanked: 5 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby PesachZ » Tue Feb 23, 2016 3:33 am

Fredo-p wrote:Expy is how they use it in ND.

That is against the national MUTCD. This needs to be discussed with the regional coordinator to determine a guidance. Match the sign vs deviate by one letter to create a uniform app experience and follow the MUTCD recommendation.

Sent from Android using Tapatalk
PesachZ
Wiki Master
Wiki Master
 
Posts: 4404
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC} {ARC}
Has thanked: 1992 times
Been thanked: 2235 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby Fredo-p » Tue Feb 23, 2016 3:18 am

Expy is how they use it in ND.
Attachments
Expy name.jpeg
(178.96 KiB) Downloaded 587 times
Fredo-p
Beta tester
Beta tester
 
Posts: 1989
Joined: Mon Aug 05, 2013 4:35 am
Location: AZ, NJ, NY, ND, CA
Has thanked: 270 times
Been thanked: 637 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby Fredo-p » Tue Feb 23, 2016 3:11 am

I'll go find it again and check. Strange, the text to speech was able to read Expy as Expressway.
Fredo-p
Beta tester
Beta tester
 
Posts: 1989
Joined: Mon Aug 05, 2013 4:35 am
Location: AZ, NJ, NY, ND, CA
Has thanked: 270 times
Been thanked: 637 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby PesachZ » Tue Feb 23, 2016 2:53 am

Fredo-p wrote:Don't know if this has been addressed, but Validator is flagging roads as a bad name with the Expressway abbreviation Expy.

That's because you should be using Expwy in the USA. Does the sign actual use Expy? If so please send a link

Sent from Android using Tapatalk
PesachZ
Wiki Master
Wiki Master
 
Posts: 4404
Joined: Mon Jul 01, 2013 12:51 am
Location: NY, USA (also NJ sometimes) {GC} {ARC}
Has thanked: 1992 times
Been thanked: 2235 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby Fredo-p » Tue Feb 23, 2016 2:50 am

Don't know if this has been addressed, but Validator is flagging roads as a bad name with the Expressway abbreviation Expy.
Fredo-p
Beta tester
Beta tester
 
Posts: 1989
Joined: Mon Aug 05, 2013 4:35 am
Location: AZ, NJ, NY, ND, CA
Has thanked: 270 times
Been thanked: 637 times

Re: [Script] WME Validator 1.1.16 / 29.01.2016

Postby jdelosa » Thu Feb 18, 2016 1:49 pm

I don't know .... It's all Greek to me.....

Sent from my XT1080 using Tapatalk
jdelosa
State Manager
State Manager
 
Posts: 306
Joined: Mon Mar 09, 2015 10:05 pm
Location: Brooklyn, NY, USA
Has thanked: 208 times
Been thanked: 110 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: irafan