Closed
Bug 367620
Opened 18 years ago
Closed 11 years ago
Sunbird freezes when profile directory is in read-only mode
Categories
(Calendar :: Sunbird Only, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: omar.bajraszewski, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier:
Setting profile directory as read-only causes Sunbird not working. Similar bug: 367609.
Reproducible: Always
Steps to Reproduce:
1.Create new profile
2.Launch Sunbird and set your preferred view and exit
3.Mark >new profile< directory as read-only
4.Launch Sunbird
Actual Results:
1.Errors:
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatementWrapper.step]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js :: anonymous :: line 568" data: no]
Source File: file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js
Line: 568
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatementWrapper.step]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js :: anonymous :: line 568" data: no]
2.Switching to another view (day, week, etc) doesn't work
3.Switch to Calendars Tab - the list is empty
4.New Event button doesn't work (new task button) works
5.Go to date doesn't work
Expected Results:
A warning that the profile is not accessible
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070113 Calendar/0.4a1
Comment 1•18 years ago
|
||
Confirmed - another problem is that sunbird can not display grid in main view
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•18 years ago
|
||
(In reply to comment #0)
> Expected Results:
> A warning that the profile is not accessible
A warning could be like this:
Could not initialize the browser's security component. The most likely cause is problems with files in your browser's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the browser and fix the problem. If you continue to use this browser session, you might see incorrect browser behaviour when accessing security features.
I can see it for Thunderbird
But after closing the alert Thunderbird launches. IMO Sunbird should be closed after displaying the warning.
Comment 3•17 years ago
|
||
Mozilla 1.8 Branch: Sunbird 0.8pre (2008011105) on Windows XP:
Works for me. Sunbird starts up normally but will fail later e.g. upon creating an event ("flushItem DB error: attempt to write a readonly database").
Trunk: Sunbird 0.6a1 (2008011104) on Windows XP:
An alert "Could not initialize the application's security component. ..." is displayed. After confirming the message Sunbird crashes.
Reporter | ||
Comment 4•16 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b4pre) Gecko/20090328 Calendar/1.0pre
> 1.Errors:
>
> Error: [Exception... "Component returned failure code: 0x80004005
> (NS_ERROR_FAILURE) [mozIStorageStatementWrapper.step]" nsresult: "0x80004005
> (NS_ERROR_FAILURE)" location: "JS frame ::
> file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js
> :: anonymous :: line 568" data: no]
> Source File:
> file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js
> Line: 568
>
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatementWrapper.step]" nsresult:
> "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
> file:///C:/Documents%20and%20Settings/Omar/Pulpit/sunbird/js/calCalendarManager.js
> :: anonymous :: line 568" data: no]
>
I can see different error:
Error: [Exception... "Component returned failure code: 0x80520013 (NS_ERROR_FILE_READ_ONLY) [mozIStorageConnection.beginTransactionAs]" nsresult: "0x80520013 (NS_ERROR_FILE_READ_ONLY)" location: "JS frame :: file:///C:/Users/Omar/Desktop/sunbird/modules/calUtils.jsm -> file:///C:/Users/Omar/Desktop/sunbird/calendar-js/calCalendarManager.js :: calmgr_checkAndMigrateDB :: line 449" data: no]
Source File: file:///C:/Users/Omar/Desktop/sunbird/modules/calUtils.jsm -> file:///C:/Users/Omar/Desktop/sunbird/calendar-js/calCalendarManager.js
Line: 449
> 2.Switching to another view (day, week, etc) doesn't work
works for me now
> 3.Switch to Calendars Tab - the list is empty
works for me now
> 4.New Event button doesn't work (new task button) works
I can still reproduce it
> 5.Go to date doesn't work
works for me now
Comment 5•13 years ago
|
||
This is a sunbird issue.
Component: General → Sunbird Only
QA Contact: general → sunbird
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•