Open tsadhana9 opened 3 years ago
I can confirm your error and should be able to take a look at the problem soon.
Hi,
Could you please try to go through this issue and solve it ?
Thanks & Regards, Sadhana
On Wed, Jan 6, 2021 at 1:07 AM Nicholas M. Van Horn < notifications@github.com> wrote:
I can confirm your error and should be able to take a look at the problem soon.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/n3mo/massmine/issues/14#issuecomment-755102966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AORMFW3ZUY6S6NBCSAHUEHLSYP43JANCNFSM4VM3ONJQ .
I believe everything should be working now. I've pushed a new version to reflect these (and other) changes. I'm building a new binary release now and will confirm once it's ready for download. Thanks for your patience!
The updated version (1.3.0) is now available for download. This should hopefully fix all of your issues.
One important point, however: When passing JSON strings to MassMine server, stick with double quotes for strings. So your example above {"task":"twitter-stream", "geo":'-74,40,-73,41',"count":10}
should be {"task":"twitter-stream", "geo":"-74,40,-73,41","count":10}
Thanks for reaching out regarding this bug!
Hi, I tried with the updated version(1.3.0) of massmine.
I am trying the following commands massmine --server=4242 netcat localhost 4242 {"task":"twitter-stream", "geo":"-74,40,-73,41","count":10}
Still I am getting "bad argument type error"
Copying and pasting your example causes no error for me. Can you confirm that you're not accidentally running a previously installed version (massmine allows for multiple versions to be installed side-by-side... perhaps the old version is on your path and is getting called?).
Just to verify I installed the latest version(1.3.0) of massmine in different path. In spite of that I am seeing the same error as "Bad Argument Type".
This is strange indeed. Can you report the output of:
massmine -v
uname -srv
massmine 1.3.0 Linux 5.8.0-generic
I believe I found the problem. Try grabbing the installation files from massmine.org again. However, two things:
The streaming endpoints (twitter-stream and twitter-sample) appear to be working for me now. Perhaps there was an authentication issue temporarily on Twitter's end. In any case, can you confirm if your twitter-stream example is working for you now?
I downloaded latest version again and checked. Still the twitter-stream is not working for me.
Hi, I am trying to use Massmine Server mode. I used the example given in the Massmine Server mode behavior it is working properly but when I am trying with other queries like {"task":"twitter-stream", "geo":'-74,40,-73,41',"count":10} , {"task":"twitter-stream","user":"nasa"} etc,. I am getting the following errors like {"error":"bad argument type"} , {"error":"bad argument type - not a number"},{"error":"client error:406 Not Acceptable"}. I want to use twitter-stream with the parameters query, geo, dur, count.