Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user reassign scripts doesn't appear to actually work #35

Closed
anemitz opened this issue Mar 2, 2015 · 4 comments
Closed

user reassign scripts doesn't appear to actually work #35

anemitz opened this issue Mar 2, 2015 · 4 comments
Labels

Comments

@anemitz
Copy link
Member

anemitz commented Mar 2, 2015

(closeio-api)--- lib/closeio-api ‹master» ./scripts/user_reassign.py --to-user-id user_wWDo6ETmCC9mSL3YQt0wdierIIKfZnR0LShSiVxEXBF --from-user-id user_fLuLxKSVFjJTePCe660YI2f2b5JpwoBjWQaPqWUjm5V -k <redacted> --all-tasks --all-opportunities -c

Running the above command seems to modify the tasks and opportunities but if you run it again the see the same output / nothing actually changes.

@anemitz anemitz added the bug label Mar 2, 2015
@anemitz
Copy link
Member Author

anemitz commented Mar 2, 2015

@congocongo

@congocongo
Copy link
Contributor

change logger to debug, and run and send me debug log pls

@congocongo
Copy link
Contributor

@anemitz

@congocongo
Copy link
Contributor

i fixed small bug

first run:

./user_reassign.py -c -t user_H7Z0ZsoIhgZmI5kdDcFn1DSxc6R1B0M0sYhmaENJYMQ -f user_StJJQCTzSdTcxXpdAhELKDQEJwabvz0wtMwjuQmoNhA -k29d805d627aa41cc60ec3af7e54ed2f0873629fa33ec247b051cd5f7 --all-tasks --all-opportunities
[2015-03-03 20:50:30,972] INFO Starting new HTTPS connection (1): app.close.io
[2015-03-03 20:50:43,179] INFO from user_id user_StJJQCTzSdTcxXpdAhELKDQEJwabvz0wtMwjuQmoNhA (adeynichenko+2nd@gmail.com)
[2015-03-03 20:50:43,179] INFO to user_id: user_H7Z0ZsoIhgZmI5kdDcFn1DSxc6R1B0M0sYhmaENJYMQ (adeynichenko@gmail.com)
[2015-03-03 20:51:02,436] INFO updated task_NnoC2T8dCTyii6wEACmy9E30vQd3m9cSb9dg4uwvEw3
[2015-03-03 20:51:07,805] INFO updated oppo_Puufk92DmcCXKpY66ncTI2BJ8Lj8I2v8uPqY4oXBosL
[2015-03-03 20:51:07,805] INFO summary: updated tasks 1, updated opportunities 1

second run:

./user_reassign.py -c -t user_H7Z0ZsoIhgZmI5kdDcFn1DSxc6R1B0M0sYhmaENJYMQ -f user_StJJQCTzSdTcxXpdAhELKDQEJwabvz0wtMwjuQmoNhA -k29d805d627aa41cc60ec3af7e54ed2f0873629fa33ec247b051cd5f7 --all-tasks --all-opportunities
[2015-03-03 20:53:09,188] INFO Starting new HTTPS connection (1): app.close.io
[2015-03-03 20:53:11,379] INFO from user_id user_StJJQCTzSdTcxXpdAhELKDQEJwabvz0wtMwjuQmoNhA (adeynichenko+2nd@gmail.com)
[2015-03-03 20:53:11,379] INFO to user_id: user_H7Z0ZsoIhgZmI5kdDcFn1DSxc6R1B0M0sYhmaENJYMQ (adeynichenko@gmail.com)
[2015-03-03 20:53:13,233] INFO summary: updated tasks 0, updated opportunities 0

@congocongo congocongo mentioned this issue Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants