#QGIS IRC Log - 2009-06-09

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
03:35:56 arkygeek: hi guys
03:36:08 arkygeek: who works on the layer properties dialogue?
03:37:02 arkygeek: I have a friend who is trying to run QGis on an EEEPC under ubuntu 9.04... works great, but when he opens the layer properties, it is too big for the screen, and he is unable to see the stuff at the bottom. it is un-sizable...
03:37:51 arkygeek: ideas? I guess I could look at the source, and open in designer maybe, and try to adjust the properties there, but was hoping there was another way....
03:39:29 arkygeek: spacedman: ping
03:40:47 spacedman: yo
03:40:53 arkygeek: hi barry
03:41:00 arkygeek: any ideas re: ^
03:41:02 macho: arkygeek: wonder is working on that AFAIK
03:41:23 spacedman: Isn't it really a problem in Qt?
03:41:30 arkygeek: yeah, i would think
03:41:34 spacedman: Or in the EEE's window manager?
03:41:57 arkygeek: i remember that being an issue on systems with low screen resolution
03:42:02 arkygeek: it's been like that for some time
03:42:14 arkygeek: guess i will file a bug
03:42:24 arkygeek: or feature request maybe?
03:42:29 spacedman: a window manager should figure out that a 1200-pixel deep window on a 800-pixel deep display is going to need some scrolling...
03:43:09 arkygeek: spacedman: but if Qt was told to be only a certain size...
03:43:15 arkygeek: which I think is the case
03:43:28 : * arkygeek looks at the code
03:45:04 spacedman: it might not be possible to get the dialog smaller than 800 pixels... or at least not without a redesign... and why stop there? what when someone wants to run qgis on their Android phone? : )
03:45:22 spacedman: user should be able to alt-click and drag the dialog around...
03:45:39 spacedman: http://forum.eeeuser.com/viewtopic.php?id=18194
03:45:47 sigq: Title: EeeUser ASUS Eee PC Forum / Print dialog box too big for screen ( at forum.eeeuser.com )
03:46:43 spacedman: another idea: http://eeesite.net/2008/01/how-to-deal-with-windows-that-are-too.html
03:46:44 sigq: Title: Eee Site: How to deal with windows that are too large for your screen ( at eeesite.net )
03:47:12 arkygeek: hrmmm interesting.... when i open qgsvectorlayerpropertiesbase.ui I get:
03:47:13 arkygeek: The enumeration-type property sizeConstraint could not be read.
03:48:27 arkygeek: yeah, thats what i thought... geometry is constrained to [0, 0, 839, 675]
03:50:38 arkygeek: and minimum height is 600
03:50:54 arkygeek: which is a problem in ubuntu wif the top and bottom of the screen is being used
03:52:23 arkygeek: well, I will try your solution first spacedman ..... good one :- )
03:56:42 spacedman: Hmmm I could start a nested X server with small resolution and see what happens...
04:02:50 spacedman: i confirm that qgis is unusable on a 400x400 pixel screen : )
04:03:31 arkygeek: lol
04:03:44 arkygeek: so I can't run it on my N95??? that sux :-(
04:04:26 arkygeek: I thinnk it is important to make QGis as netbook friendly as possible...
04:04:56 : * arkygeek goes back to the writing
04:33:47 CIA-65: kyngchaos * r10894 /trunk/qgis/mac/xcode/Qgis.xcodeproj/project.pbxproj: GRASS needs GEOS now ( r10893 )
04:34:53 sigq: tracfeed: Changeset [10894]: GRASS needs GEOS now ( r10893 ) <https://trac.osgeo.org/qgis/changeset/10894>
06:10:04 sigq: tracfeed: Ticket #1724 ( patch created ): Cursor in the legend for a layer drag <https://trac.osgeo.org/qgis/ticket/1724>
08:17:46 spacedman: aaaargh. qgis+python+R is just soo flaky on my system at the moment. ubuntu Hardy with everything from repo crashes frequently and I just tried r 2.7.2 with it and recompiled rpy and it still crashes....
08:20:15 spacedman: spose i really need to narrow down where it's crashing... *sigh*
08:30:04 sigq: tracfeed: Ticket #1725 ( enhancement created ): snapping and search radius in options dialog, digitizing tab <https://trac.osgeo.org/qgis/ticket/1725>
09:40:40 sjzzalx: Hi sweet babies
09:40:48 sjzzalx: I have some infromation in qgis right this second
09:40:57 sjzzalx: but it's on white background, I want pretty backgrounds etc
09:41:00 sjzzalx: where can I obtain these
09:41:11 sjzzalx: by which i mean maps of us etc
11:46:40 wildintellect: sjzzalx, what background layers are you looking for specifically, and do you want them to cover the entire US or just a portion
12:09:45 markusN: hi
12:10:06 markusN: I have troubles to get python support running: "ImportError: No module named qgis.core"
12:10:13 markusN: http://osgeo.pastebin.com/d283f4aed
12:10:14 sigq: Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com )
12:10:17 markusN: what's the trick?
12:15:35 jayd--: do you multiple versions of python?
12:20:50 wildintellect: markusN, what OS are you on?
12:24:19 epifanio: markusN: the problem come up in apython shall insude qgis too ?
12:25:31 epifanio: to have qgis in a standard python shell i'm using in ccmake : set to ON global installation
12:28:36 markusN: jayd--: no, only one installation
12:28:44 markusN: it's a Mandriva 2008.0 box with updates
12:28:50 markusN: 64bit
12:29:27 markusN: I use the same install script which I also use on my other boxes with more recent Mandriva
12:31:00 wildintellect: are you compiling or using binaries to install?
12:35:01 markusN: ah sorry: I am compiling qgis_1_1_0 from SVN
12:35:18 markusN: r10894
12:36:29 wildintellect: what's the install path you set in ccmake?
12:36:31 markusN: this is the script to do the compilation ( which configures and calls cmake and such ): http://osgeo.pastebin.com/m391338ad
12:36:32 sigq: Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com )
12:36:49 markusN: works on other machines
12:37:13 markusN: "Python bindings enabled"... all looks good
12:38:24 wildintellect: if it works on other machines, I'm guessing there's some sort of permissions problem that it isn't telling you about
12:38:43 markusN: in fact
12:38:50 wildintellect: or path issue
12:38:53 markusN: the only idea which I have, too
12:38:57 : * markusN recompiles
12:39:00 markusN: maybe I can spot it
12:44:00 wildintellect: markusN, can you confirm that you have a qgis folder in your python site packages, ie /usr/lib/python2.5/site-packages/qgis
12:47:04 cgs_bob: markusN: you can also try "locate qgis/core.so" and see if it is within your python path
12:50:54 markusN: wildintellect: all goes into /usr/local/lib
12:51:01 markusN: or is it a "must"?
12:51:43 markusN: but indeed I don't see any trace of python2.5/site-packages/qgis
12:51:43 wildintellect: and are you adding that to your python path?
12:51:54 markusN: no yet ( how to? )
12:51:55 wildintellect: well that's a problem
12:52:16 markusN: it could at least complain...
12:52:45 wildintellect: let me turn on the box where I compile to see what my custom compiled ones look like
12:52:52 markusN: so... do install as root?
12:53:05 markusN: I was happy to have all in /usr/local/
12:53:14 markusN: never mind, I can re-install as root
12:53:14 wildintellect: that should be fine
12:53:30 markusN: but it forgets about python2.5/site-packages/qgis then
12:53:32 markusN: ( silently )
12:54:02 wildintellect: well if you build path is /usr/local it should make a python2.5 folder in there
12:55:07 : * markusN checks
12:55:31 wildintellect: correction it's /usr/local/share/qgis/python/qgis/
12:55:48 markusN: ls: cannot access /usr/local/share/qgis/python/qgis/: No such file or directory
12:56:06 markusN: ls: cannot access /usr/local/share/qgis/: No such file or directory
12:56:10 markusN: uhm
12:56:38 wildintellect: follow cgs_bob's advice and do a search, locate core.so | grep qgis
12:57:19 markusN: I have: /usr/local/lib/qgis/share/qgis/python/qgis/core.so
12:57:23 markusN: and /usr/local/lib/qgis/lib/libqgis_core.so
12:57:51 markusN: seems to be there but not visible to qgis?
12:58:32 wildintellect: not visible to python
12:58:59 cgs_bob: markusN: what is in your PYTHONPATH ?
12:59:58 cgs_bob: see what happens when you do something like this: PYTHONPATH=/usr/local/lib/qgis/share/qgis/python qgis
13:00:07 markusN: PYTHONPATH is empty
13:00:26 markusN: can I sent it system-wide for all users?
13:00:35 markusN: sorry to know so little about this stuff
13:00:50 markusN: cgs_bob: trying
13:01:15 markusN: it's a remote machine with triple ssh tunnel over a double radio bridge, so a bit slow
13:01:52 cgs_bob: markusN: yup...if you set BINDINGS_GLOBAL_INSTALL=ON . probably have to install as root
13:03:37 markusN: bingo: no more error...! ok - I can hack the startup and use a shell scipt to call the real qgis.
13:03:47 markusN: thanks guys
13:03:52 markusN: easy trick as so often
13:04:10 cgs_bob: markusN: you're welcome
13:06:42 markusN: mhh, next question: I remember that there was a possibility to easily install plugins from the web
13:06:52 markusN: is that gone? cannot see it in the plugins menu
13:13:18 racicot: markusN: under Plugins->Fetch Python Plugins... is that menu item there for you?
13:13:25 cgs_bob: markusN: are you talking about the python plugin builder?
13:14:27 aghisla: markusN: or plugin installer?
13:15:41 markusN: "Fetch Python Plugins" yes I think so - if I recall correctly
13:15:45 markusN: not there
13:17:25 cgs_bob: markusN: you don't see it in the Plugin Manager?
13:19:03 wildintellect: do a search for qgsplugininstallerbase.py
13:19:15 wildintellect: see if that turned up in your python path
13:19:18 markusN: yep
13:19:35 markusN: here: /usr/local/lib/qgis/share/qgis/python/plugins/plugin_installer/qgsplugininstallerbase.py
13:19:43 wildintellect: you might need to activate it in the plugin manager
13:25:44 markusN: I have added it to the PYTHONPATH
13:25:47 markusN: but nothing
13:25:54 markusN: also not in the list of available plugins
13:35:57 aghisla: ...
13:36:07 markusN: sniff
13:37:00 aghisla: come on markusN, there must be a solution
13:37:39 markusN: sure there is
13:37:50 markusN: since I have seen that nice menu entry already...
13:38:11 markusN: I'll release GRASS 6.4.0RC5 meanwhile
13:38:17 aghisla: : )
13:38:34 : * markusN is more confident with that
13:39:43 cgs_bob: markusN: you can also try installing the installer manually : ) just unzip http://spatialserver.net/pyqgis_1.0/plugins/plugin_installer.zip in ~/.qgis/python/plugin and enable the plugin in the plugin manager
13:40:00 markusN: ah cool
13:40:02 markusN: will try
13:41:34 cgs_bob: should be ~/.qgis/python/plugins
13:43:26 markusN: so: mkdir -p ~/.qgis/python/plugins ; cd ~/.qgis/python/plugins ; wget http://spatialserver.net/pyqgis_1.0/plugins/plugin_installer.zip ; unzip plugin_installer.zip ; rm -f plugin_installer.zip
13:43:29 markusN: uhm
13:43:30 markusN: fails
13:43:33 markusN: nothing in the list
13:43:41 markusN: doesn't seem to like me
13:43:45 aghisla: also restarting qgis?
13:43:50 markusN: ( now trying on my local box )
13:43:52 markusN: sure
13:44:12 markusN: stuff is now in /home/neteler/.qgis/python/plugins/plugin_installer
13:44:17 markusN: is that right?
13:44:41 aghisla: yes
13:45:23 markusN: ah, on my local box I have 1.0.2
13:46:21 : * markusN turns to slow remote machine
13:46:46 markusN: ( the remote is 1.1.0 svn )
13:50:28 markusN: oh finally, with 1.1.0 the trick from cgs_bob works!
13:53:44 cgs_bob: markusN: I've been down the same road : ) glad you got 1.1.0 working
13:55:09 markusN: so I'll trow 1.0.2..
13:55:28 markusN: don't want to complain but looks a bit tricky to me
14:01:24 cgs_bob: markusN: I don't know why you're not able to see the plugin installer. the problem I had happened around the time the plugin installer was introduced
14:03:20 cgs_bob: you might not have these problems if you turned on BINDINGS_GLOBAL_INSTALL in cmake
14:04:06 springmeyer: cgs_bob: do you know is there a ticket for the ability to create multiple style rules/symbology per layer?
14:04:21 springmeyer: ( that would allow each to have it's own min/max scale visibility )
14:08:29 cgs_bob: springmeyer: I'm not aware of such a ticket, but it would be nice : ) I just had a coworker ask me why you can have labels with multiple attributes. My work around was to load a layer multiple times with different attribute to label
14:09:33 springmeyer: right, which is potentially a major performance hit, but also the only idea I have whereby you'd set the min/max scales for lots of duplicated layers
14:09:54 springmeyer: could get out of control very fast
14:10:52 markusN: cgs_bob: would you mind to tell me in http://osgeo.pastebin.com/m391338ad how to turn on BINDINGS_GLOBAL_INSTALL ?
14:10:53 sigq: Title: osgeo private pastebin - collaborative debugging tool ( at osgeo.pastebin.com )
14:11:34 cgs_bob: it would be nice if you can customize a label like this: "Attribute1=[Attribute1]\nAttribute2=[Attribute2]"
14:16:41 markusN: thanks for you help, time to sleep
14:23:43 CIA-65: wonder * r10895 /trunk/qgis/src/app/legend/ ( qgslegend.cpp qgslegendlayer.cpp qgslegendlayer.h ):
14:23:43 CIA-65: Change layer's icon in legend to reflext that the layer is editable.
14:23:43 CIA-65: Removed duplicate function.
15:20:46 CIA-65: wonder * r10896 /trunk/qgis/ ( 4 files in 3 dirs ): Fixed #1706.
15:20:47 sigq: tracfeed: Changeset [10896]: Fixed #1706. <https://trac.osgeo.org/qgis/changeset/10896>
15:22:38 sigq: tracfeed: Ticket #1706 ( bug closed ): Zoom to selected in attribute table only works if the layer is selected in the layers window <https://trac.osgeo.org/qgis/ticket/1706#comment:1>
23:31:01 CIA-65: mhugent * r10897 /trunk/qgis/src/app/legend/qgslegend.cpp: Applied patch to fix legend cursor. Provided by gcarrillo
23:32:17 sigq: tracfeed: Ticket #1724 ( patch closed ): Cursor in the legend for a layer drag <https://trac.osgeo.org/qgis/ticket/1724#comment:1> || Changeset [10897]: Applied patch to fix legend cursor. Provided by gcarrillo <https://trac.osgeo.org/qgis/changeset/10897>
23:35:32 CIA-65: mhugent * r10898 /branches/Version-1_0/src/app/legend/qgslegend.cpp: Backport of legend cursor fix to 1.0 branch
23:35:34 sigq: tracfeed: Changeset [10898]: Backport of legend cursor fix to 1.0 branch <https://trac.osgeo.org/qgis/changeset/10898>