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

Multiple versions of a game are shown up as launchable files #2243

Open
quyse opened this issue Feb 10, 2019 · 7 comments
Open

Multiple versions of a game are shown up as launchable files #2243

quyse opened this issue Feb 10, 2019 · 7 comments

Comments

@quyse
Copy link
Contributor

quyse commented Feb 10, 2019

When I click Launch:
2019-02-10-110708_647x448_scrot
Turns out the first one launches outdated version, and the second one launches the current version, of the same channel.

The project (https://kozinaka.itch.io/insatia-too) is used by us for development only, with visibility restricted. We push updates with butler, and never recreate channels.

Both downloads are visible in the "Manage" dialog, and turns out they are in different folders under ~/.config/itch/apps directory: the old one is in Insatia Too, and the new one is in insatia-too.

I doubt it is because of some recent change, because it happened multiple times to me in the past (with our game), that is, I install game from scratch, and after some time (weeks or months) of updates, suddenly single download becomes two, and the dialog in question starts appearing.

@fasterthanlime
Copy link
Collaborator

fasterthanlime commented Feb 10, 2019

You must have two caves for the same game - you can just uninstall the old one probably?

This might've happened while upgrading from v23 to v25 - maybe you saw that insatia-too was not installed (because it was still scanning) and installed it manually. Does that seem likely?

(Insatia Too is a folder name v23 would create, insatia-too is something v25 would create)

@quyse
Copy link
Contributor Author

quyse commented Feb 10, 2019

I am pretty sure it happened to me multiple times, on different machines, even before v25. Uninstalling or reinstalling the game helps of course, but after some time it happens again.

In the current case, the "outdated" version is just 2 weeks old. So if it's a leftover from v23, it was still being updated by v25 until recently?

I guess I'll reinstall (and check that both directories are gone), and come back if and when it happens again.

@fasterthanlime
Copy link
Collaborator

About it happening before v25: I really don't see how. If the game was really installed twice with v23, it would end up in folders named "Insatia Too" and "Instatia Too 2".

About it happening again after some time: scanning directories happens periodically, but uninstalling the v23-installed cave should also wipe the folder, so there's no reason why it would pop up again?

I do want to solve this mystery, could you maybe e-mail support@itch.io with yourlogs/itch.txt and maybe your butler.db ? Thanks! (make sure to mention 'app' in the subject line)

@quyse
Copy link
Contributor Author

quyse commented Feb 10, 2019

Emailed the files!

Yes, I remember seeing "Insatia Too 2" as well. I was always blaming using release and development versions of itch app alternately, so usually I'd just uninstall & install the game, or clean up the whole .itch directory. But now I have not been working on our game much for some weeks, and have not even run itch app for quite a while (got busy on the main job). I remember it was also happening on Windows, where I was mostly using release app. So it suggests that maybe there's an actual bug.

@fasterthanlime
Copy link
Collaborator

Emailed the files!

Thanks, I'll take a look! Were the development and release versions of itch sharing an install location? (that's the only way they'd import each other's install of Insatia Too)

For now, I'd like you to uninstall all versions of Insatia Too, make sure there's no installed folders of it left, and then install it with itch stable. If you see the issue again, do comment on this thread with exactly what happened.

I'll see if I can piece together the past using the log files, but my hopes aren't super high on that particular front!

@quyse
Copy link
Contributor Author

quyse commented Feb 10, 2019

Thanks, I'll take a look! Were the development and release versions of itch sharing an install location? (that's the only way they'd import each other's install of Insatia Too)

I think so, I did not do anything special to separate them. By development version I mean git-cloned itch repository and npm start.

For now, I'd like you to uninstall all versions of Insatia Too, make sure there's no installed folders of it left, and then install it with itch stable. If you see the issue again, do comment on this thread with exactly what happened.

Yeah, I'll do exactly that. Sorry for unclear report so far!

@fasterthanlime
Copy link
Collaborator

By development version I mean git-cloned itch repository and npm start.

Yep, that ends up being kitch as well. (I think it used to be itch a long time ago? You've been a contributor forever, and the database + receipt formats have changed a few times, I wouldn't be surprised if your installs are a mess 😄 )

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

2 participants