2

すべての AOL メール連絡先を Web アプリケーションにインポートしようとしています。そのために、で与えられたcardmagic gemを使用しています

コードをフォークし、次のコードを置き換えました

AOL_NUM = "29970-343" # this seems to change each time they change the protocol

CONTACT_LIST_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ABExport.aspx?command=all"

AOL_NUM = "32992-111" # this seems to change each time they change the protocol

CONTACT_LIST_URL    = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"

CONTACT_LIST_CSV_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ABExport.aspx?command=all"

それでもエラーが発生します

CSV::IllegalFormatError: CSV::IllegalFormatError

これは古い AOl_NUM が原因ですか? または、aol.rb にさらに変更がありますか? ありがとうございました。

4

1 に答える 1

1

私はそれがうまくいくと信じています。gem を含めた後に update bundle を実行しましたか? サーバーを実行bundle updateして再起動します。

于 2011-08-09T06:24:42.580 に答える