Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3649 closed defect (fixed)

Error applying Non-Tor settings: NS_ERROR_FILE_ACCESS_DENIED

Reported by: ron Owned by: mikeperry
Priority: Medium Milestone: TorBrowserBundle 2.2.x-stable
Component: TorBrowserButton Version: Torbutton: 1.4.0
Severity: Keywords: MikePerryIterationFires20110911, tbb-2.2.32-4
Cc: Actual Points: 1
Parent ID: Points: 1
Reviewer: Sponsor:


I’m not sure whom I’m to file the error to. It says to “file bug report”. I was trying to access some site that I cannot remember.
The following error was shown while I was in FireFox:

[JavaScript Application]

Torbutton: Please file bug report! Error applying Non-Tor settings: [Exception... 'Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)
[nsIPrefService.savePrefFile]' nsresult: “0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)” location: 'JS frame :: chrome://torbutton/content/torbutton.js :: torbutton_update_status :: line 1666” data: no]

Child Tickets

Change History (10)

comment:1 Changed 9 years ago by ron

Summary: An error message request i file an error report i believe with you - sse descriptionAn error message request i file an error report i believe with you - see description

comment:2 Changed 9 years ago by runa

Summary: An error message request i file an error report i believe with you - see descriptionError applying Non-Tor settings: NS_ERROR_FILE_ACCESS_DENIED

comment:3 Changed 9 years ago by mikeperry

Component: TorbuttonTorBrowserButton
Status: newneeds_information

Were you running your Firefox from a write-protected disk/USB key? Or perhaps as a different user than the one that owned the directory you ran it from?

Were you using TBB?

comment:4 Changed 9 years ago by arma

There's a user on vidalia-users reporting the same issue.

My first thought was also TBB on a write-protected USB key.

It seems like TorBrowserButton ought to handle that situation better.

comment:5 Changed 9 years ago by arma

See #3922 for a quite similar error report, from a TBB on Linux that couldn't write to its disk.

comment:6 Changed 9 years ago by mikeperry

The problem here is that this exception can be thrown from a wide variety of places... I can improve this message for disk full and permission denied, but other exceptions can be thrown from elsewhere, too...

Do we think it is Torbutton's job to detect these condition? What about the error messages that happen in tor's logs when it can't write to disk.. Or when Vidalia can't save configuration files.. How many warning messages do we throw at the user for these situations right now, and who should turn them into dialog boxes?

comment:7 Changed 9 years ago by arma

Is it a warning message or an actual failure that the user needs to do something about?

If Tor can't write to its whatever, then it cries quietly to itself, and also notifies Vidalia in case Vidalia wants to tell the user. You can find some complaints in Vidalia's message window if you happen to look there. But things generally continue working.

Do these Torbutton warnings mean that things have broken uncontrollably? If not, perhaps we should handle them as best we can and move on.

comment:8 Changed 9 years ago by mikeperry

Keywords: MikePerryIterationFires20110911 added
Milestone: TorBrowserBundle 2.2.x-stable
Status: needs_informationassigned

I will have to check the firefox source and/or test. I believe this exception means the prefs don't get set. We certainly stop trying to set them once we get one of these...

I can change this dialog into something more human-readable for this case and for the #3922 case easily enough, though.

comment:9 Changed 9 years ago by mikeperry

Actual Points: 1
Points: 1
Resolution: fixed
Status: assignedclosed

Better error message should appear in 1.4.3.

comment:10 Changed 9 years ago by mikeperry

Keywords: tbb-2.2.32-4 added
Note: See TracTickets for help on using tickets.