soachishti / moss.py

Python client for Moss: A System for Detecting Software Similarity
MIT License
387 stars 75 forks source link

It seems like m.send() doesn't work, what should I do? Thanks a lot! #7

Closed Amy2017new closed 6 years ago

Amy2017new commented 6 years ago

I downloaded the zip and installed the package successfully ➜ sudo pip install moss.py-master.zip

But when I run moss_usage.py, I got this error: ➜ moss.py-master python moss_usage.py Report URL: Traceback (most recent call last): File "moss_usage.py", line 20, in m.saveWebPage(url, "submission/report.html") File "/Users/moss.py-master/mosspy/moss.py", line 143, in saveWebPage raise Exception("Empty url supplied") Exception: Empty url supplied

It seems like m.send() doesn't work, what should I do? Thanks a lot!

soachishti commented 6 years ago

Hi, Have you set userid in moss_usage.py file (987654321 is a dummy value). Hope this helps.

Amy2017new commented 6 years ago

Is the userid contained in the Moss account? I've sent the mail to moss@moss.stanford.edu and applied for the account eleven days ago, but I haven't received any reply. Should I keep waiting or apply again?

nareddyt commented 6 years ago

Yes, you should have received an email with your userid. Try again and make sure you follow the format described:

registeruser 
mail username@domain
Bhupesh-V commented 5 years ago

Is the userid contained in the Moss account? I've sent the mail to moss@moss.stanford.edu and applied for the account eleven days ago, but I haven't received any reply. Should I keep waiting or apply again?

I am having the same problems. Did you got the email ?

edit I got the user-id now just had to make sure the formatting of message.