Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
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.
Post by russblau
On the beta editor, I can't post any comments on URs when this script is active. (I changed the permissions manually to allow it to run on beta.waze.com.) All other functions seem to operate OK, but the "Send" button is inoperative. Not a problem on production editor.

[EDIT] Console log shows the following error (every tenth of a second from when I click the Send button until I "x" out of the UR entirely):

Code: Select all

Uncaught TypeError: Cannot read property 'getID' of undefined      VM241:6724 
  uroTSTCommentAddedHandler @ VM241:6724
  uroTenthSecondTick @ VM241:7014
russblau
State Manager
State Manager
Posts: 1801
Answers: 1
Has thanked: 359 times
Been thanked: 681 times
Send a message

Post by russblau
russblau wrote:On the beta editor, I can't post any comments on URs when this script is active. (All other functions seem to operate OK, but the "Send" button is inoperative. Not a problem on production editor.
Update: This bug only occurs if I select an auto-response and then hit "Send" without any intervening editing. If I erase and then retype one character in the response, I can then send it OK.
russblau
State Manager
State Manager
Posts: 1801
Answers: 1
Has thanked: 359 times
Been thanked: 681 times
Send a message

Post by russblau
rickzabel wrote:
russblau wrote:On the beta editor, I can't post any comments on URs when this script is active. (I changed the permissions manually to allow it to run on beta.waze.com.) All other functions seem to operate OK, but the "Send" button is inoperative. Not a problem on production editor.

[EDIT] Console log shows the following error (every tenth of a second from when I click the Send button until I "x" out of the UR entirely):

Code: Select all

Uncaught TypeError: Cannot read property 'getID' of undefined      VM241:6724 
  uroTSTCommentAddedHandler @ VM241:6724
  uroTenthSecondTick @ VM241:7014
I did not look in to why this error is happening but both of those are from URO not URC.
Hmm, you're right. Disabling URO+ does stop the console errors from appearing, but does not fix the bug; auto-text in the UR box still can't be saved until it has been edited.
russblau
State Manager
State Manager
Posts: 1801
Answers: 1
Has thanked: 359 times
Been thanked: 681 times
Send a message

Post by RussPA
AquaZR1 wrote:I had to disable the auto-zoom in and auto-center as it was taking me elsewhere every time. Anyone else seeing this behavior?
I am still seeing this issue. If I turn off auto zoom but leave on auto center, when I click a UR, about half the time it does not auto center, my screen just stays as it was. If I close the UR window and click that UR again, it does auto center. Seems to be random on when it chooses to auto center or not. So it appears the problem is with auto center, not auto zoom.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
rickzabel wrote:I have not and did not plan on doing anything to attempt to fix this. I think it's conflict between scripts, if you have uro installed disable it and see if the issue still happens.
The problem goes away if URO is disabled. I even tried disabling all the options in URO and leaving it enabled, but the problem still happens.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
ojlaw wrote:i can't see any pills. is that just me or do other people have this problem? thanks!
See this post. URO+ generates those images, not URC.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
abc1357 wrote:I see that URComments was updated to 1.7.4 today, but it's not loading for me, even with all scripts off. WME on Chrome.
Same here, huge list of errors on the console (just a few here):
VM2557:59 Syntax error @ "WME URComments (Stable)"!
##########################
JSHINT output:
require: (W058) Missing '()' invoking a constructor on line: 52 at character: 33
require: (W058) Missing '()' invoking a constructor on line: 53 at character: 30
require: (W058) Missing '()' invoking a constructor on line: 54 at character: 34
require: (W058) Missing '()' invoking a constructor on line: 55 at character: 29
require: (W058) Missing '()' invoking a constructor on line: 56 at character: 29
require: (W032) Unnecessary semicolon on line: 61 at character: 6
require: (W041) Use '===' to compare with 'null' on line: 78 at character: 23
require: (W041) Use '===' to compare with 'false' on line: 92 at character: 64
require: (W030) Expected an assignment or function call and instead saw an expression on line: 121 at character: 127
require: (W032) Unnecessary semicolon on line: 257 at character: 6
require: (W032) Unnecessary semicolon on line: 333 at character: 6
require: (W032) Unnecessary semicolon on line: 354 at character: 6
require: (W032) Unnecessary semicolon on line: 385 at character: 6
require: (W032) Unnecessary semicolon on line: 484 at character: 6
script: (E058) Missing semicolon on line: 31 at character: 76
script: (W030) Expected an assignment or function call and instead saw an expression on line: 31 at character: 77
script: (E058) Missing semicolon on line: 31 at character: 85
script: (W030) Expected an assignment or function call and instead saw an expression on line: 31 at character: 86
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
I would agree. Even if I just leave a UR open on my screen, after about a minute or two the WME tab slows to a complete crawl. No problems otherwise if I don't have a UR open.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
Any progress on identifying or fixing the memory leak issue? I keep getting "Aw snap" message if I leave a UR open for too long.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator

Post by RussPA
This script updated for me to v1.7.9, and now my custom comment files give me the "Your comments file Custom is outdated, has errors..." error. The first post here still shows v1.7.2. What has changed?

EDIT: NM, I had the custom comments scripts disabled in Tampermonkey. Still curious about a change log, though.
RussPA
Waze Global Champs
Waze Global Champs
Posts: 4014
Answers: 4
Has thanked: 226 times
Been thanked: 871 times
Send a message

Assistant Regional Coordinator - NOR
Global Champ - US
WME Beta Community Coordinator