No such file or directory, file_column problem

Hi,All:
I met a strange problem with file_column. My application worked well
before I changed my Model, I only changed the size of picture. but cause
the following problems:

No such file or directory -
D:/WORK_HOME/rails-projects/work/public/uploads/teacher/image/tmp/1222073389.593000.1264/Clayton04.JPG
or
D:/WORK_HOME/rails-projects/work/public/uploads/teacher/image/tmp/1222073389.593000.1264/Clayton04.jpg

D:/ruby/lib/ruby/1.8/fileutils.rb:505:in rename' D:/ruby/lib/ruby/1.8/fileutils.rb:505:inmv’
D:/ruby/lib/ruby/1.8/fileutils.rb:1395:in fu_each_src_dest' D:/ruby/lib/ruby/1.8/fileutils.rb:1411:infu_each_src_dest0’
D:/ruby/lib/ruby/1.8/fileutils.rb:1393:in fu_each_src_dest' D:/ruby/lib/ruby/1.8/fileutils.rb:494:inmv’
vendor/plugins/file_column/lib/file_column.rb:210:in store_upload' vendor/plugins/file_column/lib/file_column.rb:339:inupload’
vendor/plugins/file_column/lib/file_column.rb:54:in assign' vendor/plugins/file_column/lib/file_column.rb:584:inimage=’
D:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2361:in
send' D:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2361:inattributes=’
D:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2360:in
each' D:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2360:inattributes=’
D:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2261:in
update_attributes' app/controllers/admin/teachers_controller.rb:46:inupdate’

thanks for any help.

Wu Chang wrote:

vendor/plugins/file_column/lib/file_column.rb:210:in `store_upload’

I have found the reason for this problem.the codes ignored the case of
suffix in “file_column.rb:210:in `store_upload’” .

so, if uploading a file like ‘aaa.JPG’,the bug will be appeared.

Hope it will be helpful for somebody else.

Hmm… I got the same error almost. Just that it shows just a directory
not the file that was downloaded into the directory.

Below is the error-printout when using the simplest rails-application to
test file_column that you can do.

I’m totally new to ruby and rails so…just take it easy with me :wink:

bild.rb <<<<<<<<<<<
class Bild < ActiveRecord::Base
file_column :image, :magick => { :versions => {“thumb” => “90x90”,
“medium” => “640X480”}}
end

new.html.erb <<<<<<<<<<<<<

New bild

<%= error_messages_for :bild %>

<% form_for(@bild, :html => { :multipart => true }) do |f| %>

Comment
<%= f.text_field :comment %>

Image
<%= file_column_field "bild", "image" %>

<%= f.submit "Create" %>

<% end %>

<%= link_to ‘Back’, bilds_path %>

show.html.erb <<<<<<<<<<

Comment: <%=h @bild.comment %>

Image: <%= image_tag url_for_file_column("bild", "image") %>

<%= link_to ‘Edit’, edit_bild_path(@bild) %> |
<%= link_to ‘Back’, bilds_path %>

=======================================================================

Printout from browser after creating a new record including image

=======================================================================

Errno::ENOENT in BildsController#create

No such file or directory -
/home/larand/edu/programming/java/NetBeans/test1/public/bild/image/tmp/1222886660.521417.24708
or
/home/larand/edu/programming/java/NetBeans/test1/public/bild/image/development/9

