That is the error.

The plugin has this line:

        locale = QSettings().value('locale/userLocale')[0:2]

which is crashing because it gets NULL and then tries to slice it and fails.

Try this:

QSettings().setValue('locale/userLocale', 'en_AU')

I'm not sure why it is returning NULL but that should fix it.

Regards,



On Mon, Oct 5, 2015 at 9:35 AM, Peter Borbely <pborb...@fairfaxmedia.com.au>
wrote:

> mine returns NULL - I'll poke around and set it and report back
>
> Peter Borbély
> <myem...@fairfaxmedia.com.au>
> Interactivista
> Fairfax Media
> 1 Darling Island Road, Pyrmont 2009
> +61 2 8596 4745
>
> pborb...@fairfaxmedia.com.au | @datafunk <http://twitter.com/datafunk>
>
>
>
>
>
>
> On 5 October 2015 at 10:32, Nathan Woodrow <madman...@gmail.com> wrote:
>
>> Try this (just seeing if this where the error in the plugin is)
>>
>> - Open the Python console and paste the following
>>
>> from PyQt4.QtCore import *; QSettings().value('locale/userLocale')
>>
>> Does that return anything?  Mine returns u'en_AU'
>>
>>
>> On Mon, Oct 5, 2015 at 9:23 AM, Peter Borbely <
>> pborb...@fairfaxmedia.com.au> wrote:
>>
>>> I looked through the plugin logs, but couldn't find any reference to 
>>> *QPyNullVariant
>>> *or * '__getitem__'*
>>> happy to post my logs if you think they help, maybe I should look for
>>> something else?
>>>
>>> Peter Borbély
>>> <myem...@fairfaxmedia.com.au>
>>> Interactivista
>>> Fairfax Media
>>> 1 Darling Island Road, Pyrmont 2009
>>> +61 2 8596 4745
>>>
>>> pborb...@fairfaxmedia.com.au | @datafunk <http://twitter.com/datafunk>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On 5 October 2015 at 10:09, Nathan Woodrow <madman...@gmail.com> wrote:
>>>
>>>> Hey Peter,
>>>>
>>>> Seems to work for me here.  Does it list anymore information at all?
>>>> It should hopefully have what line the error is on.
>>>>
>>>> Regards,
>>>>
>>>> On Mon, Oct 5, 2015 at 8:48 AM, Peter Borbely <
>>>> pborb...@fairfaxmedia.com.au> wrote:
>>>>
>>>>> Hi there
>>>>>
>>>>> I've tried to install the plugin *Editable GeoCSV*
>>>>>
>>>>> and got the following error:
>>>>> "the plugin is broken. Python said:
>>>>> *'QPyNullVariant' object has no attribute '__getitem__'*
>>>>>
>>>>> The prompt suggested to post this to the list here.
>>>>>
>>>>> cheers
>>>>> peter
>>>>>
>>>>>
>>>>> Peter Borbély
>>>>> <myem...@fairfaxmedia.com.au>
>>>>> Interactivista
>>>>> Fairfax Media
>>>>> 1 Darling Island Road, Pyrmont 2009
>>>>> +61 2 8596 4745
>>>>>
>>>>> pborb...@fairfaxmedia.com.au | @datafunk <http://twitter.com/datafunk>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The information contained in this e-mail message and any accompanying
>>>>> files is or may be confidential. If you are not the intended recipient, 
>>>>> any
>>>>> use, dissemination, reliance, forwarding, printing or copying of this
>>>>> e-mail or any attached files is unauthorised. This e-mail is subject to
>>>>> copyright. No part of it should be reproduced, adapted or communicated
>>>>> without the written consent of the copyright owner. If you have received
>>>>> this e-mail in error please advise the sender immediately by return e-mail
>>>>> or telephone and delete all copies. Fairfax Media does not guarantee the
>>>>> accuracy or completeness of any information contained in this e-mail or
>>>>> attached files. Internet communications are not secure, therefore Fairfax
>>>>> Media does not accept legal responsibility for the contents of this 
>>>>> message
>>>>> or attached files.
>>>>> _______________________________________________
>>>>> Qgis-user mailing list
>>>>> Qgis-user@lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>
>>>>
>>>>
>>>
>>> The information contained in this e-mail message and any accompanying
>>> files is or may be confidential. If you are not the intended recipient, any
>>> use, dissemination, reliance, forwarding, printing or copying of this
>>> e-mail or any attached files is unauthorised. This e-mail is subject to
>>> copyright. No part of it should be reproduced, adapted or communicated
>>> without the written consent of the copyright owner. If you have received
>>> this e-mail in error please advise the sender immediately by return e-mail
>>> or telephone and delete all copies. Fairfax Media does not guarantee the
>>> accuracy or completeness of any information contained in this e-mail or
>>> attached files. Internet communications are not secure, therefore Fairfax
>>> Media does not accept legal responsibility for the contents of this message
>>> or attached files.
>>>
>>
>>
>
> The information contained in this e-mail message and any accompanying
> files is or may be confidential. If you are not the intended recipient, any
> use, dissemination, reliance, forwarding, printing or copying of this
> e-mail or any attached files is unauthorised. This e-mail is subject to
> copyright. No part of it should be reproduced, adapted or communicated
> without the written consent of the copyright owner. If you have received
> this e-mail in error please advise the sender immediately by return e-mail
> or telephone and delete all copies. Fairfax Media does not guarantee the
> accuracy or completeness of any information contained in this e-mail or
> attached files. Internet communications are not secure, therefore Fairfax
> Media does not accept legal responsibility for the contents of this message
> or attached files.
>
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to