Indicator crashes if not authorized

Bug #779918 reported by Sergey Basalaev on 2011-05-09
2
Affects Status Importance Assigned to Milestone
vkfs
Undecided
Unassigned

Bug Description

В индикаторе есть меню 'авторизовать', но чтобы его нажать, нужно запустить индикатор. А без авторизации индикатор не запускается.

$ ./indicator.py
Traceback (most recent call last):
  File "/usr/share/vkfs/indicator.py", line 162, in <module>
    indicator = IndicatorApplet()
  File "/usr/share/vkfs/indicator.py", line 30, in __init__
    self.api.checkauth()
  File "/usr/share/vkfs/vkapi.py", line 119, in checkauth
    self.session=auth.load()['session']
TypeError: 'NoneType' object is not subscriptable

tags: added: indicator
Alexander Eerie (oddghost) wrote :

видел, сегодня-завтра поправлю

Changed in vkfs:
status: New → Fix Committed
milestone: none → 0.2
Sergey Basalaev (sbasalaev) wrote :

Что-то у меня по-прежнему не работает :(
Но бектрейс теперь другой

*** auth
Traceback (most recent call last):
  File "vkfs/indicator.py", line 165, in <module>
    indicator = IndicatorApplet()
  File "vkfs/indicator.py", line 31, in __init__
    self.auth_click([])
  File "vkfs/indicator.py", line 126, in auth_click
    auth.auth(self.show_msg_and_destroy)
  File "/home/sbasalaev/Workspace/vkfs/vkfs/auth.py", line 96, in auth
    win.set_title(tr('logining'))
TypeError: 'dict' object is not callable

Changed in vkfs:
status: Fix Committed → New
Alexander Eerie (oddghost) wrote :

fixed

Changed in vkfs:
status: New → Fix Committed
Sergey Basalaev (sbasalaev) wrote :

Да, теперь работает. Спасибо!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers