Re: [Qgis-user] Linking tables in QGIS vector objects?

2008-07-07 Thread Alex Mandel

Agustin Lobo wrote:

Hi!

I have a vector map of land use, I'd like
to know if the following operations can be made
with QGIS:

1. Create a table with a list of the 7 Land use
types that are present so that I can select one land
use and get highlighted all polygons with
that land use.

2. Link this table of 7 land use categories to another table
of, for example, biomass/ha, so that
I can display a map of biomass/ha.

3. Calculate the product of the biomass/ha * ha
of each polygon and get it as a new variable in the
original table for display.

I konw I can do 2 and 3 in R and then bring the output
to QGIS, but would like to know if there is a QGIS way for this,
in particular the link between tables (through Postgis? I've
no idea on how to use it)

Thanks,

Agus

The short answer is that yes it's possible to do what you want using 
SQL. You can either take the approach using PostGIS or GRASS (I 
recommend SQLite backend)


In grass 6.3 there is a v.db.join that would join data. My prefered way 
though is to use SQLite Manager(Firefox extension) to import the reclass 
table to the grass attribute db. Then do an update query populating a 
new column in the vector layer with the required information. You can 
also do simple mathematical operations like division.


This is the same basic approach as with PostGIS. In fact the SQL 
statements would be almost identical.
Basic steps - Load vector layer, and corresponding text layers; do some 
SQL; map output based on updated attribute table.


Alternately, I think most of the steps might be possible now with a 
combo of plugins primarily from Carson, add this to your plugin manager 
and take a look at Join Attributes 
http://www.geog.uvic.ca/spar/carson/cfarmerQgisRepo.xml


Alex
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Cannot open DEM

2008-07-07 Thread Mikhail Umorin
Got it! I work in Linux, so the conversion utility would not work for me, but 
QGIS imported the SDTS data with no problems. 

Thanks!

Mikhail.

>>> On 7/7/08 at 6:31 PM, in message
<[EMAIL PROTECTED]>, Jeff McKenna
<[EMAIL PROTECTED]> wrote:

> On 7-Jul-08, at 6:23 PM, Mikhail Umorin wrote:
> 
>> Unfortunately, GeoComm site is not an option because
>> it's not free, though thanks for the link, Jeff, I'll use it for my
>> personal projects.
> 
> GeoComm data IS free (I downloaded that data that I pointed to you for  
> free, I just had to create a username with them).  There is an option  
> to pay for the data also.
> 
> 
> 
> ---
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/ 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Cannot open DEM

2008-07-07 Thread Jeff McKenna


On 7-Jul-08, at 6:23 PM, Mikhail Umorin wrote:


Unfortunately, GeoComm site is not an option because
it's not free, though thanks for the link, Jeff, I'll use it for my
personal projects.


GeoComm data IS free (I downloaded that data that I pointed to you for  
free, I just had to create a username with them).  There is an option  
to pay for the data also.




---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qgis0.10_lenny

2008-07-07 Thread Borys Jurgiel
> it looks like something really strange is happening in your case: the
> errors are related to conversion between Python and Qt types.

I have noticed a quite similar problem in QGIS 0.10 @ Ubuntu 8.04. The new 
Installer doesn't see installed plugins, because the 
QgsApplication.qgisSettingsDirPath() method returns the QTextCodec object 
instead of QString. It's really suprising for me.

Ubuntu 8.04
- QGIS 0.10
- python-qt4 4.4.2.0
- python-sip4 4.7.6.0
(all packages from ppa.launchpad.net)
- python 2.5.2-2
- KDE 4.1 latest beta

Regards,
B.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Cannot open DEM

2008-07-07 Thread Mikhail Umorin
Thank you, Jeff, Marco, and Aaron —

I have tried using Grass plugin, but even grass complain that the file
"Does not appear to be a USGS DEM file". So, looks like Aaron is right,
TNRIS messes up the file format. However, I am gradually going through
one of the DEMs byte-by-byte and have not found anything wrong so far
(up to byte 900). Unfortunately, GeoComm site is not an option because
it's not free, though thanks for the link, Jeff, I'll use it for my
personal projects.

I am trying to get XYZ data for the area, so, hopefully, I'll have the
DEM.
That's the story so far, 

Mikhail.

>>> On 7/2/08 at 4:09 PM, in message
<[EMAIL PROTECTED]>,
"Mikhail Umorin" <[EMAIL PROTECTED]> wrote:
> Hello —
> 
> I am trying to load a DEM from here:
> http://www.tnris.org/datadownload/quad.jsp?Quad=Sabine%20Pass 
> 
>  ("30m DEM" link :
> ftp://ftp2.tnris.org/Elevation/DEMs/30m/2993/g299317.zip)
> 
> It is supposedly from USGS but I get error saying that it is not a
> supported raster source. 
> 
> What is the problem? Can someone help me?
> 
> Mikhail.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferencer

2008-07-07 Thread Carson Farmer



Agustin Lobo wrote:

Perhaps I did not explain myself: the question
is providing correct projected coordinates (i.e., UTM)
for one given point in a vector map that has arbitrary coordinates. If 
the

vector map has been digitized (hence it is oriented and
projected but has arbitrary coordinates), it should be a matter of
just shifting the arbitrary coordinates according to the
point that has been entered.
You might ask, why he did not get the correct coordinates
for the first point at digitizing? The answer is: because
I was digitizing a jpg file with no coordinates, then found
one conspicuous point in orthorectified aerial imagery.

I've solved the problem using another software, but would like
to find a solution within QGIS for the future.


Ah, this could quite easily be done by creating a simple plugin:
Select a map layer, start editing the layer, select a node, click the 
'shift node' editing tool (which is the new plugin tool that would have 
to be created), enter the new coordinates, click 'ok', and voila, save 
the edits and you're done!

Any takers?

I'll see if I can implement this, though I'll be defending my thesis 
next week, so I'm pretty busy with that at the moment! ;)


Cheers,

Carson
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferencer

2008-07-07 Thread Borys Jurgiel
It's just a task for simple plugin - even not only for shifting, it can 
contain full correcting capabilities. Why not to add it to the plugins 
wishlist?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferencer

2008-07-07 Thread Agustin Lobo

Perhaps I did not explain myself: the question
is providing correct projected coordinates (i.e., UTM)
for one given point in a vector map that has arbitrary coordinates. If the
vector map has been digitized (hence it is oriented and
projected but has arbitrary coordinates), it should be a matter of
just shifting the arbitrary coordinates according to the
point that has been entered.
You might ask, why he did not get the correct coordinates
for the first point at digitizing? The answer is: because
I was digitizing a jpg file with no coordinates, then found
one conspicuous point in orthorectified aerial imagery.

I've solved the problem using another software, but would like
to find a solution within QGIS for the future.

Thanks!

Agus

Carson Farmer wrote:


As this is a digitized map (done outside QGIS), I have to define the 
projection

and provide the coordinates for one point, which could
be understood as the most elementary warping (just a shift).
Perhaps I can do this with the editing tools?


I think so...
If I understand your question/problem correctly... you could also create 
the point using the delimited text plugin (specifying the exact 
coordinates this way), then delete the 'misplaced' point, and union the 
delimited text layer with the current digitized layer to 'add' the point 
back in...


Cheers,

Carson



--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: [EMAIL PROTECTED]
http://www.ija.csic.es/gt/obster
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Georeferencer

2008-07-07 Thread Carson Farmer


As this is a digitized map (done outside QGIS), I have to define the 
projection

and provide the coordinates for one point, which could
be understood as the most elementary warping (just a shift).
Perhaps I can do this with the editing tools?


I think so...
If I understand your question/problem correctly... you could also create 
the point using the delimited text plugin (specifying the exact 
coordinates this way), then delete the 'misplaced' point, and union the 
delimited text layer with the current digitized layer to 'add' the point 
back in...


Cheers,

Carson
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qgis0.10_lenny

2008-07-07 Thread Martin Dobias
Hi,

it looks like something really strange is happening in your case: the
errors are related to conversion between Python and Qt types. Thus I
suspect your installation might contain some incompatible pieces or
something like that.
- have you installed qgis from a package or from source?
- did you have some previous version of qgis installed?
- is this happening from the time you've installed qgis or it might be
caused by some upgrade?
- what versions of packages python, python-qt4, python-sip4 do you
have installed?

Martin

On Mon, Jul 7, 2008 at 2:50 PM, Salvator*eL*arosa <[EMAIL PROTECTED]> wrote:
>
>
>
> Salvator*eL*arosa wrote:
>>
>>
>> Can somebody help me?
>>
>> When launching QGIS some plugins (almost all) not loads
>> correctly. Here the log shell:
>>
>> Loaded /usr/lib/qgis/libcopyrightlabelplugin.so
>> Loaded /usr/lib/qgis/libdelimitedtextplugin.so
>> Loaded /usr/lib/qgis/libdelimitedtextprovider.so
>> Loaded /usr/lib/qgis/libgeorefplugin.so
>> Loaded /usr/lib/qgis/libgpsimporterplugin.so
>> Loaded /usr/lib/qgis/libgpxprovider.so
>> Loaded /usr/lib/qgis/libgrassplugin.so
>> Loaded /usr/lib/qgis/libgrassprovider.so
>> Loaded /usr/lib/qgis/libgridmakerplugin.so
>> Loaded /usr/lib/qgis/libogrprovider.so
>> Loaded /usr/lib/qgis/libpggeoprocessingplugin.so
>> Loaded /usr/lib/qgis/libpostgresprovider.so
>> Loaded /usr/lib/qgis/libquickprintplugin.so
>> Loaded /usr/lib/qgis/libscalebarplugin.so
>> Loaded /usr/lib/qgis/libspitplugin.so
>> Loaded /usr/lib/qgis/libwfsplugin.so
>> Loaded /usr/lib/qgis/libwfsprovider.so
>> Loaded /usr/lib/qgis/libwmsprovider.so
>> > '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'>
>> > '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'>
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>>   File "", line 2, in qgis_except_hook
>>   File "", line 11, in qgis_except_hook_msg
>> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
>>
>> Original exception was:
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File
>> "/usr/share/qgis/python/plugins/mapserver_export/mapserverexport.py", line
>> 46, in initGui
>> self.iface.addToolBarIcon(self.action)
>> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
>> type
>> > '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'>
>> > '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'>
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>>   File "", line 2, in qgis_except_hook
>>   File "", line 11, in qgis_except_hook_msg
>> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
>>
>> Original exception was:
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File
>> "/usr/share/qgis/python/plugins/plugin_installer/installer_plugin.py",
>> line 33, in initGui
>> self.iface.addToolBarIcon(self.action)
>> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
>> type
>> 
>> 
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>>   File "", line 2, in qgis_except_hook
>>   File "", line 11, in qgis_except_hook_msg
>> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
>>
>> Original exception was:
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/home/sam/.qgis//python/plugins/arpat/ArpatPlugin.py", line 58, in
>> initGui
>> self.toolBar = self.iface.addToolBar("ARPAT")
>> TypeError: argument 1 of QgisInterface.addToolBar() has an invalid type
>> > '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'>
>> > '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'>
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>>   File "", line 2, in qgis_except_hook
>>   File "", line 11, in qgis_except_hook_msg
>> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
>>
>> Original exception was:
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/home/sam/.qgis//python/plugins/bettertable/BetterTablePlugin.py",
>> line 34, in initGui
>> self.iface.addToolBarIcon(self.actionOpenTable)
>> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
>> type
>> > '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'>
>> > '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'>
>> Error in sys.excepthook:
>> Traceback (most recent call last):
>>   File "", line 2, in qgis_except_hook
>>   File "", line 11, in qgis_except_hook_msg
>> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
>>
>> Original exception was:
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/home/sam/.qgis//python/plugins/centroids/generateCentroids.py",
>> line 60, in initGui
>> self.iface.addToolBarIcon(self.action)
>> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
>> type
>> > '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'>
>> > '/home/sam/.qgis//pytho

Re: [Qgis-user] qgis0.10_lenny

2008-07-07 Thread Carson Farmer

It looks like you aren't able to load any python plugins...
What did you use to install QGIS?

C

Salvator*eL*arosa wrote:


Salvator*eL*arosa wrote:
  


Can somebody help me?

When launching QGIS some plugins (almost all) not loads
correctly. Here the log shell:

Loaded /usr/lib/qgis/libcopyrightlabelplugin.so
Loaded /usr/lib/qgis/libdelimitedtextplugin.so
Loaded /usr/lib/qgis/libdelimitedtextprovider.so
Loaded /usr/lib/qgis/libgeorefplugin.so
Loaded /usr/lib/qgis/libgpsimporterplugin.so
Loaded /usr/lib/qgis/libgpxprovider.so
Loaded /usr/lib/qgis/libgrassplugin.so
Loaded /usr/lib/qgis/libgrassprovider.so
Loaded /usr/lib/qgis/libgridmakerplugin.so
Loaded /usr/lib/qgis/libogrprovider.so
Loaded /usr/lib/qgis/libpggeoprocessingplugin.so
Loaded /usr/lib/qgis/libpostgresprovider.so
Loaded /usr/lib/qgis/libquickprintplugin.so
Loaded /usr/lib/qgis/libscalebarplugin.so
Loaded /usr/lib/qgis/libspitplugin.so
Loaded /usr/lib/qgis/libwfsplugin.so
Loaded /usr/lib/qgis/libwfsprovider.so
Loaded /usr/lib/qgis/libwmsprovider.so


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File
"/usr/share/qgis/python/plugins/mapserver_export/mapserverexport.py", line
46, in initGui
self.iface.addToolBarIcon(self.action)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File
"/usr/share/qgis/python/plugins/plugin_installer/installer_plugin.py",
line 33, in initGui
self.iface.addToolBarIcon(self.action)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/sam/.qgis//python/plugins/arpat/ArpatPlugin.py", line 58, in
initGui
self.toolBar = self.iface.addToolBar("ARPAT")
TypeError: argument 1 of QgisInterface.addToolBar() has an invalid type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/sam/.qgis//python/plugins/bettertable/BetterTablePlugin.py",
line 34, in initGui
self.iface.addToolBarIcon(self.actionOpenTable)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/sam/.qgis//python/plugins/centroids/generateCentroids.py",
line 60, in initGui
self.iface.addToolBarIcon(self.action)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/sam/.qgis//python/plugins/extractnodes/extractNodes.py",
line 56, in initGui
self.iface.addToolBarIcon(self.action)
TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
type



Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type

Original exception was:
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/sam/.qgis//python/plugins/geoprocessing/__init__.py", line
15, in classFactory
return Geoprocessing(iface)
  File "/home/sam/.qgis//python/plugins/geoprocessing/geoprocessing.py",
line 31, in __init__
userPluginPath =
QFileInfo(QgsApplication.qgisUserDbFilePath()).path()+"/python/plugins/geoprocessing"
TypeError: argument 1 of QFileInfo() has an invalid type


Error in sys.excepthook:
Traceback (most recent call last):
  File "", line 2, in qgis_except_hook
  File "", line 11, in qgis_except_hook_msg
TypeError: argument 1 of QgsMessageOutput.s

Re: [Qgis-user] qgis0.10_lenny

2008-07-07 Thread Salvator*eL*arosa



Salvator*eL*arosa wrote:
> 
>   
> Can somebody help me?
> 
> When launching QGIS some plugins (almost all) not loads
> correctly. Here the log shell:
> 
> Loaded /usr/lib/qgis/libcopyrightlabelplugin.so
> Loaded /usr/lib/qgis/libdelimitedtextplugin.so
> Loaded /usr/lib/qgis/libdelimitedtextprovider.so
> Loaded /usr/lib/qgis/libgeorefplugin.so
> Loaded /usr/lib/qgis/libgpsimporterplugin.so
> Loaded /usr/lib/qgis/libgpxprovider.so
> Loaded /usr/lib/qgis/libgrassplugin.so
> Loaded /usr/lib/qgis/libgrassprovider.so
> Loaded /usr/lib/qgis/libgridmakerplugin.so
> Loaded /usr/lib/qgis/libogrprovider.so
> Loaded /usr/lib/qgis/libpggeoprocessingplugin.so
> Loaded /usr/lib/qgis/libpostgresprovider.so
> Loaded /usr/lib/qgis/libquickprintplugin.so
> Loaded /usr/lib/qgis/libscalebarplugin.so
> Loaded /usr/lib/qgis/libspitplugin.so
> Loaded /usr/lib/qgis/libwfsplugin.so
> Loaded /usr/lib/qgis/libwfsprovider.so
> Loaded /usr/lib/qgis/libwmsprovider.so
>  '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'>
>  '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'>
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File
> "/usr/share/qgis/python/plugins/mapserver_export/mapserverexport.py", line
> 46, in initGui
> self.iface.addToolBarIcon(self.action)
> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
> type
>  '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'>
>  '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'>
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File
> "/usr/share/qgis/python/plugins/plugin_installer/installer_plugin.py",
> line 33, in initGui
> self.iface.addToolBarIcon(self.action)
> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
> type
> 
> 
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/home/sam/.qgis//python/plugins/arpat/ArpatPlugin.py", line 58, in
> initGui
> self.toolBar = self.iface.addToolBar("ARPAT")
> TypeError: argument 1 of QgisInterface.addToolBar() has an invalid type
>  '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'>
>  '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'>
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/home/sam/.qgis//python/plugins/bettertable/BetterTablePlugin.py",
> line 34, in initGui
> self.iface.addToolBarIcon(self.actionOpenTable)
> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
> type
>  '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'>
>  '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'>
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/home/sam/.qgis//python/plugins/centroids/generateCentroids.py",
> line 60, in initGui
> self.iface.addToolBarIcon(self.action)
> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
> type
>  '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'>
>  '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'>
> Error in sys.excepthook:
> Traceback (most recent call last):
>   File "", line 2, in qgis_except_hook
>   File "", line 11, in qgis_except_hook_msg
> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type
> 
> Original exception was:
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "/home/sam/.qgis//python/plugins/extractnodes/extractNodes.py",
> line 56, in initGui
> self.iface.addToolBarIcon(self.action)
> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid
> type
>  '/home/sam/.qgis//python/plugins/findbyattr/__init__.pyc'>
>  '/home/sam/.qgis//python/plugins/geoprocessing/__init__.pyc'>
>  '/home/sam/.q