WordPress-iOS icon indicating copy to clipboard operation
WordPress-iOS copied to clipboard

WordPress.MediaRequestAuthenticator.Error.cannotFindWPContentInPhotonPath

Open aerych opened this issue 4 years ago • 13 comments

Sentry issue: https://sentry.io/share/issue/a8131a0c11b74184834f257b3539229b/

  WordPress           0x101917894  CrashLogging.logError (CrashLogging.swift:122)
  WordPress           0x1015b18e4  ImageLoader.loadStaticImage (ImageLoader.swift:183)
  WordPress           0x1017261b8  MediaRequestAuthenticator.authenticatedRequestForPrivateAtomicSiteThroughPhoton (MediaRequestAuthenticator.swift:213)
  WordPress           0x1015b1628  MediaRequestAuthenticator.authenticatedRequestForPrivateAtomicSiteThroughPhoton (<compiler-generated>)
  WordPress           0x1015b1628  MediaRequestAuthenticator.authenticatedRequest (Classes/Networking/MediaRequestAuthenticator.swift:78)
  WordPress           0x1015b1628  ImageLoader.loadStaticImage (ImageLoader.swift:180)
  WordPress           0x1015b0544  ImageLoader.loadImage (ImageLoader.swift:82)
  WordPress           0x10122ab80  PostCompactCell.configureFeaturedImage (PostCompactCell.swift:110)
  WordPress           0x101229d14  PostCompactCell.configure (PostCompactCell.swift:42)
  WordPress           0x101229d64  PostCompactCell.configure (<compiler-generated>)
  WordPress           0x1015049e4  PostListViewController.configureCell (PostListViewController.swift:527)
  WordPress           0x1015046c4  PostListViewController.tableView (PostListViewController.swift:509)
  WordPress           0x101504844  PostListViewController.tableView (<compiler-generated>)
  WordPress           0x100fd3004  -[WPTableViewHandler tableView:cellForRowAtIndexPath:] (Classes/Utility/WPTableViewHandler.m:358)
  UIKitCore           0x193627918  -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:]
  UIKitCore           0x1935f541c  -[UITableView _updateVisibleCellsNow:]
  UIKitCore           0x1936126ac  -[UITableView layoutSubviews]
  UIKitCore           0x1939126d0  -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
  QuartzCore          0x193d88420  -[CALayer layoutSublayers]
  QuartzCore          0x193d8eba8  CA::Layer::layout_if_needed
  QuartzCore          0x193d9a168  CA::Layer::layout_and_display_if_needed
  QuartzCore          0x193ce2574  CA::Context::commit_transaction
  QuartzCore          0x193d0d2c4  CA::Transaction::commit
  QuartzCore          0x193d0e52c  CA::Transaction::observer_callback
  CoreFoundation      0x190aed584  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
  CoreFoundation      0x190ae7bb4  __CFRunLoopDoObservers
  CoreFoundation      0x190ae8150  __CFRunLoopRun
  CoreFoundation      0x190ae7814  CFRunLoopRunSpecific
  GraphicsServices    0x1a71ed56c  GSEventRunModal
  UIKitCore           0x1934130e4  -[UIApplication _run]
  UIKitCore           0x193418660  UIApplicationMain
  WordPress           0x1010772f8  main (main.swift:7)
  libdyld             0x1907c613c  start

aerych avatar Jul 28 '21 20:07 aerych

Sentry issue: JETPACK-IOS-18SV

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18ST

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18SZ

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18T0

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18SS

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18SR

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

I've linked all occurrences of this crash from the 24.2 beta. @twstokes, I saw these are all associated with your account. Were you able to reliably reproduce a crash?

It's also worth noting that Sentry's reporting these crashes as new, but a search for cannotFindWPContentInPhotonPath shows numerous separate reports with the same or similar stack traces.

SiobhyB avatar Feb 12 '24 11:02 SiobhyB

Sentry issue: JETPACK-IOS-18T3

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18T4

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

Sentry issue: JETPACK-IOS-18T5

sentry[bot] avatar Feb 12 '24 11:02 sentry[bot]

I've linked all occurrences of this crash from the 24.2 beta. @twstokes, I saw these are all associated with your account. Were you able to reliably reproduce a crash?

👋 Hey @SiobhyB! Correct me if I'm wrong, but I think this is just the output of this call which is just logging the error and not crashing. I've never been a big fan of the CrashLogging.logError name. 😄

If you think it's worth me troubleshooting on my iPad I'll be glad to.

twstokes avatar Feb 12 '24 13:02 twstokes

A quick glance at the error reported in Sentry is telling me that the code is looking for /wp-content in the path and the file didn't contain one. I wouldn't be surprised if this is due to some internal A8C images.

twstokes avatar Feb 12 '24 13:02 twstokes

Thanks for clarifying, @twstokes! I think you're right that that is a non-fatal error being reported by Sentry.

SiobhyB avatar Feb 12 '24 15:02 SiobhyB