[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #4 by zxMarce:

Actually, per practically any available documentation you can check, ODBC 
doesn't return a row count for SELECT statements.
I'll refer you to MSDN, for example 
(https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlrowcount-function),
 but you can also check IBM's docs, which say the exact same:

Quote:
  SQLRowCount Function

  Conformance
  Version Introduced: ODBC 1.0 Standards Compliance: ISO 92

  Summary
  SQLRowCount returns the number of rows affected by an UPDATE, INSERT, or 
DELETE statement;
  an SQL_ADD, SQL_UPDATE_BY_BOOKMARK, or SQL_DELETE_BY_BOOKMARK operation in 
SQLBulkOperations; 
  or an SQL_UPDATE or SQL_DELETE operation in SQLSetPos

So, unless some not-so-easy mechanism is implemented, no ODBC interface will 
return you a row count for SELECTs.
The problem implementing the mechanism is that not all queries return a Result, 
for example the USE  command in MSSQL.

A high level ODBC interface would have a ton of things to take into account 
just to check whether a row count is returnable, necessary or even factible.
Add to that difficulty the fact that ODBC is actually not a driver per-se, but 
a driver manager and the problem only gets worse, because not all drivers 
implement all calls.

In short: You must use Result.Available (boolean) to check whether there are 
rows or not, and Result.MoveNext to loop records when dealing with ODBC.
I did implement a kind of row count for SELECTs, but it works or not depending 
on the underlying database driver (the one managed by ODBC), so you cannot rely 
on it.

One last thing: You can use a Connection String to connect to a database, if 
you know how to create it with your database driver of choice. Fill the 
Connection.Host property with the connection string instead of flling it with 
the Host Name and you're set. I connected to MSSQL and MySQL just changing the 
Connection String.

Almost forget: Regarding PHP, Java, etc, if anyone can tell me what to look at 
to get the infamous row count they claim they get with ODBC SELECTs, I'll 
appreciate it. Maybe I can add it to Gambas' ODBC.

Regards,
zxMarce.

zxMarce 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1101: ODBC driver super buggy 2: rs.max return always negative and always -2 event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1101=L21haW4-

Comment #1 by zxMarce:

Actually, per practically any available documentation you can check, ODBC 
doesn't return a row count for SELECT statements.
I'll refer you to MSDN, for example 
(https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlrowcount-function),
 but you can also check IBM's docs, which say the exact same:

Quote:
  SQLRowCount Function

  Conformance
  Version Introduced: ODBC 1.0 Standards Compliance: ISO 92

  Summary
  SQLRowCount returns the number of rows affected by an UPDATE, INSERT, or 
DELETE statement;
  an SQL_ADD, SQL_UPDATE_BY_BOOKMARK, or SQL_DELETE_BY_BOOKMARK operation in 
SQLBulkOperations; 
  or an SQL_UPDATE or SQL_DELETE operation in SQLSetPos

So, unless some not-so-easy mechanism is implemented, no ODBC interface will 
return you a row count for SELECTs.
The problem implementing the mechanism is that not all queries return a Result, 
for example the USE  command in MSSQL.

A high level ODBC interface would have a ton of things to take into account 
just to check whether a row count is returnable, necessary or even factible.
Add to that difficulty the fact that ODBC is actually not a driver per-se, but 
a driver manager and the problem only gets worse, because not all drivers 
implement all calls.

The -2 returned is, IIRC, actually an internal flag (this could need 
correction) to signal some low-level Gambas interfaces how to act when using 
ODBC.

Regards,
zxMarce.



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

ODBC driver super buggy 3: impossible made subquerys if the previous its a 
call/select to SP

Type : Bug
Priority : High
Gambas version   : 3.9
Product  : ODBC driver


Description
---

as i said in previous bug: some time ago i tried and found many bugs, but not 
reported due i using older linux.. 

tested in linuxmint, winbuntu, stupibuntu, debian lasted, and fedora 
and with gambas versions from 3.1.1 to lasted (specifically 3.1.1, 3.4.2 and 
3.9.X and trunk)

the next piece of code always return "-2" for Max in resulset:

query1 = "call sp('value string')" ' this return a select table resulset
query2 = "select count(*) from sp('value string')"  ' < - - use the select 
table return of the SP with count

Try rs2 = $conexionodbc.Exec(query2)
If rs2.Available Then  ' 
  
  try rs1 = $conexionodbc.Exec(query1)  ' BUG this raise a problem, no 
rows and some times !

Endif

this are very unconfortable, due for workaroud must made a select count(), that 
relies on another bug that i next to post right now!

for now i try to workaround with the rs.MoveNext using when


System information
--

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=3.2.0-0.bpo.4-686-pae
Architecture=x86
Distribution=debian 6.1
Desktop=
Theme=VenenuX
Language=es_VE.UTF-8
Memory=1695M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.27.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.7.4
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-SDLMZFhfxe,guid=e84bee4349323ab2fdd0e833000d3724
DESKTOP_SESSION=openbox
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=openbox
GDM_LANG=es_VE.UTF-8
GDM_XSERVER_LOCATION=local
GNOME_KEYRING_CONTROL=/tmp/keyring-F6Av2Z
GNOME_KEYRING_PID=28945
HOME=
LANG=es_VE.UTF-8
LOGNAME=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/.rvm/bin
PWD=
SHELL=/bin/bash
SSH_AGENT_PID=28992
SSH_AUTH_SOCK=/tmp/ssh-MIgmw28954/agent.28954
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7:8:8:8:8
XAUTHORITY=/.Xauthority
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
XDG_SESSION_COOKIE=b7d14e28769c4139a06b6f99000c-1493388004.744958-1810097376



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

preparing a project for that its quite tedius, and its obviusly.. i notes that 
only the "mysql" module are well knowed.. the rest have some bugs always.. i 
reported some time ago piece of correctiions for postgres part.. 

i'll try to upload a project in two or 3 days, but wheantime please some one 
revise the code.. i'm hurry "again" due now i must use odbc and not have scape 
this time..

the info required that in their machines u must configured a odbc driver so 
event i upload a project must relly on their odbc connections..  so the 
"needsinfo" state are relative...

PICCORO LENZ MCKAY changed the state of the bug to: Opened.



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #2 by Tobias BOEGE:

>If rs.Available Then  ' <--- Here we have -1 !!!
Result.Available is a Boolean. It is expected that its numerical value is -1 
(meaning True).

>howmany = rsprices.Count '  < psst ¡always get here -1! no care the query, 
>if there are a SP always -2
Is "rsprices" related in any way to the "rs" object you stored the query result 
in?

I have never used ODBC but the people who know about it will likely want a 
project that reproduces the bug, a sample database and possibly any 
configuration files that ODBC might require (no idea).

Tobias BOEGE 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1101: ODBC driver super buggy 2: rs.max return always negative and always -2 event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1101=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

ODBC driver super buggy 2: rs.max return always negative and always -2 event in 
lasted

Type : Bug
Priority : High
Gambas version   : 3.9
Product  : ODBC driver


Description
---

as i said in previous bug: some time ago i tried and found many bugs, but not 
reported due i using older linux.. 

tested in linuxmint, winbuntu, stupibuntu, debian lasted, and fedora 
and with gambas versions from 3.1.1 to lasted (specifically 3.1.1, 3.4.2 and 
3.9.X and trunk)

the next piece of code always return "-2" for Max in resulset:

Try rs = $conexionodbc.Exec(queryprices)
If rs.Available Then  ' 
  
  ' BUG 2 Max from resulset in ODBC are negative!
  howmany = rsprices.Max '  < psst ¡always get here -2! no care the 
query, if there are a SP always -2

Endif

this are very unconfortable, due for workaroud must made a select count(), that 
relies on another bug that i next to post right now!

for now i try to workaround with the rs.MoveNext using when


System information
--

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=3.2.0-0.bpo.4-686-pae
Architecture=x86
Distribution=debian 6.1
Desktop=
Theme=VenenuX
Language=es_VE.UTF-8
Memory=1695M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.27.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.7.4
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-SDLMZFhfxe,guid=e84bee4349323ab2fdd0e833000d3724
DESKTOP_SESSION=openbox
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=openbox
GDM_LANG=es_VE.UTF-8
GDM_XSERVER_LOCATION=local
GNOME_KEYRING_CONTROL=/tmp/keyring-F6Av2Z
GNOME_KEYRING_PID=28945
HOME=
LANG=es_VE.UTF-8
LOGNAME=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/.rvm/bin
PWD=
SHELL=/bin/bash
SSH_AGENT_PID=28992
SSH_AUTH_SOCK=/tmp/ssh-MIgmw28954/agent.28954
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7:8:8:8:8
XAUTHORITY=/.Xauthority
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
XDG_SESSION_COOKIE=b7d14e28769c4139a06b6f99000c-1493388004.744958-1810097376



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

NOTE: using a freetds odbc bridge with sybase.. in php retrieve correct roms 
and in java so i dischard
NOTE2: same with postgres but using odbc



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help menu in Properties

2017-05-02 Thread Fabien Bodard
2017-05-02 20:30 GMT+02:00 herberth guzman :
>> Hi Benoit,
>
>> Question...?
>
>> The help menu that appears in properties appears in English
>> I am encouraging the use of Gambas3 but many do not speak English
>
>> I ask
>
>> Can you use it in Spanish ...?
>> I can help...?
>
>
>> Regards
>
>> Herberth Guzmán
>
>
> I want to clarify that it is not always, it depends on the control

In fact it must depend of the availability of the traducted version of
the wiki page. If the page not exist in your language it use the
english version by default.

>
> Regards
> Herberth Guzmán
> --
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-05-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

ODBC driver super buggy 1: rs.count return always negative and only one event 
in lasted

Type : Bug
Priority : High
Gambas version   : 3.9
Product  : ODBC driver


Description
---

some time ago i tried and found many bugs, but not reported due i using older 
linux.. 

but today i tested in linuxmint, winbuntu, stupibuntu, debian lasted, and 
fedora 
and with gambas versions from 3.1.1 to lasted (specifically 3.1.1, 3.4.2 and 
3.9.X and trunk)

the next piece of code always return "-1"

Try rs = $conexionodbc.Exec(queryprices)
If rs.Available Then  ' <--- Here we have -1 !!!
  
  ' BUG 2 Max from resulset in ODBC are negative!
  howmany = rsprices.Count '  < psst ¡always get here -1! no care the 
query, if there are a SP always -2

Endif


System information
--

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=3.2.0-0.bpo.4-686-pae
Architecture=x86
Distribution=debian 6.1
Desktop=
Theme=VenenuX
Language=es_VE.UTF-8
Memory=1695M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.27.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.7.4
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-SDLMZFhfxe,guid=e84bee4349323ab2fdd0e833000d3724
DESKTOP_SESSION=openbox
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=openbox
GDM_LANG=es_VE.UTF-8
GDM_XSERVER_LOCATION=local
GNOME_KEYRING_CONTROL=/tmp/keyring-F6Av2Z
GNOME_KEYRING_PID=28945
HOME=
LANG=es_VE.UTF-8
LOGNAME=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/.rvm/bin
PWD=
SHELL=/bin/bash
SSH_AGENT_PID=28992
SSH_AUTH_SOCK=/tmp/ssh-MIgmw28954/agent.28954
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7:8:8:8:8
XAUTHORITY=/.Xauthority
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
XDG_SESSION_COOKIE=b7d14e28769c4139a06b6f99000c-1493388004.744958-1810097376



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help menu in Properties

2017-05-02 Thread herberth guzman
> Hi Benoit,

> Question...?

> The help menu that appears in properties appears in English
> I am encouraging the use of Gambas3 but many do not speak English

> I ask

> Can you use it in Spanish ...?
> I can help...?


> Regards

> Herberth Guzmán


I want to clarify that it is not always, it depends on the control

Regards
Herberth Guzmán
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Help menu in Properties

2017-05-02 Thread herberth guzman
Hi Benoit,

Question...?

The help menu that appears in properties appears in English
I am encouraging the use of Gambas3 but many do not speak English

I ask

Can you use it in Spanish ...?
I can help...?


Regards

Herberth Guzmán
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
Karl wrote:
> your rights are ideal. If you lock them, inside /.src you will find
> -r--r--r-- 1 fernando fernando.
> Did you check inside /.src ?
Yes, using "find ... ls -la" I checked one by one. They all have at least
the access permission indicated.

> If inside /.src  files are also -rw-r--r-- 1 fernando fernando, try a
> 'touch test.log' to check if that is possible,repeat it after a  minute
> or two (look at the timestamp  between)  to check if you have that
> rights.

I have no problem writing inside any of those directories.

> Oh, before it was said using gambas IDE you have to have  rw on /tmp.
Yes, thatś pretty standard, and I have those permissions on /tmp.

I am still clueless.

- fernando

2017-05-02 10:47 GMT-03:00 Karl Reinl :

> Am Dienstag, den 02.05.2017, 09:53 -0300 schrieb Fernando Cabral:
>
> > Karl wrote:
> >
> > > the directory from gbDocEditor. is (if you have downloaded via
> > > softwarefarm) ~/.local/share/gambas3/src/oliviercruilles/gbDocEditor
> > > Just run a chmod  -R on that.
> > > But first look whats are your rights on it.
> >
> > Yes, I donwloaded it via softwarefarm.
> > I checked files and directories bellow oliviercruilles and they have the
> > permissions set to at least the following:
> >
> > drwxr-xr-x 3 fernando fernando   -- if a directory
> > -rw-r--r-- 1 fernando fernando  -- if a file
> >
> > Now, to run "chmod -R" what is the ideal permission setting?
> >
> > Regards
> >
> > - fernando
>
>
>
> Salut Fernando,
>
>
> your rights are ideal. If you lock them, inside /.src you will find
> -r--r--r-- 1 fernando fernando.
> Did you check inside /.src ?
> If inside /.src  files are also -rw-r--r-- 1 fernando fernando, try a
> 'touch test.log' to check if that is possible,repeat it after a  minute
> or two (look at the timestamp  between)  to check if you have that
> rights.
>
> Oh, before it was said using gambas IDE you have to have  rw on /tmp.
>
> --
> Amicalement
> Charlie
> 
> --
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: fernandojosecab...@gmail.com
Facebook: f...@fcabral.com.br
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.
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Karl Reinl
Am Dienstag, den 02.05.2017, 09:53 -0300 schrieb Fernando Cabral:

> Karl wrote:
> 
> > the directory from gbDocEditor. is (if you have downloaded via
> > softwarefarm) ~/.local/share/gambas3/src/oliviercruilles/gbDocEditor
> > Just run a chmod  -R on that.
> > But first look whats are your rights on it.
> 
> Yes, I donwloaded it via softwarefarm.
> I checked files and directories bellow oliviercruilles and they have the
> permissions set to at least the following:
> 
> drwxr-xr-x 3 fernando fernando   -- if a directory
> -rw-r--r-- 1 fernando fernando  -- if a file
> 
> Now, to run "chmod -R" what is the ideal permission setting?
> 
> Regards
> 
> - fernando



Salut Fernando,


your rights are ideal. If you lock them, inside /.src you will find
-r--r--r-- 1 fernando fernando.
Did you check inside /.src ?
If inside /.src  files are also -rw-r--r-- 1 fernando fernando, try a
'touch test.log' to check if that is possible,repeat it after a  minute
or two (look at the timestamp  between)  to check if you have that
rights.

Oh, before it was said using gambas IDE you have to have  rw on /tmp.

-- 
Amicalement
Charlie
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
Karl wrote:

> the directory from gbDocEditor. is (if you have downloaded via
> softwarefarm) ~/.local/share/gambas3/src/oliviercruilles/gbDocEditor
> Just run a chmod  -R on that.
> But first look whats are your rights on it.

Yes, I donwloaded it via softwarefarm.
I checked files and directories bellow oliviercruilles and they have the
permissions set to at least the following:

drwxr-xr-x 3 fernando fernando   -- if a directory
-rw-r--r-- 1 fernando fernando  -- if a file

Now, to run "chmod -R" what is the ideal permission setting?

Regards

- fernando





2017-05-02 9:22 GMT-03:00 Karl Reinl :

> Am Dienstag, den 02.05.2017, 07:08 -0300 schrieb Fernando Cabral:
> > Karl wrote:
> >
> > >I suppose You have opened the example projects, is it?
> > > Just save you a local copy by 'save as'..
> >
> > I did download and open gbDocEditor. Do you mean it can lock all my
> > projects?
> > If so, what else can I do to unlock it? Saving as did not seem to work.
> >
> > - fernando
>
> Salut Fernando,
>
> the directory from gbDocEditor. is (if you have downloaded via
> softwarefarm) ~/.local/share/gambas3/src/oliviercruilles/gbDocEditor
> Just run a chmod  -R on that.
> But first look whats are your rights on it.
>
> --
> Amicalement
> Charlie
>
>
> 
> --
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: fernandojosecab...@gmail.com
Facebook: f...@fcabral.com.br
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.
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Karl Reinl
Am Dienstag, den 02.05.2017, 07:08 -0300 schrieb Fernando Cabral:
> Karl wrote:
> 
> >I suppose You have opened the example projects, is it?
> > Just save you a local copy by 'save as'..
> 
> I did download and open gbDocEditor. Do you mean it can lock all my
> projects?
> If so, what else can I do to unlock it? Saving as did not seem to work.
> 
> - fernando

Salut Fernando,

the directory from gbDocEditor. is (if you have downloaded via
softwarefarm) ~/.local/share/gambas3/src/oliviercruilles/gbDocEditor
Just run a chmod  -R on that.
But first look whats are your rights on it.

-- 
Amicalement
Charlie


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Fernando Cabral
Karl wrote:

>I suppose You have opened the example projects, is it?
> Just save you a local copy by 'save as'..

I did download and open gbDocEditor. Do you mean it can lock all my
projects?
If so, what else can I do to unlock it? Saving as did not seem to work.

- fernando

2017-05-02 3:22 GMT-03:00 Karl Reinl :

> Am Montag, den 01.05.2017, 21:36 -0300 schrieb Fernando Cabral:
> > All of a sudden, I can not edit any project. They are all locked.
> > Hitting the lock icon does not change anything except that
> > on the tab where the module name is shown the expression '[read only]"
> > appears and disappears. But I still can not edit the source code.
> >
> > What I am supposed to do to fix this?
> >
>
> Salut,
>
> I suppose You have opened the example projects, is it?
> Just save you a local copy by 'save as'..
> --
> Amicalement
> Charlie
>
>
> 
> --
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fernando Cabral
Blogue: http://fernandocabral.org
Twitter: http://twitter.com/fjcabral
e-mail: fernandojosecab...@gmail.com
Facebook: f...@fcabral.com.br
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.
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Looking for hyphenation library for gambas

2017-05-02 Thread Fabien Bodard
http://penguindreams.org/blog/aspell-and-hunspell-a-tale-of-two-spell-checkers/

Well seem we have to make something on hunspell. Aspell is not
maintained. hunspell is used by OOO and chromium and firefox

2017-05-01 14:00 GMT+02:00 Fernando Cabral :
> Hi
>
> In another thread I asked for help concerning the installation and
> configuration of the aspell module.  Now I see that I also need to access a
> hyphenation library. Does any of you have tried and succeeded in using
> libraries like libhyphenlo.so, or libhyphen.so?
>
>
>
>
> --
> Fernando Cabral
> Blogue: http://fernandocabral.org
> Twitter: http://twitter.com/fjcabral
> e-mail: fernandojosecab...@gmail.com
> Facebook: f...@fcabral.com.br
> Telegram: +55 (37) 99988-8868 <%2837%29%2099988-8868>
> Wickr ID: fernandocabral
> WhatsApp: +55 (37) 99988-8868 <%2837%29%2099988-8868>
> Skype:  fernandojosecabral
> Telefone fixo: +55 (37) 3521-2183 <%2837%29%203521-2183>
> Telefone celular: +55 (37) 99988-8868 <%2837%29%2099988-8868>
>
> Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
> nenhum político ou cientista poderá se gabar de nada.
> --
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Jorge Carrión
If you have linked the source code directorys with other projects, Gambas
lock de files as readonly too.
In that case you must modify the code in their original project, not in the
linked one.

Best Regards

2017-05-02 2:36 GMT+02:00 Fernando Cabral :

> All of a sudden, I can not edit any project. They are all locked.
> Hitting the lock icon does not change anything except that
> on the tab where the module name is shown the expression '[read only]"
> appears and disappears. But I still can not edit the source code.
>
> What I am supposed to do to fix this?
>
> --
> Fernando Cabral
> Blogue: http://fernandocabral.org
> Twitter: http://twitter.com/fjcabral
> e-mail: fernandojosecab...@gmail.com
> Facebook: f...@fcabral.com.br
> 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.
> 
> --
> 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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gambas editor is locked

2017-05-02 Thread Karl Reinl
Am Montag, den 01.05.2017, 21:36 -0300 schrieb Fernando Cabral:
> All of a sudden, I can not edit any project. They are all locked.
> Hitting the lock icon does not change anything except that
> on the tab where the module name is shown the expression '[read only]"
> appears and disappears. But I still can not edit the source code.
> 
> What I am supposed to do to fix this?
> 

Salut, 

I suppose You have opened the example projects, is it?
Just save you a local copy by 'save as'..
-- 
Amicalement
Charlie


--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user