Recent

Author Topic: TRichMemo install shows "Partial"  (Read 1434 times)

vinntec

  • New Member
  • *
  • Posts: 11
TRichMemo install shows "Partial"
« on: January 21, 2026, 05:39:34 pm »
I have a complex program on Windows Lazarus which works absolutely fine. It includes a pair of TRichMemo controls which I used after getting the Online Package Manager to install "RichMemo".

With the death of Windows 10, I am slowly migrating everything from my small Windows 11 to a Zorin OS (Linux) system. So I installed Lazarus from DEB files and everything looked fine (following instructions for Linux Mint). But when I try and install RichMemo, this appears to work fine with no errors but the OPM shows "Partially" against the install. I have tried completely removing Lazarus/FPC, rebooting, then reinstalling and redoing the package management, but same result.

I can't find anything which explains what "partially" means and what I need to do to complete the installation. Can anyone help because it sounds like something is missing, but I can't see what it is?

I forgot to mention, both are Lazarus 4.4
« Last Edit: January 21, 2026, 05:48:45 pm by vinntec »

rvk

  • Hero Member
  • *****
  • Posts: 7064
Re: TRichMemo install shows "Partial"
« Reply #1 on: January 21, 2026, 06:08:20 pm »
You can press the little + before RichMemo and see what is actually installed and what is not.

vinntec

  • New Member
  • *
  • Posts: 11
Re: TRichMemo install shows "Partial"
« Reply #2 on: January 21, 2026, 06:52:10 pm »
When I did this, richmemo_design showed as downloaded. I tried to install it by itself but this only changed status to "Extracted" (see screenshot). All pre-reqs for it are installed.

Oh my head!
« Last Edit: January 21, 2026, 06:54:28 pm by vinntec »

rvk

  • Hero Member
  • *****
  • Posts: 7064
Re: TRichMemo install shows "Partial"
« Reply #3 on: January 21, 2026, 07:47:30 pm »
Did you recompile the IDE?

Does it show the A component for RichMemo?

vinntec

  • New Member
  • *
  • Posts: 11
Re: TRichMemo install shows "Partial"
« Reply #4 on: January 22, 2026, 07:21:47 am »
If you mean, does RichMemo show as one of the options on the menu, then the answer is no. I think the only thing to do is to reinstall Linux and go through the install process again. The system is only a few days old and the steps I have taken are documented so should take a few hours.

rvk

  • Hero Member
  • *****
  • Posts: 7064
Re: TRichMemo install shows "Partial"
« Reply #5 on: January 22, 2026, 10:56:49 am »
If you mean, does RichMemo show as one of the options on the menu, then the answer is no.
I thought so. The component itself is in richmemo_design which isn't installed but only extracted. You need to install that one.
I don't know why it didn't install for you.

wp

  • Hero Member
  • *****
  • Posts: 13646
Re: TRichMemo install shows "Partial"
« Reply #6 on: January 22, 2026, 11:32:24 am »
I just installed RichMemo from OPM, and it worked fine: Check the item "RichMemo" (which will also check the two sub-items "richmemopackage.lpk" and "richmemo_design.lpk" which you see when you expand the "RichMemo" node); click "Install", confirm to rebuild the IDE, and wait until the IDE restarts.

If your first installation did not work out for you, simply repeat the installation. It is not harmful to install a package over a partially  (or even completely) installed one.

vinntec

  • New Member
  • *
  • Posts: 11
Re: TRichMemo install shows "Partial"
« Reply #7 on: January 22, 2026, 11:49:25 am »
Well... I reinstalled Zorin OS then followed my instructions on how to setup Lazarus again - and this time RichMemo installs no problem and my program compiles and runs (after some minor platform-related  changes).

I suspect what messed things up first time around is that I initially installed Lazarus using apt, but this installed Lazarus 3.0! When I realised this, I carefully followed the instructions to remove Lazarus completely and reboot then did the install from DEB files. But it looks like something from the old version was still lurking somewhere and messing Lazarus up even if I uninstalled and reinstalled Lazarus.

So all good now, sorry to be a nuisance.

vinntec

  • New Member
  • *
  • Posts: 11
Re: TRichMemo install shows "Partial"
« Reply #8 on: January 22, 2026, 01:36:50 pm »
Just to close this item, here is a screenshot of my program working on Linux.

laguna

  • Sr. Member
  • ****
  • Posts: 330
Re: TRichMemo install shows "Partial"
« Reply #9 on: April 06, 2026, 08:06:04 pm »
hi, why non run format rtf in linux ubunt bat run in mac os and windows?
this is my solution but not format in ubuntu/linux:
Code: Pascal  [Select][+][-]
  1. procedure TFrmMain.SetRichEdit;
  2.  
  3.   function UTF8ToRTF(const s: string): string;
  4.   var
  5.     ws: unicodestring;
  6.     i: integer;
  7.     c: widechar;
  8.     code: integer;
  9.   begin
  10.     Result := '';
  11.  
  12.     ws := UTF8Decode(s);
  13.  
  14.     for i := 1 to Length(ws) do
  15.     begin
  16.       c := ws[i];
  17.       code := Ord(c);
  18.  
  19.       // escape caratteri RTF
  20.       if (c = '\') or (c = '{') or (c = '}') then
  21.         Result := Result + '\' + UTF8Encode(c)
  22.  
  23.       // ASCII normale
  24.       else if (code >= 0) and (code <= 127) then
  25.         Result := Result + UTF8Encode(c)
  26.  
  27.       // Unicode (accenti ecc.)
  28.       else
  29.         Result := Result + '\u' + IntToStr(code) + '?';
  30.     end;
  31.   end;
  32.  
  33. var
  34.   ss: TStringStream;
  35.   txt: string;
  36. begin
  37.  
  38.   RichMemo1.Clear;
  39.  
  40.   {$IFDEF LINUX}
  41.  
  42.   // ✅ Linux + macOS: testo semplice (stabile)
  43.   txt :=
  44.     'Note (scorri fino alla fine per leggere tutte le informazioni):' + LineEnding + LineEnding +
  45.     'Il programma carica all''avvio il file di configurazione nella cartella documenti con il nome predefinito:' + LineEnding +
  46.     'backup_configLaz.rbak' + LineEnding + LineEnding +
  47.     'Esempio è possibile cambiare nome file di configurazione e percorso:' + LineEnding +
  48.     './lazbackupincrementalerar --tray --load "/home/vincenzo/Configurazioni/backup_casa.rbak"' + LineEnding + LineEnding +
  49.     'I parametri non sono obbligatori.' + LineEnding + LineEnding +
  50.         'Linux (Ubuntu/Debian): installa dai repository ufficiali:' + LineEnding +
  51.     'Installazione RAR trova il percorso:' + LineEnding +
  52.  
  53.  
  54.  
  55.     'sudo apt update' + LineEnding +
  56.     'sudo apt install rar unrar' + LineEnding +
  57.     'Test per verificare l''installazione:' + LineEnding +
  58.     'which rar' + LineEnding +
  59.     'which unrar'+ LineEnding +
  60.     'sudo find / -name rar 2>/dev/null' + LineEnding ;
  61.  
  62.   RichMemo1.Clear;
  63.   RichMemo1.Text := txt;
  64.  
  65.   {$ELSE}
  66.   ss := TStringStream.Create('{\rtf1\ansi\deff0' + '{\fonttbl' +
  67.     '{\f0\fswiss Helvetica;}' + '{\f1\fmodern Courier New;}' +
  68.     '}' + '{\colortbl ;\red0\green0\blue255;}' + '\fs24 ' + '\b ' +
  69.     UTF8ToRTF('Note (scorri fino alla fine per leggere tutte le informazioni):') +
  70.     '\b0\par\par ' + UTF8ToRTF(
  71.     'Il programma carica all''avvio il file di configurazione che si trova nella cartella documenti:')
  72.     + '\par ' + '\b backup_configLaz.rbak\b0\par\par ' +
  73.     UTF8ToRTF('Esempio:') + '\par ' +
  74.     '\f1\b LazBackup.exe /tray /load "C:\\Configurazioni\\backup_casa.rbak"\b0\f0\par\par '
  75.     +
  76.     UTF8ToRTF('I parametri non sono obbligatori, servono ad automatizzare la procedura.') +
  77.     '\par\par ' + UTF8ToRTF('Installa RAR dal sito ufficiale:') +
  78.     '\par ' + '\b https://www.rarlab.com\b0\par\par ' +
  79.     UTF8ToRTF('Per macOS:') + '\par\par ' + UTF8ToRTF(
  80.     'Verifica se è già installato da terminale con il comando:') +
  81.     '\par ' + '\cf1\f1\b sudo find / -name rar 2>/dev/null\b0\f0\cf0\par\par ' +
  82.     UTF8ToRTF('Per installarlo usa Homebrew. Se Homebrew non è installato, installalo:') + '\par ' +
  83.     '\cf1\f1\b /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\b0\f0\cf0\par\par '
  84.     +
  85.     UTF8ToRTF('Installa RAR con Homebrew:') + '\par ' +
  86.     '\cf1\f1\b brew install rar\b0\f0\cf0\par ' + '}');
  87.  
  88.   ss.Position := 0;
  89.   RichMemo1.LoadRichText(ss);
  90.   ss.Free;
  91.   {$ENDIF}
  92. end;    

paxnet_be

  • New Member
  • *
  • Posts: 34
Re: TRichMemo install shows "Partial"
« Reply #10 on: July 03, 2026, 02:47:26 pm »
Hello,
I just installed Lazarus 4.8 over 4.6, where RichMemo already was installed.
After starting Lazaus 4.8, I had to reinstall the package RichMemo, wich I did via OPM. When rebuilding Lazarus, the error in attachment appeared. Reinstall again did not help, nor uninstall followed by reinstall. Also, the icon in the menu Common Controls is not present anymore.
The strange thing is that Richmemo instances work perfectly in my application.
Any ideas to fix that?
--------
Lazarus 4.8 (rev lazarus_4_8) FPC 3.2.2 x86_64-linux-gtk2
« Last Edit: July 03, 2026, 02:51:47 pm by paxnet_be »
Now I know you never know, but at least I know this. - Jean Gabin

wp

  • Hero Member
  • *****
  • Posts: 13646
Re: TRichMemo install shows "Partial"
« Reply #11 on: July 03, 2026, 03:13:34 pm »
Installing a new version over an old version may leave some incompatible units from the old one in the new one. A clean rebuild of the IDE helps in many of these cases: "Tools" > "Configure Build Lazarus" > check "Clean all" and "Switch to automatic mode after building" > "Build".

paxnet_be

  • New Member
  • *
  • Posts: 34
Re: TRichMemo install shows "Partial"
« Reply #12 on: July 03, 2026, 03:46:48 pm »
@wp Thank you for quick reply.
I performed your advice, but sadly the same error.
Now I know you never know, but at least I know this. - Jean Gabin

CM630

  • Hero Member
  • *****
  • Posts: 1763
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: TRichMemo install shows "Partial"
« Reply #13 on: July 03, 2026, 03:58:41 pm »
...
I just installed Lazarus 4.8 over 4.6, where RichMemo already was installed.
After starting Lazaus 4.8, I had to reinstall the package RichMemo, wich I did via OPM...
Usually no need to reinstall, just Main Menu — Tools — Build Lazarus with profile: Normal IDE.
Do you have other additional components except TRichMemo?
Лазар 4,8 32 bit (sometimes 64 bit); FPC3,2,2

paxnet_be

  • New Member
  • *
  • Posts: 34
Re: TRichMemo install shows "Partial"
« Reply #14 on: July 03, 2026, 04:31:33 pm »
@CM630 I had indeed other component installed in OPM, I uninstalled them and retried to build the IDE with only RichMemo. Same result...  :(
Now I know you never know, but at least I know this. - Jean Gabin

 

TinyPortal © 2005-2018