Lines are repeated in typical call to asynk

4 views
Skip to first unread message

Brady Trainor

unread,
Aug 16, 2015, 11:59:31 PM8/16/15
to as...@googlegroups.com
After the first four lines below, lines repeat that I am guessing shouldn't. Should I add this as an issue on Github?

--
Brady

--8<---------------cut here---------------start------------->8---
(asynk)heeere-2:~ iam$ asynk --op=list-folders --db=bb
Applying base config from file /Users/iam/my-python-projects/ASynK/config/config_v7.json...
Applying base config from file /Users/iam/my-python-projects/ASynK/config/config_v7.json...done
Applying user customizations from file /Users/iam/.asynk/config.py...
Applying user customizations from file /Users/iam/.asynk/config.py...done
INFO:root:Debug logging to file: /Users/iam/.asynk/logs/asynk_logs.2015-08-16.20-32-24.592529
[20:32:24.592 INFO] Debug logging to file: /Users/iam/.asynk/logs/asynk_logs.2015-08-16.20-32-24.592529
DEBUG:root:Command line: "/Users/iam/my-python-projects/ASynK/asynk.py --op=list-folders --db=bb"
INFO:root:Deleting log files older than 7 days, if any...
[20:32:24.593 INFO] Deleting log files older than 7 days, if any...
INFO:root:Deleting log files older than 7 days, if any...done
[20:32:24.593 INFO] Deleting log files older than 7 days, if any...done
INFO:root:Parsing BBDB file /Users/iam/.bbdb...
[20:32:24.594 INFO] Parsing BBDB file /Users/iam/.bbdb...
DEBUG:root:New BBContactsFolder: default
INFO:root:Parsing BBDB Store with encoding utf-8...
[20:32:24.594 INFO] Parsing BBDB Store with encoding utf-8...
INFO:root:Parsing BBDB Store with encoding utf-8...Success
[20:32:24.595 INFO] Parsing BBDB Store with encoding utf-8...Success
INFO:root:Successfully parsed 0 entries.
[20:32:24.595 INFO] Successfully parsed 0 entries.
INFO:root:Listing all folders in PIMDB bb...
[20:32:24.595 INFO] Listing all folders in PIMDB bb...
INFO:root: 1: Contacts. Name: default; GID: default;
[20:32:24.595 INFO] 1: Contacts. Name: default; GID: default;
INFO:root:Listing all folders in PIMDB bb...done
[20:32:24.595 INFO] Listing all folders in PIMDB bb...done
(asynk)heeere-2:~ iam$
--8<---------------cut here---------------end--------------->8---

Brady Trainor

unread,
Aug 17, 2015, 12:53:45 AM8/17/15
to as...@googlegroups.com
I can't reproduce reliably. Maybe once account is setup properly, it no longer does this.

For example, if I chmod 644 .netrc, and rerun command as below, lines are doubled again.

--
Brady

Brady Trainor <alge...@uw.edu> writes:

> After the first four lines below, lines repeat that I am guessing
> shouldn't. Should I add this as an issue on Github?
>
> --
> Brady
>
>

Sriram Karra

unread,
Aug 17, 2015, 3:50:38 AM8/17/15
to as...@googlegroups.com
Are you using Python 2.7 or Python3?

--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send an email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/m2egj2cy7i.fsf%40whoa.there.cowboy.
For more options, visit https://groups.google.com/d/optout.

Sriram Karra

unread,
Aug 17, 2015, 3:54:53 AM8/17/15
to as...@googlegroups.com
If you are using IPython, it may be this issue: http://stackoverflow.com/questions/31403679/python-logging-module-duplicated-console-output-ipython-notebook-qtconsole

Can you confirm if you are using IPython?

Brady Trainor

unread,
Aug 17, 2015, 4:32:57 AM8/17/15
to as...@googlegroups.com
Hello,

I think i'm just using plain python3 in OS X's Terminal.app. I seem to recall the same sort of behavior when I was on Ubuntu.

--
Brady

Sriram Karra

unread,
Aug 17, 2015, 5:41:04 AM8/17/15
to as...@googlegroups.com
Any chance you can try this with Python 2.7?

Brady Trainor

unread,
Aug 17, 2015, 4:16:51 PM8/17/15
to as...@googlegroups.com
Sorry for mix up, I was in fact using python2 for asynk virtualenv.

Still get behavior, like `chmod 644 ~/.netrc' then `asynk --op=list-profiles' gives me repetition of INFO lines as below.
Reply all
Reply to author
Forward
0 new messages