{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/632","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/632/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/632/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/632/events","html_url":"https://github.com/tgalal/yowsup/issues/632","id":57589423,"number":632,"title":"Installation issues","user":{"login":"tfvtfv","id":10397204,"avatar_url":"https://avatars.githubusercontent.com/u/10397204?v=3","gravatar_id":"","url":"https://api.github.com/users/tfvtfv","html_url":"https://github.com/tfvtfv","followers_url":"https://api.github.com/users/tfvtfv/followers","following_url":"https://api.github.com/users/tfvtfv/following{/other_user}","gists_url":"https://api.github.com/users/tfvtfv/gists{/gist_id}","starred_url":"https://api.github.com/users/tfvtfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfvtfv/subscriptions","organizations_url":"https://api.github.com/users/tfvtfv/orgs","repos_url":"https://api.github.com/users/tfvtfv/repos","events_url":"https://api.github.com/users/tfvtfv/events{/privacy}","received_events_url":"https://api.github.com/users/tfvtfv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgalal/yowsup/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-13T11:42:12Z","updated_at":"2015-02-18T16:03:02Z","closed_at":null,"body":"Hi, sorry, I am a newbie, but I really think that I have tried hard to get this from documentation, without success:\r\n\r\n1.) https://github.com/tgalal/yowsup#installation-updated-dec-31-2014\r\nDocu say \"install zlib\". I can get a compiled binary following the link, but which directory am I supposed to put this to under Win7?\r\n\r\n2.) Connection manager\r\nI tried to ret most recent version of yowsup from here:\r\nhttps://github.com/tgalal/yowsup/archive/master.zip\r\nand while my sendclient examples work well using yowsup-cli, I fail to get Yowsup.connectionmanager running, since this module is simply not present. How do I get hold of connectionmanager.px?\r\n\r\nEDIT:\r\nI have meanwhile found that I can get the connectionmanager.py by doing a \r\n'pip install Yowsup' with capital Y. However, things get very confusing afterwards, since the file is copied into the yowsup directory, while all subroutines refer to a Yowsup (capital 'Y' director)\r\n\r\nI am missing something here, sorry for asking those dumb questions.\r\n\r\nThanks again for that great piece of software, learned a lot during the recent weks (but not enough I think ;-) )\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/74890045","html_url":"https://github.com/tgalal/yowsup/issues/632#issuecomment-74890045","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/632","id":74890045,"user":{"login":"tfvtfv","id":10397204,"avatar_url":"https://avatars.githubusercontent.com/u/10397204?v=3","gravatar_id":"","url":"https://api.github.com/users/tfvtfv","html_url":"https://github.com/tfvtfv","followers_url":"https://api.github.com/users/tfvtfv/followers","following_url":"https://api.github.com/users/tfvtfv/following{/other_user}","gists_url":"https://api.github.com/users/tfvtfv/gists{/gist_id}","starred_url":"https://api.github.com/users/tfvtfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfvtfv/subscriptions","organizations_url":"https://api.github.com/users/tfvtfv/orgs","repos_url":"https://api.github.com/users/tfvtfv/repos","events_url":"https://api.github.com/users/tfvtfv/events{/privacy}","received_events_url":"https://api.github.com/users/tfvtfv/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T16:03:02Z","updated_at":"2015-02-18T16:03:02Z","body":"@tgalal \r\nWhy I am looking for the connection manager:\r\n* My overall task simple, I want to write a small Windows application that simultaneously allows to send and receive messages\r\n* I have understood and can handle the concept of signals and methods as described here:\r\nhttps://github.com/tgalal/yowsup/wiki/%5BLegacy%5D-Yowsup-Documentation\r\nWith that, I'd be able to solve the above problem (but I don't get this installed properly, and I don't want to use it since it seems to be a dead code branch).\r\n* For yowsup2, I do not understand how to handle that rather simply task:\r\n+ Decorators have been new for me (you can do a lot in Python even without decorators), but I think I have understood that concept now. Nevertheless, a higher hurdle for a newbie than signals and methods. My problem is that there is no documentation on the underlying functions.\r\n+ I can send and receive by invoking yowsup-cli from the command line, but first of all this is clumsy, and furthermore I cannot read any output from a yowsup-cli pipe when doing a system call so far.\r\n+ I have tried to dig into the yowsup-cli code to rewrite it so that I only use the parameters necessary for me, and call them directly from my windows program. Seems the most promising approach at the moment, but I need to understand your code much better before I will succeed. And I wold not call that approach \"using an interface\", that's more like reengineering. :-)\r\n+ I have worked through the sample codes for sendclient and echo. I think I understand that I need to combine those two into my own layer, but I have not really succeeded doing so. Receiving messages is done in a loop, which gives me a headache, since this is blocking, and getting the messages out is again either done clumsy in my own way, or using the layer communication structure, which I have not fully understood so far.\r\n\r\nI think one of two things would help, and I'd be happy to help with documentation from next week on:\r\na. (in the shord run) Give a few more examples in addition to echoclient and sendclient, such as \r\na1: send and receive: show sending and receiving in one program\r\na2: layer communication: show how information (such as a received message) gets transmitted out of your modules in a proper way\r\nb. (in the long run): Set up a documentation similar to the one listed above for signals and methods for the connectionmanager. A programmer still wants to receive these signals and use those methods, how can this be done (for each of the listed items in connectionmanager) in yowsup2?\r\n\r\nSorry for that rather lengthy reply, but I hope this might help you to understand the obstacle.\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}