Indicator crashes if not authorized

Bug #779918 reported by Sergey Basalaev
2
Affects Status Importance Assigned to Milestone
vkfs
Fix Committed
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: indicator
tags: added: indicator
Revision history for this message
Alexander Eerie (oddghost) wrote :

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

Changed in vkfs:
status: New → Fix Committed
milestone: none → 0.2
Revision history for this message
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
Revision history for this message
Alexander Eerie (oddghost) wrote :

fixed

Changed in vkfs:
status: New → Fix Committed
Revision history for this message
Sergey Basalaev (sbasalaev) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.