Sign in Join

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

Mailing lists / lazarus / 2012-04

Unknown Run-Time error : 202

12 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Marcos Douglas

Hi,

I open my Lazarus and click in Build all: ERROR: Unknown Run-Time error : 202

ENV:
Lazarus 1.1 r36682M FPC 2.6.1 i386-win32-win32/win64

This is my debuglog:

SetPrimaryConfigPath
NewValue="W:\md\dev\freepascal\ide\laz\1.1-config" -> "W:\md\dev\freepascal\ide\laz\1.1-config"
Adding "--pcp=W:\md\dev\freepascal\ide\laz\1.1-config" as a parameter Adding "--lazarus-dir=W:\md\dev\freepascal\ide\laz\1.1" as a parameter Adding "--debug-log=debuglog.txt" as a parameter
age:XPM
SetPrimaryConfigPath
NewValue="W:\md\dev\freepascal\ide\laz\1.1-config" -> "W:\md\dev\freepascal\ide\laz\1.1-config"
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="W:\md\dev\freepascal\ide\laz\1.1-config\" SecondaryConfigPath="W:\md\dev\freepascal\ide\laz\1.1" TLResourceList.Sort 513 DUPLICATE RESOURCE FOUND: TPRImage:XPM TMainIDE.DoNewProject A
TApplication.HandleException Unknown Run-Time error : 202 Stack trace:
$0044BCC6 TMAINIDE__ONIDEMESSAGEDIALOG, line 3575 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp $0044BCEE TMAINIDE__ONIDEMESSAGEDIALOG, line 3576 of main.pp [TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END

Marcos Douglas

Reply by email

Marcos Douglas
to Vincent Snijders
Vincent Snijders wrote 11 lines
Op 10 april 2012 16:27 heeft Marcos Douglas het volgende geschreven: > Hi, > > I open my Lazarus and click in Build all: ?ERROR: Unknown Run-Time error : 202 > > ENV: > Lazarus 1.1 r36682M FPC 2.6.1 i386-win32-win32/win64 This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699

I'm already in r36682 (now in r36711).
But I think the problem was have compiled the IDE and now the IDE is broke. Well, I need to back to an old binary, right?

Marcos Douglas

Reply by email

Marcos Douglas
to Vincent Snijders

2012/4/10 Vincent Snijders :

Show quoted text 8 lines
Op 10 april 2012 16:37 heeft Marcos Douglas het volgende geschreven: >> This has been fixed in >> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 > > I'm already in r36682 36682 < 36699.

Yes, sorry.
But the real problem is the IDE was compiled with this error and I can't to click in Build All to make other version.

I'm searching a backup right now...

Marcos Douglas

Reply by email

Marcos Douglas
to Marcos Douglas

2012/4/10 Marcos Douglas :

Show quoted text 15 lines
2012/4/10 Vincent Snijders : > Op 10 april 2012 16:37 heeft Marcos Douglas het > volgende geschreven: >>> This has been fixed in >>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >> >> I'm already in r36682 > > 36682 < 36699. Yes, sorry. But the real problem is the IDE was compiled with this error and I can't to click in Build All to make other version. I'm searching a backup right now...

I found a r36660 to open and compile using the new sources r36711. I think it will work.

Thanks Vincent.

Marcos Douglas

Reply by email

Reinier Olislagers
to Marcos Douglas: 2012/4/10 Vincent Snijders : Yes, sorry. But the real problem is the IDE was compiled…
Marcos Douglas wrote 16 lines
2012/4/10 Vincent Snijders : > Op 10 april 2012 16:37 heeft Marcos Douglas het > volgende geschreven: >>> This has been fixed in >>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >> >> I'm already in r36682 > > 36682 < 36699. Yes, sorry. But the real problem is the IDE was compiled with this error and I can't to click in Build All to make other version. I'm searching a backup right now...

Pardon me, but couldn't you have used lazbuild or make to get a working (bare bones) Lazarus.exe?

Thanks,
Reinier

Reply by email

Marcos Douglas
to Reinier Olislagers
Reinier Olislagers wrote 19 lines
On 10-4-2012 16:43, Marcos Douglas wrote: > 2012/4/10 Vincent Snijders : >> Op 10 april 2012 16:37 heeft Marcos Douglas het >> volgende geschreven: >>>> This has been fixed in >>>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >>> >>> I'm already in r36682 >> >> 36682 < 36699. > > Yes, sorry. > But the real problem is the IDE was compiled with this error and I > can't to click in Build All to make other version. > > I'm searching a backup right now... > Pardon me, but couldn't you have used lazbuild or make to get a working (bare bones) Lazarus.exe?

No. I use the IDE to create a new release from itself.

Make: creates a default IDE without my own configurations and components. lazbuild: I never used so, I need to learn before.

Marcos Douglas

Reply by email

Reinier Olislagers
to Marcos Douglas
Marcos Douglas wrote 26 lines
On Tue, Apr 10, 2012 at 11:55 AM, Reinier Olislagers wrote: > On 10-4-2012 16:43, Marcos Douglas wrote: >> 2012/4/10 Vincent Snijders : >>> Op 10 april 2012 16:37 heeft Marcos Douglas het >>> volgende geschreven: >>>>> This has been fixed in >>>>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >>>> >>>> I'm already in r36682 >>> >>> 36682 < 36699. >> >> Yes, sorry. >> But the real problem is the IDE was compiled with this error and I >> can't to click in Build All to make other version. >> >> I'm searching a backup right now... >> > Pardon me, but couldn't you have used lazbuild or make to get a working > (bare bones) Lazarus.exe? No. I use the IDE to create a new release from itself. Make: creates a default IDE without my own configurations and components. lazbuild: I never used so, I need to learn before.

You can use the default IDE that make and lazbuild created to compile and add all your components again.

If required, you could specify your --primary-config-path with lazbuild, but I don't think this would be necessary if you're just compiling a bare idea.

Wasn't this already discussed recently, e.g. in the Lazarus 1.0 thread?

Alternatively, you could use lazbuild --build-ide= to directly build the IDE with your selected packages, or in recent builds, apparently lazbuild useride (recently discussed on mailing list)

Regards,
Reinier

Reply by email

Marcos Douglas
to Reinier Olislagers
Reinier Olislagers wrote 39 lines
On 10-4-2012 17:02, Marcos Douglas wrote: > On Tue, Apr 10, 2012 at 11:55 AM, Reinier Olislagers > wrote: >> On 10-4-2012 16:43, Marcos Douglas wrote: >>> 2012/4/10 Vincent Snijders : >>>> Op 10 april 2012 16:37 heeft Marcos Douglas het >>>> volgende geschreven: >>>>>> This has been fixed in >>>>>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >>>>> >>>>> I'm already in r36682 >>>> >>>> 36682 < 36699. >>> >>> Yes, sorry. >>> But the real problem is the IDE was compiled with this error and I >>> can't to click in Build All to make other version. >>> >>> I'm searching a backup right now... >>> >> Pardon me, but couldn't you have used lazbuild or make to get a working >> (bare bones) Lazarus.exe? > > No. I use the IDE to create a new release from itself. > > Make: creates a default IDE without my own configurations and components. > lazbuild: I never used so, I need to learn before. You can use the default IDE that make and lazbuild created to compile and add all your components again. If required, you could specify your --primary-config-path with lazbuild, but I don't think this would be necessary if you're just compiling a bare idea. Wasn't this already discussed recently, e.g. in the Lazarus 1.0 thread? Alternatively, you could use lazbuild --build-ide= to directly build the IDE with your selected packages, or in recent builds, apparently lazbuild useride (recently discussed on mailing list)

Yes, that was discussed recently in the "Lazarus 1.0" thread but as I said, I never used lazbuild. I will try, but I need to learn how it works.
I could use Make to create a default IDE and after compile again using the IDE but it take time... but this was the plan B. Fortunately I found an old version of IDE. I opened and recompiled. Everything works again.

Thanks, anyway. ;-)

Marcos Douglas

Reply by email

waldo kitty
to Marcos Douglas: 2012/4/10 Vincent Snijders : Yes, sorry. But the real problem is the IDE was compiled…
Marcos Douglas wrote 15 lines
2012/4/10 Vincent Snijders: > Op 10 april 2012 16:37 heeft Marcos Douglas het > volgende geschreven: >>> This has been fixed in >>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >> >> I'm already in r36682 > > 36682< 36699. Yes, sorry. But the real problem is the IDE was compiled with this error and I can't to click in Build All to make other version. I'm searching a backup right now...

if i've kept up and startlazarus has not changed from what it used to do, it renamed the previous lazarus.exe as lazarus.old.exe before it renamed the lazarus.new.exe to lazarus.exe and started it... lazarus.old.exe should have taken you back to the last version... /i think/...

Reply by email

Marcos Douglas
to waldo kitty
waldo kitty wrote 29 lines
On 4/10/2012 10:43, Marcos Douglas wrote: > > 2012/4/10 Vincent Snijders: >> >> Op 10 april 2012 16:37 heeft Marcos Douglas ?het >> volgende geschreven: >>>> >>>> This has been fixed in >>>> >>>> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=36699 >>> >>> >>> I'm already in r36682 >> >> >> 36682< ?36699. > > > Yes, sorry. > But the real problem is the IDE was compiled with this error and I > can't to click in Build All to make other version. > > I'm searching a backup right now... if i've kept up and startlazarus has not changed from what it used to do, it renamed the previous lazarus.exe as lazarus.old.exe before it renamed the lazarus.new.exe to lazarus.exe and started it... lazarus.old.exe should have taken you back to the last version... /i think/...

You're right. But my lazarus.old.exe had the same problem. I had to pick up a backup.

Marcos Douglas

Reply by email