Open
Bug 1413078
Opened 7 years ago
Updated 2 years ago
getScreenshot error: Unix error 2 during operation open on file
Categories
(Firefox :: New Tab Page, defect, P3)
Tracking
()
NEW
People
(Reporter: wtds.trabalho, Unassigned)
References
Details
(Whiteboard: [thumbnails])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171024124937
Steps to reproduce:
1- Just open browser
2. See in the browser console many errors:
getScreenshot error: Unix error 2 during operation open on file /home/wellington/.cache/.mozilla/firefox-trunk/v3uent20.23Set2017/thumbnails/d9e13e879d66f1241665c3b3ba6fbb67.png (Arquivo ou diretório não encontrado)
getScreenshot error: Unix error 2 during operation open on file /home/wellington/.cache/.mozilla/firefox-trunk/v3uent20.23Set2017/thumbnails/aae1cf3cb358fab3f0685775655dc000.png (Arquivo ou diretório não encontrado) Screenshots.jsm:61
getScreenshotForURL resource://activity-stream/lib/Screenshots.jsm:61:7
throw
view-source:resource://activity-stream/lib/Screenshots.jsm
Actual results:
errors from view-source:resource://activity-stream/lib/Screenshots.jsm like:
getScreenshot error: Unix error 2 during operation open on file /home/wellington/.cache/.mozilla/firefox-trunk/v3uent20.23Set2017/thumbnails/d9e13e879d66f1241665c3b3ba6fbb67.png (Arquivo ou diretório não encontrado)
Expected results:
No errors.
Thanks
Comment 1•7 years ago
|
||
I’ve managed to reproduce this bug when trying to open a profile created on a different machine. As seen from the errors the location of the cache is not in the Firefox profile.
Updated•7 years ago
|
Component: Activity Streams: Application Servers → Activity Streams: Newtab
Updated•7 years ago
|
Assignee: nobody → andrei.br92
Updated•7 years ago
|
Updated•7 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → affected
Comment 2•7 years ago
|
||
Is it possible that "browser.pagethumbnails.capturing_disabled" is enabled and set to true? That's the only way I got it to reproduce.
Also did you happen to move that profile? Or delete /home/wellington/.cache/.mozilla? As I assumed in my previous comment.
Flags: needinfo?(wtds.trabalho)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Andrei Oprea [:andreio] from comment #2)
> Is it possible that "browser.pagethumbnails.capturing_disabled" is enabled
> and set to true? That's the only way I got it to reproduce.
> Also did you happen to move that profile? Or delete
> /home/wellington/.cache/.mozilla? As I assumed in my previous comment.
Hi,
I'm checked and "browser.pagethumbnails.capturing_disabled" is true.
But I don't change this setting manually.
About the profile I don't moved or changed the location, but alert on the console is frequently about
profile permissions and access problem.
Flags: needinfo?(wtds.trabalho) → needinfo?(andrei.br92)
Comment 4•7 years ago
|
||
"browser.pagethumbnails.capturing_disabled" should not be used. It was most likely set by an addon.
What you should do is right click the pref in about:config and select "Reset".
After doing this you should no longer be seeing the errors.
Flags: needinfo?(andrei.br92)
Comment 5•7 years ago
|
||
Please re-open if the solution above did not fix it.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Comment 6•7 years ago
|
||
Bug 1421902 is for FaviconFeed and might be triggering around the same time as this getScreenshot message during tests.
Status: RESOLVED → REOPENED
Iteration: --- → 1.26
Ever confirmed: true
Priority: -- → P2
Resolution: INVALID → ---
Whiteboard: [thumbnails]
Comment 7•7 years ago
|
||
The fix probably shouldn't just check the "capturing_disabled" pref but more of either avoiding the exception with smarter control flow or not being noisy for this exception.
Status: REOPENED → ASSIGNED
Updated•7 years ago
|
status-firefox59:
--- → affected
Updated•7 years ago
|
Iteration: 1.26 → 1.27
Updated•7 years ago
|
Iteration: 1.27 → 60.1 - Jan 29
Updated•7 years ago
|
Updated•7 years ago
|
Iteration: 60.1 - Jan 29 → ---
Priority: P2 → P3
Assignee | ||
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
Updated•5 years ago
|
Assignee: andrei.br92 → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•