[Script] WME MagicWand

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, Glodenox, JustinS83

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 MagicWand

Postby wasd42 » Tue Mar 06, 2018 10:53 am

JustinS83 wrote:What is this supposed to look like? I just get a giant orange-yellow circle and the editor slows to a crawl


LOL, apparently not like that :D
[ img ]

Probably, there is a conflict with other plugins. JustinS83 and bz2012, could you post a list of the enabled WME plugins, please? I'll try to reproduce the issue.
wasd42
Area Manager
Area Manager
 
Posts: 37
Joined: Sun Sep 09, 2012 6:19 pm
Location: Moscow, Russia
Has thanked: 13 times
Been thanked: 44 times

Re: [Script] WME MagicWand

Postby JamieJ98 » Tue Mar 06, 2018 1:32 pm

when i press click to start magic wand nothing happens
JamieJ98
Map Editor - level 2
Map Editor - level 2
 
Posts: 56
Joined: Tue Aug 29, 2017 4:04 pm
Has thanked: 7 times
Been thanked: 6 times

Re: [Script] WME MagicWand

Postby bz2012 » Tue Mar 06, 2018 7:34 pm

wasd42 wrote:....

Probably, there is a conflict with other plugins. JustinS83 and bz2012, could you post a list of the enabled WME plugins, please? I'll try to reproduce the issue.


I appended a list of my extensions to my previous posting. The first item on the list was causing a new problem today.... No changes I made to PURs (or anything else) would show on the 'Save' button, nor would pressing that button do anything in WME. WME beta worked ok.
State Manager, Louisiana
bz2012
Map Raider
Map Raider
 
Posts: 1595
Joined: Wed Nov 23, 2011 4:32 pm
Location: Baton Rouge, La
Has thanked: 1918 times
Been thanked: 310 times

Re: [Script] WME MagicWand

Postby lg1992 » Fri May 04, 2018 12:04 pm

The recent changes in WME broke the MagicWand. When I select a place, no controls of the MagicWand appear. If I click the Delete icon, appearance of the place changes, but the Save icon stays disabled. Only after I do some additional map edit (for example, change a segment geometry), the Save icon gets enabled with the counter 2. Force starting the MagicWand doesn't change anything.

The developer console shows similar exceptions both on a place selection and a place deletion:
Uncaught TypeError: Cannot read property 'length' of undefined

Tested both on regular and beta WME, with all other add-ons disabled, Chrome on Windows 10, Israel server.
Leonid, Country Manager, Israel
lg1992
Country Manager
Country Manager
 
Posts: 3936
Joined: Fri May 04, 2012 9:50 am
Has thanked: 221 times
Been thanked: 746 times

Re: [Script] WME MagicWand

Postby doctorkb » Sun May 06, 2018 4:16 am

I thought it might have just been me that was missing this one. :(

I've found that the last thing WMEMW says to me is:
Code: Select all
Something is broken, cannot locale active editor for far too long

from line 316.

I'm just starting to see if the answer is obvious from there...

Found one thing that gets us a little closer. Updating occurrences of this:
Code: Select all
W.selectionManager.selectedItems

with this:
Code: Select all
W.selectionManager._selectedFeatures


(used in exactly the same way)

Brings us to this:
Code: Select all
Uncaught TypeError: points.clone is not a function

pointing at line 581:
Code: Select all
best = points.clone();


And now... I'm stuck.
Waze Global Champ
Country Manager: Canada
Area Manager: Edmonton, AB; Prince George, BC; Maui, HI; Georgetown, KY and various places in between
doctorkb
Waze Global Champs
Waze Global Champs
 
Posts: 4252
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 640 times
Been thanked: 1673 times

Re: [Script] WME MagicWand

Postby JustinS83 » Mon May 07, 2018 6:45 pm

wasd - you have a pending pull request which should fix the parts necessary to get the script working since the WME updates.
Script Writing Community Coordinator
[ img ][ img ][ img ][ img ][ img ]
JustinS83
Waze Global Champs
Waze Global Champs
 
Posts: 1337
Joined: Wed Dec 03, 2014 4:33 am
Location: Franklin, OH
Has thanked: 339 times
Been thanked: 2370 times

Re: [Script] WME MagicWand

Postby PMG801 » Thu May 10, 2018 7:53 am

MagicWand is broken :(
PMG801
 
Posts: 477
Joined: Mon Sep 14, 2015 5:04 am
Has thanked: 25 times
Been thanked: 31 times

Re: [Script] WME MagicWand

Postby krizecek » Thu May 17, 2018 10:34 am

Someone will correct this script? we use it a lotThank you
krizecek
Area Manager
Area Manager
 
Posts: 95
Joined: Thu Nov 27, 2014 9:04 pm
Has thanked: 82 times
Been thanked: 38 times

Re: [Script] WME MagicWand

Postby doctorkb » Thu May 17, 2018 2:57 pm

It looks like @wasd42 hasn't logged in since late April. Not sure if he's still wazing or just on holidays.
Waze Global Champ
Country Manager: Canada
Area Manager: Edmonton, AB; Prince George, BC; Maui, HI; Georgetown, KY and various places in between
doctorkb
Waze Global Champs
Waze Global Champs
 
Posts: 4252
Joined: Wed Nov 04, 2009 9:17 am
Location: Edmonton, Alberta, Canada
Has thanked: 640 times
Been thanked: 1673 times

Re: [Script] WME MagicWand

Postby VapormaniaMD » Tue Jun 19, 2018 12:02 pm

Looks like script author has completed pull request with fixes to current problems...
let's hope he will publish it soon to Greasy Fork
VapormaniaMD
 
Posts: 37
Joined: Fri Apr 03, 2015 8:04 pm
Has thanked: 8 times
Been thanked: 0 time

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: hawkeygoal, RichardPyne