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

Error: table tbl_appbrowse_0349983844 has 53 columns but 47 values were supplied 6.72fw #8

Open
agjkp opened this issue Jul 17, 2020 · 10 comments

Comments

@agjkp
Copy link

agjkp commented Jul 17, 2020

i'm on fw 6.72 all of my file disappeared so im using fix_db.py

always ending up with same error

line 90, in
cursor.execute("INSERT INTO %s VALUES %s;" % (tbl[0], ', '.join(sql_list)))
sqlite3.OperationalError: table tbl_appbrowse_0349983844 has 53 columns but 47 values were supplied

can anyone help

@LilShah
Copy link

LilShah commented Jul 17, 2020

Same here. Trying to find a cheap fix. If someone else manages to do it before me, please post the method here

@LilShah
Copy link

LilShah commented Jul 17, 2020

Found a fix:

  1. Follow normal steps written in the Readme
  2. Before step 3, open fix_db.py file and find line 90. It is a giant line that starts with "sql_list.append("
  3. Replace it with this:
    sql_list.append("""("%s", "%s", "%s", "/user/appmeta/%s", "2018-07-27 15:06:46.822", "0", "0", "5", "1", "100", "0", "151","5", "1", "gd", "0", "0", "0", "0",NULL, NULL, NULL, "%d", "2018-07-27 15:06:46.802", "0", "game", NULL, "0", "0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "0", NULL,NULL, NULL, NULL, NULL, "0", "0", NULL, "2018-07-27 15:06:46.757","0","0","0","0","0",NULL)"""
  4. Follow the rest of the instructions in the readme

The issue seems to stem from the fact that there is a slight difference between the 5.05 DB and the 6.72 DB. I installed a game, used FTP to extract the DB, then checked what to fill. What i added are the last 6 entries in the above code.

Hopefully the repo's owner will add this fix to their code.

@agjkp
Copy link
Author

agjkp commented Jul 17, 2020

here is the working v with 6.72 thank @LilShah for the code it has be compiled and is not stable and works with 6.72

https://mega.nz/file/409nQIbJ

https://www31.zippyshare.com/v/DWGgLYjY/file.html

@Zer0xFF
Copy link
Owner

Zer0xFF commented Jul 18, 2020

i should really add a FW selector, as i know this was also an issue with other FWs

@cichazosia2001
Copy link

Hi,
Guys i need help the games are back, but without dlc

@anubhavdhiman9191
Copy link

Found a fix:

1. Follow normal steps written in the Readme

2. Before step 3, open fix_db.py file and find line 90. It is a giant line that starts with "sql_list.append("

3. Replace it with this:
   `sql_list.append("""("%s", "%s", "%s", "/user/appmeta/%s", "2018-07-27 15:06:46.822", "0", "0", "5", "1", "100", "0", "151","5", "1", "gd", "0", "0", "0", "0",NULL, NULL, NULL, "%d", "2018-07-27 15:06:46.802", "0", "game", NULL, "0", "0", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, "0", NULL,NULL, NULL, NULL, NULL, "0", "0", NULL, "2018-07-27 15:06:46.757","0","0","0","0","0",NULL)"""`

4. Follow the rest of the instructions in the readme

The issue seems to stem from the fact that there is a slight difference between the 5.05 DB and the 6.72 DB. I installed a game, used FTP to extract the DB, then checked what to fill. What i added are the last 6 entries in the above code.

Hopefully the repo's owner will add this fix to their code.

Thanks it fixed it cheers.

@TheBatmanWhoLaughs13
Copy link

20200727_155503

I get this issue

@joniis
Copy link

joniis commented Sep 13, 2020

here is the working v with 6.72 thank @LilShah for the code it has be compiled and is not stable and works with 6.72

https://mega.nz/file/409nQIbJ

https://www31.zippyshare.com/v/DWGgLYjY/file.html

thanks, but the file from zippyshare says corrupted, and from mega need the decrpyt key, please help

@hippie68
Copy link

hippie68 commented Mar 3, 2021

Thanks @LilShah for the fix! For your convenience I have created a fork that has the fix applied, which seems to work for firmware 7.02, too: https://github.com/hippie68/PS4_db_rebuilder_6.72_7.02

@Pharaoh2k
Copy link

Use Itemzflow, which works better than any script:
https://github.com/LightningMods/Itemzflow

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

9 participants