You are here

Lazarus Portable 0.9.27 Beta Test 5.2

121 posts / 0 new
Last post
jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Thanks for that info wences.

Thanks for that info wences. I will test that out when I get home.

Juan A Melendez

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
sqlite bug confirmed. Now,

sqlite bug confirmed. Now, to debug...

Will update you very soon on my progress.

Juan A Melendez

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
I take that back... The

I take that back... The sqlite bug exists "out of the box" from a fresh install of the non-PortableApps version (latest download) from the Lazarus website. Not sure what got broken. I will report it to the Lazarus team.

Wences, exactly which version was working for you last?

Juan A Melendez

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Update: sqlite Aparently, the

Update: sqlite

Aparently, the latest version of sqlite that comes with Lazarus doesn't compile to dll. I've had success only by downloading the latest version of sqlite from here http://www.sqlite.org/sqlitedll-3_6_12.zip

...then copying the file to the startlazarus.exe root-folder (or to x:\windows\system32 folder).

Let me know if this helps in the meantime.

Juan A Melendez

Wences
Offline
Last seen: 3 years 1 month ago
Joined: 2007-04-17 22:05
No, no. You got the wrong bug!

Hi, Jammiii,
sorry for the slow response, I've been without internet connection at home.

Yeap, I had already figured out that I needed to drop the dll from sqlite's site in there. My problem was that I tried to install first the sqlitelaz package, and then the sqlite3laz one. And even though I droped the sqlite3.dll file along with lazarus.exe, it still was looking for sqlite.dll (for the sqlitelaz package, for sqlite 2.x). When I uninstalled the old package and compiled once again, it started working. With lazarus 0.9.26.2 (non-portable).
With the portable one (beta 1 and beta 2) I get an aditional message, before in finishes recompiling Lazarus' IDE. That's the one about the missing componenttreeview component. That's the "portable" bug I was trying to report. I wasn't even aware that the other one was also a bug. I thought it was just by design that you need to add the DLL. Zero experience with Lazarus as you can see... Smile
Do you think it's just me having problems with that componenttreeview or can you confirm that one too?
Thanks for your help (and for the whole thing!):

Wences

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Hi Wences, I have heard of

Hi Wences,

I have heard of that bug in the non-portable version. I will try to reproduce the error and get back to you with an answer.

Thanks!

Juan A Melendez

Wences
Offline
Last seen: 3 years 1 month ago
Joined: 2007-04-17 22:05
Thanks be to you!

Hi, Jammiii,
well... I would really appreciate that. I've got years with Delphi, but I'm completely new to Lazarus, and I'm finding it really hard to start out... (portable or non-portable).
Having it portable is a great incentive for switching to Lazarus. But I need Lazarus to work OK before it replaces Delphi. Smile
Hopefully, we'll find a way to make this work and then I might even help you maintain the portable version. Smile

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
I have been away on a short

I have been away on a short vacation. I've returned and will resume updates very soon.

Juan A Melendez

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
componenttreeview reported issue

Wences... I'm trying to reproduce your error for componenttreeview. Have you seen this bug on a freshly-installed Beta 5.2? It's important to me that this get resolved once and for all.

BTW: Apologies for the looong delay. I'm gotten hit with tons of one-on-one "how-do-i do this in Lazarus..." questions in my email box.

Juan A Melendez

Wences
Offline
Last seen: 3 years 1 month ago
Joined: 2007-04-17 22:05
I don't remember.

I don't remember if I've seen it on a fresh install, but I think yes. I'll see if I can test again tonight and let you know.
Yours:

Wences

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Any new bugs? ... Anyone?

Any new bugs? ... Anyone?

Juan A Melendez

agroferia
Offline
Last seen: 11 years 5 months ago
Joined: 2009-08-07 16:25
Something New

Hello I don't know if this is something to worry about but when I started Lazarus after the portableapp installation it gave me this message:

El paquete "SdpoSerialLaz" está instalado pero se encontró un archivo de paquete (.lpk) no válido. Se ha creado un paquete vacío.

That's the original message in spanish (my native language). Translated in english would be something like:

The package "SdpoSerialLaz" it's already installed but there was found a not valid package (.lpk). There has been created an empty package

After that there is another message saying (I won't put it in spanish):
In the top of the message says: Registry error
Package: "SdpoSerialLaz 0.0"
Unit Name: "SdpoSerial"
Unit not found: "SdpoSerial"
Abort or ignore

I don't know if this error is specific for my language. I'm using Windows Vista 32bits. There's maybe an easy fix on that. Greetings

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 1 hour ago
DeveloperModerator
Joined: 2008-07-24 18:46
Error confirmed

I can confirm that this error occurs in English, my copy of Lazarus as well.

agroferia
Offline
Last seen: 11 years 5 months ago
Joined: 2009-08-07 16:25
Maybe it's a lazarus problem

It can be a lazarus problem, the error it's not so bad through, you can just ignore it. Anyways, I just wanted to thank to the person that make this wonderful program portable, and of course the lazarus team that made this great software.

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
I'm baaaaack! :)

Been AWOL for some time working on some commercial Lazarus & Linux Applications. Apologies.

Agroferia- Can you confirm first that you are using version Beta 5.2? I thought I fixed this issue. Sad I might have missed something.

I will review the issue in the meantime.

Juan A Melendez

dicas3d
Offline
Last seen: 8 years 1 month ago
Joined: 2009-01-22 12:08
bugs

I has download your software and I found a some bugs. In the last version, the code does no compiled, the program ends.

Portugal is cool.

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Bug

I need more information in your report.

What was being compiled, what was the error, was a unit referenced, what version of Microsoft Windows are you using, etc.

Thanks.

Juan A Melendez

dicas3d
Offline
Last seen: 8 years 1 month ago
Joined: 2009-01-22 12:08
bug

this is the bug:
windres [option(s)] [input-file] [output-file]
windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
Hint: Start of reading config file C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\fpc.cfg
Hint: End of reading config file C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 2.2.2 [2009/03/11] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Win32 for i386
Compiling C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\temp\cgiproject1.lpr
Compiling unit1.pas
Compiling resource C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\temp\cgiproject1.rc
Usage: C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\windres.exe [option(s)] [input-file] [output-file]
The options are:
-i --input= Name input file
-o --output= Name output file
-J --input-format= Specify input format
-O --output-format= Specify output format
-F --target= Specify COFF target
--preprocessor= Program to use to preprocess rc file
-I --include-dir= Include directory when preprocessing rc file
-D --define [=] Define SYM when preprocessing rc file
-U --undefine Undefine SYM when preprocessing rc file
-v --verbose Verbose - tells you what it's doing
-l --language= Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to read
the preprocessor output
--no-use-temp-file Use popen (default)
-r Ignored for compatibility with rc
-h --help Print this help message
-V --version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default rc.
C:\Documents and Settings\esen.ESENVISEU\Ambiente de trabalho\LazarusPortable\App\lazarus\fpc\2.2.2\bin\i386-win32\windres.exe: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec tekhex binary ihex
cgiproject1.lpr(15,1) Error: Error while linking
cgiproject1.lpr(15,1) Fatal: There were 1 errors compiling module, stopping
_____________________________
OS : windows XP
3 also show message boxes which print screen is the link:
http://photos3.hi5.com/0104/100/842/PUjxdS100842-02.bmp

Portugal is cool.

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Your error report

Hello again dicas3d,

Per the email I've sent you. (which I hope translated my response properly into your native language)...

I've seen this sort of error many times and for the most part seems to be related for the most part to the location of the source code files.

I'm not sure where in the Lazarus code their exists a "sensitivity" to spaces in the path-name of the files. If the path to the source contains spaces, compilation may break. One work-around is to save source code to a path with no spaces in the name.

Example: "C:\Documents and Settings\..." may break compilation
while..."C:\mysource\..." would work fine.

Please let me know if this helps in the mean-time.

Juan A Melendez

dicas3d
Offline
Last seen: 8 years 1 month ago
Joined: 2009-01-22 12:08
bug

Your advice does'nt work.
And my native language no is castilian but portuguese. How this languages is identicall I think by your name that you're spanish so hispnic, or ascendnt.
In this program I don't write any code.

Portugal is cool.

Darkbee
Darkbee's picture
Offline
Last seen: 2 years 7 months ago
Joined: 2008-04-14 09:41
Thumbs Up for Lazarus and Portable version

Just tried this out for the first time. I have to say it is pretty darn cool! 8) Very reminiscent of Visual Basic with the advantage that you can create cross-platform apps, and that it's open source so you have all the advantages that come with that.

Thanks Jammiii!

EDIT: How do I use the menu editor? It doesn't seem to do anything, there seems to be no way for me to create main menus in applications using the form builder and the menu editor. Where-ever I click, nothing happens.

jammiii
jammiii's picture
Offline
Last seen: 12 years 9 months ago
Joined: 2009-02-10 16:43
Menu Editor

Darkbee,

Thanks for the comment and sorry for the delay. To use TMainMenu object, drop it onto your form, double-click on the object and you'll get the editor. From that point just right-click on the menu editor to add/delete/insert menu items etc. When you close the menu editor you can click on the items to insert your code.

Happy coding!

Juan A Melendez

oflor
Offline
Last seen: 12 years 10 months ago
Joined: 2010-01-29 15:52
Upgrade for Lazarus 0.9.28.2

Hi Everybody:

I was made the upgrade to Lazarus 0.9.28.2.

If anyone want please tel me how I can upload somewhere. Or I will send via email to You.

Best Regards

Signature automatically removed for containing links

OLLI_S
Offline
Last seen: 1 month 6 days ago
Joined: 2011-10-19 04:36
Official version?

Hello,

Lazarus is a really powerful IDE and I love it.
I programmed in Borland Delphi before.

Unfortunately the current version (0.9.30.2) is not available here.

I also want your version to be published as "official" portable app (that also is supported by the "Portable Apps Platform").
So Lazarus can be downloaded and updated by the "Portable Apps Platform".

Greetings

OLLI

depp.jones
Online
Last seen: 25 min 46 sec ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Not 0.9.30.2 but at least

Not 0.9.30.2 but at least 0.9.30. See here. This more recent Dev Test seems to be actively maintained.
Since 0.9.30.2 isn't even officially listed neither on the lazarus homepage nor as standard download from sourceforge (you have to look for it in the folders) this can be called up to date.
When or if it will become official - no one can tell for shure but John and I doubt he knows for now... Wink

kinnon
Offline
Last seen: 10 years 5 months ago
Joined: 2011-12-15 04:34
Strange error

Hi,

When I try to start Lazarus portable, even after a shutdown, I get the following error:

---------------------------
Lazarus Portable (PortableApps.com Launcher)
---------------------------
Another instance of Lazarus Portable is currently closing. Please wait for it to finish before launching it again.
---------------------------
OK
---------------------------

I recently tried to un-mount my USB stick after closing all portable apps, and it kept saying there was something in use. Checked task manager and nothing was listed from my USB drive, so pulled it. I'm guessing this is the result. Can anyone advise how to resolve this issue?

Thanks and regards,
kinnon

kinnon
Offline
Last seen: 10 years 5 months ago
Joined: 2011-12-15 04:34
Figured it out

For those who experience this, find the file
PortableApps.comLauncherRuntimeData-LazarusPortable.ini in your Lazarus data directory. Open it in notepad or similar, and delete the line starting with:
Status=

Save and close, then try to run Lazarus again and it will start.

Regards,
Kinnon

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 2 days 1 hour ago
DeveloperModerator
Joined: 2008-07-24 18:46
Delete file

If you're experiencing this issue, don't just delete the status line, delete the entire file. Make sure Lazarus Portable is not trying to run first.

kinnon
Offline
Last seen: 10 years 5 months ago
Joined: 2011-12-15 04:34
Thanks for the tip.

Thanks for the tip.

kinnon
Offline
Last seen: 10 years 5 months ago
Joined: 2011-12-15 04:34
dreaded componenttreeview object inspector error

I'm interested in installing the GeckoComponents from http://wiki.lazarus.freepascal.org/GeckoPort
I load the package, click Compile (all good so far), then click Install and get a message saying Lazarus needs to rebuild and restart; I click OK.

Next the process stops with the message
..\ideintf\objectinspector.pp(48,59) Fatal: Can't find unit ComponentTreeView used by ObjectInspector

Noticed something similar was mentioned in this thread in relation to installing SQLite.

Dug around a bit and found the same issue on the Lazarus bug tracker:
http://62.166.198.202/view.php?id=18925

Relating to Lazarus being installed in a read-only folder. Bugfix is set for version 0.9.31.

On the off chance, I removed the read-only property from the LazarusPortable subfolders and tried again. Still no luck.

I'm an old hand at Delphi, and totally new to Lazarus. I like the idea of a portable version, but want to be able to install components. Has anyone found a decent work around for this?

Regards,
Kinnon

Pages

Log in or register to post comments