Skip to content

Instantly share code, notes, and snippets.

@Sadin
Created March 19, 2015 14:57
Show Gist options
  • Save Sadin/08cac5ad72ad972fd0ca to your computer and use it in GitHub Desktop.
Save Sadin/08cac5ad72ad972fd0ca to your computer and use it in GitHub Desktop.
python thisweekinfedora.py
Process week of 2015-03-09 00:00:00
Get activities of week 2015-03-09 00:00:00
org.fedoraproject.prod.fas.user.createetirettesting
Get contributions of week 2015-03-09 00:00:00
org.fedoraproject.prod.wiki.article.edit - page: 8/81/011/1 6/6230
Get activities of week 2015-03-02 00:00:00
org.fedoraproject.prod.fas.user.createetirettesting
[sadin@io thisweekinfedora]$ ./thisweekinfedora.sh
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
File "./thisweekinfedora.py", line 119
print 'Get contributions of week {0}'.format(datetime_from)
^
SyntaxError: invalid syntax
[2015-03-19T14:55:36Z] WARNING: Nikola: Your BASE_URL doesn't end in / -- adding it, but please fix it in your config file!
[2015-03-19T14:55:36Z] WARNING: Nikola: WRITE_TAG_CLOUD is not set in your config. Defaulting to True (== writing tag_cloud_data.json).
[2015-03-19T14:55:36Z] WARNING: Nikola: Please explicitly add the setting to your conf.py with the desired value, as the setting will default to False in the future.
Scanning posts..done!
. render_sources:output/posts/2015_03_15.txt
. render_sources:output/posts/2015_03_08.txt
. render_sources:output/posts/2015_03_01.txt
. render_sources:output/posts/2015_02_22.txt
. render_sources:output/posts/2015_02_15.txt
. render_sources:output/posts/2015_02_08.txt
. render_sources:output/posts/2015_01_25.txt
. render_sources:output/posts/2015_01_18.txt
. render_sources:output/posts/2015_01_11.txt
. render_sources:output/posts/2015_01_04.txt
. render_sources:output/posts/2014_12_28.txt
. render_sources:output/posts/2014_12_21.txt
. render_sources:output/posts/2014_12_14.txt
. render_sources:output/posts/2014_11_23.txt
. render_sources:output/posts/2014_11_16.txt
. render_sources:output/posts/2014_11_09.txt
. render_sources:output/posts/2014_11_02.txt
. render_sources:output/posts/2014_10_26.txt
. render_sources:output/posts/2014_10_19.txt
. render_sources:output/posts/2014_10_12.txt
. render_sources:output/posts/2014_10_05.txt
. render_sources:output/posts/2014_09_28.txt
. render_sources:output/posts/2014_09_21.txt
. render_sources:output/posts/2014_09_14.txt
. render_sources:output/posts/2014_09_07.txt
. render_sources:output/posts/2014_08_31.txt
. render_sources:output/posts/2014_08_24.txt
. render_sources:output/posts/2014_08_17.txt
. render_sources:output/posts/2014_08_10.txt
. render_sources:output/posts/2014_08_03.txt
. render_sources:output/posts/2014_07_27.txt
. render_sources:output/posts/2014_07_13.txt
. render_sources:output/posts/2014_07_06.txt
. render_sources:output/posts/2014_06_29.txt
. render_sources:output/posts/2014_06_22.txt
. render_sources:output/posts/2014_06_15.txt
. render_sources:output/posts/2014_06_08.txt
. render_sources:output/posts/2014_06_01.txt
. render_sources:output/posts/2014_05_25.txt
. render_sources:output/posts/2014_05_18.txt
. render_sources:output/posts/2014_05_11.txt
. render_sources:output/posts/2014_05_04.txt
. render_sources:output/posts/2014_04_27.txt
. render_sources:output/posts/2014_04_20.txt
. render_sources:output/posts/2014_04_13.txt
. render_sources:output/posts/2014_04_06.txt
. render_sources:output/posts/2014_03_30.txt
. render_sources:output/posts/2014_03_23.txt
. render_sources:output/posts/2014_03_16.txt
. render_sources:output/posts/2014_03_09.txt
. render_sources:output/posts/2014_03_02.txt
. render_sources:output/posts/2014_02_23.txt
. render_sources:output/posts/2014_02_16.txt
. render_sources:output/posts/2014_02_09.txt
. render_sources:output/posts/2014_02_02.txt
. render_sources:output/posts/2014_01_26.txt
. render_sources:output/posts/2014_01_19.txt
. render_sources:output/posts/2014_01_12.txt
. render_sources:output/posts/2014_01_05.txt
. render_sources:output/posts/2013_12_29.txt
. render_sources:output/posts/2013_12_22.txt
. render_sources:output/posts/2013_12_15.txt
. render_sources:output/posts/2013_12_08.txt
. render_sources:output/posts/2013_12_01.txt
. render_sources:output/posts/2013_11_24.txt
. render_sources:output/posts/2013_11_17.txt
. render_sources:output/posts/2013_11_10.txt
. render_sources:output/posts/2013_11_03.txt
. render_sources:output/posts/2013_10_27.txt
. render_sources:output/posts/2013_10_20.txt
. render_sources:output/posts/2013_10_13.txt
. render_sources:output/posts/2013_10_06.txt
. render_sources:output/posts/2013_09_29.txt
. render_sources:output/posts/2013_09_22.txt
. render_sources:output/posts/2013_09_15.txt
. render_sources:output/posts/2013_09_08.txt
. render_sources:output/posts/2013_09_01.txt
. render_sources:output/posts/2013_08_25.txt
. render_sources:output/posts/2013_08_18.txt
. render_sources:output/posts/2013_08_11.txt
. render_sources:output/posts/2013_08_04.txt
. render_sources:output/posts/2013_07_28.txt
. render_sources:output/posts/2013_07_21.txt
. render_sources:output/posts/2013_07_14.txt
. render_sources:output/posts/2013_07_07.txt
. render_sources:output/posts/2013_06_30.txt
. render_sources:output/posts/2013_06_23.txt
. render_sources:output/posts/2013_06_16.txt
. render_sources:output/posts/2013_06_09.txt
. render_sources:output/posts/2013_06_02.txt
. render_sources:output/posts/2013_05_26.txt
. render_sources:output/posts/2013_05_19.txt
. render_sources:output/posts/2013_05_12.txt
. render_sources:output/posts/2013_05_05.txt
. render_sources:output/posts/2013_04_28.txt
. render_sources:output/posts/2013_04_21.txt
. render_sources:output/posts/2013_04_14.txt
. render_sources:output/posts/2013_04_07.txt
. render_sources:output/posts/2013_03_31.txt
. render_sources:output/posts/2013_03_24.txt
. render_sources:output/posts/2013_03_17.txt
. render_sources:output/posts/2013_03_10.txt
. render_sources:output/posts/2013_03_03.txt
. render_sources:output/posts/2013_02_24.txt
. render_sources:output/posts/2013_02_17.txt
. render_sources:output/posts/2013_02_10.txt
. render_sources:output/posts/2013_02_03.txt
. render_sources:output/posts/2013_01_27.txt
. render_sources:output/posts/2013_01_20.txt
. render_sources:output/posts/2013_01_13.txt
. render_sources:output/posts/2013_01_06.txt
. render_sources:output/posts/2012_12_30.txt
. render_archive:output/2015/index.html
########################################
TaskError - taskid:render_archive:output/2015/index.html
PythonAction Error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/doit/action.py", line 372, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/usr/lib/python2.7/site-packages/nikola/nikola.py", line 924, in render_template
template_name, None, local_context)
File "/usr/lib/python2.7/site-packages/nikola/plugins/template/mako.py", line 108, in render_template
data = template.render_unicode(**context)
File "/usr/lib/python2.7/site-packages/mako/template.py", line 452, in render_unicode
as_unicode=True)
File "/usr/lib/python2.7/site-packages/mako/runtime.py", line 803, in _render
**_kwargs_for_callable(callable_, data))
File "/usr/lib/python2.7/site-packages/mako/runtime.py", line 835, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/site-packages/mako/runtime.py", line 860, in _exec_template
callable_(context, *args, **kwargs)
File "/home/sadin/work/thisweekinfedora/cache/.mako.tmp/base.tmpl.py", line 91, in render_body
__M_writer(unicode(html_sidebar_links()))
File "/home/sadin/work/thisweekinfedora/cache/.mako.tmp/base_helper.tmpl.py", line 100, in render_html_sidebar_links
for url, text in sidebar_links[lang]:
TypeError: 'Undefined' object has no attribute '__getitem__'
fatal: pathspec 'posts/2015_03_18.txt' did not match any files
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
modified: posts/2015_03_15.txt
no changes added to commit
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
Since Git 2.0, Git defaults to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Everything up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment