| The Following User Says Thank You to lardman For This Useful Post: | ||
|
|
2009-12-03
, 14:02
|
|
Posts: 13 |
Thanked: 6 times |
Joined on Nov 2009
|
#72
|
I'm looking forward to see Python in this application so I would be able to join this project.
|
|
2009-12-04
, 00:36
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#73
|
|
|
2009-12-04
, 02:09
|
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#74
|
Ok, so making progress, but currently debugging the "reading in and scanning a barcode from a file" bit, hang in there!
|
|
2009-12-04
, 09:43
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#75
|

|
|
2009-12-04
, 17:50
|
|
|
Posts: 251 |
Thanked: 131 times |
Joined on Oct 2009
@ USA
|
#76
|
Not exciting (other than for Diablo users as it doesn't segfault all the time now) as the features I've added aren't fully working yet. I would have waited until I'd got things fixed, but thought that the poor Diablo users, whom I've been neglecting, could do with some working code.

I've fixed/hacked away the Diablo segfault caused by the NULL DBus connection by checking if the connection is there before I try to send. Doh!
However I need to get to the bottom of why it's not working. It may well be because the .desktop file isn't working (on the N900 it is, and you can't start from the command line - I was surprised to see the debugging output from the N800 tbh).
). Now it reports:Just finished processing barcode DBus connection failed, debug this!
If anyone knows about .desktop files, please take a look at the Diablo one. It's the same as used for the Fremantle build, not sure if that's good or not.
I've altered the front page to have an "open file" button, but for some reason the gdk_pixbuf_new_from_file_at_scale() code is failing in a strange way. It returns NULL for the buffer, but the gerror object is also returned as NULL. Again, I need to work out what's wrong here and fix it, then we should have the ability to open a file and decode any barcodes therein. I might change the way these buttons are arranged (have them side by side) if it's annoying the way it is?

I've also added a single large text area rather than the 4 small ones before. I hope this larger area will make it easier to read data from 2D barcodes.
|
|
2009-12-05
, 06:46
|
|
Posts: 13 |
Thanked: 6 times |
Joined on Nov 2009
|
#77
|
|
|
2009-12-05
, 10:17
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#78
|
This is what happens when I rotate my N900 twice:
|
|
2009-12-05
, 10:18
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#79
|
The text bumps up against the camera area, and looks a bit strange to me. Would it be possible to shift it to the side somewhat?
|
|
2009-12-05
, 10:26
|
|
Posts: 108 |
Thanked: 180 times |
Joined on Sep 2009
|
#80
|
![]() |
| Tags |
| barcode, camera, mbarcode |
| Thread Tools | |
|
Will see if I can debug it over lunch.