From bugtracker at gambaswiki.org Mon Jul 2 17:04:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 15:04:02 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: hi!? any progress on this!? recent stream write changes in gambas environment let this module without functionallity! From bugtracker at gambaswiki.org Mon Jul 2 19:45:53 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 17:45:53 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #5 by Beno?t MINISINI: You should write to ZxMarce to ask him if he plan to fix the bugs of gb.odbc... From bugtracker at gambaswiki.org Mon Jul 2 20:05:58 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 18:05:58 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #6 by PICCORO LENZ MCKAY: but was sorking before commits related to since the commits https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1 and https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586 suppost to be solved with https://gitlab.com/gambas/gambas/commit/aebc6a0bdafacf79afbd602f1ed81a15eccf5b91 but after commit now querys does not work that/s why i do not marks this as odbc component bug. due the problems was related after those commits From bugtracker at gambaswiki.org Mon Jul 2 21:56:09 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 19:56:09 GMT Subject: [Gambas-bugtracker] Bug #1360: do not paste the text from the position of the course Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1360&from=L21haW4- V?ctor PEREZ reported a new bug. Summary ------- do not paste the text from the position of the course Type : Bug Priority : Low Gambas version : 3.10 Product : GUI components Description ----------- do not paste the text from the position of the course in special paste System information ------------------ [System] Gambas=3.10 OperatingSystem=Linux Kernel=4.4.0-53-generic Architecture=x86 Distribution=Linux Mint 18.1 Serena Desktop=MATE Theme=Gtk Language=es_UY.UTF-8 Memory=1757M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 From bugtracker at gambaswiki.org Mon Jul 2 21:56:21 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 19:56:21 GMT Subject: [Gambas-bugtracker] Bug #1360: do not paste the text from the position of the course In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1360&from=L21haW4- V?ctor PEREZ added an attachment: bugPegado especial.jpg From bugtracker at gambaswiki.org Tue Jul 3 01:01:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 23:01:35 GMT Subject: [Gambas-bugtracker] Bug #1359: Bold and Italic fonts in LCDLabel, not working In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1359&from=L21haW4- Comment #1 by Beno?t MINISINI: Of course: the LCD characters are drawn, they are not printed using the text routines and the system fonts! Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Tue Jul 3 01:02:27 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 23:02:27 GMT Subject: [Gambas-bugtracker] Bug #1360: do not paste the text from the position of the course In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1360&from=L21haW4- Comment #1 by Beno?t MINISINI: Sorry, but your english is not understandable. I don't know what you are talking about at all. From bugtracker at gambaswiki.org Tue Jul 3 01:25:19 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 02 Jul 2018 23:25:19 GMT Subject: [Gambas-bugtracker] Bug #1355: make dwgInfo move if mouse touches your area In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1355&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Jul 4 16:09:09 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 04 Jul 2018 14:09:09 GMT Subject: [Gambas-bugtracker] Bug #1338: get from VERSION file does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1338&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: when you said "parent" are you taking about the root directory? or taking about out side of the directory project? please Benoit can you post a picture or a project attached indicating where must be the VERSION file? err ok ok, so then since gambas 3.2 the VERSION file must be apart? why works in gambas 3.1.1 and not in 3.9 or 3.10 ? do you see the pictures? From bugtracker at gambaswiki.org Sat Jul 7 15:32:44 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 07 Jul 2018 13:32:44 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Comment #3 by T. Lee DAVIDSON: Is there any decision on this? From bugtracker at gambaswiki.org Sun Jul 8 14:25:15 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 08 Jul 2018 12:25:15 GMT Subject: [Gambas-bugtracker] Bug #1361: Declare variables anywhere and more lexical scope Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1361&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- Declare variables anywhere and more lexical scope Type : Request Priority : Medium Gambas version : Unknown Product : Language Description ----------- A feature request for Gambas 4.0, but that's not an option for the "Gambas version" label. (1) I want the ability to Dim local variables anywhere in a function: Dim i As Integer = 12 Print i i = 15 Dim j As Integer = i ^ 2 Print j This is not as easy as having the parser pretend the variable declaration occured at the top of the function, because the initialisation of j depends on statements written before the declaration. (2) It would be nice if IF, FOR, FOR EACH, DO, WHILE, REPEAT, CASE and WITH provided a new lexical scope, i.e. any variable you declare in these blocks is only available (lexically-) inside the block. Dim i As Integer For i = 1 To 10 Dim j As Integer = i ^ 2 Print j Next Print j ' error, variable j is unknown here For i = 1 To 10 Dim j As Integer = i - 1 Print j ' allowed, this is a new lexical scope Next Bonus points for a documented decision on what should happen when a variable is re-declared in a tighter lexical scope: For i = 1 To 10 Dim i As Integer = 100 Print i Next To me, it would make sense to either forbid that altogether, or allow the redeclaration with the following semantics: the outer loop uses the i from the enclosing scope, i.e. the loop is really executed 10 times, and inside the loop you print the contents of a new variable. (That means you can lose access to your loop variable if you want to.) From bugtracker at gambaswiki.org Sun Jul 8 14:33:48 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 08 Jul 2018 12:33:48 GMT Subject: [Gambas-bugtracker] Bug #1362: Auto-generate property accessors Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1362&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- Auto-generate property accessors Type : Request Priority : Medium Gambas version : Unknown Product : Language Description ----------- Sometimes you want to have a property which is really just a (future-proof) proxy to a Private variable. The recipe for that is Property Index As Integer Private $iIndex As Integer Public Sub Index_Read() As Integer Return $iIndex End Public Sub Index_Write(Value As Integer) $iIndex = Value End My suggestion is to introduce Property Index As Integer Is $iIndex or something like that, as a shortcut for the above. The code generator should be smart enough not to override any accessor function I did declare: Property Index As Integer Is $iIndex Public Sub Index_Write(Value As Integer) If Value < 0 Then Error.Raise(("Index must be non-negative")) $iIndex = Value End Here, I supply a setter with an additional check, but the getter is generated as proposed above. The variable $iIndex can be used anywhere else in the class code, as usual. From bugtracker at gambaswiki.org Sun Jul 8 14:47:27 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 08 Jul 2018 12:47:27 GMT Subject: [Gambas-bugtracker] Bug #1363: DirView.NewFolder rollback on renaming failure Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1363&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- DirView.NewFolder rollback on renaming failure Type : Request Priority : Medium Gambas version : Unknown Product : GUI components Description ----------- When you have a DirView (gb.form) and call its NewFolder method, a new directory is created under a localised name and then you are immediately dropped into "rename mode" for that directory. If the renaming fails, you are left with a new directory which was not renamed. As a user, I click that "Create new folder" button because I want a new folder of a certain name and not just any new folder. I would have expected the NewFolder method to roll the creation of the directory back if renaming fails. After playing a bit, I did discover that F2 can be used to try again to rename the left-over directory. That may be enough, but I think rolling the creation back in case of error is less surprising. Implementation-wise, one could try to postpone the creation of that directory until the user has specified the desired name. From bugtracker at gambaswiki.org Tue Jul 10 15:10:13 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 10 Jul 2018 13:10:13 GMT Subject: [Gambas-bugtracker] Bug #1361: Declare variables anywhere and more lexical scope In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1361&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: and so will need a mayor work at jit level too, also respect checks semantics! From bugtracker at gambaswiki.org Wed Jul 11 11:08:40 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Jul 2018 09:08:40 GMT Subject: [Gambas-bugtracker] Bug #1141: GTK3 and QT5 crashes the IDE under Cygwin In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1141&from=L21haW4- Comment #7 by Moviga TECHNOLOGIES: This is what I am doing: gdb gambas3 run and it gives (gdb) run Starting program: No executable specified, use `target exec'. From bugtracker at gambaswiki.org Wed Jul 11 16:38:17 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 11 Jul 2018 14:38:17 GMT Subject: [Gambas-bugtracker] Bug #1364: Add CUT/COPY/PASTE shortcuts to the Editor. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1364&from=L21haW4- zxMarce reported a new bug. Summary ------- Add CUT/COPY/PASTE shortcuts to the Editor. Type : Request Priority : Medium Gambas version : Master Product : Unknown Description ----------- Since the new IDE's text editor was introduced, I could no longer use the not-so-widely-known-but-massively-supported shortcuts for CUT, COPY and PASTE. Mind you, the older versions of the IDE (up to and including 3.10, if memory serves), these shortcuts worked flawlessly. I am SO used to them (started using these under DOS' Edit.Com and even Quick Basic 4.5) that I now have to actually *stop-and-think* what the "normal" shortcuts for each function are now (Ctrl-X,C,V) in Gambas. I even came to think "my" shortcuts were kind of OS-provided, since they worked in places where the "normal" shortcuts did not! These olde shortcuts are: CUT: Shift-Delete COPY: Ctrl-Insert PASTE: Shift-Insert Any chance to (re)implement them? From bugtracker at gambaswiki.org Thu Jul 12 15:12:12 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Jul 2018 13:12:12 GMT Subject: [Gambas-bugtracker] Bug #1365: IDE raises Documentation.ImplementAndNeed on project open Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1365&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- IDE raises Documentation.ImplementAndNeed on project open Type : Bug Priority : High Gambas version : 3.9 Product : Development Environment Description ----------- i try to open a project from another gambas in another machine that just have one window (attached at second here) when open raised: "CDocumentation.ImplementAndNeed.1138 Not an object " As consecuences ide still works, but not compile or run any project until i close it and reopened, but if open related project the same problem raises again System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.9.0-6-amd64 Architecture=x86_64 Distribution=debian 9.4 Desktop=LXDE Theme=Fusion Language=C Memory=1882M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.15 GStreamer=libgstreamer-1.0.so.0.1004.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.11 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.64.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] COLORTERM=truecolor DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=LXDE DISPLAY=:0.0 GB_GUI=gb.qt5 GDMSESSION=LXDE GDM_LANG=es_VE.utf8 GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge HOME= LANG=C LANGUAGE=es_VE:es LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=920 SSH_AUTH_SOCK=/tmp/ssh-ramPUtk5eauD/agent.734 TERM=xterm-256color TZ=:/etc/localtime USER= VTE_VERSION=4601 WINDOWID=39845891 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=LXDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gambas3 _LXSESSION_PID=734 From bugtracker at gambaswiki.org Thu Jul 12 15:16:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Jul 2018 13:16:25 GMT Subject: [Gambas-bugtracker] Bug #1365: IDE raises Documentation.ImplementAndNeed on project open In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1365&from=L21haW4- PICCORO LENZ MCKAY added an attachment: ventaswindow-0.0.1.tar.gz From bugtracker at gambaswiki.org Thu Jul 12 15:29:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 12 Jul 2018 13:29:30 GMT Subject: [Gambas-bugtracker] Bug #1365: IDE raises Documentation.ImplementAndNeed on project open In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1365&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: the problem happned since 3.8, if the respective qt4 compnentes are not compiled and a related gui opengl are choosen, raised a error: QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("http://gambaswiki.org/wiki/comp/gb.qt4/form?v&nh&l&nl&noimage") QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("http://gambaswiki.org/wiki/comp/gb.qt4/form?v&nh&l&nl&noimage") i not hae qt4 installed only qt5 and obviously raised error in opengl related, maybe a distribution package problem but NOT if i copiled only qt5 and have both installed raised same error.. ide seems prefers qt4 over qt5 and not property detect the environment i prefer to use qt4 due consumes less resources as special note, so please in the solution does not make qt4 deprecated or qt5 the only resource for the ide! PICCORO LENZ MCKAY changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Jul 14 16:33:51 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 14 Jul 2018 14:33:51 GMT Subject: [Gambas-bugtracker] Bug #1141: GTK3 and QT5 crashes the IDE under Cygwin In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1141&from=L21haW4- Comment #8 by Moviga TECHNOLOGIES: I found this: http://gambaswiki.org/wiki/doc/report?nh&l=en#t5 And this is what happened: $ gdb gbx3 GNU gdb (GDB) (Cygwin 7.12.1-2) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gbx3...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/gbx3 [New Thread 16392.0x4344] [New Thread 16392.0x2698] [New Thread 16392.0x3290] [New Thread 16392.0x91c] [New Thread 16392.0x11b0] gbx3: unable to find startup file [Thread 16392.0x91c exited with code 1] [Thread 16392.0x11b0 exited with code 1] [Thread 16392.0x3290 exited with code 1] [Inferior 1 (process 16392) exited with code 01] (gdb) bt No stack. (gdb) From bugtracker at gambaswiki.org Mon Jul 16 17:55:17 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 15:55:17 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #7 by Beno?t MINISINI: I have just installed ODBC on my Ubuntu, and the PostgreSQL ODBC driver. I have a local PostgreSQL database. I have successfully made SQL requests using gb.odbc to that database, with no error at all. Are you sure you correctly compiled and installed Gambas on your system? Note that it seems that the Exec() method may return NULL instead of an error, when the connection to the database fails after the Connection has been successfully done. It does that with the gb.db.mysql driver at least. From bugtracker at gambaswiki.org Mon Jul 16 17:56:22 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 15:56:22 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #8 by Beno?t MINISINI: I can't test with MySQL, as Ubuntu temporarily removed the ODBC MySQL driver, waiting for an upstream fix. From bugtracker at gambaswiki.org Mon Jul 16 18:57:02 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 16:57:02 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: it's not a distro or compilation problem, i replicated installed winbuntu and using ppa, just install freedts odbc and sqlite odbc and dones not work.. using same system with gambas 3.9 does work! From bugtracker at gambaswiki.org Mon Jul 16 19:19:56 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 17:19:56 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #10 by PICCORO LENZ MCKAY: > Note that it seems that the Exec() method may return NULL instead of an error, when the connection to the database fails after the Connection has been successfully done. It does that with the gb.db.mysql driver at least. That's the problem! returns null in exec but the connection happened, due i can see the log at the DBMS at leas in postgres(odbc) and sybase(freedts odbc) when i try to make a sql that return a result set, returns null as you noted! PICCORO LENZ MCKAY changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Mon Jul 16 21:36:57 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 19:36:57 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #11 by Beno?t MINISINI: But then the problem is in the connection with the database, not in Gambas... The case where Exec() returns null occurs in the company where I work, when the database server cannot accept connections anymore. The Connection.Open() has succeeded, but suddenly all Exec() methods return NULL. From bugtracker at gambaswiki.org Mon Jul 16 21:45:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 19:45:25 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #12 by Beno?t MINISINI: I have no problem with your attached project, (I modified it to use my PostgreSQL database), BUT the user and the password must be specified in the ODBC connection string. In that attached project, you wrote your code so badly that it does not detect if the Connection.Open() method fails, and does not make the difference between a failing Exec() method and an Exec() method that would return NULL. From bugtracker at gambaswiki.org Mon Jul 16 21:47:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 19:47:04 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #13 by PICCORO LENZ MCKAY: you described equal behaviour but not equal problems, ;-) in my environment same odbc and DBMS settings works with gambas 3.9 and now i finally tested with 3.10 and seems work perfectly From bugtracker at gambaswiki.org Mon Jul 16 21:52:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 19:52:35 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #14 by PICCORO LENZ MCKAY: yes user and password always must be parsed in odbc gambas connections (i dont know why, in php there's no need if are configured in the odbc.ini) about the project i doit as most resumed possible, sorry for that, but debbugin in the profiler i can see the connection are opened in freetds-odbc and sqlite-odbc (taking in consideration that sqlite odbc are very bad state, runs in the gambas 3.9) in any case all the problems happened after those commits about stream changes From bugtracker at gambaswiki.org Mon Jul 16 22:31:10 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 20:31:10 GMT Subject: [Gambas-bugtracker] Bug #1364: Add CUT/COPY/PASTE shortcuts to the Editor. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1364&from=L21haW4- Comment #1 by Beno?t MINISINI: I never removed these shortcuts... I'm currently using them in the last development version and they work. From bugtracker at gambaswiki.org Mon Jul 16 22:39:23 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 16 Jul 2018 20:39:23 GMT Subject: [Gambas-bugtracker] Bug #1364: Add CUT/COPY/PASTE shortcuts to the Editor. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1364&from=L21haW4- Comment #2 by PICCORO LENZ MCKAY: xzMarce, maybe some upgrades on your system override the shorcuts. by example openbox have their own management of the shorcuts if the distributiion does not modify to stay in sync with the environment as LXDE does! From bugtracker at gambaswiki.org Tue Jul 17 03:12:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 01:12:43 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #15 by zxMarce: Beno?t, Piccoro, My original intention to modify the ODBC component was to bring the usefulness of what ODBC drivers call "Connection Strings" to Gambas. This has -IMHO- good advantages over using ODBC.Ini, which is a system file (sudo needed) and not all users would know how to edit, and that goes without mentioning editing the various drivers' own configuration files. Also, the whole connectivity would reside in a user program config file, and it's more flexible for changing servers and settings as these are in a single textual line and not scattered amongst several ODBC and/or Driver files. So, I used the already existing .Host property to be either the ODBC.Ini section pointer as it was originally intended, OR to provide a Connection String for the underlying driver if (and only if) the string includes at least one semicolon (";"). These behaviours are mutually exclusive. In the case of using a Connection String, the only necessary properties to fill in the Connection object are .Type and .Host. No need to fill .Logon nor .Password, as these are already in the Connetion String. Likewise, if all necessary properties are in ODBC.Ini, the same two properties -and none other- are necessary: As before, property .Type instructs Gambas to use the ODBC component and .Host instructs which section to use from ODBC.Ini. If, on the other hand, any property is not in ODBC.Ini and has a counterpart property in the Connection object, you should specify it. From bugtracker at gambaswiki.org Tue Jul 17 03:34:18 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 01:34:18 GMT Subject: [Gambas-bugtracker] Bug #1326: IDE crash if project does not clean and code crash before, if were using ODBC component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1326&from=L21haW4- Comment #3 by zxMarce: Piccoro, I really cannot understand this issue, the pictures or what the actual problem is. From bugtracker at gambaswiki.org Tue Jul 17 03:45:46 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 01:45:46 GMT Subject: [Gambas-bugtracker] Bug #1101: ODBC driver super buggy 2: rs.max return always negative and always -2 event in lasted In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1101&from=L21haW4- Comment #8 by zxMarce: Piccoro, this I'm afraid cannot be done. The workaround I created works by shuffling things around (which is not so correct) in order to count the records returned by a query (instead of the awful -1), but that's mostly for SELECT statements. For INSERT and UPDATE statements and others that do not return records at all (bar their count) like USE I would have to make the routines (not just one but some of them) actually more "intelligent" to try to check what kind of statement is running. And that can (will) fail for many, many reasons. For example, how would the system go around parsing a SELECT that has an INSERT inside? >From experience, working around subsystem limitations only brings problems. zxMarce changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Tue Jul 17 14:16:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 12:16:43 GMT Subject: [Gambas-bugtracker] Bug #1101: ODBC driver super buggy 2: rs.max return always negative and always -2 event in lasted In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1101&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: after analizing deeply i agree with you, i review the code at freedts and cannot be done without low end help of the odbc module subsystem! thanks for your work in any case! From bugtracker at gambaswiki.org Tue Jul 17 14:17:41 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 12:17:41 GMT Subject: [Gambas-bugtracker] Bug #1101: ODBC driver super buggy 2: rs.max return always negative and always -2 event in lasted In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1101&from=L21haW4- Comment #10 by PICCORO LENZ MCKAY: after analizing deeply i agree with you, i review the code at freedts and cannot be done without low end help of the odbc module! thanks for your work in any case! PLEASE IF THAT CHANGES MAKES THE COMPONENT MORE BUGGY REVERT ALL. From bugtracker at gambaswiki.org Tue Jul 17 14:21:06 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 12:21:06 GMT Subject: [Gambas-bugtracker] Bug #1331: ODBC driver crack status 2: Result object are NULL now. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Comment #16 by PICCORO LENZ MCKAY: err, ejemp thanks for the info, but when i said "always must be parsed" i mean in both cases, in the odbc.ini or in the connection string ;-) but that "topic" are not of my interest, my interest right now it that from 3.11 from that commits i pointed odbc modules does not work anymore! From bugtracker at gambaswiki.org Tue Jul 17 14:27:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 12:27:11 GMT Subject: [Gambas-bugtracker] Bug #1326: IDE crash if project does not clean and code crash before, if were using ODBC component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1326&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: i try to explain in other way: CASE 1: run the project normally, no problem happened (if there's no SELECT in the query), and if there's a SELECT in the query got a invalid cursor or cannot make query CASE 2: run step by step and project crash ramdomly, sometimes got invalid cursor state, etc other go run without problems only happened with 3.11 and master i recompiled 3.10 and works, 3.9 already works perfect the problem HAPPENED AFTER THOSE COMMITS: https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1 and https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586 suppost to be solved with https://gitlab.com/gambas/gambas/commit/aebc6a0bdafacf79afbd602f1ed81a15eccf5b91 but after commit now querys does not work due return null! From bugtracker at gambaswiki.org Tue Jul 17 14:32:35 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 12:32:35 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- emulated empty settings collection get a crash when write it and leave locked Type : Bug Priority : High Gambas version : Master Product : Development Environment Description ----------- confirmed in the mail list, before version 3.5 does not got crash, now since 3.6/3.7 got a crash in the IDE must leave the file without changes and IDE out without a crash, and do not touch the file, leave the file in locked status https://lists.gambas-basic.org/pipermail/user/2018-July/064897.html quoting Tobias: > Interesting, I get a segfault in addition: ... > Besides this crash (which really shouldn't happen), you have to code: $ cat a.gbs3 #!/usr/bin/env gbs3 Use "gb.settings" Public Sub Main() Dim p As Pointer = VarPtr(p) Settings["x"] = p Settings.Save End $ ./a.gbs3 Settings.Save.204: Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted Object, got Pointer instead Settings.Save.204 MMain.Main.9 Segmentation fault System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.9.0-0.bpo.2-686-pae Architecture=x86 Distribution=devuan 8 Desktop=MoonlightDE Theme=QT5 Language=es_VE.UTF-8 Memory=7984M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.14 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+2=libgtk-x11-2.0.so.0.2400.25 GTK+3=libgtk-3.so.0.1400.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.3.2 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xCGlY6Cqx0,guid=0bdc669303b46b83d2b4a98d59b9f71b DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt5 GDMSESSION=mlde GDM_LANG=es_VE.utf8 GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=7363 GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1 HOME= LANG=es_VE.UTF-8 LANGUAGE=es_VE:es LOGNAME= MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1521,unix/:/tmp/.ICE-unix/1521 SHELL=/bin/bash SSH_AGENT_PID=1550 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CURRENT_DESKTOP=MLDE XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 From bugtracker at gambaswiki.org Tue Jul 17 15:18:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 13:18:55 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Jul 17 15:27:20 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 13:27:20 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: as always please coute the commit that solve it in the gitlab, thanks in advance From bugtracker at gambaswiki.org Tue Jul 17 15:28:54 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 13:28:54 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- Comment #2 by Beno?t MINISINI: Putting a pointer in a Setting file is forbidden. But the interpreter should not crash at the end. I will fix that in the next commit. From bugtracker at gambaswiki.org Tue Jul 17 15:36:24 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 13:36:24 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/609ef351f8b156658ec5b5880fb06293defe365b Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Tue Jul 17 16:23:12 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 14:23:12 GMT Subject: [Gambas-bugtracker] Bug #1366: emulated empty settings collection get a crash when write it and leave locked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1366&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: the responses of the bugtracker does not arrives at right order!, the commit response arrives first ! ?!?!?! about the fix, see (i dont are expert) what happened in a case when the pointer are a garbage? i wants to emulated a empty write to a settings value! i cannot see if with the fix will be possible, due as you said are forbidden! From bugtracker at gambaswiki.org Tue Jul 17 20:33:14 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 18:33:14 GMT Subject: [Gambas-bugtracker] Bug #1326: IDE crash if project does not clean and code crash before, if were using ODBC component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1326&from=L21haW4- Comment #5 by Beno?t MINISINI: No idea which project you are really talking about. There is only one project joined to this issue, 'prueba-0.0.1.tar.gz', and it runs as expected without any problem, either normally or step by step. As you have problem with running the IDE with gb.qt4 too, which works perfectly on my system, I'm really starting to think that you failed to compile and install Gambas correctly on your system. From bugtracker at gambaswiki.org Tue Jul 17 20:43:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 18:43:55 GMT Subject: [Gambas-bugtracker] Bug #1326: IDE crash if project does not clean and code crash before, if were using ODBC component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1326&from=L21haW4- Comment #6 by PICCORO LENZ MCKAY: it happened if change someting and does not recompile the project and use odbc (not mysql or postgresql, by example any of the privative odbc modules in linux) with 3.9 does not happened, only in 3.11 but right now i not use or have any 3.11 instalation anymore From bugtracker at gambaswiki.org Tue Jul 17 20:54:47 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 18:54:47 GMT Subject: [Gambas-bugtracker] Bug #1141: GTK3 and QT5 crashes the IDE under Cygwin In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1141&from=L21haW4- Comment #9 by Beno?t MINISINI: You didn't read the documentation carefully: you have to run the debugger from the project directory! From bugtracker at gambaswiki.org Tue Jul 17 21:21:47 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 19:21:47 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Comment #4 by Beno?t MINISINI: Not yet... I tried what you described with Kate, but nothing happened, except that the selection was replaced by the bracket. Do you use a dedicated plugin? From bugtracker at gambaswiki.org Tue Jul 17 21:22:04 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 19:22:04 GMT Subject: [Gambas-bugtracker] Bug #1362: Auto-generate property accessors In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1362&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Jul 17 22:45:45 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 20:45:45 GMT Subject: [Gambas-bugtracker] Bug #1363: DirView.NewFolder rollback on renaming failure In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1363&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Tue Jul 17 22:48:26 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 20:48:26 GMT Subject: [Gambas-bugtracker] Bug #1361: Declare variables anywhere and more lexical scope In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1361&from=L21haW4- Comment #2 by Beno?t MINISINI: @Piccoro: no, the jit doesn't care. He won't see anything of this lexical stuff. From bugtracker at gambaswiki.org Tue Jul 17 23:16:38 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 17 Jul 2018 21:16:38 GMT Subject: [Gambas-bugtracker] Bug #1363: DirView.NewFolder rollback on renaming failure In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1363&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/150f488f8c759242ed7651af63532e1ab7bc854e Now if an error occurs while renaming an item, the item editor remains open. Canceling the renaming deletes the new folder. At the moment, not creating the new folder immediately is too hard to implement. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Wed Jul 18 23:09:26 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Jul 2018 21:09:26 GMT Subject: [Gambas-bugtracker] Bug #1338: get from VERSION file does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1338&from=L21haW4- PICCORO LENZ MCKAY added an attachment: problem-get-from-version.png From bugtracker at gambaswiki.org Wed Jul 18 23:11:24 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Jul 2018 21:11:24 GMT Subject: [Gambas-bugtracker] Bug #1338: get from VERSION file does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1338&from=L21haW4- PICCORO LENZ MCKAY changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Wed Jul 18 23:28:23 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Wed, 18 Jul 2018 21:28:23 GMT Subject: [Gambas-bugtracker] Bug #1338: get from VERSION file does not work In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1338&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: I FOUND THE PROBLEM IDES DOES NOT TAKE THE "get from version file" CHECKS when close and reopened the proyect, please review the picture attached recently benoit http://gambaswiki.org/bugtracker/get/COM.1338.4/file-1/20180718-230925565-problem-get-from-version.png From bugtracker at gambaswiki.org Thu Jul 19 17:56:33 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Thu, 19 Jul 2018 15:56:33 GMT Subject: [Gambas-bugtracker] Bug #1355: make dwgInfo move if mouse touches your area In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1355&from=L21haW4- Comment #1 by Beno?t MINISINI: A solution was implemented in commit https://gitlab.com/gambas/gambas/commit/3f836f0b9de6a7b3e1558d33b92f198d26028d9f. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Fri Jul 20 17:23:56 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 20 Jul 2018 15:23:56 GMT Subject: [Gambas-bugtracker] Bug #1367: FileView.Reload fails to update file sizes Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1367&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- FileView.Reload fails to update file sizes Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Scenario: Start copying a very large 1GB+ file to the directory Fileview (in detailed mode) is set to, say user.home. While the file is copying, reload Fileview. The copying file now appears, with its current size say 400Mb. When the file has finished copying, reload Fileview again. File size of copied file stays the same. Cause: Fileview uses DirCache to cache the directory it is monitoring. Calling Fileview.reload by itself does not invalidate this cache so file size changes are not captured by reload. Fileview's built-in watch function does invalidate the cache so reload will capture new, renamed or deleted files. More detail: Fileview.Reload calls RefreshViewLater with the bClear flag set to True. bClear is used to set the global $bRefreshAll to True and then an asynchronous RefreshView is triggered via the Refresh timer, with bInvalidate effectively set to False. In RefreshView, $bRefreshAll is only used to force a refresh of the display (iconview or columnview). It is not used to invalidate the cache. Only bInvalidate cand invalidate the cache. System information ------------------ [System] Gambas=3.10.90 OperatingSystem=Linux Kernel=4.16.8-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=15044M [Libraries] Cairo=libcairo.so.2.11512.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.7 GStreamer=libgstreamer-1.0.so.0.1400.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.75.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.10.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0 EDITOR=/usr/bin/nano GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/931,unix/:/tmp/.ICE-unix/931 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/xfce4-session From bugtracker at gambaswiki.org Fri Jul 20 17:24:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 20 Jul 2018 15:24:25 GMT Subject: [Gambas-bugtracker] Bug #1367: FileView.Reload fails to update file sizes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1367&from=L21haW4- Tony MOREHEN added an attachment: test-0.0.1.tar.gz From bugtracker at gambaswiki.org Fri Jul 20 17:36:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 20 Jul 2018 15:36:55 GMT Subject: [Gambas-bugtracker] Bug #1367: FileView.Reload fails to update file sizes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1367&from=L21haW4- Comment #1 by Tony MOREHEN: Fix Options (in gb.Form/FileView.class): 1) Force all calls to RefreshView to invalidate the cache. Is bInvalidate really needed? 2) Modify the RefreshView call in Refresh_Trigger to take $bRefreshAll into account ie change line 516 from "RefreshView" to "RefreshView($bRefreshAll)". This requires $bRefreshAll to be in its proper state whenever Refresh_Timer is triggered. 3) Modify RefreshView to invalidate the cache whenever $bRefreshAll is set to True. ie change line 342 from "If bInvalidate Then hCache.Invalidate" to "If bInvalidate Or If $bRefreshAll Then hCache.Invalidate" From bugtracker at gambaswiki.org Fri Jul 20 17:51:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 20 Jul 2018 15:51:55 GMT Subject: [Gambas-bugtracker] Bug #1368: Iconview returns incorrect current item in multi mode when a currently selected item is clicked Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1368&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Iconview returns incorrect current item in multi mode when a currently selected item is clicked Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Further to bug report 1358, Iconview now raises a Click event when, in multi mode, a currently selected item is clicked. However, Iconview.Current returns the last selected item, not the item that was clicked to trigger the Click event. Fix: Change ScrollArea_MouseDown, lines 912 to 916 from: If $aItems[iPos].Selected Then ' do nothing when clicking inside the selection Else SetCurrentItem(iPos) Endif to: SetCurrentItem(iPos) System information ------------------ [System] Gambas=3.10.90 OperatingSystem=Linux Kernel=4.16.8-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=15044M [Libraries] Cairo=libcairo.so.2.11512.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.7 GStreamer=libgstreamer-1.0.so.0.1400.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.75.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.10.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0 EDITOR=/usr/bin/nano GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/931,unix/:/tmp/.ICE-unix/931 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/xfce4-session From bugtracker at gambaswiki.org Fri Jul 20 17:55:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Fri, 20 Jul 2018 15:55:11 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Comment #5 by T. Lee DAVIDSON: No, Beno?t, I am not using a dedicated plugin with Kate. It is simply Kate v17.04.2 with Auto Brackets enabled (Settings > Editing). Geany, on the other hand, does use a dedicated plugin ("Autoclose") for that functionality. Info: https://plugins.geany.org/ Source code: https://github.com/geany/geany-plugins/tree/master/autoclose From bugtracker at gambaswiki.org Sat Jul 21 08:40:25 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 06:40:25 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Jul 21 08:41:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 06:41:16 GMT Subject: [Gambas-bugtracker] Bug #1364: Add CUT/COPY/PASTE shortcuts to the Editor. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1364&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at gambaswiki.org Sat Jul 21 09:30:54 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 07:30:54 GMT Subject: [Gambas-bugtracker] Bug #1367: FileView.Reload fails to update file sizes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1367&from=L21haW4- Comment #2 by Beno?t MINISINI: Here is what I did in commit https://gitlab.com/gambas/gambas/commit/e3ca5b2e12cffa3feba76772847cdbd97ed8f3d4 : - ReloadAll() invalidates the directory cache. - The directory cache invalidates itself automatically every five seconds. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sat Jul 21 14:21:55 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 12:21:55 GMT Subject: [Gambas-bugtracker] Bug #1368: Iconview returns incorrect current item in multi mode when a currently selected item is clicked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1368&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at gambaswiki.org Sat Jul 21 14:26:11 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 12:26:11 GMT Subject: [Gambas-bugtracker] Bug #1368: Iconview returns incorrect current item in multi mode when a currently selected item is clicked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1368&from=L21haW4- Comment #1 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/5b5356c2a8a29eeb6eddc43215b65884713e2628. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sat Jul 21 16:50:45 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 14:50:45 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Comment #6 by Beno?t MINISINI: Done in commit https://gitlab.com/gambas/gambas/commit/5a61b7d436480974aae154294c1bf32382b06bc7. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sat Jul 21 22:19:43 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sat, 21 Jul 2018 20:19:43 GMT Subject: [Gambas-bugtracker] Bug #1365: IDE raises Documentation.ImplementAndNeed on project open In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1365&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in commit https://gitlab.com/gambas/gambas/commit/584a7b6ba3fac0e8addec7174c2f9aafcb1c32e7. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at gambaswiki.org Sun Jul 22 19:55:30 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Sun, 22 Jul 2018 17:55:30 GMT Subject: [Gambas-bugtracker] Bug #1248: Option to enclose selection when auto-closing quotes/brackets In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1248&from=L21haW4- Comment #7 by T. Lee DAVIDSON: It works beautifully. And, Undo works with it perfectly as well. Thank you. From bugtracker at gambaswiki.org Mon Jul 23 20:21:15 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Jul 2018 18:21:15 GMT Subject: [Gambas-bugtracker] Bug #1368: Iconview returns incorrect current item in multi mode when a currently selected item is clicked In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1368&from=L21haW4- Comment #2 by Tony MOREHEN: Thank you. Quick work on this and 1367! From bugtracker at gambaswiki.org Mon Jul 23 20:56:00 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Mon, 23 Jul 2018 18:56:00 GMT Subject: [Gambas-bugtracker] Bug #1369: gb.desktop's GetDataDir() sometimes returns incomplete information Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1369&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- gb.desktop's GetDataDir() sometimes returns incomplete information Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- When a Gambas program is run on a distribution that does not support the freedesktop specification or with a restricted environment (ie started through the Exec process function), GetDatDir will only return $HOME/.local/share. It will not include /usr/local/share or /usr/share. The GetDataDir code: Public Sub GetDataDir() As String[] If Not $aDataDir Then $aDataDir = Split(Desktop.DataDir, ":", "", True) $aDataDir.Insert(Split(Env["XDG_DATA_DIRS"], ":", "", True)) Endif Return $aDataDir End Desktop.DataDir returns the contents of $XDG_DATA_HOME or $HOME/.local/share if $XDG_DATA_HOME is missing Similarly, the next line should insert the contents of $XDG_DATA_DIRS or [/usr/local/share, /usr/share] if $XDG_DATA_DIRS is missing. System information ------------------ [System] Gambas=3.10.90 OperatingSystem=Linux Kernel=4.16.8-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=XFCE Theme=Gtk Language=en_CA.utf8 Memory=15044M [Libraries] Cairo=libcairo.so.2.11512.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.7 GStreamer=libgstreamer-1.0.so.0.1400.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.75.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.10.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xfce DISPLAY=:0 EDITOR=/usr/bin/nano GB_GUI=gb.qt4 GDMSESSION=xfce GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GTK2_RC_FILES=/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module HOME= LANG=en_CA.utf8 LC_ADDRESS=en_CA.UTF-8 LC_IDENTIFICATION=en_CA.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=en_CA.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=en_CA.UTF-8 LC_TIME=en_CA.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/931,unix/:/tmp/.ICE-unix/931 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xfce XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/xfce4-session From bugtracker at gambaswiki.org Tue Jul 31 06:42:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Jul 2018 04:42:16 GMT Subject: [Gambas-bugtracker] Bug #1370: $ gambas3 gives ERROR: #27: Cannot load component 'gb.jit': cannot find component Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1370&from=L21haW4- Ge RICKS reported a new bug. Summary ------- $ gambas3 gives ERROR: #27: Cannot load component 'gb.jit': cannot find component Type : Bug Priority : Medium Gambas version : Master Product : JIT compiler Description ----------- Cannot start gambas3 under Ubuntu 18.04 (bionic) Gambas3 programs that have been made executable run okay. Just unable to start the development system through the normal menu system or command line mvac18:/usr/bin$ ./gambas3 ERROR: #27: Cannot load component 'gb.jit': cannot find component mvac18:~$ gambas3 ERROR: #27: Cannot load component 'gb.jit': cannot find component System information ------------------ XUbuntu 18.04 (bionic) GNOME 3.28.2 Kernel 4.15.0-29-generic Repository used http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu bionic main 3.11.90+git6532.584a7b6+build1384661d~ubuntu18.04.1 All updates up till 31 July 2018 have been carried out. From bugtracker at gambaswiki.org Tue Jul 31 14:09:21 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Jul 2018 12:09:21 GMT Subject: [Gambas-bugtracker] Bug #1370: $ gambas3 gives ERROR: #27: Cannot load component 'gb.jit': cannot find component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1370&from=L21haW4- Comment #1 by Ge RICKS: PROBLEM RESOLVED ACTION TAKEN 13h05 31Jul2018 https://www.linuxhelp.com/how-to-install-gambas-3-10-90-on-ubuntu-18-04/ "How to install Gambas 3.10.90 on Ubuntu 18.04" have been informed of problem. With Xubuntu 18.04 (bionic) We get c at mvac18:~$ gambas3 ERROR: #27: Cannot load component 'gb.jit': cannot find component See http://gambaswiki.org/bugtracker/main Bug report 1370 reported on 31Jul2018 We noted during installing as above: This PPA contain the latest development version of Gambas. Currently supported Ubuntu releases: - 12.04.X LTS - 14.04.X LTS - 14.10 - 15.04 (and nothing higher!) So far fix seems to be Disable using Synaptic/Settings/Repository/Other the enabled gambas repository gambas-team/gambas-daily exit synaptic sudo apt-get remove --auto-remove gambas3 This will remove the gambas3 package and any other dependant packages which are no longer needed. ?Gambas Ubuntu Maintainers? team Choose stable package sudo add-apt-repository ppa:gambas-team/gambas3 sudo apt-get update With synaptic re-install gambas3 Exit synaptic Test with normal Xubuntu menu/Development/Gambas3. OKAY Shows Gambas 3.11.2 ------- From bugtracker at gambaswiki.org Tue Jul 31 14:15:16 2018 From: bugtracker at gambaswiki.org (bugtracker at gambaswiki.org) Date: Tue, 31 Jul 2018 12:15:16 GMT Subject: [Gambas-bugtracker] Bug #1370: $ gambas3 gives ERROR: #27: Cannot load component 'gb.jit': cannot find component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1370&from=L21haW4- Comment #2 by Ge RICKS: Test with normal Xubuntu menu/Development/Gambas3. OKAY Shows Gambas 3.11.2 on startup screen. Properties: 3.11.3+git5975.ad04966+build1.4250560.4.532d4ba~ubuntu18.04.1 (NOTE DIFFERENT TO VERSION SHOWN)