[Lazarus] Problems using xrdp

2014-10-01 Thread Steve Gatenby

Having an issue running a simple Laz app under xrdp

 xrdp (server) running on Lubuntu 14.04 server 32 bit
 rdesktop (client) running on another system Lubuntu 14.04 server 32 bit

Blank (new) Laz app with just a label added (no code)
If I run the app on the server itself, no problems
Running same app logging in from the client system fails

Would anybody have any ideas here ?

Thanks - SteveG

(gdb results following) - I can supply full backtrace if required

Reading symbols from project1...done.
(gdb) r
Starting program: /home/user/NetLynx/00-Admin/RunFiles/NetLynx/project1
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/i386-linux-gnu/libthread_db.so.1.

Program received signal SIGSEGV, Segmentation fault.
0xb715d19b in ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0
(gdb) bt
#0  0xb715d19b in ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0
#1  0xb713e4d5 in ?? () from /usr/lib/i386-linux-gnu/libpixman-1.so.0
#2  0xb713dcb7 in pixman_composite_glyphs_no_mask () from 
/usr/lib/i386-linux-gnu/libpixman-1.so.0

#3  0xb7691e4a in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#4  0xb76e6b3e in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#5  0xb76e8c9f in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#6  0xb76e8f23 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#7  0xb76867a6 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#8  0xb7699029 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#9  0xb76d536c in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#10 0xb76da8fd in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#11 0xb7689e23 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#12 0xb76867a6 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#13 0xb770711a in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#14 0xb76d536c in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#15 0xb7690712 in ?? () from /usr/lib/i386-linux-gnu/libcairo.so.2
#16 0xb768118e in cairo_show_glyphs () from 
/usr/lib/i386-linux-gnu/libcairo.so.2

#17 0xb72980c1 in ?? () from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
#18 0xb7298404 in ?? () from /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0
#19 0xb77a82f8 in pango_renderer_draw_glyphs () from 
/usr/lib/i386-linux-gnu/libpango-1.0.so.0
#20 0xb72986ea in pango_cairo_show_glyph_string () from 
/usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0

#21 0xb7959637 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#22 0xb77a82f8 in pango_renderer_draw_glyphs () from 
/usr/lib/i386-linux-gnu/libpango-1.0.so.0
#23 0xb77a83ca in pango_renderer_draw_glyph_item () from 
/usr/lib/i386-linux-gnu/libpango-1.0.so.0
#24 0xb77a8f23 in pango_renderer_draw_layout_line () from 
/usr/lib/i386-linux-gnu/libpango-1.0.so.0
#25 0xb77a913a in pango_renderer_draw_layout () from 
/usr/lib/i386-linux-gnu/libpango-1.0.so.0
#26 0xb795a664 in gdk_draw_layout_with_colors () from 
/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#27 0x08278322 in TGTKDEVICECONTEXT__DRAWTEXTWITHCOLORS 
(ATEXT=0xb6ca9d68 Label1, ALENGTH=6, X=17, Y=14, FGCOLOR=0x0,
BGCOLOR=0x0, this=error reading variable) at 
./gtk2/gtk2devicecontext.inc:1344
#28 0x081bb7d1 in TGTK2WIDGETSET__TEXTOUT (DC=3066528144, X=17, Y=14, 
STR=0xb6ca9d68 Label1, COUNT=6,

this=error reading variable) at ./gtk2/gtk2winapi.inc:9577
#29 0x081bc0cf in TGTK2WIDGETSET__TEXTUTF8OUT (DC=3066528144, X=0, Y=0, 
STR=0xb6ca9d68 Label1, COUNT=6,

this=error reading variable) at ./gtk2/gtk2lclintf.inc:189
#30 0x081aee0f in DRAWLINE (THELINE=0xb6ca9d68 Label1, LINELENGTH=6, 
TOPPOS=0, parentfp=0xbfffe65c)

at ./gtk2/gtk2winapi.inc:2636
#31 0x081aea9f in TGTK2WIDGETSET__DRAWTEXT (DC=3066528144, 
STR=0xb6ca9868 Label1, COUNT=6, RECT=..., FLAGS=352,

this=error reading variable) at ./gtk2/gtk2winapi.inc:2738
#32 0x0815a105 in DRAWTEXT (DC=3066528144, STR=0xb6ca9868 Label1, 
COUNT=6, RECT=..., FLAGS=352)

at ./include/winapi.inc:210
---Type return to continue, or q return to quit---


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-01 Thread Bart
On 10/1/14, Maxim Ganetsky gan...@narod.ru wrote:

 It seems that your IDE is not up to date and does not include recent
 Translations unit fixes, because your commit corrupts PrevMsg value in
 e.g. Russian translation. Please update/rebuild IDE and updatepofiles tool.

I updated to r46390 and rebuilt both the IDE and updatepofiles tool.
I then let the updatepofiles tool update the languagefiles for the pochecker.
It modified 2 files (ru and de).
I committed those on r46391.

Can you check that it is now OK?

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-01 Thread Bart
On 10/1/14, Bart bartjun...@gmail.com wrote:

 I updated to r46390 and rebuilt both the IDE and updatepofiles tool.
 I then let the updatepofiles tool update the languagefiles for the
 pochecker.
 It modified 2 files (ru and de).
 I committed those on r46391.

Somethig went wrong here.
I did a make clean again, then rebuilt.
Now the updatepofiles tool does not alter any languagefiles from pochecker tool.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] IDE key shortcut file

2014-10-01 Thread Jürgen Hestermann

Is there a file that stores the current IDE editor keyboard shortcuts
so that I can migrate them from one machine to another?

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Rik van Kekem

Jürgen Hestermann wrote:

Is there a file that stores the current IDE editor keyboard shortcuts
so that I can migrate them from one machine to another?

I think they should be in editoroptions.xml in your config-directory.
(In the KeyMapping section)

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Jürgen Hestermann


Am 2014-10-01 um 18:31 schrieb Rik van Kekem:

Jürgen Hestermann wrote:

Is there a file that stores the current IDE editor keyboard shortcuts
so that I can migrate them from one machine to another?

I think they should be in editoroptions.xml in your config-directory.
(In the KeyMapping section)


My editoroptions.xml has no KeyMapping section although I changed several keys 
in the IDE.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Jürgen Hestermann


Am 2014-10-01 um 18:31 schrieb Rik van Kekem:

Jürgen Hestermann wrote:

Is there a file that stores the current IDE editor keyboard shortcuts
so that I can migrate them from one machine to another?

I think they should be in editoroptions.xml in your config-directory.
(In the KeyMapping section)


Oh, I see now.
I confused EditorOptions and EnvironmentOptions.
Thanks.
I found it.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Rik van Kekem

Jürgen Hestermann wrote:

Is there a file that stores the current IDE editor keyboard shortcuts
so that I can migrate them from one machine to another?

I think they should be in editoroptions.xml in your config-directory.
(In the KeyMapping section)


My editoroptions.xml has no KeyMapping section although I changed
several keys in the IDE.

Mine does. (What version do you have)
Mine: Lazarus 1.3 r46309 FPC 2.7.1 i386-win32-win32/win64
Windows 7 Professional 64bit

Are you sure you're looking in the right config-directory.
(Are there files there with timestamp of today?)

You can look in lazarus.cfg (in the program directory) if maybe another 
config directory is used (--primary-config-path=x)



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Jürgen Hestermann


Am 2014-10-01 um 19:03 schrieb Rik van Kekem:

Mine does. (What version do you have)
Mine: Lazarus 1.3 r46309 FPC 2.7.1 i386-win32-win32/win64
Windows 7 Professional 64bit

Are you sure you're looking in the right config-directory.
(Are there files there with timestamp of today?)

You can look in lazarus.cfg (in the program directory) if maybe another config 
directory is used (--primary-config-path=x)


As already written in my other mail I confused editoroptions.xml
with environmentoptions.xml (both start with an e and end on .xml ;-))

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Rik van Kekem

Jürgen Hestermann wrote:

As already written in my other mail I confused editoroptions.xml
with environmentoptions.xml (both start with an e and end on .xml ;-))

Aaaah, your mails arrived here in the wrong order ;)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Frederic Da Vitoria
2014-10-01 19:10 GMT+02:00 Rik van Kekem r...@graficalc.nl:

 Jürgen Hestermann wrote:

 As already written in my other mail I confused editoroptions.xml
 with environmentoptions.xml (both start with an e and end on .xml ;-))

 Aaaah, your mails arrived here in the wrong order ;)


Here too :-)

-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE key shortcut file

2014-10-01 Thread Frederic Da Vitoria
Actually, I received Rik's first answer before anything else. I don't know
for the rest, because I checked my mails just now and my mail client has
corrected the order of the mails.

I took a look at the headers of the first mail (since this one arrived
after Rik's answer, it means it was delayed) and I found this:

Received: from mailer.lazarus.freepascal.org
(mailer.lazarus.freepascal.org. [80.123.225.56])
by mx.google.com with ESMTPS id m3si1943124wja.113.2014.10.01.09.53.49
for multiple recipients
(version=TLSv1 cipher=RC4-SHA bits=128/128);
Wed, 01 Oct 2014 09:53:50 -0700 (PDT)
Received-SPF: none (google.com:
lazarus-boun...@lists.lazarus.freepascal.org does not designate
permitted sender hosts) client-ip=80.123.225.56;
Authentication-Results: mx.google.com;
   spf=neutral (google.com:
lazarus-boun...@lists.lazarus.freepascal.org does not designate
permitted sender hosts)
smtp.mail=lazarus-boun...@lists.lazarus.freepascal.org
Received: from localhost ([127.0.0.1] helo=LazarusTeam32.firmos.at)
by LazarusTeam32.firmos.at with esmtp (Exim 4.69 (FreeBSD))
(envelope-from lazarus-boun...@lists.lazarus.freepascal.org)
id 1XZMdu-0006zw-8r; Wed, 01 Oct 2014 18:20:42 +0200

I don't know why it took more than 30 minutes from LazarusTeam32 to google.



2014-10-01 20:03 GMT+02:00 Frederic Da Vitoria davito...@gmail.com:

 2014-10-01 19:10 GMT+02:00 Rik van Kekem r...@graficalc.nl:

 Jürgen Hestermann wrote:

 As already written in my other mail I confused editoroptions.xml
 with environmentoptions.xml (both start with an e and end on .xml ;-))

 Aaaah, your mails arrived here in the wrong order ;)


 Here too :-)

 --
 Frederic Da Vitoria
 (davitof)

 Membre de l'April - « promouvoir et défendre le logiciel libre » -
 http://www.april.org




-- 
Frederic Da Vitoria
(davitof)

Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-01 Thread Bart
On 9/24/14, Bart bartjun...@gmail.com wrote:

 I'ḿ now planning on
 - extent the PoCheckerSettings
 - implement some mechanism (listbox probably) to access recently
 opened master/child po-files
 - implement searching an entire directory for all po's (listing them
 in one of the lisboxes)

Finally done in r46394.

There will be bugs, so please hunt them.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Pochecker (was Fuzzy traslations ignored)

2014-10-01 Thread Maxim Ganetsky

01.10.2014 13:42, Bart пишет:

On 10/1/14, Bart bartjun...@gmail.com wrote:


I updated to r46390 and rebuilt both the IDE and updatepofiles tool.
I then let the updatepofiles tool update the languagefiles for the
pochecker.
It modified 2 files (ru and de).
I committed those on r46391.


Somethig went wrong here.
I did a make clean again, then rebuilt.
Now the updatepofiles tool does not alter any languagefiles from pochecker tool.


Great. I cleaned up affected translations.

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus