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

ftplib.error_perm: 550 Invalid directory. #1

Open
hackxing opened this issue Sep 22, 2018 · 5 comments
Open

ftplib.error_perm: 550 Invalid directory. #1

hackxing opened this issue Sep 22, 2018 · 5 comments

Comments

@hackxing
Copy link

I have problem that gives me the error

ftplib.error_perm: 550 Invalid directory.
[5028] Failed to execute script fix_db

https://files.fm/u/h9hqjdrr#/view/1.jpg

so is there any solution for this error and thank you so much

@Zer0xFF
Copy link
Owner

Zer0xFF commented Sep 23, 2018

ummm this is interesting, for whatever reason 1 of your game installs either didn't complete or never create an appmeta, the script tries to use that info in appmeta to rebuild the database, but since thats not there, its failing.

I've pushed a dev branch, that will ignore that entry (that means the game will remain on the PS4, but will still be missing from the list), but this should allow the script to continue and process the other games.

the script should print out error, which game id, which you can then use to either manually delete the game, or you can use it to identify the game and reinstall it.

anyway this is the branch https://github.com/Zer0xFF/PS4_db_rebuilder/tree/dev and this is the file you need https://raw.githubusercontent.com/Zer0xFF/PS4_db_rebuilder/dev/fix_db.py just replace the content of the file you have with this and try again, and let me know how it goes.

@hackxing
Copy link
Author

thanks It work but many games not there I think it is bug because i'm sure that the games complete

https://files.fm/u/gr97h4rg#/

https://files.fm/u/xyejhwav

and I tried to do it with other pc but it gives me the the same error that I have it in the beginning

also the sizes of the games in the ps4 not correct like for each game 855gb or 944gb ...

@Zer0xFF
Copy link
Owner

Zer0xFF commented Sep 24, 2018

I know about the size issue, I didn't get the chance to look at it in any detail yet.

However, about the main issue, I don't currently have a solution and to be honest, I'm not sure how would one go about fixing.. As I explained before I need to get the info needed to rebuild the database from specific files in the appmeta folder, however those files seem to be missing thus I can't get the info... I could use psudo info, but I can't promise the result, aka the games could show up with incorrect name, they may or may not work... And i suppose worst case scenario you'd get a corrupt db and you can run the script again.

@mvergaraq
Copy link

mvergaraq commented Mar 26, 2021

For anyone having this issue now in 2021. Regarding the Traceback error and the "ftplib.error_perm: 550 The file doesn't exist." You can solve it by going through the game folder files (CUSAXXXX) and at those ones with no pkg files inside (which are probably games you deleted manually on your external or internal drive and didn't with the official ps4 delete option) you would have to put fake pkg files (copy from a low size game) and maybe also add fake icon and info files too (not sure if these needed). This tricks the script and you will have your game library restored.

@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

4 participants