Store address information in desktopcouch

Bug #598595 reported by Matt Griffin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Weather Indicator
Fix Released
Wishlist
Vadim Rutkovsky

Bug Description

Storing address information in desktopcouch will make it easily sync with Ubuntu One and through LAN pairing. Users of this app with multiple computers will only have to set it once. When they install the app on another computer, the setting will already be there. Any future changes to the setting will be automatically synchronized across all of the user's computers. Check https://launchpad.net/desktopcouch for more info.

Changed in weather-indicator:
importance: Undecided → Wishlist
Revision history for this message
ridem (ridem) wrote :

Ok, the next official release will store info in couchdb, though it doesn't have much interest here, there are only a few things to store.

But it's ok, as quickly integrates it, it won't be too difficult ;-)

Changed in weather-indicator:
assignee: nobody → ridem (ridem)
ridem (ridem)
Changed in weather-indicator:
status: New → In Progress
Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Unstable packages with first implementation were prepared, please test and comment this bug

Changed in weather-indicator:
assignee: ridem (ridem) → Vadim Rutkovsky (roignac)
milestone: none → cloudy
Revision history for this message
charly (charlymr) wrote :

I installed the latest unstable build, but it doesn't work

see the following termnal output:

...:~$ indicator-weather
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 42, in <module>
    from couchdb.mapping import TextField, IntegerField, DateField
ImportError: No module named mapping

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

I'll fix this in a new unstable package.
To fix this manually, please install the following packages - desktopcouch, python-desktopcouch, python-couchdb

Revision history for this message
charly (charlymr) wrote :

the manually way didn't work - same error. I'll wait for th next unstable package

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Uploaded a new unstable package - 11.02.13+bzr184~couchdb~natty1

Revision history for this message
charly (charlymr) wrote :

installed the new unstable, and got the following error:

...:~$ indicator-weather
DEBUG:IndicatorWeather:Setting: getting value for refresh_rate
Traceback (most recent call last):
  File "/usr/bin/indicator-weather", line 1492, in <module>
    wi = indicator_weather()
  File "/usr/bin/indicator-weather", line 664, in __init__
    self.rate = self.settings.get_value("refresh_rate")
  File "/usr/bin/indicator-weather", line 81, in get_value
    return str(view.rows[0].value['value'])
IndexError: list index out of range
DEBUG:IndicatorWeather:SingleInstance: deleting /tmp/weather-indicator.pid

I don't know,if this is related to desktopcouch

Revision history for this message
Vadim Rutkovsky (roignac) wrote : Re: [Bug 598595] Re: Store address information in desktopcouch

Yes, definitely a bug. Please, note that everything relayted to 'settings'
is related to desktopcouch.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Fixed, check out 'bzr186-couchdb' version in unstable ppa

Revision history for this message
charly (charlymr) wrote :

Thank's!
Works perfect again now on my machine.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Could you please check sync on different machines via Ubuntu One?

Revision history for this message
charly (charlymr) wrote :

I will try to activate my old netbook in the evening. How do I sync exactly? Maybe you can send me a short mail.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

I hope, they should sync automagically, as there no specific code for
syncing. Will try to do the same on virtual machine

Revision history for this message
charly (charlymr) wrote :

Sorry, couldn't try it yesterday - too late and I first have to update my old netbook!
But I will go on trying.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Check 'Unstable builds' PPA in Weather Indicator Team for a new version with the fix

Changed in weather-indicator:
status: In Progress → Fix Committed
Changed in weather-indicator:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints