Skip to content

Instantly share code, notes, and snippets.

@kevzettler
Created November 1, 2011 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevzettler/1331223 to your computer and use it in GitHub Desktop.
Save kevzettler/1331223 to your computer and use it in GitHub Desktop.
export_error
Started GET "/admin/current_site/edit" for 97.95.63.213 at 2011-11-01 17:12:38 +0000
Processing by Admin::CurrentSiteController#edit as HTML
[LocomotiveCMS] [fetch site] host = wandering-katana-74.bushi.do / wandering-katana-74.bushi.do
Rendered app/cells/admin/sub_menu/show.html.haml (2.8ms)
Rendered admin/current_site/_form.html.haml (128.4ms)
Rendered admin/shared/_form_actions.html.haml (3.3ms)
Rendered admin/shared/_head.html.haml (1.1ms)
Rendered app/cells/admin/global_actions/show.html.haml (0.8ms)
Rendered admin/shared/_header.html.haml (4.0ms)
Rendered app/cells/admin/main_menu/show.html.haml (1.0ms)
Rendered admin/shared/_footer.html.haml (0.3ms)
Rendered admin/current_site/edit.html.haml within /admin/layouts/application (177.5ms)
Completed 200 OK in 434ms (Views: 198.6ms)
Started GET "/admin/export/new" for 97.95.63.213 at 2011-11-01 17:12:51 +0000
Processing by Admin::ExportController#new as HTML
[LocomotiveCMS] [fetch site] host = wandering-katana-74.bushi.do / wandering-katana-74.bushi.do
[LocomotiveCMS] [export_template][wandering-katana-74] copying assets
[LocomotiveCMS] [export_template][wandering-katana-74] copying theme assets
[LocomotiveCMS] [export_template][wandering-katana-74] copying pages
[LocomotiveCMS] [export_template][wandering-katana-74] copying snippets
[LocomotiveCMS] [export_template][wandering-katana-74] copying content types
Completed 500 Internal Server Error in 1551ms
NameError (wrong constant name updates):
lib/locomotive/export.rb:118:in `block (2 levels) in copy_content_types'
lib/locomotive/export.rb:114:in `block in copy_content_types'
lib/locomotive/export.rb:107:in `copy_content_types'
lib/locomotive/export.rb:36:in `run!'
lib/locomotive/export.rb:48:in `run!'
app/controllers/admin/export_controller.rb:9:in `new'
lib/locomotive/middlewares/seo_trailing_slash.rb:18:in `call'
lib/locomotive/middlewares/seo_trailing_slash.rb:18:in `call'
lib/locomotive/middlewares/fonts.rb:27:in `call'
lib/locomotive/middlewares/fonts.rb:27:in `call'
lib/locomotive/middlewares/cache.rb:21:in `call'
lib/locomotive/middlewares/cache.rb:21:in `call'
@rdsoze
Copy link

rdsoze commented Dec 26, 2011

Getting the same error . Any update on this?

@kevzettler
Copy link
Author

@rdsoze what environment are you running locomotive in?

@rdsoze
Copy link

rdsoze commented Dec 26, 2011

@kevzettler Its fixed now for me. I had imported a wrongly zipped site. The complied_site.yml in my zipped theme showed one of my contents to wrongly depend on another. Hence while exporting, it was causing issues. It was expecting a BSON object id but found a string there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment