Can't upload images from Civitai

Posted under General

I tried to upload an image from Civitai via links but got this error instead.

Error

Unexpected error: NoMethodError.
Details

NoMethodError exception raised
app/logical/source/extractor/civitai.rb:46:in 'Source::Extractor::Civitai#tags'
app/components/source_data_component/source_data_component.html.erb:43:in 'SourceDataComponent#call'
app/helpers/components_helper.rb:55:in 'ComponentsHelper#render_source_data'
app/views/uploads/_single_asset_upload.html.erb:169
app/components/tab_panel_component/tab_panel_component.html.erb:20:in 'block (3 levels) in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:19:in 'block (2 levels) in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:18:in 'Array#each'
app/components/tab_panel_component/tab_panel_component.html.erb:18:in 'block in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:1:in 'TabPanelComponent#call'
app/views/uploads/_single_asset_upload.html.erb:125
app/helpers/application_helper.rb:301:in 'block in ApplicationHelper#edit_form_for'
app/helpers/application_helper.rb:290:in 'ApplicationHelper#edit_form_for'
app/views/uploads/_single_asset_upload.html.erb:120
app/views/uploads/_single_asset_upload.html.erb:15
app/views/uploads/show.html.erb:13
app/controllers/application_controller.rb:82:in 'ApplicationController#respond_with'
app/controllers/uploads_controller.rb:45:in 'UploadsController#show'
app/logical/rack_server_timing.rb:19:in 'RackServerTiming#call'

EmilyMars said:

I tried to upload an image from Civitai via links but got this error instead.

Error

Unexpected error: NoMethodError.
Details

NoMethodError exception raised
app/logical/source/extractor/civitai.rb:46:in 'Source::Extractor::Civitai#tags'
app/components/source_data_component/source_data_component.html.erb:43:in 'SourceDataComponent#call'
app/helpers/components_helper.rb:55:in 'ComponentsHelper#render_source_data'
app/views/uploads/_single_asset_upload.html.erb:169
app/components/tab_panel_component/tab_panel_component.html.erb:20:in 'block (3 levels) in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:19:in 'block (2 levels) in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:18:in 'Array#each'
app/components/tab_panel_component/tab_panel_component.html.erb:18:in 'block in TabPanelComponent#call'
app/components/tab_panel_component/tab_panel_component.html.erb:1:in 'TabPanelComponent#call'
app/views/uploads/_single_asset_upload.html.erb:125
app/helpers/application_helper.rb:301:in 'block in ApplicationHelper#edit_form_for'
app/helpers/application_helper.rb:290:in 'ApplicationHelper#edit_form_for'
app/views/uploads/_single_asset_upload.html.erb:120
app/views/uploads/_single_asset_upload.html.erb:15
app/views/uploads/show.html.erb:13
app/controllers/application_controller.rb:82:in 'ApplicationController#respond_with'
app/controllers/uploads_controller.rb:45:in 'UploadsController#show'
app/logical/rack_server_timing.rb:19:in 'RackServerTiming#call'

same, even the previously uploaded images all lead to this error. Can bypass by uploading with the img source link, ie right click inspect and upload the https://image.civitai.com/* link

1