question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: Sequence object has no attribute asOctets

See original GitHub issue

Hi, when I try to import password CSV from Chromium I get the following error:

$ ffpass import --from pw.csv
Traceback (most recent call last):
  File "/usr/bin/ffpass", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 354, in main
    args.func(args)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 287, in main_import
    key = askpass(args.directory)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 254, in askpass
    key = getKey(directory, password)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 93, in getKey
    entrySalt = decodedA11[0][1][0].asOctets()
AttributeError: 'Sequence' object has no attribute 'asOctets'

I am using Arch Linux with Python 3.8.1, pyasn1 0.4.8, and ffpass 0.4.8.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:25 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
ghostcommented, Jun 5, 2020

I managed to do a workaround:

Workaround

  1. Install Firefox 70
  2. Launch it and disable automatic updates.
  3. Put in a bogus user/pass to initialize the database then close the browser
  4. Import via ffpass with the --dir option
  5. Launch browser
  6. Sign into Firefox Sync
  7. You can uncheck all the sync checkboxes except for password
  8. Let it sync (hit Sync Now to be sure)
  9. Close browser
  10. Open your latest Firefox
  11. Sign into Firefox Sync if you haven’t
  12. Let it sync
  13. It works 🎉
  14. Delete Firefox 70
3reactions
mnoorenberghecommented, Apr 18, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

'FlaskDB' object has no attribute 'sequences'
It seems that your User model doesn't have correct database. With FlaskDB, your User model should inherit FlaskDB().
Read more >
'sequential' object has no attribute 'score'
Can you try this? print(model.evaluate(X_train, Y_train)). Open side panel. Keras AttributeError ...
Read more >
List of messages - Python tracker
... () AttributeError: 'Decimal' object has no attribute 'as_integer_ratio' >>> It seems ... in cases where the sequences have many duplicate elements.
Read more >
pyasn1-users Mailing List for ASN.1 library for Python
I have installed latest pyasn1 (0.4.5): % pip install pyasn1 Successfully ... line 1, in <module> > AttributeError: 'CertificateSet' object has no attribute...
Read more >
mozilla-beta - Mercurial
Objects of Constructed types now support __setitem__() -- Set/Sequence ... +- Fixed crash on prettyPrint'ing a SEQUENCE with no defined components +- Fixed ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found