[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

Fernando Cabral fernandojosecabral at ...626...
Tue Sep 5 18:21:23 CEST 2017


2017-09-05 12:49 GMT-03:00 Tony Morehen <tmorehen at ...3602...>:

> Some more questions / things to try:
>
> 1) Copy the project folder elsewhere in your home directory, but not in
> the dropbox tree.  Try to edit.
> 2) In the copied folder, run chmod --recursive a+w *.  Try to edit.
> 3) Try creating a new module, class or form.  Try this in both the copied
> folder and the original.  Try to add code and edit the new module etc.
> 4) Can the problems be related to dropbox.
>
> I have already tried this all in various combinations. Some even more
radical, like
making every file and directory 777. I've created a user named gambas and
everything completely open.

Now, I know it has to do with permissions because if I run "sudo gambas3"
it will work!
Now, if I set the user id bit (chmod u+s gambas3, for instance), it does
not work.

How come?

Every single directory and file is rwxrwxrwd. They all belong to me (owner
and group).

This issue has mystified me for several months now. I had settled down and
accepted the idea of keeping using the virtual machine to do the editing.
Until this morning, when someone else refered to the same issue.

- fernando


>
> On 2017-09-05 09:52 AM, Fernando Cabral wrote:
>
>> Tony Morehen wrote:
>>
>> The fact that Gambas runs properly from a vm strongly suggests that the
>>
>>> problem is not Gambas, but is the system environment that Gambas is
>>> running
>>> in.
>>>
>>
>> Agreed. But so far, this understanding has not helped me to find a
>> solution.
>>
>> What directory is your project located?  Have you tried copying the
>> project
>>
>>> to your home directory?
>>>
>>> It is on my home directory (everything is under
>>>
>> /home/fernando/Dropbox/Gambas/*"). Directory Dropbox is a local directory
>> that is replicated by Dropbox so I have a copy available in other machines
>> that respect the same structure).
>>
>> In the vm, is Gambas loading the project directly from the original
>>
>>> directory or from a copy in the vm.
>>>
>>> Yes. In the VM Gambas works with the same files directly. The
>> above-mentioned directory is mounted on the VM so Gambas sees them as
>> local
>> files (local to the VM).
>>
>> Does your system enable extended ACLs?  Are you running AppArmor or
>>
>>> SELinux?  What about in the vm?
>>>
>>> Not running AppArmor or SELinux. Extended ACLs not enabled.
>>
>> OS running on the physical machine is precisely the same that runs on the
>> virtual machine. I install them both from the same source and give them
>> the
>> same configuration. For instance, now I am running Linux Mint 18.2 on the
>> metal and, under VirtualBox I have the same Linux Mint 18.2 (technically
>> it
>> is not a clone, but it looks a lot like it).
>>
>> Regards
>>
>> - fernando
>>
>>
>> 2017-09-05 10:10 GMT-03:00 Tony Morehen <tmorehen at ...3602...>:
>>
>> Fernando,
>>>
>>> The fact that Gambas runs properly from a vm strongly suggests that the
>>> problem is not Gambas, but is the system environment that Gambas is
>>> running
>>> in.
>>>
>>> What directory is your project located?  Have you tried copying the
>>> project to your home directory?  In the vm, is Gambas loading the project
>>> directly from the original directory or from a copy in the vm.
>>>
>>> Does your system enable extended ACLs?  Are you running AppArmor or
>>> SELinux?  What about in the vm?
>>>
>>>
>>>
>>> On 2017-09-05 08:55 AM, Fernando Cabral wrote:
>>>
>>> Benoît, I don't know which input method I am using and I don't know how
>>>> to
>>>> find it.
>>>> Nevertheless, I know for sure it is the standard method for Linux Mint,
>>>> whichever it is.
>>>> I've never tinkered with it. Also, IDE used to work. All of sudden, it
>>>> stopped working.
>>>> I had changed nothing between the working stage and the non-working
>>>> stage.
>>>> Besides, when I install the virtual machines, I use the default input
>>>> method (whichever it is).
>>>>
>>>> Perhaps you can provide me with a command to find out what input method
>>>> I
>>>> am using.
>>>> The nearest I got to it was by looking into the files at /etc/X11/xinit.
>>>> Basically, either they are empty or say "default".
>>>>
>>>> Regards
>>>>
>>>> - fernando
>>>>
>>>>
>>>> 2017-09-05 8:24 GMT-03:00 Benoît Minisini via Gambas-user <
>>>> gambas-user at lists.sourceforge.net>:
>>>>
>>>>
>>>> -------- Message transféré --------
>>>>> Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
>>>>> Date : Tue, 05 Sep 2017 11:21:11 GMT
>>>>> De : bugtracker at ...3416...
>>>>> Pour : deliocf at ...626..., g4mba5 at ...626...
>>>>>
>>>>> http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-
>>>>>
>>>>> Comment #1 by Benoît MINISINI:
>>>>>
>>>>> Which X11 input method do you use?
>>>>>
>>>>> Benoît MINISINI changed the state of the bug to: NeedsInfo.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> Gambas-user mailing list
>>>>> Gambas-user at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>>
>>>>>
>>>>>
>>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>
>>
>>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: fernandojosecabral at ...626...
Facebook: f at ...3654...
Telegram: +55 (37) 99988-8868
Wickr ID: fernandocabral
WhatsApp: +55 (37) 99988-8868
Skype:  fernandojosecabral
Telefone fixo: +55 (37) 3521-2183
Telefone celular: +55 (37) 99988-8868

Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
nenhum político ou cientista poderá se gabar de nada.



More information about the User mailing list