Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle gcloud writing issue #152

Open
aknuds1 opened this issue Jul 22, 2016 · 0 comments
Open

Handle gcloud writing issue #152

aknuds1 opened this issue Jul 22, 2016 · 0 comments
Labels

Comments

@aknuds1
Copy link
Member

aknuds1 commented Jul 22, 2016

There is sometimes an exception while writing files to gcloud, should be handled by repeating the request:

ApiError: The metadata for object "u/aknudsen/befaco-spring-reverb/files/Reverb_sch_V2.5.pdf" was edited during the operation. Please try again.
at new util.ApiError (/app/node_modules/gcloud/lib/common/util.js:106:10)
at Object.parseHttpRespBody (/app/node_modules/gcloud/lib/common/util.js:184:30)
at Object.handleResp (/app/node_modules/gcloud/lib/common/util.js:124:18)
at /app/node_modules/gcloud/lib/common/util.js:447:12
at Request.onResponse [as _callback] (/app/node_modules/retry-request/index.js:120:7)
at Request.self.callback (/app/node_modules/request/request.js:187:22)
at emitTwo (events.js:100:13)
at Request.emit (events.js:185:7)
at Request. (/app/node_modules/request/request.js:1044:10)
at emitOne (events.js:90:13)
at Request.emit (events.js:182:7)
at IncomingMessage. (/app/node_modules/request/request.js:965:12)
at emitNone (events.js:85:20)
at IncomingMessage.emit (events.js:179:7)
at endReadableNT (_stream_readable.js:913:12)
at _combinedTickCallback (node.js:383:13)
at process._tickDomainCallback (node.js:431:11)
From previous event:
at /app/dist/app/server/api/projectApi.js:624:12
at _map (/app/node_modules/ramda/dist/ramda.js:262:27)
at map (/app/node_modules/ramda/dist/ramda.js:5959:20)
at /app/node_modules/ramda/dist/ramda.js:586:23
at Object.f2 [as map] (/app/node_modules/ramda/dist/ramda.js:473:22)
at copyFilesToCloudStorage (/app/dist/app/server/api/projectApi.js:623:24)
at realUpdateProjectFromGitHub (/app/dist/app/server/api/projectApi.js:474:26)
at /app/dist/app/server/api/projectApi.js:510:20
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
From previous event:
at /app/dist/app/server/api/projectApi.js:509:103
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at bound (domain.js:287:14)
at Object.runBound (domain.js:300:12)
From previous event:
at /app/dist/app/server/api/projectApi.js:507:24
at bound (domain.js:287:14)
at runBound (domain.js:300:12)
at tryCatcher (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/promise.js:581:18)
at Async._drainQueue (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (/app/node_modules/rethinkdb/node_modules/bluebird/js/main/async.js:15:14)
at tryOnImmediate (timers.js:534:15)
at processImmediate [as _immediateCallback] (timers.js:514:5)
@aknuds1 aknuds1 added the bug label Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant