facebook_data_analyzer icon indicating copy to clipboard operation
facebook_data_analyzer copied to clipboard

`count_by_sender': undefined method `each' for nil:NilClass

Open verdie-g opened this issue 7 years ago • 4 comments

Hi,

I get the following error when running ./bin/facebook_data_analyzer -c data_html

Traceback (most recent call last):
	8: from ./bin/facebook_data_analyzer:34:in `<main>'
	7: from facebook_data_analyzer/lib/facebook_data_analyzer.rb:40:in `run'
	6: from facebook_data_analyzer/lib/facebook_data_analyzer.rb:40:in `each'
	5: from facebook_data_analyzer/lib/facebook_data_analyzer.rb:42:in `block in run'
	4: from facebook_data_analyzer/lib/facebook_data_analyzer/mixins/export_views_mixin.rb:13:in `export'
	3: from facebook_data_analyzer/lib/facebook_data_analyzer/mixins/export_views_mixin.rb:13:in `each'
	2: from facebook_data_analyzer/lib/facebook_data_analyzer/mixins/export_views_mixin.rb:14:in `block in export'
	1: from facebook_data_analyzer/lib/facebook_data_analyzer/view_model_generators/messages_view_model_generator.rb:230:in `message_statistics_view_model'
facebook_data_analyzer/lib/facebook_data_analyzer/messages.rb:101:in `count_by_sender': undefined method `each' for nil:NilClass (NoMethodError)

Tell me if I can give you more information.

verdie-g avatar Jun 25 '18 15:06 verdie-g

Just ran into the same issue. Any updates?

marekdlugos avatar Jul 24 '19 08:07 marekdlugos

I've created a similar project verdie-g/fb-data-analyzer. It only generates a json though.

verdie-g avatar Jul 24 '19 08:07 verdie-g

@marekdlugos will try to look at it in spare time.

Lackoftactics avatar Jul 24 '19 10:07 Lackoftactics

I've created a pull request with the fixes that were working for my recently exported data from facebook.

https://github.com/Lackoftactics/facebook_data_analyzer/pull/39

BalintPogatsa avatar Oct 11 '19 05:10 BalintPogatsa