Hi,
I have the next error when trying to “Download My Posts”, I recently upgrade to the latest version v1.3.0.beta9
Job exception: undefined method `category' for nil:NilClass
a min ago
!
Job exception: Wrapped NoMethodError: undefined method `category' for nil:NilClass
a min ago
The thing is some users are able to do it but not all of them, those who can not leave the above traces in the log
Is there any setting or config I am missing?
Thanks in advance
eviltrout
(Robin Ward)
2015 年5 月 13 日 20:37
2
cc @techAPJ so he can look into his one
1 个赞
techAPJ
(Arpit Jalan)
2015 年5 月 14 日 06:08
3
I am unable to repro this issue here on meta or locally. Can you provide complete error log?
riking
(Kane York)
2015 年5 月 14 日 06:41
4
Specifically, the top of the backtrace tab.
Hi,
The requested logs are here:
This one is for the “Job exception: undefined method `category’ for nil:NilClass”
/fjord/discourse/app/jobs/regular/export_csv_file.rb:137:in `get_user_archive_fields'
/fjord/discourse/app/jobs/regular/export_csv_file.rb:47:in `block in user_archive_export'
/fjord/discourse/app/jobs/regular/export_csv_file.rb:46:in `map'
/fjord/discourse/app/jobs/regular/export_csv_file.rb:46:in `user_archive_export'
/fjord/discourse/app/jobs/regular/export_csv_file.rb:30:in `execute'
/fjord/discourse/app/jobs/base.rb:153:in `block (2 levels) in perform'
And this is for the trace “Job exception: Wrapped NoMethodError: undefined method `category’ for nil:NilClass”
/fjord/discourse/app/jobs/base.rb:178:in `perform'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/processor.rb:75:in `execute_job'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:127:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/fjord/discourse/lib/sidekiq/pausable.rb:81:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/server/logging.rb:11:in `block in call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/logging.rb:24:in `with_context'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/server/logging.rb:7:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:132:in `call'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/processor.rb:51:in `block in process'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/processor.rb:98:in `stats'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/sidekiq-3.3.2/lib/sidekiq/processor.rb:50:in `process'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/fjord/discourse/vendor/bundle/ruby/2.0.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
Please let me know if is there any further info needed
Thanks!
1 个赞
I can repro this on my sites, which are both at b9. haven’t looked at the error logs yet but get an error in the PM when I try to export.
1 个赞
techAPJ
(Arpit Jalan)
2015 年5 月 14 日 15:07
7
3 个赞
Thanks @techAPJ and rest of the Discourse team, keep on with the good work!
3 个赞