> -----Original Message----- > From: tobi [mailto:tobiasboeg...@googlemail.com] > Sent: Monday, May 14, 2012 4:50 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Two bugs/issues noted > > > On Mon, 14 May 2012, Christer Johansson wrote: > > > > Noted some issues last night... > > > > First one is with Date(now). If assigned to a variable (or > printed) it > > adds placeholders for time as zeroes like... > > > > 05/14/2012 00:00:00 > > > > Second is regarding the Shell command. If I execute the following > > code on my NAS nothing happens, same code works OK in > Xubuntu running > > on x86... > > > > ... > > Shell "clear" Wait > > ... > > > > Simple repro code for both issues in attachement. > > > > Maybe I'm missing something that changed in Gambas3 but > above did not > > happen in Gambas2 2.23.1. > > > > I'm running Gambas3 #4702 under Debian 5.03 on ARM. > > > > PS: I apologize if this is the wrong way to report bugs/issues. If > > thats the case please let me know where/how to report issues. > > > > /CJ > > > > But in a shell, the clear command works as expected?
Yes. >Where do you run the program from exactly? I run it from the shell on a headless NAS running Debian Lenny (ARM) with the following Gambas3 components installed... gambas3-gb-net 3.1.90+svn20120501+r470 The Gambas networking component gambas3-gb-net-curl 3.1.90+svn20120501+r470 The Gambas advanced networking component gambas3-gb-net-smtp 3.1.90+svn20120501+r470 Gambas component to use smtp protocol gambas3-gb-settings 3.1.90+svn20120501+r470 Gambas utilities class gambas3-runtime 3.1.90+svn20120501+r470 The Gambas runtime I agree that this is wierd... I just recompiled the same code in Gambas2 2.23.1 and tried it on the NAS and the same code works fine (i.e the screen clears and prints the expected text every second). For Gambas2 I have the following components installed... gambas2-gb-net 2.23.1-1+b1 The Gambas networking component gambas2-runtime 2.23.1-1+b1 The Gambas runtime With Gambas3 there is no output to the shell at all but if I remove the "Shell "clear" Wait" line and re-run the program outputs the expected result every second!? As previously mention it also works when running on my Xubuntu 11.04 machine used for developing, i.e the full Gambas3 installed. Just guessing here but maybe something changed and the "shell" command somehow depends on some other component being available (even if the dep. listing doesn't say so)? /CJ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user