Coder Social home page Coder Social logo

carbudget's People

Contributors

condo4 avatar dcaliste avatar direc85 avatar eson57 avatar fferner avatar geobra avatar loisspitz avatar miska avatar thmichel avatar vasvlad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

carbudget's Issues

Publish updates to Jolla store

Hi. It has been a while now, and I haven't had any issues with most recent builds. Could you push the changes to Jolla store so others can benefit from them, too? Thanks!

more flexible unit handling

Hi,

here in the UK, distances and fuel consumption are usually expressed in imperial units (miles, and mpg), fuel is sold in SI units (litres). It would be nice if carbudget could provide an option for this.

At the moment, you can change the distance units in carbudget, but AFAICT this only affects the UI but not the numbers stored, i.e. changing it from km to miles doesn't change the data already added. It also, possibly more critically, then displays the consumption in l/100miles, which is not something anyone understands over here.

The old fuelpad on maemo seemed to handle this quite well, in the settings you could select how different units are displayed and it would convert what is displayed (and entered) on the fly. I believe the data was always stored in SI units and everything was converted when displayed/after entering the data. This made it very easy to compare your fuel consumption with others regardless what unit they are used to...

Ultimately it would be nice to be able to import my old fuelpad data into carbudget and have it take the conversion from km to miles into account automatically.

About importing data from MyCar

One question still about importing data from MyCar Android application to your application. This is not a rejection reason, but we need some further declaration. Is there a special file type that can/needs to be imported through this function? I was not able to find the option for importing MyCar data into your application, so could you shortly describe how to use this import function? It still remains unclear for us. After installing android support and some other android applications, the android_storage -option will appear to import list. Will MyCar-files appear to that location or how does that work?

Swedish translation

Hi,
I have Swedish translation ready for you, if you want it. I just want to test translation first, but I can't find where to place the file? Normally there should be a "Translations" directory at usr/share/app folder but there is none.

Cost type deleting issue

  1. Cost type deleting issue
    After creating some cost types, I tried deleting one, after deletion remorse time finished the type is still visible in the list and if you select it again the app crashes. The only way to not see it is to go to other page and come back to the the list.

The following is a minor issue you may want to fix, to make the app more useful.
Numbering in Fule type List section and Cost type List section, has an issue if you delete one item from the list and add a new one. For example, let say there are 3 items in the list as:

0: Not set
1: item1
2: item2
Lets delete 'item2' and add 'item_new'
Expected result:
0: Not set
1: item1
2: item_new

Actual result:
0: Not set
1: item1
3: item_new

Can't save edited cost without re-entering price

I am using a Finnish locale. The cost field says e.g. "15,50" when I add the cost, but when edited, it shows as "15.5" which isn't a valid decimal number in Finnish locale. The cost can't be saved until the price is manually edited to be correct.

Add export car feature

The possibility to import data about a car from other apps is very nice, but importing from the same app on another phone would be nice too. I guess what's missing is a way to export to a file that can be imported on the other way.

Local decimal separator issue

Hi,

In my country, the default decimal separator is the comma (,) while it is the dot (.) in english.

When I enter a value, the comma is accepted, as expected, but once saved the dot is displayed instead. It wouldn't be much of an issue if the dot wasn't kept in the the input field on edit, causing a field validation error.

Thank you again for your work!

Data loss

The types of 'stations' and 'fuel' types I enter in the current version of the app (0.10) in our Store, gets deleted after I update the app with the latest version (0.12). The loss of data is also inconsistent; which means sometimes all the stations and fuel types are gone after the update, and sometimes some of them gets deleted and some are still there.

I've experienced this behavior while testing your application against a device with SailfishOS version 1.1.6. To be more detailed, I used mostly long names for any of these entries; names with multiple words that have spaces between them.

This happened to me during normal usage of the app. I had created two different cost types and the type list was like:
0: Not set
1: typeX
2: typeY.

After a while, I went to add a new cost, but then my previously created cost types were lost: I saw only the option 0: Not set. And when I went to create new cost types, they were saved as 3: and 4:, but still those first two options weren't visible.

Delete Tires Trash Date

