Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-06

ERROR: Unable to load package TEditorToolBarOptions.Load:

9 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

fpc r31144 & lazarus r49402 yosemite x64qt
when try builed IDE I get this error.

SetPrimaryConfigPath NewValue="/Users/user-name/.lazarus" -> "/Users/user-name/.lazarus"
TEditorToolBarOptions.Load: Using old configuration in editortoolbar.xml.

$0000000100233161
$000000010007AA94
$0000000100001A4A
$00000001001C36A3
$0000000100002ADE
$00000001000074F8
ERROR: Unable to load package
Unable to open the package "editortoolbar".
This package was marked for installation.
lazbuild is non interactive, aborting now.

Reply by email

FreeMan
to FreeMan

still continue in r49410, juha

FreeMan wrote 24 lines
fpc r31144 & lazarus r49402 yosemite x64qt when try builed IDE I get this error. SetPrimaryConfigPath NewValue="/Users/user-name/.lazarus" -> "/Users/user-name/.lazarus" TEditorToolBarOptions.Load: Using old configuration in editortoolbar.xml. $0000000100233161 $000000010007AA94 $0000000100001A4A $00000001001C36A3 $0000000100002ADE $00000001000074F8 ERROR: Unable to load package Unable to open the package "editortoolbar". This package was marked for installation. lazbuild is non interactive, aborting now. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150622/05ea7a10/attachment.html>

Reply by email

Juha Manninen
to FreeMan
FreeMan wrote
still continue in r49410, juha

Just do a clean build and it is solved.
This is generic advice for any problem you encounter after updating trunk. At least I often get problems which are then solved by doing a clean build.

Juha

Reply by email

FreeMan
to Juha Manninen

I'm always do that. I remove all sources (fpc & lazarus) and remove added my components libs folders as well then re download fpc then make&build, then lazarus too. I did this tree times. error is still continue.
I remove "editortoolbar.xml" and retry lazbuild, error execption.

Juha Manninen wrote 6 lines
Just do a clean build and it is solved. This is generic advice for any problem you encounter after updating trunk. At least I often get problems which are then solved by doing a clean build. Juha

Reply by email

Juha Manninen
to FreeMan
FreeMan wrote 5 lines
I'm always do that. I remove all sources (fpc & lazarus) and remove added my components libs folders as well then re download fpc then make&build, then lazarus too. I did this tree times. error is still continue. I remove "editortoolbar.xml" and retry lazbuild, error execption.

According to Mattias LazBuild indeed creates an error when a package is missing. I didn't know that, I almost never use LazBuild myself. The solution is not to use it. Do "make clean bigide" instead. You can use the Configure Build Lazarus dialog inside Lazarus, too, and select "Clean all". That's how I always do a clean build for Lazarus myself.

BTW, it looks like you do A LOT of useless and error prone things when you update Lazarus.
First, you never need to remove sources, you can just update the latest changes using "svn up" or similar.
Then, don't update FPC at the same time. Keep the working FPC installation when you deal with Lazarus trunk. If you are interested in FPC development then update it from SVN but don't mix it with Lazarus updates.
Very seldom you need to delete the user configuration. For example in this case it is not needed.

Summa summarum: if you already destroyed your Lazarus binary, just do "svn up", then "make clean bigide".

Juha

Reply by email

FreeMan
to Juha Manninen
Juha Manninen wrote
Ok, I added a dummy package to replace the removed package in r49411. This should prevent compilation errors. Please test. Juha

Sorry I been late,
in r49410: I make lazarus then run IDE, then from menu ,Tools--> Configure "build lazarus" after two error messages, I build IDE and now lazbuild work without error, I don't know how and why!!! I think no need to dummy package.
and I'm update to r49412, maked and lazbuild working, no errors. Thank you for help

Reply by email

Juha Manninen
to FreeMan
FreeMan wrote 5 lines
in r49410: I make lazarus then run IDE, then from menu ,Tools--> Configure "build lazarus" after two error messages, I build IDE and now lazbuild work without error, I don't know how and why!!! I think no need to dummy package. and I'm update to r49412, maked and lazbuild working, no errors.

The fatal error happened originally only with LazBuild. Now with the dummy package even LazBuild should work.

Juha

Reply by email