Code Monkey home page Code Monkey logo

Comments (19)

facorazza avatar facorazza commented on May 24, 2024

It looks like there is no ParentLabel in Folders.csv. What version of the passwords app are you using?
Do you have any entry in Folders.csv?

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Thanks for the responce.
Actually I have the version 2023.3.20 of nextcloud passwords.
I just removed all my folders and moved the passwords to the root.
When I export the passwords I get a csv-file without compression, which the python script refuses to touch.

But I just saw that the gitfolder of Passwords2Bitwarden changed 3 days ago, so I'm going to reinstall it and try my best.

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

The change from 3 days ago didn't touch the actual code.

Are you following the instructions in the readme? You're not supposed to unzip the downloaded archive.

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Yes, I did. Without folders I got the log info, that a folder file ist missing.
So I recreated one test-folder and got this massage:

python main.py Passwörter+Ordner+Tags_24.3.2023.zip
Traceback (most recent call last):
File "/home/rafael-user/Downloads/Passwords2Bitwarden/main.py", line 77, in
cli()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/rafael-user/Downloads/Passwords2Bitwarden/main.py", line 24, in cli
if row["ParentLabel"] == "Home":
KeyError: 'ParentLabel'

Now I'm going to fill the folder with one entry, maybe this will be a gamechanger in this trial and error.

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

I guessed that maybe an empty folder is the problem, but it doesn't seem so. The same error appears when I fill the folder.

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

The error is about the csv structure.
It could very well be that they changed the data model.
Could you paste here the first row of the Folders.csv?
It should only contain the field names

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Next move: updating the nextcloud app: passwords new version available: 2023.3.21
But the same as before.
passwords.csv/ Folders.csv / Tags.csv were written.
Tags.csv is empty because I didn't have any tags.
Folderss.csv contains the one folder.
Passwords contains als the passwords

No *.json file was created.

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

The change from 3 days ago didn't touch the actual code.

Are you following the instructions in the readme? You're not supposed to unzip the downloaded archive.

Of couse. main.py is getting the .zip file.

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

What's the folder structure inside the archive?

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Bildschirmfoto vom 2023-03-24 19-04-53

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

Good can you paste the first row of the Folders.csv file here?

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Bildschirmfoto vom 2023-03-24 19-21-43

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

Ok so the fact that the column names are not in English is already an issue.
I guess überordner should be parentlabel.
Could you try switching the language in nextcloud to English and export the passwords again?

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

@protonaut did it work?

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Sorry, I was out. I can try.

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Bildschirmfoto vom 2023-03-24 21-19-31

from passwords2bitwarden.

protonaut avatar protonaut commented on May 24, 2024

Okay, this was the right hint. It worked.
Germanspecific Letters were the problem.
Thx a lot for your support.
Bildschirmfoto vom 2023-03-24 21-30-19

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

Great! I'll update the README to include that the English language should be used.
Thank you for opening the issue

from passwords2bitwarden.

facorazza avatar facorazza commented on May 24, 2024

Closing with 8fd0709

from passwords2bitwarden.

Related Issues (4)

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.