Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14457] iOS7: Photo Galery - error creating directory

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-08-02T23:11:16.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 16, 2013 Sprint 16 API, Release 3.1.2, Release 3.2.0
ComponentsiOS
Labelsios7, qe-3.1.1, qe-closed-3.1.2, qe-ks, qe-testadded
ReporterOlga Romero
AssigneeIngo Muschenetz
Created2013-07-01T21:50:26.000+0000
Updated2015-02-02T20:47:07.000+0000

Description

Although [INFO] PHOTO GALLERY SUCCESS appeared and the image loaded, the folowing error printed in the log:
Jul  1 14:40:27 Europa KitchenSink[389] <Warning>: [DEBUG] Loading: /var/mobile/Applications/86BA439C-BF26-495D-9EE7-2B89DA23A995/KitchenSink.app/ui/common/phone/photo_gallery.js, Resource: ui/common/phone/photo_gallery_js
Jul  1 14:40:27 Europa KitchenSink[389] <Warning>: *****!!!!! Error creating directory /var/mobile/Library/Logs/CrashReporter/DiagnosticLogs/Photos/Process: The operation couldn’t be completed. (Cocoa error 513.) !!!!*****
Jul  1 14:40:27 Europa KitchenSink[389] <Warning>: [INFO] tab = Phone, prevTab = Controls
Jul  1 14:41:05 Europa KitchenSink[389] <Error>: [14:41:05.649] <<<< FigJPEGDecodeSession >>>> _ensureBGRAPixelBuffer: **** Converting CGImage's IOSurface backing to BGRA on demand. This is slow. If you intend to draw using CG or otherwise access the bytes directly use a BGRA surface instead.
Jul  1 14:41:06 Europa KitchenSink[389] <Warning>: [DEBUG] Our type was: public.image
Jul  1 14:41:06 Europa KitchenSink[389] <Warning>: [INFO] PHOTO GALLERY SUCCESS cropRect.x 0 cropRect.y 287 cropRect.height 1705 cropRect.width 1704

To reproduce: 1. Install and run KS> Phone> Photo Galery 2. Choose photo Actual result: Should see selected photo and in console should see following message: [INFO] PHOTO GALLERY SUCCESS cropRect.x cropRect.y cropRect.height cropRect.width

Comments

  1. Sabil Rahim 2013-08-02

    Fixed by the filesystem fix from dawson's
  2. Olga Romero 2013-08-16

    Tested and verified the fix with: Appcelerator Studio, build: 3.1.2.201308091728 Titanium SDK, build: 3.1.2.GA CLI: 3.1.2 KS 3.1.2.GA Ipad4 iOS 7 iPhone5 iOS7 No error in the log :)

JSON Source