{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/488","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/488/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/488/events","html_url":"https://github.com/tgalal/yowsup/issues/488","id":53189096,"number":488,"title":"yowsup-cli error","user":{"login":"pinpuk","id":10358982,"avatar_url":"https://avatars.githubusercontent.com/u/10358982?v=3","gravatar_id":"","url":"https://api.github.com/users/pinpuk","html_url":"https://github.com/pinpuk","followers_url":"https://api.github.com/users/pinpuk/followers","following_url":"https://api.github.com/users/pinpuk/following{/other_user}","gists_url":"https://api.github.com/users/pinpuk/gists{/gist_id}","starred_url":"https://api.github.com/users/pinpuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinpuk/subscriptions","organizations_url":"https://api.github.com/users/pinpuk/orgs","repos_url":"https://api.github.com/users/pinpuk/repos","events_url":"https://api.github.com/users/pinpuk/events{/privacy}","received_events_url":"https://api.github.com/users/pinpuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2014-12-31T15:42:10Z","updated_at":"2015-01-07T21:07:03Z","closed_at":"2015-01-01T13:24:44Z","body":"/usr/local/bin# yowsup-cli \r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/yowsup-cli\", line 5, in <module>\r\n    pkg_resources.run_script('yowsup2==2.0.53', 'yowsup-cli')\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 499, in run_script\r\n    self.require(requires)[0].run_script(script_name, ns)\r\n  File \"/usr/lib/python2.7/dist-packages/pkg_resources.py\", line 1235, in run_script\r\n    execfile(script_filename, namespace, namespace)\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg/EGG-INFO/scripts/yowsup-cli\", line 6, in <module>\r\n    from yowsup.demos import cli, echoclient, sendclient\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg/yowsup/demos/cli/__init__.py\", line 1, in <module>\r\n    from .stack import YowsupCliStack\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg/yowsup/demos/cli/stack.py\", line 2, in <module>\r\n    from yowsup.layers.axolotl import YowAxolotlLayer\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg/yowsup/layers/axolotl/__init__.py\", line 1, in <module>\r\n    from .layer import YowAxolotlLayer\r\n  File \"/usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg/yowsup/layers/axolotl/layer.py\", line 3, in <module>\r\n    from axolotl.util.keyhelper import KeyHelper\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.1-py2.7.egg/axolotl/util/keyhelper.py\", line 3, in <module>\r\n    from ..identitykeypair import IdentityKeyPair\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.1-py2.7.egg/axolotl/identitykeypair.py\", line 1, in <module>\r\n    from .state.storageprotos import IdentityKeyPairStructure\r\n  File \"/usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.1-py2.7.egg/axolotl/state/storageprotos.py\", line 9, in <module>\r\n    from google.protobuf import symbol_database as _symbol_database\r\nImportError: cannot import name symbol_database\r\n\r\neverything seems fine with the installation script \r\n----------------------------------------------------------------\r\n\r\ncopying yowsup2.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO\r\ncopying yowsup2.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO\r\nzip_safe flag not set; analyzing archive contents...\r\ncreating dist\r\ncreating 'dist/yowsup2-2.0.53-py2.7.egg' and adding 'build/bdist.linux-i686/egg' to it\r\nremoving 'build/bdist.linux-i686/egg' (and everything under it)\r\nProcessing yowsup2-2.0.53-py2.7.egg\r\ncreating /usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg\r\nExtracting yowsup2-2.0.53-py2.7.egg to /usr/local/lib/python2.7/dist-packages\r\nAdding yowsup2 2.0.53 to easy-install.pth file\r\nInstalling yowsup-cli script to /usr/local/bin\r\n\r\nInstalled /usr/local/lib/python2.7/dist-packages/yowsup2-2.0.53-py2.7.egg\r\nProcessing dependencies for yowsup2==2.0.53\r\nSearching for python-axolotl\r\nReading http://pypi.python.org/simple/python-axolotl/\r\nBest match: python-axolotl 0.1.1\r\nDownloading https://pypi.python.org/packages/source/p/python-axolotl/python-axolotl-0.1.1.tar.gz#md5=170b3ef379823766ad88fa950bc525f7\r\nProcessing python-axolotl-0.1.1.tar.gz\r\nRunning python-axolotl-0.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CEzEOV/python-axolotl-0.1.1/egg-dist-tmp-_g2yRM\r\nzip_safe flag not set; analyzing archive contents...\r\nAdding python-axolotl 0.1.1 to easy-install.pth file\r\n\r\nInstalled /usr/local/lib/python2.7/dist-packages/python_axolotl-0.1.1-py2.7.egg\r\nSearching for readline==6.2.4.1\r\nBest match: readline 6.2.4.1\r\nAdding readline 6.2.4.1 to easy-install.pth file\r\n\r\nUsing /usr/local/lib/python2.7/dist-packages\r\nSearching for argparse==1.2.1\r\nBest match: argparse 1.2.1\r\nAdding argparse 1.2.1 to easy-install.pth file\r\n\r\nUsing /usr/lib/python2.7\r\nSearching for python-dateutil==1.5\r\nBest match: python-dateutil 1.5\r\nAdding python-dateutil 1.5 to easy-install.pth file\r\n\r\nUsing /usr/lib/python2.7/dist-packages\r\nSearching for python-axolotl-curve25519==0.1\r\nBest match: python-axolotl-curve25519 0.1\r\npython-axolotl-curve25519 0.1 is already the active version in easy-install.pth\r\n\r\nUsing /usr/local/lib/python2.7/dist-packages\r\nSearching for pycrypto==2.6.1\r\nBest match: pycrypto 2.6.1\r\npycrypto 2.6.1 is already the active version in easy-install.pth\r\n\r\nUsing /usr/local/lib/python2.7/dist-packages\r\nSearching for protobuf==2.4.1\r\nBest match: protobuf 2.4.1\r\nAdding protobuf 2.4.1 to easy-install.pth file\r\n\r\nUsing /usr/lib/pymodules/python2.7\r\nFinished processing dependencies for yowsup2==2.0.53\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/69092078","html_url":"https://github.com/tgalal/yowsup/issues/488#issuecomment-69092078","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/488","id":69092078,"user":{"login":"mrtass","id":5121288,"avatar_url":"https://avatars.githubusercontent.com/u/5121288?v=3","gravatar_id":"","url":"https://api.github.com/users/mrtass","html_url":"https://github.com/mrtass","followers_url":"https://api.github.com/users/mrtass/followers","following_url":"https://api.github.com/users/mrtass/following{/other_user}","gists_url":"https://api.github.com/users/mrtass/gists{/gist_id}","starred_url":"https://api.github.com/users/mrtass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrtass/subscriptions","organizations_url":"https://api.github.com/users/mrtass/orgs","repos_url":"https://api.github.com/users/mrtass/repos","events_url":"https://api.github.com/users/mrtass/events{/privacy}","received_events_url":"https://api.github.com/users/mrtass/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T21:07:03Z","updated_at":"2015-01-07T21:07:03Z","body":"forget python in windows, if u insist use it inside cygwin\r\n\r\nDate: Wed, 7 Jan 2015 12:48:45 -0800\r\nFrom: notifications@github.com\r\nTo: yowsup@noreply.github.com\r\nSubject: Re: [yowsup] yowsup-cli error (#488)\r\n\r\nHi! Can any of you please help me!!! I can't install python-axolotl for the same error above. \r\n\npinpuk what is a 'clear install'?\r\n\nThis is my log: :(\r\n\n\nSearching for python-axolotl-curve25519\r\n\nReading https://pypi.python.org/simple/python-axolotl-curve25519/\r\n\nBest match: python-axolotl-curve25519 0.1\r\n\nDownloading https://pypi.python.org/packages/source/p/python-axolotl-curve25519/\r\n\npython-axolotl-curve25519-0.1.tar.gz#md5=f28d902df9044f0bf86a35a4bd2ec092\r\n\nProcessing python-axolotl-curve25519-0.1.tar.gz\r\n\nWriting c:\\users\\luis~1.cam\\appdata\\local\\temp\\easy_install-qwrm82\\python-axolot\r\n\nl-curve25519-0.1\\setup.cfg\r\n\nRunning python-axolotl-curve25519-0.1\\setup.py -q bdist_egg --dist-dir c:\\users\\\r\n\nluis~1.cam\\appdata\\local\\temp\\easy_install-qwrm82\\python-axolotl-curve25519-0.1\\\r\n\negg-dist-tmp-kks9sa\r\n\ncurve25519module.c: In function 'calculateSignature':\r\n\ncurve25519module.c:50:4: warning: pointer targets in passing argument 1 of 'curv\r\n\ne25519_sign' differ in signedness [-Wpointer-sign]\r\n\n    curve25519_sign(signature, privatekey, message, messagelen, random);\r\n\n    ^\r\n\ncurve25519module.c:17:5: note: expected 'unsigned char ' but argument is of typ\r\n\ne 'char *'\r\n\n int curve25519_sign(unsigned char signature_out,\r\n\n     ^\r\n\ncurve25519module.c:50:4: warning: pointer targets in passing argument 2 of 'curv\r\n\ne25519_sign' differ in signedness [-Wpointer-sign]\r\n\n    curve25519_sign(signature, privatekey, message, messagelen, random);\r\n\n    ^\r\n\ncurve25519module.c:17:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_sign(unsigned char signature_out,\r\n\n     ^\r\n\ncurve25519module.c:50:4: warning: pointer targets in passing argument 3 of 'curv\r\n\ne25519_sign' differ in signedness [-Wpointer-sign]\r\n\n    curve25519_sign(signature, privatekey, message, messagelen, random);\r\n\n    ^\r\n\ncurve25519module.c:17:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_sign(unsigned char signature_out,\r\n\n     ^\r\n\ncurve25519module.c:50:4: warning: pointer targets in passing argument 5 of 'curv\r\n\ne25519_sign' differ in signedness [-Wpointer-sign]\r\n\n    curve25519_sign(signature, privatekey, message, messagelen, random);\r\n\n    ^\r\n\ncurve25519module.c:17:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_sign(unsigned char signature_out,\r\n\n     ^\r\n\ncurve25519module.c: In function 'verifySignature':\r\n\ncurve25519module.c:76:5: warning: pointer targets in passing argument 1 of 'curv\r\n\ne25519_verify' differ in signedness [-Wpointer-sign]\r\n\n     int result = curve25519_verify(signature, publickey, message, messagelen);\r\n\n     ^\r\n\ncurve25519module.c:22:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_verify(const unsigned char signature,\r\n\n     ^\r\n\ncurve25519module.c:76:5: warning: pointer targets in passing argument 2 of 'curv\r\n\ne25519_verify' differ in signedness [-Wpointer-sign]\r\n\n     int result = curve25519_verify(signature, publickey, message, messagelen);\r\n\n     ^\r\n\ncurve25519module.c:22:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_verify(const unsigned char signature,\r\n\n     ^\r\n\ncurve25519module.c:76:5: warning: pointer targets in passing argument 3 of 'curv\r\n\ne25519_verify' differ in signedness [-Wpointer-sign]\r\n\n     int result = curve25519_verify(signature, publickey, message, messagelen);\r\n\n     ^\r\n\ncurve25519module.c:22:5: note: expected 'const unsigned char ' but argument is\r\n\nof type 'const char *'\r\n\n int curve25519_verify(const unsigned char signature,\r\n\n     ^\r\n\ncurve/ed25519/additions\\curve_sigs.c: In function 'curve25519_keygen':\r\n\ncurve/ed25519/additions\\curve_sigs.c:10:6: warning: unused variable 'ed_y' [-Wun\r\n\nused-variable]\r\n\n   fe ed_y, ed_y_plus_one, one_minus_ed_y, inv_one_minus_ed_y;\r\n\n      ^\r\n\ncurve/ed25519/additions\\zeroize.c: In function 'zeroize':\r\n\ncurve/ed25519/additions\\zeroize.c:6:17: warning: unused variable 'retval' [-Wunu\r\n\nsed-variable]\r\n\n   unsigned long retval = 0;\r\n\n                 ^\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n35): undefined reference to _imp___PyArg_ParseTuple_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n4d): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n58): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n73): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n7e): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\nb2): undefined reference to_imp__PyString_FromStringAndSize'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n106): undefined reference to _imp___PyArg_ParseTuple_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n11e): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n129): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n15d): undefined reference to_imp__PyString_FromStringAndSize'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n191): undefined reference to _imp___PyArg_ParseTuple_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n1a9): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n1b4): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n1e4): undefined reference to_imp__PyString_FromStringAndSize'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n237): undefined reference to _imp___PyArg_ParseTuple_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n253): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n25e): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n279): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n284): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n2c0): undefined reference to_imp___Py_BuildValue_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n31a): undefined reference to _imp___PyArg_ParseTuple_SizeT'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n336): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n341): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n35c): undefined reference to_imp__PyExc_ValueError'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n367): undefined reference to _imp__PyErr_SetString'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n3ab): undefined reference to_imp__PyString_FromStringAndSize'\r\n\nbuild\\temp.win-amd64-2.7\\Release\\curve25519module.o:curve25519module.c:(.text+0x\r\n\n3ea): undefined reference to _imp__Py_InitModule4'\r\n\nc:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: build\\temp\r\n\n.win-amd64-2.7\\Release\\curve25519module.o: bad reloc address 0x0 in section.da\r\n\nta'\r\n\ncollect2.exe: error: ld returned 1 exit status\r\n\ndllwrap: gcc exited with status 1\r\n\nerror: Setup script exited with error: command 'C:\\MinGW\\bin\\dllwrap.exe' fai\r\n\nled with exit status 1\r\n\n\nC:\\Users\\luis.campos\\Downloads\\yowsup-master(1)\\yowsup-master>\r\n\n\n\r\nReply to this email directly or view it on GitHub.\n\n  \n    \n    \n  \n  \n \t\t \t   \t\t  ="}}