Giter VIP home page Giter VIP logo

Comments (5)

autoauto54 avatar autoauto54 commented on July 28, 2024

after watching all the threads and trying to avoid every error I could get, I now get this simpler one but I still can't resolve it...

mbp-de-tom:~ autodrive$ ffpass import f- /Users/autodrive/Downloads/passwords.csv
usage: ffpass [-h] {export,import} ...
ffpass: error: unrecognized arguments: f- /Users/autodrive/Downloads/passwords.csv
mbp-de-tom:~ autodrive$

from ffpass.

jpaav avatar jpaav commented on July 28, 2024

Import does not raise this error for me as long as there is a column header named "url" in the csv, however when imported the "website" field in firefox's password manager is empty for all passwords.

from ffpass.

vallode avatar vallode commented on July 28, 2024

@autoauto54 looks to me like you need to fix your f- to -for --from
@jpaav I had a similar issue but around 20% of my passwords were affected, seems like some sort of format issue when it comes to how lockwise is recognising usable URLs

from ffpass.

Joppest avatar Joppest commented on July 28, 2024

I was able to solve this by omitting the header row from the csv file and changing the readCSV method to:

def readCSV(from_file):
    logins = []
    reader = csv.DictReader(lower_header(from_file), fieldnames=["url", "username", "password"]) 
    for row in reader:
        logins.append((rawURL(row["url"]), row["username"], row["password"]))
    return logins

from ffpass.

louisabraham avatar louisabraham commented on July 28, 2024

Hi everyone,

As said in the documentation,

usage: ffpass import [-h] [-f FROM_FILE] [-d DIRECTORY] [-v]

imports a CSV with columns `url,username,password` (order insensitive)

If your headers are different, there is going to be an error. The error message should be more explicit though, it will be corrected in the next version.

from ffpass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.