After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 754216 - Recover from interrupted database build
Recover from interrupted database build
Status: RESOLVED FIXED
Product: gnome-video-arcade
Classification: Other
Component: General
0.8.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-video-arcade-maint
gnome-video-arcade-maint
Depends on:
Blocks:
 
 
Reported: 2015-08-28 05:18 UTC by Bastián Díaz
Modified: 2015-09-13 21:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastián Díaz 2015-08-28 05:18:24 UTC
GVA 8.4 version
Gnome 3.16.2
fedora 22 64bit

I think that would be a good option to update the database GVA games from the GUI (if not detect new ROM or search automatically)

thanks
Comment 1 Matthew Barnes 2015-08-28 13:23:10 UTC
There is actually a command-line option to do this:

  gnome-video-arcade --build-database  (or just -b)

Just run that from a terminal window and it will rescan everything.

I'm not sure I want to add a button to the GUI as well, I'd rather fix the ROM detection if it's not working correctly.
Comment 2 Bastián Díaz 2015-08-28 17:11:57 UTC
(In reply to Matthew Barnes from comment #1)
> There is actually a command-line option to do this:
> 
>   gnome-video-arcade --build-database  (or just -b)
> 
> Just run that from a terminal window and it will rescan everything.
> 
> I'm not sure I want to add a button to the GUI as well, I'd rather fix the
> ROM detection if it's not working correctly.

I understand. Then there is a bug here.
As explained above, if a user gets bored of waiting and close the application while the database of games are updated, to restart the application, the update is not carried out and the new games are not listed (you have to add a new rom to force search again).

It can be something small, but for a novice user can bring some headaches.
In this case, should I open a new specific report?

Thanks
Comment 3 Matthew Barnes 2015-08-28 19:55:33 UTC
Yes I agree, the application should detect and recover from that on its own.

I think I just need to add a flag to the database to indicate if the content is complete, then automatically rebuild the database on startup if it's found to be incomplete.

No need to open a new bug, let's just re-purpose this one.
Comment 5 Bastián Díaz 2015-09-13 21:01:50 UTC
(In reply to Matthew Barnes from comment #4)
> Fixed in
> https://git.gnome.org/browse/gnome-video-arcade/commit/
> ?id=e24c00919a7742e37ff8dfa2c0b32d11eccf3485

Tested and working great.

Thanks