Skip to content

Errno::ENOENT on expense attachments #3

Open
@alexjamesbrown

Description

@alexjamesbrown

When running, I get an error when it tries to do the expense attachments
(note, this is running using my fork, with the date in the filename - see pull request #2) however, this happened before I made this change too

/private/var/mobile/Applications/7EFCAB78-BCD0-420E-B821-B107FD553270
.. looks suspicious to me?

retrieving expense attachments
.....................................fetch.rb:315:in initialize': No such file or directory - /users/alex/Desktop/stuff/1970-1-31_2099-1-31/expenses/2012-11-01-2119881-/private/var/mobile/Applications/7EFCAB78-BCD0-420E-B821-B107FD553270/Documents/expenseimages/3.jpg (Errno::ENOENT) from fetch.rb:315:inopen'
from fetch.rb:315:in block (2 levels) in download_file' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1413:inblock (2 levels) in transport_request'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb:162:in reading_body' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1412:inblock in transport_request'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1403:in catch' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1403:intransport_request'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1376:in request' from fetch.rb:314:inblock in download_file'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:852:in start' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:582:instart'
from fetch.rb:311:in download_file' from fetch.rb:349:inblock (2 levels) in retrieve_expenses'
from fetch.rb:252:in call' from fetch.rb:252:inblock in each'
from fetch.rb:252:in each' from fetch.rb:252:ineach'
from fetch.rb:347:in block in retrieve_expenses' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/csv.rb:1266:inopen'
from fetch.rb:345:in retrieve_expenses' from fetch.rb:400:in

'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions