#255 new
Javier peña

Encoding error with dropbox

Reported by Javier peña | April 3rd, 2012 @ 11:01 AM | in 0.9.10 "Alekhine"

Hi

I have sent two emails to my dropbox email account and I have this encoding error. The error is with the first one. It's a forward message from gmail...

2012-04-03T17:46:38+00:00 heroku[run.1]: State changed from created to starting
2012-04-03T17:46:45+00:00 heroku[run.1]: Starting process with command bundle exec rake ffcrm:dropbox:run RAILS_ENV=production
2012-04-03T17:46:46+00:00 app[run.1]: fatal: Not a git repository (or any of the parent directories): .git
2012-04-03T17:46:46+00:00 heroku[run.1]: State changed from starting to up
2012-04-03T17:46:46+00:00 app[run.1]: fatal: Not a git repository (or any of the parent directories): .git
2012-04-03T17:46:52+00:00 app[run.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-r.... (called from at /app/Rakefile:7)
2012-04-03T17:46:52+00:00 app[run.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-r.... (called from at /app/Rakefile:7)
2012-04-03T17:46:52+00:00 app[run.1]: fatal: Not a git repository (or any of the parent directories): .git
2012-04-03T17:46:52+00:00 app[run.1]: fatal: Not a git repository (or any of the parent directories): .git
2012-04-03T17:46:58+00:00 app[run.1]: Dropbox: connecting to imap.gmail.com...
2012-04-03T17:46:59+00:00 app[run.1]: Dropbox: logged in to imap.gmail.com...
2012-04-03T17:46:59+00:00 app[run.1]: Dropbox: fetched new message...
2012-04-03T17:47:00+00:00 app[run.1]: From: ["javier.pena@mifirma.com"], Subject: Fwd: datos básicos ILP (CAEEPJ+Sq5yCCQgciQD24f5v0EUkcq5y88MtkNa0s86qhYA1RRw@mail.gmail.com)
2012-04-03T17:47:00+00:00 app[run.1]: : INSERT INTO "emails" ("bcc", "body", "cc", "created_at", "deleted_at", "header", "imap_message_id", "mediator_id", "mediator_type", "received_at", "sent_at", "sent_from", "sent_to", "state", "subject", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17) RETURNING "id">
2012-04-03T17:47:00+00:00 app[run.1]: Dropbox: error processing email: #<ActiveRecord::StatementInvalid: PG::Error: ERROR: invalid byte sequence for encoding "UTF8": 0xe17369
2012-04-03T17:47:00+00:00 app[run.1]: From: ["javier.pena@mifirma.com"], Subject: Fwd: datos básicos ILP (CAEEPJ+Sq5yCCQgciQD24f5v0EUkcq5y88MtkNa0s86qhYA1RRw@mail.gmail.com)
2012-04-03T17:47:00+00:00 app[run.1]: HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
2012-04-03T17:47:01+00:00 app[run.1]: Dropbox: fetched new message...
2012-04-03T17:47:01+00:00 app[run.1]: From: ["jpenamar@gmail.com"], Subject: Prueba (CAEEPJ+R2wc9dRr3+nqMacsT-a69SBAfo8+ZZoeOirerJOWqhPw@mail.gmail.com)
2012-04-03T17:47:01+00:00 app[run.1]: Dropbox: sent by unknown user jpenamar@gmail.com, discarding
2012-04-03T17:47:01+00:00 app[run.1]: Dropbox: messages processed: 2, archived: 0, discarded: 2.
2012-04-03T17:47:02+00:00 heroku[run.1]: State changed from up to complete
2012-04-03T17:47:02+00:00 heroku[run.1]: Process exited with status 0
2012-04-03T17:49:17+00:00 heroku[run.1]: State changed from created to starting

Thank you

Comments and changes to this ticket

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Pages