epogrebnyak / data-rosstat-kep

Time series dataset of Rosstat Short-term Economic Indicators ("KEP") publication
http://www.gks.ru/wps/wcm/connect/rosstat_main/rosstat/ru/statistics/publications/catalog/doc_1140080765391
6 stars 6 forks source link

NOT DONE Add 2 progress bars for writing a PDF and wrinting png files in Publish() #112

Closed epogrebnyak closed 8 years ago

epogrebnyak commented 8 years ago

Todos are in publish.py https://github.com/epogrebnyak/rosstat-kep-data/blob/master/kep/extract/publish.py#L62-L73

epogrebnyak commented 8 years ago

@sinancetinkaya: I ran python update.py in project root and there is no progress bar. Also changed import statement and filename. Please update.

Screen output:

Database updated from:
    C:\Users\Евгений\Documents\GitHub\bis\rosstat-kep-data\data\2015\ind12
New CSV dumps created.

Writing Excel files...
Writing markdown file with variable names...
Writing PDF...
Writing 129 PNG files...
Output located at: C:\Users\Евгений\Documents\GitHub\bis\rosstat-kep-data\output
sinancetinkaya commented 8 years ago

file name has been changed, this statement should work. from kep.extract.local_progressbar import progressbar

epogrebnyak commented 8 years ago

import is not a proplem, it was fixed, but there is still no progress bar when running python update.py

sinancetinkaya commented 8 years ago

Forgot to change "infinite" parameter to "True"

epogrebnyak commented 8 years ago

@sinancetinkaya Sinan, please - do an update with the commit, it is hard to follow the way you do it and smiley is not fun when I spend time tracking your bugs instead of you solving mine.

Above would have been better as:

"infinite" parameter to set to "True" in 2775e9a2e7a97d28402ed345b70eb1f913d0d288

epogrebnyak commented 8 years ago

Still same output for me and no progress bar for me. Also note TODO2 is known length progress bar, but it likely must wrap plotting function in plots.py