| 00:17:54 | jef: | pcav: um, btw. that doesn't work on windows. |
| 00:18:19 | jef: | pcav: and it relies on a shell. |
| 00:18:28 | pcav: | seen, thanks |
| 00:18:35 | pcav: | lorenzo is coming |
| 00:18:44 | il_rugginoso: | hi all |
| 00:19:37 | jef: | il_rugginoso: hi. you forgot to add the qtermwidget directory. |
| 00:20:00 | jef: | il_rugginoso: btw that doesn't work on windows. |
| 00:20:18 | il_rugginoso: | jef: the patch I sent to paolo works on his computer |
| 00:20:41 | jef: | il_rugginoso: ok, pcav forgot to add the qtermwidget directory then. |
| 00:20:46 | il_rugginoso: | maybe |
| 00:21:08 | il_rugginoso: | wait checking |
| 00:21:17 | jef: | http://trac.osgeo.org/qgis/changeset/10664 |
| 00:21:20 | sigq: | Title: Changeset 10664 - Quantum GIS - Trac ( at trac.osgeo.org ) |
| 00:22:37 | il_rugginoso: | jef: ok, pcav forgot svn add on qtermwidget dir |
| 00:23:15 | jef: | il_rugginoso: um, I know ; ) |
| 00:23:28 | il_rugginoso: | :D |
| 00:23:35 | il_rugginoso: | well, what about windows? |
| 00:23:44 | jef: | il_rugginoso: no fork, no shell |
| 00:23:45 | il_rugginoso: | i didn't anything for it |
| 00:24:11 | jef: | il_rugginoso: except that you added qtermwidget unconditionally to CMakeLists.txt |
| 00:24:44 | CIA-70: | pcav * r10665 /trunk/qgis/src/plugins/grass/qtermwidget/ ( 50 files in 2 dirs ): Adding qtermwidget |
| 00:24:45 | sigq: | tracfeed: Changeset [10665]: Adding qtermwidget <https://trac.osgeo.org/qgis/changeset/10665> |
| 00:24:48 | pcav: | committing now |
| 00:24:52 | il_rugginoso: | uhm |
| 00:25:10 | il_rugginoso: | jef: could you try if qtermwidget compiles and works on windows? |
| 00:25:19 | il_rugginoso: | i'll sent the link to you.. |
| 00:25:47 | il_rugginoso: | http://www.qt-apps.org/content/show.php/QTermWidget?content=82832 |
| 00:25:48 | sigq: | Title: QTermWidget Qt-Apps.org ( at www.qt-apps.org ) |
| 00:26:49 | il_rugginoso: | if it compiles and works on windows, we can try to integrate it on qgis for windows too |
| 00:33:02 | CIA-70: | jef * r10666 /trunk/qgis/src/plugins/grass/CMakeLists.txt: fix windows build |
| 00:34:28 | sigq: | tracfeed: Changeset [10666]: fix windows build <https://trac.osgeo.org/qgis/changeset/10666> |
| 00:38:27 | il_rugginoso: | jef: I saw the commit, I'm sorry for my noobness :P |
| 00:43:28 | jef: | il_rugginoso: np |
| 00:43:33 | il_rugginoso: | :D |
| 00:44:18 | il_rugginoso: | i think it could work on windwos too |
| 00:44:27 | il_rugginoso: | i'll install windows on a virtual machine to try |
| 00:44:28 | jef: | il_rugginoso: w/o fork? |
| 00:44:42 | il_rugginoso: | yes |
| 00:44:50 | il_rugginoso: | i think qtermwidget does it internallyu |
| 00:45:22 | jef: | il_rugginoso: what about the shell? |
| 00:45:42 | il_rugginoso: | uh? |
| 00:47:54 | jef: | il_rugginoso: qtermwidget still needs sh, doesn't it? |
| 00:48:47 | il_rugginoso: | jef: ifdef OPENPTY |
| 00:50:07 | jef: | il_rugginoso: K3Process::start |
| 00:52:36 | il_rugginoso: | HAVE_GETPT isn't for windows? |
| 00:54:34 | il_rugginoso: | uhm |
| 00:56:03 | il_rugginoso: | it should work with mingw |
| 00:56:20 | jef: | ok, I don't use mingw |
| 00:57:39 | il_rugginoso: | uhm |
| 00:58:11 | il_rugginoso: | i need to do some tests |
| 00:58:24 | il_rugginoso: | we will talk about it after that |
| 00:58:46 | il_rugginoso: | strange english, the mine :P |
| 00:58:47 | sigq: | tracfeed: Ticket #1656 ( enhancement created ): mapserver export plugin & raster classification <https://trac.osgeo.org/qgis/ticket/1656> |
| 01:04:53 | jef: | il_rugginoso: but even on mingw there is no fork( ) afaik. |
| 01:06:18 | il_rugginoso: | uhm, ok I think it will work on *nix only |
| 03:27:32 | epifanio: | error building with cmake on osx : http://dpaste.com/38289/ |
| 03:27:33 | sigq: | Title: dpaste: #38289 ( at dpaste.com ) |
| 04:13:33 | sigq: | tracfeed: Ticket #1657 ( bug created ): Vector Layer Translate Feature <https://trac.osgeo.org/qgis/ticket/1657> |
| 05:23:25 | sigq: | tracfeed: Ticket #1658 ( bug created ): Python binding unavailable/MacOS X univeral binaries ( two bugs ) <https://trac.osgeo.org/qgis/ticket/1658> |
| 05:41:23 | sigq: | tracfeed: Ticket #1658 ( bug created ): Python binding unavailable/MacOS X universal binaries ( two bugs ) <https://trac.osgeo.org/qgis/ticket/1658> |
| 07:43:09 | CIA-70: | mhugent * r10667 /trunk/qgis/src/ ( core/qgsvectorlayer.cpp providers/ogr/qgsogrprovider.cpp ): Fix for bug #1657 and fix for a memory leak in ogr provider |
| 07:44:14 | sigq: | tracfeed: Changeset [10667]: Fix for bug #1657 and fix for a memory leak in ogr provider <https://trac.osgeo.org/qgis/changeset/10667> |
| 07:46:43 | sigq: | tracfeed: Ticket #1657 ( bug closed ): Vector Layer Translate Feature <https://trac.osgeo.org/qgis/ticket/1657#comment:1> |
| 08:39:09 | sigq: | tracfeed: Ticket #1652 ( bug closed ): Map refresh 15sec freezes with GRASS maps <https://trac.osgeo.org/qgis/ticket/1652#comment:3> |
| 09:14:30 | lynx_r: | hi developers, how to get a pointer to MapLegend of QGis? |
| 09:47:24 | wildintellect: | lynx_r, you talking about the map composer( from the print icon ) |
| 09:50:34 | lynx_r: | wildintellect: i am talking about a pointer to maplegend ( mMapLegend in QGis app ) that in dockwidget, but seems i found modus |
| 09:51:08 | lynx_r: | legendDockWidget = mQGisIface->mainWindow( )->findChild<QDockWidget *>( "Legend" ); |
| 09:51:08 | lynx_r: | mLegendList.append( legendDockWidget->widget( ) ); |
| 09:51:36 | wildintellect: | what are you attempting to do? |
| 10:03:13 | lynx_r: | wildintellect: epifanio shared with me the idea to add in qgis many mapcanvases in tabs |
| 10:03:31 | wildintellect: | ah |
| 10:03:58 | wildintellect: | what specifically are you trying to do with the mapLegend? |
| 10:06:28 | lynx_r: | i want to store mapLegend in list and add it to dock widget when user will switch to *next* tab but befor i need to get a pointer to the first instance of maplegend to put it to list |
| 10:08:29 | epifanio: | :- ) |
| 10:08:31 | lynx_r: | also there is possibility to storing layers from maplegend, but it should remove and add in many count so i suggest it will be slow |
| 10:08:39 | epifanio: | is like actually grass works |
| 10:09:12 | epifanio: | it has different mapdisplay and for each display it reserv the relative layer-legend |
| 10:09:36 | epifanio: | adding the tab-capabilities in qgis we well esy have that capabilities in qgis too |
| 10:10:15 | wildintellect: | well I assume you guys have poked through http://doc.qgis.org/head/ |
| 10:10:16 | sigq: | Title: Quantum GIS API Documentation: Quantum GIS ( at doc.qgis.org ) |
| 10:12:21 | dassouki: | wildintellect: did you end up finding the script that connects points to lines ? |
| 10:13:06 | wildintellect: | dassouki, I'm having to piece it together from the code history of each vector layer - I think I almost have something that makes sense |
| 10:13:18 | wildintellect: | lynx_r, did you see http://doc.qgis.org/head/classQgsMapLayerRegistry.html |
| 10:13:19 | sigq: | Title: Quantum GIS API Documentation: QgsMapLayerRegistry Class Reference ( at doc.qgis.org ) |
| 10:13:33 | dassouki: | wildintellect: ah thank you very much u didn't have to go through all that |
| 10:13:50 | wildintellect: | I need to repeat it soon, so it helps me too |
| 10:15:26 | dassouki: | speaking of the API. i'm writing a python function that lists the fields of a layer in the map canvas. there are 2 combo boxes the first fetches layers, and the other one should fetch the fields of the selected layer. Any ideas on how to do so ? |
| 10:16:38 | wildintellect: | I know how to do the layers |
| 10:17:01 | wildintellect: | that's also in my plugin, shouldn't be too hard to go one more loop down on the layer properties to get the fields |
| 10:17:42 | dassouki: | ah layer properties |
| 10:17:58 | dassouki: | i was looking for a field thing .. i'll look around and see what i can do |
| 10:19:32 | wildintellect: | QgsVectorLayer::pendingAllAttributesList ( ) |
| 10:20:24 | wildintellect: | so in python vectorLayer.pendingAllAttributesList( ) assuming you've assigned a layer to vectorLayer variable |
| 10:21:14 | wildintellect: | it should return some type of list object that you |
| 10:21:36 | dassouki: | http://pastebin.com/d540583e0 |
| 10:21:37 | sigq: | Title: Python pastebin - collaborative debugging tool ( at pastebin.com ) |
| 10:25:11 | wildintellect: | lynx_r, did you catch that last link I sent - I haven't found the legend stuff but that registry appears to hold the info you need and already exists as an object |
| 10:26:32 | lynx_r: | wildintellect: yes |
| 10:35:19 | wildintellect: | dassouki, was there a question associated with that paste? |
| 10:39:53 | dassouki: | not yet |
| 10:46:28 | wildintellect: | ok, here's that code for you http://blog.wildintellect.com/blog/grassnetwork |
| 10:46:29 | sigq: | Title: Blog – Wildintellect ( at blog.wildintellect.com ) |
| 10:49:58 | dassouki: | 3thanks a lot |
| 11:36:41 | epifanio: | hi All ... then new grass-shall code, broke the build on osx http://dpaste.com/38485/ |
| 11:36:42 | sigq: | Title: dpaste: #38485 ( at dpaste.com ) |
| 11:36:56 | epifanio: | have you any suggestion on how to fix it ? |
| 11:37:19 | : | * epifanio ... reading here ... kpty.cpp:431 |
| 11:37:57 | epifanio: | but no shure where the problem is "'utmp' is deprecated" ??? |
| 11:43:00 | wildintellect: | epifanio, send an email to the developer list - I'm not sure that the primary mac build guru is on IRC much |
| 11:44:14 | epifanio: | yes i'll do it of course, i'm tring to use qtcreator for the firs time .. it is nice |
| 11:45:57 | wildintellect: | the lines that say error are the most important |
| 11:46:12 | wildintellect: | deprecated just means at some point in the future it won't work anymore |
| 11:46:36 | wildintellect: | my guess is your missing some lib specifically for building a qt qtermwidget |
| 11:47:13 | wildintellect: | did you use new stuff from Qt4.5 and the mac only has 4.4 - something along those lines |
| 11:47:41 | epifanio: | i'm using the 5.4 sdk |
| 11:47:47 | epifanio: | hoops, 4.5 |
| 11:49:41 | epifanio: | i'm mailing to the list, i'll try to see also on #qt |
| 11:50:04 | epifanio: | seems that the files used in the source come directly from qt developpers |
| 11:56:39 | jef: | epifanio: perhaps http://dpaste.com/38498/ helps |
| 11:56:41 | sigq: | Title: dpaste: #38498: utmp ( at dpaste.com ) |
| 11:57:17 | epifanio: | jef thak! i'll apply it of course |
| 11:57:23 | epifanio: | *thaks |
| 11:57:33 | epifanio: | ... humm *thanks :- ) |
| 12:03:23 | epifanio: | something changes .. now it try to serch a missed header : http://dpaste.com/38501/ |
| 12:03:24 | sigq: | Title: dpaste: #38501 ( at dpaste.com ) |
| 12:05:01 | epifanio: | i'll try to do a locate utempter.h to see if i've it |
| 12:06:21 | jef: | and look for utmpx.h |
| 12:11:25 | jef: | looks like macos has utmpx. http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/getutmp.3.html, so http://dpaste.com/38503/ might work |
| 12:11:26 | sigq: | Title: dpaste: #38503 ( at dpaste.com ) |
| 12:23:59 | epifanio: | yes i've : http://dpaste.com/38511/ tring the new patch |
| 12:24:00 | sigq: | Title: dpaste: #38511 ( at dpaste.com ) |
| 12:27:38 | epifanio: | gived me : http://dpaste.com/38513/ |
| 12:27:40 | sigq: | Title: dpaste: #38513 ( at dpaste.com ) |
| 12:41:16 | jef: | epifanio: http://dpaste.com/38521/ |
| 12:41:18 | sigq: | Title: dpaste: #38521 ( at dpaste.com ) |
| 12:47:29 | epifanio: | jef: lesse errors :- ) http://dpaste.com/38523/ |
| 12:47:30 | sigq: | Title: dpaste: #38523 ( at dpaste.com ) |
| 12:48:21 | cgs_bob: | hello all. I just compiled qgis with the new grass shell. It works great, but it looks like the wxpython gui no longer works. so instead of seeing a gui when I type a grass command without arguments, I see the old prompting for arguments |
| 12:50:13 | epifanio: | cgs_bob: maybe it has not an X window system implemented yet ? i tried on linux a simple d.mon x0 not works, for command without arguments i've wath you have ( old text prompt ) |
| 12:52:46 | cgs_bob: | epifanio: maybe so. I've also notice that GRASS_LD_LIBRARY_PATH is not defined so, my python programs that does a "import grass" doesn't work |
| 12:53:28 | epifanio: | ahh you're working on grass.py :- ) |
| 12:53:33 | epifanio: | me too |
| 12:53:47 | epifanio: | i'm tring first code in that direction ... |
| 12:54:08 | epifanio: | i never tried to call grass py inside the qgis shell |
| 12:54:29 | epifanio: | we well ask for that enanchment if possible |
| 12:55:48 | jef: | epifanio: sigh, http://paste.debian.net/34594/ |
| 12:55:51 | sigq: | Title: #debian.de Pastezone ( at paste.debian.net ) |
| 12:59:39 | epifanio: | jef .... build succeded :- ) !!!!!!! |
| 13:00:29 | epifanio: | you're simple wonder! |
| 13:01:06 | epifanio: | i'll do meke install and try it :- ) |
| 13:03:01 | cgs_bob: | epifanio: hope it works for you : ) see what happens when you use a python grass command and when you just type a command |
| 13:03:41 | epifanio: | on linux i have the text promt that ask me for any flags |
| 13:05:58 | cgs_bob: | I had to do a export PYTHONPATH=/usr/local/grass-6.5.svn/etc/python within the grass shell to get my python program running |
| 13:07:02 | epifanio: | on osx ... i've splash screen .. a message that tell me about python can 't be loaded .. and a crash withe these report http://paste.debian.net/34596/ ... but these are old osx story ... i think install name path and other problems ( i'll try to restart it moving out the python plug-in dir from ~/.qgis ) |
| 13:07:05 | sigq: | Title: #debian.de Pastezone ( at paste.debian.net ) |
| 13:09:22 | epifanio: | humm no, moving out the plug-in dont fix .. i'll try on a fresh ceckout and reappling the pacth |
| 13:11:49 | cgs_bob: | you should compare the environment of grass with qgis grass ( you know "set > /tmp/qgisgrass within qgis shell vs. set > /tmp/grass within grass ) might give you a clue |
| 13:15:18 | epifanio: | cgs_bob: i need to try, what do you do with grass.py ? i started learning it, for now i'm reading the g.region aoutput keep the center, translate it to lon lat and sen it out ... |
| 13:15:33 | epifanio: | but is bit different from what i need |
| 13:15:48 | epifanio: | *sen -> send |
| 13:17:14 | epifanio: | beacouse panning in the map-canvas ( inside a region or out of it ) will not produces change ... while my targhet is to read the "map-display" center .. not the region-center |
| 13:18:38 | epifanio: | i don't know if these will be doable using grass.py ... or i'll need to go in the wxpython code to do it, maybe the function that print the coordinate on the bottom of the canvas ... is the code on waht i need to work |
| 13:19:11 | cgs_bob: | I'm in the process of writting our earthquake induced landslide zone workflow. it is really simple program that uses r.mapcalc and a few vector commands |
| 13:24:52 | epifanio: | cool, happy r.mapcalc ... it's simply powerfool :- ) i tried import grass the first time 2 week ago, really intersting .. it will increase the capabilities and a lot of python code wroted for qgis can be also re-used for grass too |
| 13:30:19 | cgs_bob: | epifanio: one thing I haven't tried yet is to integrate my grass python program into the grass plugin module tree. |
| 13:32:28 | epifanio: | if you wrote a file.py inside the script foledr in grass, then you can create an xml modele for gras-qgis it will work i think |
| 13:36:21 | cgs_bob: | I'll do that now : ) it would be neat if there was a way to generate an xml template. kind of like how you can get a template when you type r.grasscmd --script. I guess I'm lazy : ) |
| 13:37:20 | epifanio: | i've a custum script in grass/scripts/ i can call it creating a new entry in : qgis/grass/config/default.qgc annd add the xml file in modules/ |
| 13:38:03 | cgs_bob: | cool! are you able to share? : ) |
| 13:39:23 | epifanio: | yes of course, i wrote the actually xml files for grass, we need just to know the synatx to use your script from grass then i can try to ctreate manually the relative xml file |
| 13:40:32 | epifanio: | the really hard work was done by gary sherman .. he wrote the cpp bindings |
| 13:46:52 | epifanio: | jef: applig your patch on a fresh svn checkout gived me a succesfull build, then make install tring to run it i had : python bindings cannot be loaded ... but i've no crash these time :- ) |
| 13:47:16 | epifanio: | ... i opened a grass mapset and in the tools i can see the new shell |
| 13:47:39 | epifanio: | but a werid problem come up |
| 13:47:53 | epifanio: | if i type : g.region |
| 13:48:35 | epifanio: | i see that i can type g. .... when i press "r" ... it want open a prompt to load raster |
| 13:48:51 | epifanio: | if i type "v" it open the prompt to load vector |
| 13:49:58 | epifanio: | it has the shootcat "enabled" :-/ ... so i can type text in it |
| 13:58:42 | epifanio: | thet weirs behavioure ... we need to modify the shoortcut usage .. insted of open a raster prompt simply typing "r" ... we need a key combination .. like apple+r or ctr+r etc ... |
| 14:09:44 | epifanio: | copy and paste to see how it works on osx will be the solution for now ;- ) |
| 14:11:11 | epifanio: | but i need to know why global pythons bindings are not enabled ... mybe jctul has the answer :- ) he use cmake to build qgis, i remeber we need a shell command to change the executable name path or something similar |
| 14:11:37 | epifanio: | however in xcode python works fine |
| 14:37:27 | epifanio: | these the python log details : http://dpaste.com/38584/ |
| 14:37:29 | sigq: | Title: dpaste: #38584 ( at dpaste.com ) |
| 14:39:10 | epifanio: | i can't remember the instruction to fix it .. something like : install_name_tool -change $qq @executable_path .... file.so |
| 14:40:14 | epifanio: | do you kbow if exist a "keywords-search-tool" for the qgis irc-log ? |
| 14:44:31 | wildint: | anyone know if the value triggered by qgis --lang is accessible via python and where it might be? |
| 14:48:13 | wildint: | how about which code file handles the command line args called by qgis |
| 15:38:54 | CIA-70: | jef * r10668 /trunk/qgis/src/plugins/grass/qtermwidget/ ( k3process.cpp kpty.cpp kpty.h ): quick fix to get grass shell built on mac |
| 15:38:56 | sigq: | tracfeed: Changeset [10668]: quick fix to get grass shell built on mac <https://trac.osgeo.org/qgis/changeset/10668> |
| 17:53:27 | wildint: | anyone running a machine natively in german |
| 17:53:47 | wildint: | I need someone to test something for me in regards to plugins |
| 18:24:33 | wildint: | looks like I found a bug of sorts in the translation stuff for plugins |
| 23:21:39 | pcav: | jef: thanks for the fix for osx |
| 23:30:09 | sigq: | tracfeed: Ticket #1471 ( bug closed ): The grass requires Qt3 backwards compatibility <https://trac.osgeo.org/qgis/ticket/1471#comment:4> |
| 23:36:08 | sigq: | tracfeed: Ticket #1632 ( bug closed ): v.db.addcol: fails if path contains spaces <https://trac.osgeo.org/qgis/ticket/1632#comment:2> |
| 23:39:00 | CIA-70: | sholl * r10669 /docs/trunk/english_us/user_guide/working_with_ogc.tex: |
| 23:39:00 | CIA-70: | * Added parts for accessing basic_authenticated WMS-servers |
| 23:39:00 | CIA-70: | * TODO: describe for WFS if also functional. |