Bug 21548 - pyfa падает при загрузке
Summary: pyfa падает при загрузке
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: pyfa (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Alexey Borovskoy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 09:19 MSD by Igor Zubkov
Modified: 2010-03-17 05:45 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Zubkov 2009-09-13 09:19:59 MSD
$ pyfa
WARNING: Python version needs to be at least 2.6.
trying to run anyway, but expect errors or missing stats.
Traceback (most recent call last):
  File "/usr/share/pyfa/launch.py", line 37, in <module>
    from gui import mainWindow
  File "/usr/share/pyfa/gui/mainWindow/__init__.py", line 24, in <module>
    from model import fitting, character, dataFolder, priceCheck
  File "/usr/share/pyfa/model/fitting.py", line 15, in <module>
    import attribute
  File "/usr/share/pyfa/model/attribute.py", line 15, in <module>
    import sql
  File "/usr/share/pyfa/model/sql.py", line 20, in <module>
    eveDB = sqlite3.connect(os.path.join(dataFolder, "eve.db"))
sqlite3.OperationalError: unable to open database file
$ rpm -q pyfa
pyfa-0.4-alt2
$
Comment 1 Alexey Borovskoy 2009-09-14 07:01:39 MSD
Необходимо запустить pyfa-download-data, вытянется база и все необходимое.

В -alt4 я написал краткую инструкцию по запуску.

С благодарностью приму патч на launch.py, который добавит проверку на отсутствие каталога ~/.pyfa
Comment 2 Alexey Borovskoy 2010-03-17 05:43:31 MSK
Проблема решена в 0.8.0-alt4.