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

Ubuntu 20.04: PyFxA installed but cannot be found #260

Open
zilexa opened this issue Nov 18, 2020 · 1 comment
Open

Ubuntu 20.04: PyFxA installed but cannot be found #260

zilexa opened this issue Nov 18, 2020 · 1 comment

Comments

@zilexa
Copy link

zilexa commented Nov 18, 2020

To delete the sync data on Mozilla servers after your local syncserver is up and running, the documentation explains how to install this tool and run it. However, it cannot be found after installation. I searched my $HOME/.local directory and I did find PyFxA folders but none contain the delete script. Where is it stored?

python3 ./bin/delete_user_data.py [email protected]
python3: can't open file './bin/delete_user_data.py': [Errno 2] No such file or directory

Installation:

$ pip3 install PyFxA
Collecting PyFxA
  Downloading PyFxA-0.7.7.tar.gz (39 kB)
Collecting PyBrowserID
  Downloading PyBrowserID-0.14.0.tar.gz (36 kB)
Requirement already satisfied: PyJWT in /usr/lib/python3/dist-packages (from PyFxA) (1.7.1)
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (from PyFxA) (2.8)
Collecting hawkauthlib
  Downloading hawkauthlib-2.0.0-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: requests>=2.4.2 in /usr/lib/python3/dist-packages (from PyFxA) (2.22.0)
Requirement already satisfied: six>=1.14 in /usr/lib/python3/dist-packages (from PyFxA) (1.14.0)
Collecting webob
  Downloading WebOb-1.8.6-py2.py3-none-any.whl (114 kB)
     |████████████████████████████████| 114 kB 14.0 MB/s 
Building wheels for collected packages: PyFxA, PyBrowserID
  Building wheel for PyFxA (setup.py) ... done
  Created wheel for PyFxA: filename=PyFxA-0.7.7-py2.py3-none-any.whl size=48425 sha256=b29f5bc3a7eca18e0bc370841ed2d0af64372d7cd1c91574e5ed1f21b836f46e
  Stored in directory: /home/asterix/.cache/pip/wheels/ef/eb/a2/623b7c650354e09e2c839f1616ecfab822da90cafc2fe5858b
  Building wheel for PyBrowserID (setup.py) ... done
  Created wheel for PyBrowserID: filename=PyBrowserID-0.14.0-py3-none-any.whl size=46573 sha256=bdaf9b74d4d704c8efb9906f46909938b042dff24cd90db5cf0a2c8f99cd4f49
  Stored in directory: /home/asterix/.cache/pip/wheels/cf/4e/c2/ee3f11dbc794c78b774b1a56689f7222b0323888b63d85f582
Successfully built PyFxA PyBrowserID
Installing collected packages: PyBrowserID, webob, hawkauthlib, PyFxA
Successfully installed PyBrowserID-0.14.0 PyFxA-0.7.7 hawkauthlib-2.0.0 webob-1.8.6

@rfk
Copy link
Contributor

rfk commented Nov 18, 2020

I think you need to run the tool from a checkout of this repo, so it would be something like:

git clone https://github.com/mozilla-services/syncserver
cd ./syncserver
./bin/delete_user_data.py [email protected]

The script is not bundled with PyFxA.

Mic92 pushed a commit to Mic92/syncserver that referenced this issue Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants