RingOV / gis-weather

Customizable weather widget
58 stars 18 forks source link

ImportError: No module named utils #2

Closed wellic closed 10 years ago

wellic commented 10 years ago

After update using "Update manualy" https://github.com/RingOV/gis-weather/wiki/How-to-update-to-0.6.0, the program doen't start.

gis-weather Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 20, in from utils import localization ImportError: No module named utils

OS: ubuntu 12.04.04

RingOV commented 10 years ago

cd /usr/share/gis-weather/ ls python3 gis-weather.py

wellic commented 10 years ago

Same issue: cd /usr/share/gis-weather/ ls python3 gis-weather.py Traceback (most recent call last): File "gis-weather.py", line 20, in from utils import localization ImportError: No module named utils

RingOV commented 10 years ago

ls /usr/share/gis-weather/ output python3 --version output

wellic commented 10 years ago

ls /usr/share/gis-weather/ dialogs gis-weather.py i18n icon.png package po README.md services themes utils

python3 --version Python 3.2.3

RingOV commented 10 years ago

ls -l /usr/share/gis-weather/ output

wellic commented 10 years ago

ls -l /usr/share/gis-weather/ итого 140 drwxr-xr-x 2 root root 4096 мая 26 15:14 dialogs -rw-r--r-- 1 root root 51870 мая 26 14:05 gis-weather.py drwxr-xr-x 3 root root 4096 мая 20 10:28 i18n -rw-r--r-- 1 root root 56191 мая 26 14:05 icon.png -rw-r--r-- 1 root root 4 мая 26 14:14 package drwxr-xr-x 2 root root 4096 мая 26 15:14 po -rw-r--r-- 1 root root 857 мая 26 14:05 README.md drwxr-xr-x 2 root root 4096 мая 26 15:14 services drwxr-xr-x 4 root root 4096 мая 26 15:14 themes drwxr-xr-x 2 root root 4096 мая 26 15:14 utils

RingOV commented 10 years ago

Ok, try: sudo touch /usr/share/gis-weather/utils/__init__.py and gis-weather

wellic commented 10 years ago

sudo touch /usr/share/gis-weather/utils/init.py gis-weather Traceback (most recent call last): File "/usr/share/gis-weather/gis-weather.py", line 24, in from dialogs import about_dialog, city_id_dialog, update_dialog, settings_dialog, help_dialog ImportError: No module named dialogs

RingOV commented 10 years ago

It's work sudo touch /usr/share/gis-weather/dialogs/__init__.py sudo touch /usr/share/gis-weather/services/__init__.py

wellic commented 10 years ago

Thanks, it's ok.

RingOV commented 10 years ago

Thanks for testing. DEB updated