[Gambas-user] More Problems turning up

Dag Jarle Johansen dag.jarle.johansen at ...2312...
Sun Feb 7 16:42:03 CET 2010


Hi Jussi,

tried it out, no change:
I got some warnings at sudo make install:

Compiling gb.form...
warning: cannot read component list file: gb.form.list
OK
Installing gb.form...
Compiling gb.form.dialog...
OK
Installing gb.form.dialog...
Compiling gb.form.mdi...
warning: cannot read component list file: gb.form.mdi.list
OK
Installing gb.form.mdi...
Compiling gb.db.form...
warning: cannot read component list file: gb.db.form.list
OK

I don't know how much this matters.
The warnings were repeated while compiling the examples, don't list them
here.

The source looks like this:

Public Function SysLog_User() As String
  Dim hfile As file
  Dim Sys_User as String
  Dim DateiName As String
  DateiName = user.home & "/gambasdata/user.txt"
  Wait
  Shell "whoami>" & Dateiname Wait

  'Shell "whoami>/home/dag/gambasdata/user.txt" Wait
  hfile = Open DateiName For Read

  'hfile = Open "/home/dag/gambasdata/user.txt" For Read
  Wait
  Line Input #hfile, Sys_User
  Close #hfile
  Return Sys_User
End

regards
Dag

Am Sonntag, den 07.02.2010, 17:08 +0200 schrieb Jussi Lahtinen:

> I have no problems with autocomplete either.
> When I write "use", it will offer "User", and when I continue to
> "User." it offers me all options, included "Home".
> Can you provide the source code?
> 
> Have you tried to remove Gambas3 and install it again?
> To remove:
> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
> /usr/local/bin/gbi3
> sudo rm -rf /usr/local/lib/gambas3
> sudo rm -rf /usr/local/share/gambas3
> 
> To install again:
> ./reconf-all
> ./configure -C
> make
> sudo make install
> 
> 
> Jussi
> 
> 
> On Sun, Feb 7, 2010 at 16:50, Dag Jarle Johansen
> <dag.jarle.johansen at ...2312...> wrote:
> > Hi Jussi,
> >
> > I tried Debug user.home
> > Allready here it says, not an object.
> > Also, autocomplete with user, does not work, as f.ex. in Application.p->
> > Application.Path
> > Somehow User is not present, and to be honest, I don't know how to fix
> > that.
> >
> >
> > Regards
> > Dag
> >
> >
> > Am Sonntag, den 07.02.2010, 13:51 +0200 schrieb Jussi Lahtinen:
> >
> >> Disturbing... Try to print out whole path (before using it) and
> >> compare it to working fixed path.
> >> If the path is correct, then there must be error in somewhere else.
> >>
> >> Jussi
> >>
> >>
> >> On Sun, Feb 7, 2010 at 04:30, Dag Jarle Johansen
> >> <dag.jarle.johansen at ...2312...> wrote:
> >> > Hi,
> >> >
> >> > TabsStrip is good, still have the curoius error with user.home, but it
> >> > is not so urgent while programming, give it a fixed path meanwhile.
> >> >
> >> > Regards
> >> > Dag
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > ------------------------------------------------------------------------------
> >> > The Planet: dedicated and managed hosting, cloud storage, colocation
> >> > Stay online with enterprise data centers and the best network in the business
> >> > Choose flexible plans and management services without long-term contracts
> >> > Personal 24x7 support from experience hosting pros just a phone call away.
> >> > http://p.sf.net/sfu/theplanet-com
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > Gambas-user at lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >>
> >> ------------------------------------------------------------------------------
> >> The Planet: dedicated and managed hosting, cloud storage, colocation
> >> Stay online with enterprise data centers and the best network in the business
> >> Choose flexible plans and management services without long-term contracts
> >> Personal 24x7 support from experience hosting pros just a phone call away.
> >> http://p.sf.net/sfu/theplanet-com
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> > ------------------------------------------------------------------------------
> > The Planet: dedicated and managed hosting, cloud storage, colocation
> > Stay online with enterprise data centers and the best network in the business
> > Choose flexible plans and management services without long-term contracts
> > Personal 24x7 support from experience hosting pros just a phone call away.
> > http://p.sf.net/sfu/theplanet-com
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list