Lazarus + lazreport + JVuib2 on linux lazarus / 1-Linux ---------------------------------------------------------------------- sidon · 2006-02-14 18:28 what lazarus version woks on linux with the components : Lazreport and Jvuib2? With snapshot version 0.9.13-02142006 after install jvuib or lazreport lazarus can't be loaded! ---------------------------------------------------------------------- jesusr · 2006-02-15 22:23 I can confirm that UIB2 is the problem, see faq for explanation and fix. Specially http://wiki.lazarus.freepascal.org/index.php/Lazarus_Fa q#Lazarus_crashes_with_runtime_error_211_after_I_installed_a_component ---------------------------------------------------------------------- Anonymous · 2006-02-16 12:11 Quote from: "jesusr"I can confirm that UIB2 is the problem, see faq for explanation and fix. Specially http://wiki.lazarus.freepascal.org/ index.php/Lazarus_Faq#Lazarus_crashes_with_runtime_error_211_after_I_i nstalled_a_component I solved the problem adding in lazarus.pp the following line (in uses clause): {$IFDEF FPC}{$IFDEF UNIX}cthreads, {$ENDIF}{$ENDIF} couldn't this add by develepores of lazarus? ---------------------------------------------------------------------- Vincent Snijders · 2006-02-16 12:35 No, because then cthreads would always be used, even if there are no packages installed that require threading. I am working on a better (temporary) solution. ---------------------------------------------------------------------- sidon · 2006-02-16 17:19 Quote from: "jesusr"I can confirm that UIB2 is the problem And for lazreport? is there a solution? ---------------------------------------------------------------------- jesusr · 2006-02-16 18:21 Lazreport doesn't have this problem. ---------------------------------------------------------------------- sidon · 2006-02-20 14:03 Quote from: "jesusr"Lazreport doesn't have this problem. Yes! Lazreport has the other  problem, i tested now, with lazarus-0.9.13-20060220.i586.rpm and lazreport from cvs. After to install Lazreport the following error is reported when lazarus is loaded: [FORMS.PP] ExceptionOccurred   Sender=EPrinter   Exception=Paper "" not supported !   Stack trace:   $0850E322  TPAPERSIZE__PAPERRECTOFNAME,  line 800 of printers.pas   $0850DEE1  TPAPERSIZE__GETPAPERRECT,  line 720 of printers.pas   $0850D5E7  TPRINTER__GETPAGEWIDTH,  line 458 of printers.pas   $0863BDA6  TFRPRINTER__GETSETTINGS,  line 259 of lr_prntr.pas   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas TApplication.HandleException Paper "" not supported !   Stack trace:   $0850E322  TPAPERSIZE__PAPERRECTOFNAME,  line 800 of printers.pas   $0850DEE1  TPAPERSIZE__GETPAPERRECT,  line 720 of printers.pas   $0850D5E7  TPRINTER__GETPAGEWIDTH,  line 458 of printers.pas   $0863BDA6  TFRPRINTER__GETSETTINGS,  line 259 of lr_prntr.pas   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas Runtime error 217 at $0805F465   $0805F465   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas ---------------------------------------------------------------------- jesusr · 2006-02-21 20:32 Quote from: "sidon"Quote from: "jesusr"Lazreport doesn't have this problem. Yes! Lazreport has the other  problem, i tested now, with lazarus-0.9.13-20060220.i586.rpm and lazreport from cvs. After to install Lazreport the following error is reported when lazarus is loaded: [FORMS.PP] ExceptionOccurred   Sender=EPrinter   Exception=Paper "" not supported !   Stack trace:   $0850E322  TPAPERSIZE__PAPERRECTOFNAME,  line 800 of printers.pas   $0850DEE1  TPAPERSIZE__GETPAPERRECT,  line 720 of printers.pas   $0850D5E7  TPRINTER__GETPAGEWIDTH,  line 458 of printers.pas   $0863BDA6  TFRPRINTER__GETSETTINGS,  line 259 of lr_prntr.pas   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas TApplication.HandleException Paper "" not supported !   Stack trace:   $0850E322  TPAPERSIZE__PAPERRECTOFNAME,  line 800 of printers.pas   $0850DEE1  TPAPERSIZE__GETPAPERRECT,  line 720 of printers.pas   $0850D5E7  TPRINTER__GETPAGEWIDTH,  line 458 of printers.pas   $0863BDA6  TFRPRINTER__GETSETTINGS,  line 259 of lr_prntr.pas   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas Runtime error 217 at $0805F465   $0805F465   $0863C4DB  TFRPRINTER__SETPRINTER,  line 440 of lr_prntr.pas I have LazReport installed in Lazarus (Linux) and I usually compile it several times per week and don't have this problem, how many printers do you have  installed in your cups server?