[Gambas-user] Fwd: Re: MTHeme error...

Benoît Minisini gambas at ...1...
Thu Jul 10 19:02:21 CEST 2014


Le 10/07/2014 18:16, Stephen a écrit :
>>>
>> At startup, a Gambas program creates a "/tmp/gambas.<uid>/<pid>/"
>> directory.
>>
>> So if it does not exist later, then there is a problem with "/tmp".
>> Maybe a normal user does not have the right to create a directory in
>> '/tmp' ?
>>
> Well, I'm a normal user, I went to /tmp and did a "touch foo" at the
> cli, which worked properly, creating file "foo". There were other gambas
> directories with the <uid> appended to them, perhaps created when 3.5.3
> was originally install from the fedora repo? Anyway, gambas.0 and
> gambas.1000 (root and me, respectively), were present in /tmp, but no
> "gambas" sans <uid>, which is what it seems to have wanted. Do a mkdir
> gambas (no .<uid> extension on the name) and Bob's your uncle, it seems
> to work.
> At the moment I'm doing a configure make install of the latest
> development version to try to cure another problem with list-boxes
> (mentioned in an previous post). Fingers (and eyes) crossed! :)
>

Apparently there is something weird on your system: the Temp$() function
never returns something that does not begins with
"/tmp/gambas.<uid>/<pid>", and so the MTheme.ReadFile() method should
not fail that wat.

-- 
Benoît Minisini






More information about the User mailing list