Installation issues

Asked by gcclinux on 2013-05-28

ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ sudo python setup.py build
running build
running build_py
running build_scripts
running build_i18n
intltool-update -p -g indicator-weather
running build_icons
running build_help

ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ sudo python setup.py install
running install
copying etc/apport/crashdb.conf.d/indicator-weather-crashdb.conf -> etc/apport/crashdb.conf.d
running build
running build_py
copying indicator_weather/indicator_weatherconfig.py -> build/lib.linux-x86_64-2.7/indicator_weather
running build_scripts
running build_i18n
intltool-update -p -g indicator-weather
intltool-merge -d po indicator-weather.desktop.in build/share/applications/indicator-weather.desktop
Merging translations into build/share/applications/indicator-weather.desktop.
running build_icons
running build_help
running install_lib
copying build/lib.linux-x86_64-2.7/indicator_weather/indicator_weatherconfig.py -> /usr/local/lib/python2.7/dist-packages/indicator_weather
byte-compiling /usr/local/lib/python2.7/dist-packages/indicator_weather/indicator_weatherconfig.py to indicator_weatherconfig.pyc
running install_scripts
changing mode of /usr/local/bin/indicator-weather to 755
running install_data
copying build/share/applications/indicator-weather.desktop -> /usr/local/share/applications
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/indicator_weather-13.05.17.egg-info
Writing /usr/local/lib/python2.7/dist-packages/indicator_weather-13.05.17.egg-info

ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ /usr/local/bin/indicator-weather
Traceback (most recent call last):
  File "/usr/local/bin/indicator-weather", line 2577, in <module>
    wi = indicator_weather()
  File "/usr/local/bin/indicator-weather", line 1315, in __init__
    self.settings.check_autostart()
  File "/usr/local/bin/indicator-weather", line 177, in check_autostart
    os.symlink(desktop_file_path, autostart_path)
OSError: [Errno 17] File exists
ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ sudo python setup.py build
running build
running build_py
running build_scripts
running build_i18n
intltool-update -p -g indicator-weather
running build_icons
running build_help
ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ sudo python setup.py install
running install
copying etc/apport/crashdb.conf.d/indicator-weather-crashdb.conf -> etc/apport/crashdb.conf.d
running build
running build_py
copying indicator_weather/indicator_weatherconfig.py -> build/lib.linux-x86_64-2.7/indicator_weather
running build_scripts
running build_i18n
intltool-update -p -g indicator-weather
intltool-merge -d po indicator-weather.desktop.in build/share/applications/indicator-weather.desktop
Merging translations into build/share/applications/indicator-weather.desktop.
running build_icons
running build_help
running install_lib
copying build/lib.linux-x86_64-2.7/indicator_weather/indicator_weatherconfig.py -> /usr/local/lib/python2.7/dist-packages/indicator_weather
byte-compiling /usr/local/lib/python2.7/dist-packages/indicator_weather/indicator_weatherconfig.py to indicator_weatherconfig.pyc
running install_scripts
changing mode of /usr/local/bin/indicator-weather to 755
running install_data
copying build/share/applications/indicator-weather.desktop -> /usr/local/share/applications
running install_egg_info
Removing /usr/local/lib/python2.7/dist-packages/indicator_weather-13.05.17.egg-info
Writing /usr/local/lib/python2.7/dist-packages/indicator_weather-13.05.17.egg-info
ricardo@Latitude-E6530:~/Downloads/weather-indicator_13.05.25~quantal3$ /usr/local/bin/indicator-weather
Traceback (most recent call last):
  File "/usr/local/bin/indicator-weather", line 2577, in <module>
    wi = indicator_weather()
  File "/usr/local/bin/indicator-weather", line 1315, in __init__
    self.settings.check_autostart()
  File "/usr/local/bin/indicator-weather", line 177, in check_autostart
    os.symlink(desktop_file_path, autostart_path)
OSError: [Errno 17] File exists

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu indicator-weather Edit question
Assignee:
No assignee Edit question
Last query:
2013-05-28
Last reply:
2013-05-28

What is the output of :

lsb_release -a; uname -a

Also why are you compiling source?

Thanks

gcclinux (ricardo-gcclinux) said : #2

Thank you for your reply, the reason I am

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Linux Latitude-E6530 3.5.0-31-generic #52-Ubuntu SMP Thu May 16 16:27:05
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Also the reason I was trying to compile from source is because the
original version does not work.

Many Thanks

On 28/05/13 18:31, actionparsnip wrote:
> lsb_release -a; uname -a

sudo add-apt-repository ppa:weather-indicator-team/ppa
sudo apt-get update
sudo apt-get install indicator-weather

Same version.....

gcclinux (ricardo-gcclinux) said : #4

Thank you for your help I am having a dependency issue and I don't know
how to update it.

The following packages have unmet dependencies.
  indicator-weather : Depends: python-pywapi (>= 0.3.2) but 0.2.2-1 is
to be installed

Please advise when possible.

Many Thanks

On 28/05/13 19:21, actionparsnip wrote:
> Your question #229771 on indicator-weather in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/indicator-weather/+question/229771
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo add-apt-repository ppa:weather-indicator-team/ppa
> sudo apt-get update
> sudo apt-get install indicator-weather
>
> Same version.....
>

You could contact the PPA maintainer. If you can find a deb for that version you can install it. You would need to satisfy the dep with your compiled version too

Can you help with this problem?

Provide an answer of your own, or ask gcclinux for more information if necessary.

To post a message you must log in.