Giter Club home page Giter Club logo

Comments (8)

tfonteyn avatar tfonteyn commented on May 23, 2024

Hi,

Book Catalogue backup
I presume you mean the older program I forked from?

Easiest would be if you attached your old backup file here, and I'm happy to take a look in detail.
I've not tested in a long time to import BC backups - no reason they should not work (apart from the styles)
If you prefer not to do that, can you instead attach perhaps the first 10 lines of your CSV file ?

Please also try to do an import, see it fail, then get into "Settings", scroll down to the bottom and choose "maintenance"... then "bug report". Just check the "log files" + "settings" and click "ok"... it will ask to email.
My apologies, but I still have not setup a dedicated email. So just grab the attachments + the info-text and post them here.

from nevertoomanybooks.

shadows-word avatar shadows-word commented on May 23, 2024

Yes, I mean that older program.

I have to correct my statement about the error message.
When I try to import a .bcbk-file, I get the message "The selected file is not recognized" before I can choose what to import (new books only etc.)
When I try to import a CSV file, I get the message "Nothing selected" after tapping on "Start import".
When I try to import a json file, I get the message "An unexpected error occurred" before I can choose what to import..

I have attached the bcbk file (had to do a backup without the cover pictures, bc the file would have been to large to attach) and a csv with the first 10 lines.

The bug report only contains the preferences and no log file. The info text:

App: com.hardbacknutter.nevertoomanybooks
Version: 3.4.1 (23, 2022-11-27T15:22:03.8878958)
SDK: 10 (29 release-keys)
Model: SHIFT6mq
Manufacturer: SHIFT
Device: axolotl
Product: axolotl
Brand: SHIFT
Build: QSV1.210329.038
Signed-By: Not signed, likely development version

logScreenParams|

configuration:
screenWidthDp=411
screenHeightDp=782
orientation=PORTRAIT
densityDpi=420
metrics:
widthPixels=1080
heightPixels=2118
density=2.625

shadowsword_bcbk.tar.gz
preferences.txt
to-import.csv

from nevertoomanybooks.

tfonteyn avatar tfonteyn commented on May 23, 2024

Hello,

Thanks for that - made it very easy.

It wasn't to unexpected or bad.

  • I had removed the BC import format. Simply restoring the code that handled it was quick and took care of that obstacle.
  • The Csv import was a small bug and also easy to fix.
  • Json: yes, that would be expected - not a bug, but I should put up a nicer message. The json format is specific to NeverTooManyBooks and is used in the new backup format. You can ignore it.

So right now I can successfully import the bcbk file as well as the csv file.

There are warnings about 8 or so books that fail - I'll take another look tomorrow. Probably some bad data which should be easy to fix.

I was in fact getting NeverTooManyBooks 4.0 ready for release soon. I want to do some more testing, but I'm happy to upload a beta which has the fixes for the BC import already put in.

I'll do that tomorrow, and let you know.

btw, my german is not 100%, if you have any feedback on the german UI text, that would be wonderful.

from nevertoomanybooks.

tfonteyn avatar tfonteyn commented on May 23, 2024
warnings about 8 or so books that fail

bad data indeed, to be specific duplicate author names which were only different with a "." at the end of the name.
I added extra filtering so the app can handle those as well now.

All in all, I'm very happy with your "problems" as they showed a couple of issues that needed fixing.

I've run out of time today, and want to do some extra tests so the beta upload will be for tomorrow instead.

from nevertoomanybooks.

tfonteyn avatar tfonteyn commented on May 23, 2024

Good morning,

As promised: v4.0.0-beta1

This includes fixes for the issues you hit.

You do need to do a simple conversion:

The "bcbk" (which is a "tar" archive) backup file needs to be converted to a "zip" file.
Just use any app which can open tar files and save zip files. I use 7z.
When zipping, make sure the "INFO.xml", "books.csv" and all cover files are at the top level
of the "zip" file.

from nevertoomanybooks.

shadows-word avatar shadows-word commented on May 23, 2024

Worked like a charm, thank you.

I'm glad, that I could show you some issues :)

I'll look into the german UI text, but I can't promise how soon I will be able to spend a decent amount of time.

from nevertoomanybooks.

tfonteyn avatar tfonteyn commented on May 23, 2024

don't worry about it.

Closing this issue now, but please log any new issues you see.

from nevertoomanybooks.

tfonteyn avatar tfonteyn commented on May 23, 2024

v4.0.0 is now released

No further fixes, but some small features added since the beta.

from nevertoomanybooks.

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.