Needs work
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2013 at 23:20 UTC
Updated:
25 Mar 2013 at 08:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
skchan2 commentedim getting the same error. any quick fix?
Comment #2
augustus.kling commentedThe reason for the failure is that an existing update was not compatible with the current version of the code. You could have updated incrementally (one update after the other and update the code in the same pace) or use a version of the openlayers module that includes commit 08548bc6b6dfda65a6750f117ecc013442afd1be. Speaking less technical, a version older than this comment.
Please test and close.
If any problem persists please provide a stack trace that shows the failed update. To do so apply stack_for_watchdog.patch to Drupal's root and copy the trace from the log entry as accessible from ?q=admin/reports/dblog. This gives information to debug more efficiently.
Comment #3
cesareaugusto commented@augustus.kling: I upgraded to the today dev then ran update.php....... It works like a charme now! Thank you very much!
Comment #4
augustus.kling commentedThanks for testing and confirming.
Comment #5
sheldon rampton commentedI'm getting a very similar error message, even after updating to the latest version of OpenLayers (commit a6bd2cd9d994ede2537798f16df5e7f81b69ebdf). My error occurs at openlayer update #7204, not #7206, but it seems so similar to the error noted above that I thought I should reopen this ticket rather than create a new one.
I was able to get past the error message by rewinding my Openlayers module to an older version that whose latest update number was #7205, using:
After running update.php, I went
and then ran update.php a second time to perform updates #7206-7208.
The following stack trace shows what I was getting before I did the workaround described above to get it working:
Comment #6
augustus.kling commentedThanks a lot for this in-depth report and for taking the time to report even though you have been able to work around the issue yourself.
It's very likely that the error you're getting is because I simply forgot a call to openlayers_update_create_projection_table in openlayers_update_7204. I'll recheck and probably fix this sometime tomorrow.
Comment #7
augustus.kling commentedSheldon, please check if 9a0e2c285adc8b1ce53ab36f5e2d3db0e56f2336 fixes your problem.
Comment #8
dpw commentedI was getting the same error as Sheldon for openlayer update #7204, and 9a0e2c285adc8b1ce53ab36f5e2d3db0e56f2336 seemed to resolve the problem... the whole update completed without throwing an exception. I was updating my instance to the latest dev of Cartaro (March 15) when I encountered this error.
Comment #9
sheldon rampton commentedAugustus, I can't check to see if 9a0e2c285adc8b1ce53ab36f5e2d3db0e56f2336 fixes my problem because my problem was already resolved with the workaround that I resolved previously, and I don't have a copy of the website in the exact previous state that I would need to test from. However, it sounds like dpw has confirmed that your fix worked.
Comment #10
facine commentedThis patch works for me: http://drupal.org/node/1943968#comment-7182212
Regards
Comment #11
augustus.kling commentedSheldon & dpw, thanks for the information. Let's assume your problem is fixed because neither you nor I can reproduce it any more.
facine, please refer to the comments of Pol and me in http://drupal.org/node/1943968 for our reasons not to include the patch. Whilst it may help instantly we fear it incurs unnecessary maintenance in the long run.