-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Google Maps API TypeError: Unable to delete property #12836
Comments
Also happens to me with version 1.9 and 1.9.7 |
Also happens with us. We use Capybara, Poltergeist, and PhantomJS 1.9.7. For us, this is a recent issue. We temporarily fixed it by switching to the release branch of the Google maps API, but eventually the code that was causing the problem got pushed into the release version of their API. Since there are no JavaScript errors in Chrome, FireFox, or Safari on the same pages that cause PhantomJS to complain, this is most likely a bug with PhantomJS and not with the Google maps API. |
Having the same issue but while running Google Maps embedded in a PyQt4 application. The javascript runs in the QWebView widget that utilizes Qt's WebKit implementation. Was working perfectly up to two days ago until I started getting the 'Unable to delete property' error. After I set the api version back, it started working again until today where I started getting the same error but unable to fix the issue. Since I am not utilizing PhantomJS anywhere in my program, I am guessing the scope of this issue is much larger. |
As a workaround, we switched to capybara-webkit for our feature specs in our project and don't get the same error. There were minimal changes we had to make to our testing code, but it's working for now. Would still like to see a fix for phantom if possible though. |
I'm also having this issue, but somehow there's a twist to my side of the story. The issue is only reproducible on machines running Mac OS, while it seems that Linux boxes are not affected by it. The test suite is being run by Karma and PhantomJS 1.9.8 |
I'm seeing this error too, but the map does load correctly, clicking markers works too. In my app errors are caught by TraceKit and sent to the server. Server sends emails in production (where this error doesn't happen) and prints to $stderr in test and development. I only needed to silence this one little error so as not to pollute test output: TraceKit.report.subscribe(function(errorReport) {
if (window.Rails.env === "development" || window.Rails.env === "test") {
if (errorReport.message !== "Unable to delete property.") {
// http://stackoverflow.com/questions/27429129/phantomjs-javascript-errors-from-gstatic-but-not-in-browser
console.log('TraceKit report', JSON.stringify(errorReport))
}
} else {
jQuery.ajax({
url: "/report_error/",
type: "POST",
data: {
error_report: errorReport,
extra: window.loggingInformation
}
});
return true;
}
}); Does this error break some required functionality for you? |
The error is definitely breaking functionality. |
We are running Capybara+Poltergeist+PhantomJS on Mac OS X Yosemite; I don't On Tue, Dec 23, 2014 at 11:51 AM, Yaron notifications@github.com wrote:
|
we receive the errors on both OS X yosemite and in circleci (ubuntu 12.04). |
I'm seeing the same error, which is preventing our tests on Circle CI from succeeding. |
+1 Same error with phantomjs 1.9.8 on Mac OS X 10.9.5 |
With PhantomJS 2.0 this is working just fine. |
I can confirm it works for me with PhantomJS 2.0 as well, though since it's not a stable release I am worried what other things might break. You can download it from here: |
Looks like I'm hitting the error too:
My code is making this call:
The error happened one time in our dev environment and got logged. It might be PhantomJS-related (we use that for tests) or it might be Mac OSX related (all our dev machines or Macs). |
Same error with OS X Yosemite 10.10.1 (14B25), ruby 2.1.2p95, phantomjs 1.9.8, poltergeist-1.5.0. The error does not appear on travis for us. |
Using the latest experimental version of Google Maps (v3.19), which includes a workaround, fixed this problem for me: https://code.google.com/p/gmaps-api-issues/issues/detail?id=7475#c20 |
Yes, Google has provided the fix in version 3.19, but not released yet, so you have to specify version explicitly right now.
Hope it helps. |
…Yosemite. run specs: NO_JS_ERRORS=true bundle exec rake see: ariya/phantomjs#12836
Google maps 3.19, which fixes this problem (as discussed above) was released as the production version on the 17 Feb 2015, so I suggest that this issue could now be closed. |
I agree. I confirmed "Unable to delete property" error fixed. |
I also get this error when using phantom-limb
I add try catch to solve this problem
|
The entire example script will be removed, we're not going to maintain such a fragile example script. |
When using latest phantomjs 1.9.8, trying to load a web page that has a Google map results in a thrown TypeError with message "Unable to delete property". The stack trace (of minified code) is:
As of Dec 16 and v3.18, this test case worked. Also, as of Dec 10 and v3.exp everything was fine too. It was only when patch releases on maps.gstatic.com were released that we started seeing these issues. I filed a matching issue against Google Maps API too.
A simplified test case is:
The text was updated successfully, but these errors were encountered: