зеркало из https://github.com/mozilla/gecko-dev.git
Added more detailed instructions for getting aroud the ICal component not being registered
This commit is contained in:
Родитель
b3d3b12044
Коммит
a2650dfdd6
|
@ -100,8 +100,24 @@ function CalendarEventDataSource( observer, UserPath, syncPath )
|
||||||
try {
|
try {
|
||||||
var iCalLibComponent = Components.classes["@mozilla.org/ical;1"].createInstance();
|
var iCalLibComponent = Components.classes["@mozilla.org/ical;1"].createInstance();
|
||||||
} catch ( e ) {
|
} catch ( e ) {
|
||||||
alert( "The ICAL Componenet is not registered properly. Please add yourself to the cc list at http://bugzilla.mozilla.org/show_bug.cgi?id=134432.\nError returned:"+e+"\n" );
|
alert( "The ICAL Componenet is not registered properly. Please follow the instructions below:\n"+
|
||||||
return;
|
"Windows Users:\n"+
|
||||||
|
"-Please quit Mozilla, run regxpcom and run Mozilla again.\n\n"+
|
||||||
|
"Linux users:\n"+
|
||||||
|
"1)Make sure you have write access to the component.reg file.\n"+
|
||||||
|
"2)Make sure libical is installed properly. (See http://www.mozilla.org/projects/calendar/ for detailed instructions)\n"+
|
||||||
|
"3)Quit Mozilla, cd to your mozilla/bin directory. Run ./regxpcom and run Mozilla again.\n"+
|
||||||
|
"Note: If you get this error:\n"+
|
||||||
|
"'./regxpcom: error while loading shared libraries: libxpcom.so: cannot open\n"+
|
||||||
|
"shared object file: No such file or directory',\n"+
|
||||||
|
"set LD_LIBRARY_PATH and MOZILLA_FIVE_HOME to your mozilla/bin directory first.\n"+
|
||||||
|
"Example: export LD_LIBRARY_PATH=/home/user/mozilla/dist/bin\n"+
|
||||||
|
"Example: export MOZILLA_FIVE_HOME=/home/user/mozilla/dist/bin\n\n"+
|
||||||
|
"If these instructions don't solve the problem, please add yourself to the cc list of\n"+
|
||||||
|
"bug 134432 at http://bugzilla.mozilla.org/show_bug.cgi?id=134432.\n"+
|
||||||
|
"and give more feedback on your platform, Mozilla version, calendar install type:\n"+
|
||||||
|
"(build or xpi), any errors you see on the console that you think is related and any\n"+
|
||||||
|
" other problems you come across when following the above insructions.\n" );
|
||||||
}
|
}
|
||||||
|
|
||||||
this.gICalLib = iCalLibComponent.QueryInterface(Components.interfaces.oeIICal);
|
this.gICalLib = iCalLibComponent.QueryInterface(Components.interfaces.oeIICal);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче