![]() |
2009-11-21
, 10:48
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#21
|
![]() |
2009-11-23
, 08:03
|
Posts: 103 |
Thanked: 157 times |
Joined on Feb 2007
@ Jyväskylä, Finland
|
#22
|
![]() |
2009-11-24
, 09:36
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#23
|
Tested new version and only thing is that icon after installation is still missing.
Documentation says that "gtk-update-icon-cache /usr/share/icons/hicolor" should be run in postinst script.
Noticed also that it's not possible to use file choose dialog to open original database in '/home/user/' when I opened old database from mmc1. (And it seems that mikkov already mentioned it in this thread). And the more standard path for database is probably: '/home/user/.fuelpad/fuelpad.db' . So maybe hiding open database button is a good idea.
![]() |
2009-11-24
, 15:48
|
Posts: 103 |
Thanked: 157 times |
Joined on Feb 2007
@ Jyväskylä, Finland
|
#24
|
I have always had that in the postinst script. I wonder what's the problem then. At least it wasn't the 48x48 icons that were missing before.
Yes, I thought it could be problematic. The thing that had to be done was to move the database out of MyDocs since an open sqlite3 database will be corrupted 100% sure if the partition will be unmounted. Maybe the approach mikkov suggested earlier (possibility to "export" and "import" the database file to/from MyDocs) could be used.
Seems that the little things still left would be best solved with a device of my own. Sigh...
![]() |
2009-11-24
, 17:25
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#25
|
Using Import would most probably be best for the ordinary user to import old database in the new device.
The Following User Says Thank You to jlu For This Useful Post: | ||
![]() |
2009-11-27
, 08:53
|
Posts: 103 |
Thanked: 157 times |
Joined on Feb 2007
@ Jyväskylä, Finland
|
#26
|
I agree. The import facility could be used to import either fuelpad database or csv files. In case of a fuelpad database, the user needn't to specify anything (the columns etc.). The imported database would be merged with the "master" database file which would always be located in /home/user/.fuelpad/fuelpad.db. The export facility could export the database either as a csv file or as a fuelpad database (in its native sqlite3 format). How does that sound?
I think that changing the import/export functionality this much will have to be made into a new version (possibility of bugs and need for testing). For the current 0.82 version for Fremantle I'll have to think of a simple solution. The simplest would be removing the database open button. The old N810/N800 users could be then instructed to copy the database by hand to the right location. The new users needn't to know anything about the location of the database.
![]() |
2009-12-15
, 05:35
|
|
Posts: 75 |
Thanked: 82 times |
Joined on Feb 2008
@ Silicon Valley
|
#27
|
...For the current 0.82 version for Fremantle I'll have to think of a simple solution. The simplest would be removing the database open button. The old N810/N800 users could be then instructed to copy the database by hand to the right location. The new users needn't to know anything about the location of the database.
![]() |
2009-12-21
, 11:46
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#28
|
First of all and most importantly, thank you for sharing FuelPad with us!!!
Maybe I'm still missing something, but where is the "right location" to copy my large FuelPad DB from my N810 to on the N900. Can you also give me a hint where I can find the FuelPad SQLlite DB file? (I'm not seeing it in all the .* files in the home dir)
Or is an export from the N810 -> import into N900 the only way at this time?
Thank you!
The Following User Says Thank You to jlu For This Useful Post: | ||
![]() |
2009-12-21
, 11:53
|
Posts: 166 |
Thanked: 106 times |
Joined on Dec 2007
@ Finland
|
#29
|
The default location on Fremantle since package version 0.82-fremantle4 is /home/user. Before that and on Diablo the default database location was /home/user/MyDocs (which is the root directory seen in the file manager at least on Diablo)
gconftool-2 -g /apps/fuelpad/database
![]() |
2009-12-21
, 13:23
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#30
|
Sorry for taking this long to answer, I haven't lurked around here for a while.
The default location on Fremantle since package version 0.82-fremantle4 is /home/user. Before that and on Diablo the default database location was /home/user/MyDocs (which is the root directory seen in the file manager at least on Diablo).
Export from N810 and import into N900 is not suggested since you won't get information about your cars and drivers and you must export/import a car at a time.
The Following User Says Thank You to Saturn For This Useful Post: | ||