[openspending-dev] Unable to save model
Rufus Pollock
rufus.pollock at okfn.org
Sat Jun 27 21:07:08 UTC 2015
Hi Karen,
Just to say we *really* agree with you re the dimensions editor giving
better feedback. In fact, we agree with you so much that we've been
planning for some time a major upgrade to OpenSpending that will allow us
to improve this and much more and I'm delighted to say this upgrade is now
in progress so there should be some major improvements in the next couple
of months. If you are interested you can read more at:
http://community.openspending.org/next/
Regards,
Rufus
On 27 June 2015 at 09:04, Karen Ananiev <karen.ananiev at gmail.com> wrote:
> Hi Friedrich,
>
> As you can see I'm not too fast either :) Thank you for your help. After
> some attempts I finally figured it out. The problem was with "id" name of
> dimension. My thoughts and wishes are very simple: I would like to have
> detailed error messages when something goes wrong. Not just - "model
> invalid" but "you can't use `id` as the name" etc. It applies the both api
> and web interface.
>
> Thank you once again!
>
>
> Karen
>
> 2015-06-10 11:28 GMT+03:00 Friedrich Lindenberg <
> friedrich.lindenberg at okfn.org>:
>
>> Hi Karen,
>>
>> so sorry to be slow to respond. The only other thing I can think of is
>> the fact that Code1/Code2 is uppercase for the dimension name, perhaps it
>> only works in lowercase.
>>
>> - Friedrich
>>
>> p.s. you seem to be doing some extensive work with OS, would love to hear
>> your thoughts on https://spendb-dev.herokuapp.com/ :)
>>
>> On Tue, Jun 9, 2015 at 12:48 PM, Karen Ananiev <karen.ananiev at gmail.com>
>> wrote:
>>
>>> Hi Friedrich,
>>>
>>> Thanks for looking into! I've renamed the dimension but there is the
>>> same result.
>>>
>>> There are the updated files:
>>>
>>> http://www.townlife.com/themes/Other/budget3/2004_1.txt
>>> http://www.townlife.com/themes/Other/budget3/model_1.json
>>>
>>> And still can't create Dimension mapping for that data file on
>>> openspending site.
>>>
>>>
>>> Karen
>>>
>>> 2015-06-09 12:07 GMT+03:00 Friedrich Lindenberg <
>>> friedrich.lindenberg at okfn.org>:
>>>
>>>> Hi Karen,
>>>>
>>>> just had a look at your model and I suspect your issue might be as
>>>> trivial as naming: rename the "year" dimension to "time" and you should be
>>>> good to go.
>>>>
>>>> - Friedrich
>>>>
>>>>
>>>> On Mon, Jun 8, 2015 at 11:00 PM, Karen Ananiev <karen.ananiev at gmail.com
>>>> > wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to create model for this data file:
>>>>>
>>>>> http://www.townlife.com/themes/Other/budget/3/2004.txt
>>>>>
>>>>> But when I set up all dimensions and click "Save Dimensions" it just
>>>>> reloads the Dimensions page and doesn't save it.
>>>>>
>>>>> The dataset: https://openspending.org/alberta_exp
>>>>>
>>>>> I have also tried to save it via API and it says "Model is not well
>>>>> formed". The model is here
>>>>> http://www.townlife.com/themes/Other/budget/data/model.json
>>>>>
>>>>> What am I doing wrong?
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>>
>>>>> Karen
>>>>>
>>>>> _______________________________________________
>>>>> openspending-dev mailing list
>>>>> openspending-dev at lists.okfn.org
>>>>> https://lists.okfn.org/mailman/listinfo/openspending-dev
>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/openspending-dev
>>>>>
>>>>>
>>>>
>>>
>>
>
> _______________________________________________
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/openspending-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/openspending-dev
>
>
--
*Rufus PollockFounder and President | skype: rufuspollock | @rufuspollock
<https://twitter.com/rufuspollock>Open Knowledge <http://okfn.org/> - see
how data can change the world**http://okfn.org/ <http://okfn.org/> | @okfn
<http://twitter.com/OKFN> | Open Knowledge on Facebook
<https://www.facebook.com/OKFNetwork> | Blog <http://blog.okfn.org/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20150627/69938c9e/attachment-0002.html>
More information about the openspending-dev
mailing list