If once clicked on trash date in the tire menu, it must be set. Once set, the tire could not be fitted again, even if the trash date is in the future.

Is there a way to clear the trash date field?

date selection for charts pages broken

(you might know this already but as I've not seen this discussed elsewhere, I'll open this ticket).

When showing the charts for consumption, cost or oilprice the date range starts of with the first and last tanke and appears to allow the user to change the start/end date but I was not able at all to select any date in either of them. The only change I managed was setting the end date to the same as the start date.

I have had a look at the code but so far I've not been able to spot where this issue might be...

small language inconsistencies

While reviewing some of the German translation, I came across a few (minor) language inconsistencies/oddities...

I'm mainly recording this here and let you know that I'm planning to go over the ones I spot and fix them in the next few days. Unfortunately I guess that means more issues for translators to other languages but hopefully not too much... Hopefully most pull request will follow later today or tomorrow.

One example was the use of "description" vs "note" for what I believe is the same field for a tank entry in TankEntry.qml and TankEntryView.qml.

0: Not set

For every category (station, fuel and cost types) there is an option '0: Not set' which can be either 'Modified' or 'Removed' or neither of these options. Especially when managing 'Cost types': after modifying or removing the option and pressing 'Accept', the app will crash and get closed. You should check these situations for all of the categories.

Crash

I was able to crash your application in a way that the screen went almost black, not crashing or closed, but I was not able to use it any more. I was adding a new tank, I did not do anything special. This issue happened totally unexpectedly, so there are not any exact steps to reproduce, but I will add here the logs from that time, and you can go through them:

hein? 23 10:54:28 Jolla lipstick[844]: [W] DeclarativeWindow::_setAllowedOrientations:241 - Invalid allowedOrientations value: 0
hein? 23 10:54:29 Jolla kernel: SLIM_CL: skip reconfig sequence
hein? 23 10:54:29 Jolla kernel: SLIM_CL: skip reconfig sequence
hein? 23 10:54:32 Jolla [3732]: [W] QSqlDatabasePrivate::addDatabase:261 - QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
hein? 23 10:54:32 Jolla [3732]: [D] Car::db_init:72 - DB: "/home/nemo/.local/share/harbour-carbudget/harbour-carbudget/Testi222.cbg"
hein? 23 10:54:32 Jolla [3732]: [D] Car::Car:344 - Database version 4
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::nbtire:1291 - Find nbtire in database: 0
hein? 23 10:54:32 Jolla [3732]: [D] Car::nbtire:1295 - Default nbtire not set in database, set to 4
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::buyingprice:1332 - Find buyingprice in database: 0
hein? 23 10:54:32 Jolla [3732]: [D] Car::buyingprice:1336 - Buying price not set in database, set to 0
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::sellingprice:1372 - Find sellingprice in database: 0
hein? 23 10:54:32 Jolla [3732]: [D] Car::sellingprice:1376 - Selling price not set in database, set to 0
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::lifetime:1412 - Find lifetime in database: 0
hein? 23 10:54:32 Jolla [3732]: [D] Car::lifetime:1416 - Default lifetime not set in database, set to 0
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::distanceunity:1250 - Find distanceunity in database: ""
hein? 23 10:54:32 Jolla [3732]: [D] Car::distanceunity:1254 - Default distanceunity not set in database, set to Km
hein? 23 10:54:32 Jolla [3732]: [D] Car::budget_invest:727 - Invalid buying date
hein? 23 10:54:32 Jolla [3732]: [D] Car::budget_invest:729 - 0
hein? 23 10:54:32 Jolla [3732]: [W] QSqlQuery::value:416 - QSqlQuery::value: not positioned on a valid record
hein? 23 10:54:32 Jolla [3732]: [D] Car::currency:1209 - Find currency in database: ""
hein? 23 10:54:32 Jolla [3732]: [74B blob data]
hein? 23 10:54:32 Jolla kernel: harbour-carbudg: unhandled page fault (11) at 0x00000018, code 0x005
hein? 23 10:54:32 Jolla kernel: pgd = d6ec8000
hein? 23 10:54:32 Jolla kernel: [00000018] pgd=00000000
hein? 23 10:54:32 Jolla kernel: hein? 23 10:54:32 Jolla kernel: Pid: 3732, comm: harbour-carbudg
hein? 23 10:54:32 Jolla kernel: CPU: 0 Tainted: P W O (3.4.106.20150416.1 #1)
hein? 23 10:54:32 Jolla kernel: PC is at 0x4234e154
hein? 23 10:54:32 Jolla kernel: LR is at 0x4150e59f
hein? 23 10:54:32 Jolla kernel: pc : [<4234e154>] lr : [<4150e59f>] psr: 200f0010
sp : be9fb058 ip : 41578358 fp : 00000613
hein? 23 10:54:32 Jolla kernel: r10: 0000041e r9 : 40de29f0 r8 : 4e368008
hein? 23 10:54:32 Jolla kernel: r7 : 4e488c80 r6 : 4e488c80 r5 : 4e368100 r4 : 41576e50
hein? 23 10:54:32 Jolla kernel: r3 : 00000018 r2 : 4e2b5ce0 r1 : 4e368100 r0 : 4e368100
hein? 23 10:54:32 Jolla kernel: Flags: nzCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
hein? 23 10:54:32 Jolla kernel: Control: 10c5787d Table: 970c806a DAC: 00000015
hein? 23 10:54:32 Jolla kernel: from
hein? 23 10:54:32 Jolla kernel: from
hein? 23 10:54:32 Jolla kernel: from
hein? 23 10:54:32 Jolla kernel: from
hein? 23 10:54:32 Jolla kernel: Exception stack(0xdd26dfb0 to 0xdd26dff8)
hein? 23 10:54:32 Jolla kernel: dfa0: 4e368100 4e368100 4e2b5ce0 00000018
hein? 23 10:54:32 Jolla kernel: dfc0: 41576e50 4e368100 4e488c80 4e488c80 4e368008 40de29f0 0000041e 00000613
hein? 23 10:54:32 Jolla kernel: dfe0: 41578358 be9fb058 4150e59f 4234e154 200f0010 ffffffff
hein? 23 10:54:32 Jolla kernel: harbour-carbudg(3732) send signal 11 to harbour-carbudg(3732)
hein? 23 10:54:32 Jolla mapplauncherd[1005]: Boosted process (pid=3732) was terminated due to signal 11
hein? 23 10:54:32 Jolla invoker[3980]: error: Can't send signal 11 to application [3732]: No such process
hein? 23 10:54:32 Jolla kernel: booster-silica-(1005) send signal 11 to invoker(3980)
hein? 23 10:54:32 Jolla kernel: invoker(3980) send signal 11 to invoker(3980)
hein? 23 10:55:22 Jolla lipstick[844]: [W] unknown:22 - file:///usr/share/lipstick-jolla-home-qt5/compositor/GlassBackground.qml:22:5: QML Image: Cannot open: file:image:/theme/graphic-wallpaper-application
hein? 23 10:55:22 Jolla lipstick[844]: [W] unknown:293 - file:///usr/share/lipstick-jolla-home-qt5/switcher/Switcher.qml:293:35: Unable to assign [undefined] to QQmlComponent

Allow expense untied to odometer

Hi,

It would be great if we could add an expense without tying it to the odometer, e.g. insurance or paytoll subscription.

Thank you for your work!

Missing aarch64 (and i486) builds

Hi,

There is no aarch64 build available in OpenRepos. I compiled it for me and it works without modifications so it should be a simple recompile.

If you are not willing to maintain the application any more, I can continue providing new builds both in Jolla Store and OpenRepos.

Thanks!

Crash When import a new car

  1. Importing xml file issue

Here is the steps to reproduce:

  1. Launch CarBudget app
  2. From pully menu select 'Import car'
  3. then 'Select import File' at this point the app exits.
    Here is what the log says when the above crash happens:

Sep 24 12:41:28 Jolla [2132]: [D] CarManager::getEnv:471 - Find environment value for "HOME" : /home/nemo
Sep 24 12:41:29 Jolla kernel: harbour-carbudg: unhandled page fault (11) at 0xbeb0dff8, code 0x817
Sep 24 12:41:29 Jolla kernel: pgd = d4124000
Sep 24 12:41:29 Jolla kernel: [beb0dff8] pgd=85c51831, *pte=00000000, *ppte=00000000
Sep 24 12:41:29 Jolla kernel: Sep 24 12:41:29 Jolla kernel: Pid: 2132, comm: harbour-carbudg
Sep 24 12:41:29 Jolla kernel: CPU: 0 Tainted: P W O (3.4.106.20150416.1 #1)
Sep 24 12:41:29 Jolla kernel: PC is at 0x42602c0a
Sep 24 12:41:29 Jolla kernel: LR is at 0x426046ed
Sep 24 12:41:29 Jolla kernel: pc : [<42602c0a>] lr : [<426046ed>] psr: 00000030
sp : beb0dfe8 ip : 4217f700 fp : beb0e10c
Sep 24 12:41:29 Jolla kernel: r10: 00000028 r9 : 49f23098 r8 : 00000010
Sep 24 12:41:29 Jolla kernel: r7 : 00000002 r6 : 426a9000 r5 : 0000000c r4 : 426a94f4
Sep 24 12:41:29 Jolla kernel: r3 : 00000000 r2 : 00000001 r1 : 00000028 r0 : 426a94f4
Sep 24 12:41:29 Jolla kernel: Flags: nzcv IRQs on FIQs on Mode USER_32 ISA Thumb Segment user
Sep 24 12:41:29 Jolla kernel: Control: 10c5787d Table: 9432406a DAC: 00000015
Sep 24 12:41:29 Jolla kernel: from
Sep 24 12:41:29 Jolla kernel: from
Sep 24 12:41:29 Jolla kernel: from
Sep 24 12:41:29 Jolla kernel: from
Sep 24 12:41:29 Jolla kernel: Exception stack(0xd41cbfb0 to 0xd41cbff8)
Sep 24 12:41:29 Jolla kernel: bfa0: 426a94f4 00000028 00000001 00000000
Sep 24 12:41:29 Jolla kernel: bfc0: 426a94f4 0000000c 426a9000 00000002 00000010 49f23098 00000028 beb0e10c
Sep 24 12:41:29 Jolla kernel: bfe0: 4217f700 beb0dfe8 426046ed 42602c0a 00000030 ffffffff
Sep 24 12:41:29 Jolla kernel: harbour-carbudg(2132) send signal 11 to harbour-carbudg(2132)
Sep 24 12:41:29 Jolla lipstick[996]: [W] QQuickShaderEffectCommon::updateMaterial:428 - ShaderEffect: Property 'source' is not assigned a valid texture provider (QQuickItem
).
Sep 24 12:41:29 Jolla mapplauncherd[1160]: Boosted process (pid=2132) was terminated due to signal 11
Sep 24 12:41:29 Jolla invoker[2679]: error: Can't send signal 11 to application [2132]: No such process
Sep 24 12:41:29 Jolla kernel: booster-silica-(1160) send signal 11 to invoker(2679)
Sep 24 12:41:29 Jolla kernel: invoker(2679) send signal 11 to invoker(2679)

It seems the folder that you have assigned to get the xml file is --> /home/nemo, but for some reason the app crashes while looking for the folder. I have installed Mycar app, created an xml file and placed that file under /home/nemo. Still the app crashed.
Please also note that we are testing the app in freshly installed device. The case might be so that you have the xml file in your development device and didn't notice this issue. Please also add instruction if a user needs to put the xml file to a certain location.

comsumption and last = 0

Hi :)

Add a new car, then add 2 tanks:
1-
odo 150000
quantity 20
price 30
full tank: no

2-
odo 150100
quantity 20
price 25
full tank: no

Now restart the app and you'll see:
Consumption: 0.00l/100Km
Last: 0.00l/100Km

something is wrong: consumption and last should not be zero.

then in budget, you'll see:
Costs per 100Km
fuel 25€
I think it should be 30€, the cost of the first tank, because we have not consumed the fuel of the second tank... however, the most important bug is comsumption and last = 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.