Danbooru

Missing template post/upload.erb in view path app/views

Posted under General

Need help resolving an issue. I've setup version 1.18 on my local server, and I'm trying to populate through the api. After a week of google and fustration I've come to the conslusion that it may be something in the code that needs tweaked, or some component of Ruby/Rails that I may be missing.

The error I receiver is,

A ActionView::MissingTemplate occurred in post#upload:

Missing template post/upload.erb in view path app/views
/usr/local/lib64/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/paths.rb:74:in `find_template'

The script I'm using is written in Perl. I'm using it to upload my photographic works. I pull EXIF tags using EXIFTOOL to generate a baseline set of tags, and have tried uploading the files through LWP::UserAgent, HTTP:Request::Common, and Curl. These have resulted in a HTTP response of 500 or 420. I am making the request to post/upload.xml, as post/create.xml no longer seems to exist. I have also tied against post/upload.json. Using the web site to upload works just fine.

The baseline is,
Gentoo Linux 2.6.33
Apache 2.2
Ruby 1.9.3
RubyGems 1.8.24
Rails 2.3.14
Passenger 2.2.15

Thanks for any help.

Updated

  • Reply
  • 1