私は今の設定だレール・プロジェクト内のファイル(200キロバイトのシンプルなPDFファイル)をアップロードしようとすると、次のエラーを取得しています:ScribdFu :: ScribdFuUploadErrorの原因(申し訳ありませんが、ScribdFile#6をScribdにアップロードできませんでした)?
(申し訳ありませんが、ScribdFile#6ができませんでしたScribdにアップロードしてください)
どうしたらうまくいかないのですか?私はWindows 7を使用しています。 別のシステム(Windows 7でも同じ)で問題なく実行されている同じ設定です。
(それは場合に役立ちます)これはフルスタックである:
C:/Ruby/lib/ruby/gems/1.8/gems/scribd_fu-2.0.9/lib/scribd_fu.rb:72: ':/Ruby/lib/ruby/gems/1.8/gems/scribd_fu-2.0.9/lib/scribd_fu.rb:189: `upload_to_scribdで
C':/ルビー/
C`アップロード中lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178: `send '
C:/Ruby/lib/ruby/gems/1.8/gem s/activesupport-2.3.5/lib/active_support/callbacks.rb:178: `evaluate_method '
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support /callbacks.rb:166:in `call '
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:93:`実行中'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:92:各」
C `中:/ルビー/ LIB/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:92: `send 'で
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:92: `実行」内の
C:/ルビー/ libに/ルビー/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:276:in `run_callbacks '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3。 5/libに/ active_record/callbacks.rb:344: で `コールバック」
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb: 251: `create_or_update '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538: `save_without_validation」で
C:/ルビー/ libに/ルビー/ gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1078: `save_without_dirty '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5 /lib/active_record/dirty.rb:79:in `save_without_transactions '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229: 「send」の
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactionsにあります。rb:229: `with_transaction_returning_status '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:136:トランザクション中'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182: `トランザクションの'
C:/ルビー/ libに/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord- 2.3.5/lib/active_record/transactions.rb:196: `s aveの '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:rollback_active_record_state `で!'
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:で `「保存
C:/ルビー/ libに/ ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/persistence/active_record_persistence.rb:196: `aasm_write_state '
C:/Ruby/lib/ruby/gems/1.8/gems /rubyist-aasm-2.1.1/lib/aasm/aasm.rb:107:in `set_aasm_current_state_with_persistence」
C:/Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/ lib/aasm/aasm.rb:160: `aasm_fire_event '
C:/Ruby/lib/ruby/gems/1.8/gems/rubyist-aasm-2.1.1/lib/aasm/aasm.rb:61:
convert!' c:/xampp/htdocs/lightbulb/app/models/scribd_file.rb:30:in
after_initializeで」C:/ルビー/ LIB/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:347: `send '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3 .5/lib/active_record/callbacks.rb:347: `callback '内
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb: 2441: `初期化中 '
c:/ xampp/htdocs/lightbulb/app/controllers/attachments_contr oller.rb:51: `新しいの '
C:/xampp/htdocs/lightbulb/app/controllers/attachments_controller.rb:51:` create_attachmentの'
C:/ XAMPP/htdocsに/電球/アプリ/コントローラ/ attachments_controller.rb:49:
C:/ XAMPP /各 ':/xampp/htdocs/lightbulb/app/controllers/attachments_controller.rb:49 `create_attachmentで
C'`でhbuocs/lightbulb/app/controllers/attachments_controller.rb:12: `create '内
C:/ Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331: `send '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5 /lib/action_controller/base.rb:1331:in `perform_action_without_filters '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617: `call_filters 'の
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters。RB:610: `perform_action_without_benchmarkで '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:` perform_action_without_rescueで'
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:msで
C:/ Ruby/lib/ruby /1.8/benchmark.rb:308:in `リアルタイム '
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17: `ms 'で
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:/ルビー/ libに/ルビー/: `perform_action_without_rescue」
Cでgems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160: `perform_action_without_flash '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5 /lib/action_controller/flash.rb:146:in `perform_action '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532: `send 'で
C:/Ruby/lib/ruby/gems/1.8/gems/actionp ack-2.3.5/lib/action_controller/base.rb:532: `process_without_filters '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters .rb:606: `process_without_compass '内
C:/Ruby/lib/ruby/gems/1.8/gems/chriseppstein-compass-0.8.17/lib/compass/app_integration/rails/action_controller.rb:7:
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391 `プロセスで
C:`プロセスで/ Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386: `call 'にする
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:/ルビー/: `「
を呼び出すCでlib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87: `ディスパッチ '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack -2.3.5/lib/action_controller/dispatcher.rb:121: `_call '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcherにあります。 rb:130: `build_middleware_stack '内
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:/ルビー/ libに/ルビー/宝石: `「
Cを呼び出し中/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/ lib/active_record/connection_adapters/abstract/query_cache.rb:34:キャッシュ内
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb :9: `キャッシュ '
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3。5/lib/active_record/query_cache.rb:28: `call '内
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool .rb:361: `call '内
C:/Ruby/lib/ruby/gems/1.8/gems/haml-3.0.24/lib/sass/plugin/rack.rb:41:` call'
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:/ルビー/ libに/: `「
を呼び出すCでruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9: `call '
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24: `call '
C:/ Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15: `call '内
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5 /lib/action_controller/session/cookie_store.rb:93:in `call '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb: 26:コール中
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11: `call '
C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11: `同期」で
C:/ルビー/ LIB/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11: `call '内
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3 .5/lib/action_controller/dispatcher.rb:106: `call '内
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/cgi_process.rb: 44: `dispatch_cgi '内
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/li b/action_controller/dispatcher.rb:101: `dispatch_cgi '
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:27:in `ディスパッチ」
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:76:`プロセスで
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74: `synchronize '
C:/ Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74: `プロセス中 '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:159:/ルビー/ libに/: `process_client」
Cでruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158: `each '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel -1.1.5-x86-mingw32/lib/mongrel.rb:158: `process_client '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/ lib/mongrel.rb:285: `実行中 '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel。rb:285: `初期化中 '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:` new'
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:/ルビー/ libに: `実行」
Cで/ruby/gems/1.8/gems/mongrel-1.1-5-x86-mingw32/lib/mongrel.rb:268:in `initialize '
C:/Ruby/lib/ruby/gems/1.8/gems/ mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268: `new '
C:/ Ruby/lib/ruby/gem s/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268: `実行中 '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1 .5-x86-mingw32/lib/mongrel/configurator.rb:282: `実行中 '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/ lib/mongrel/configurator.rb:281: `each '
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb :281:
`実行 ':/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128`ランでC' で
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/command.rb:212:/ルビー/: `実行」
Cでlibに/ルビー/宝石/ 1.8 /宝石/雑種-1.1.5-のx86-MINGW32/binに/ mongrel_rails:281
C:/ルビー/ binに/ mongrel_rails:19: `ロード」
Cで:/Ruby/bin/mongrel_rails:19
シンプルなPDFファイル(200kb)を試しました – Hedge
私は、scribd_fu.rbの68行目と71行目から73行目をコメントアウトし、アプリを再起動してからエラーメッセージを投稿します。 –