Closed (fixed)
Project:
Views data export
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Dec 2010 at 04:07 UTC
Updated:
26 Sep 2011 at 23:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
mkennedy2d commentedI fixed the problem. My view had another display using views_datasource and once I removed it, the export started working again without any errors.
Comment #2
steven jones commentedOh interesting...
Comment #3
steven jones commentedJames, this bug is coming from your code that does that tricky loading thing that I really don't understand. Are we good to remove it?
Comment #4
mkennedy2d commentedI'm seeing this bug again, but several things have changed. I'm now using views-6.x-3.x-dev with views_data_export-6.x-3.0-beta3.
An error occurred. /batch?id=55&op=do Fatal error: Call to a member function set_display() on a non-object in (mysite)/modules/views_data_export/views_data_export.module on line 130
Can't seem to fix it this time. Any suggestions?
Comment #5
johnvI have the same error with configuration as in #4.
It only occurs with 'Batched Export' = Yes.
I use 'reverse node reference' in the view. If I clone the display, and remove al 'reverse node references', the error still exists.
Comment #6
jamsilver commentedYeah, that code has been left around for a while and is completely unnecessary. I not sure why it's causing erros here, but the following patch - which I have just applied to the 6.x-2.x and 6.x-3.x branches in cvs - removes this block of code and should therefore fix this issue!
Comment #7
mkennedy2d commentedI tried the latest 6.x-3.x with your patch, but the same error from #4 is still occurring . . . wish I had better news.
Comment #8
mkennedy2d commentedHowever, I do see a new error:
user warning: Table 'site_478.views_data_export_index_2' doesn't exist
I'm going to disable, uninstall, remove any data_export tables manually, and try again.
Comment #9
mkennedy2d commentedI started fresh, reinstalled the module, and can confirm that the table "views_data_export_index_2" is not created when enabled. Should it exist?
Comment #10
jamsilver commentedWhen views_data_export is installed the only tables that should exist are views_data_export and views_data_export_object_cache, the latter of which is just our slightly modified version of ctools_object_cache (modified to remove the per user/session dependency).
Other tables are created as and when a views_data_export display is executed, and are removed after execution has completed. In your case your export had an error during processing and so it's index table was not cleaned up. It can be safely removed.
Now that you've started afresh, is everything working properly?
Comment #11
mkennedy2d commentedThanks, but after starting fresh, I still receive the error in #4.
Comment #12
mkennedy2d commentedIt's definitely within the batched export, the one segment export works fine.
Comment #13
ezeedub commentedJust to confirm, same error here as in #8. (views 3.x-dev and views data export 3.x-dev)
Every time I run the batch, the missing table (views_data_export_index_n) is incremented by one.
Comment #14
cjdavis commentedAlso seeing the same issues as 4, 5, and 8 - same errors as well.
Comment #15
steven jones commentedWe'll keep this issue closed I think, and re-test and raise issues in other threads if needed.
Comment #16
steven jones commentedComment #18
mikedotexe commentedI've got the same issue as #8 and #13 where it says
(views_data_export_index_n) is incremented by one.
Dang, I have this working on my Dev site. Does it mean it's not cleaning up after itself or something?
I'm hoping to have this fixed by next week. Shoot.
views_data_export_plugin_display_export.inc on line 228