RAILS_ROOT: /home/larand/edu/programming/java/NetBeans/test1
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/1.8/fileutils.rb:505:in rename' /usr/lib/ruby/1.8/fileutils.rb:505:inmv’
/usr/lib/ruby/1.8/fileutils.rb:1395:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:1411:infu_each_src_dest0’
/usr/lib/ruby/1.8/fileutils.rb:1393:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:494:inmv’
vendor/plugins/file_column/trunk/lib/file_column.rb:361:in move_from' vendor/plugins/file_column/trunk/lib/file_column.rb:310:inafter_save’
vendor/plugins/file_column/trunk/lib/file_column.rb:673:in
image_after_save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:214:increate_or_update’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1972:in
save_without_validation' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/validations.rb:934:insave_without_transactions’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in
transaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:100:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:120:inrollback_active_record_state!’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' app/controllers/bilds_controller.rb:46:increate’
app/controllers/bilds_controller.rb:45:in `create’

/usr/lib/ruby/1.8/fileutils.rb:505:in rename' /usr/lib/ruby/1.8/fileutils.rb:505:inmv’
/usr/lib/ruby/1.8/fileutils.rb:1395:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:1411:infu_each_src_dest0’
/usr/lib/ruby/1.8/fileutils.rb:1393:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:494:inmv’
vendor/plugins/file_column/trunk/lib/file_column.rb:361:in move_from' vendor/plugins/file_column/trunk/lib/file_column.rb:310:inafter_save’
vendor/plugins/file_column/trunk/lib/file_column.rb:673:in
image_after_save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:214:increate_or_update’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1972:in
save_without_validation' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/validations.rb:934:insave_without_transactions’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in
transaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:100:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:120:inrollback_active_record_state!’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:106:incall’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:106:in
respond_to' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:incall_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in
perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in
perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:inperform_action’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:incache’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in
perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:inprocess_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:inprocess’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:indispatch’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:indispatch’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:112:in
handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:78:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:62:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/webrick.rb:66 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
script/server:3

/usr/lib/ruby/1.8/fileutils.rb:505:in rename' /usr/lib/ruby/1.8/fileutils.rb:505:inmv’
/usr/lib/ruby/1.8/fileutils.rb:1395:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:1411:infu_each_src_dest0’
/usr/lib/ruby/1.8/fileutils.rb:1393:in fu_each_src_dest' /usr/lib/ruby/1.8/fileutils.rb:494:inmv’
vendor/plugins/file_column/trunk/lib/file_column.rb:361:in move_from' vendor/plugins/file_column/trunk/lib/file_column.rb:310:inafter_save’
vendor/plugins/file_column/trunk/lib/file_column.rb:673:in
image_after_save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:307:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:304:in
callback' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/callbacks.rb:214:increate_or_update’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1972:in
save_without_validation' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/validations.rb:934:insave_without_transactions’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/database_statements.rb:66:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:80:in
transaction' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:100:intransaction’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:120:inrollback_active_record_state!’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/transactions.rb:108:in
save' app/controllers/bilds_controller.rb:46:increate’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:106:in
call' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/mime_responds.rb:106:inrespond_to’
app/controllers/bilds_controller.rb:45:in create' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:1158:in
perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:697:incall_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:689:in
perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
/usr/lib/ruby/1.8/benchmark.rb:293:in measure' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/rescue.rb:199:in
perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:678:inperform_action’
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/query_cache.rb:8:incache’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/caching.rb:677:in
perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:524:in
process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/filters.rb:685:inprocess_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in
process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/base.rb:388:inprocess’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in
handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:115:indispatch’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in
dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:9:indispatch’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:112:in
handle_dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:78:inservice’
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun’
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart’
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart’
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart’
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/webrick_server.rb:62:in
dispatch' /usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/webrick.rb:66 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:inrequire’
/usr/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
script/server:3

Request

Parameters:

{“commit”=>“Create”,
“authenticity_token”=>“8cea4c5575912e47926315a5b58941f50baae1f7”,
“bild”=>{“image_temp”=>"",
“image”=>#<File:/tmp/CGI.24708.3>,
“comment”=>""}}

Show session dump


:csrf_id: db9e5dc033e36820417c8dc04ebf96a3
flash: !map:ActionController::Flash::FlashHash {}

Response

Headers:

{“cookie”=>[],
“Cache-Control”=>“no-cache”}

I changed the line 210 in file_column.rb to following:
FileUtils.mv(local_file_path, new_local_file_path) unless
new_local_file_path.upcase == local_file_path.upcase

Wu Chang wrote:

I changed the line 210 in file_column.rb to following:
FileUtils.mv(local_file_path, new_local_file_path) unless
new_local_file_path.upcase == local_file_path.upcase

I’ve tried that but no success.
I tried to debug and found that it want to move the temporary directory
to a new that not exist and then it bailouts. The image column is never
updated so it is allways nil.

ex:
mv app/public/object/image/tmp/unique_dir_name/ to
app/public/object/image/development/id/

The destination does not exist. I don’t know what rails do in the
background but normally you can’t move a dir to a dir that do not exist.
Maybe it tries to rename it but I’m sure there are restrictions also
there…?

I have worked with this for a couple of weeks now… I never had such a
problem in my whole programming life (about 30 years).

I’m sure it’s a bug - How can I make it work

Eeeeaaahhhh…what happends? Why all these lines?? I just made a simple
cut and paste and it was just a fraction of all these lines…?

Well sorry but I don’t know if you can edit your own posts…?

Lars-göran Andersson wrote:

Wu Chang wrote:

I changed the line 210 in file_column.rb to following:
FileUtils.mv(local_file_path, new_local_file_path) unless
new_local_file_path.upcase == local_file_path.upcase

I’ve tried that but no success.
I tried to debug and found that it want to move the temporary directory
to a new that not exist and then it bailouts. The image column is never
updated so it is allways nil.

ex:
mv app/public/object/image/tmp/unique_dir_name/ to
app/public/object/image/development/id/

The destination does not exist. I don’t know what rails do in the
background but normally you can’t move a dir to a dir that do not exist.
Maybe it tries to rename it but I’m sure there are restrictions also
there…?

I have worked with this for a couple of weeks now… I never had such a
problem in my whole programming life (about 30 years).

I’m sure it’s a bug - How can I make it work

I guess the places of bugs:

1.the uploaded file name will be sanitized before move to
“app/public/object/image/development/id/”, so, you can print the file
name when debuging the file_column, try to find the bugs.
2.the destination’s permission.
3.get the latest version of file_column.

Good luck.