www.paradiseroasters.com: passion for coffees of distinction and quality

Roasting Profiles Database - Page 3

Postby jrfuda on Tue Jan 08, 2008 7:07 am

On Revision 73 (according to SVN).

Good:
- Like the options to set interval, time format and temperature units!

Bad:
- "Save" is gone from the menu; is it no longer required?
- Cannot delete profiles
- When I hit "submit" nothing is recorded; end up with empty graphs/tables
User avatar
jrfuda
 
Posts: 25
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Postby NebuK on Tue Jan 08, 2008 7:24 am

Save was not needed from the beginning, the design is "stateless", every change you make gets directly reflected to the database.

but the thing with deleting and submitting is really strange - i just tried, it works for me perfectly. i have no unsubmitted data. the windows version under wine also works as expected.

the problem is probably, that - since i made a change to the database mode to add notes to "marks" - that your databasefile got invalidated. you could try and delete data.db (hope you dont have productive data yet, the tool isnt ready for productive use :P) so the database gets recreated from scratch.
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

Postby jrfuda on Tue Jan 08, 2008 7:59 am

I've just been testing, so deleting the db is not a big deal.

I deleted it and it worked fine, the problems stated earlier went away.

One thing of note, if you place an initial temp value in the graph & hit submit before you start the timer (giving a "0" time and room temp readings for a baseline) the graph will not display after the profile is recorded. This is because there is no time value entered. If you manually edit the data after you're done recording the profile and place "0" in the time value for the initial reading, then the graph is fine.

I also made a "roaster base" icon in PhotoShop. Here's a "blown-up" version:

Image

and here's the icon file

I recorded the output from python below. Every thing's working fine now, but there are a lot of error statements, don't know if they'll help you with debugging. For brevity's sake, I deleted multiple lines of the same error.
replacing
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 397, in setPlotData
IndexError: list index out of range
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 397, in setPlotData
IndexError: list index out of range
Traceback (most recent call last):
  File "main.py", line 593, in on_submitBtn_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "main.py", line 593, in on_submitBtn_clicked
  File "main.py", line 369, in setPlotData
Traceback (most recent call last):
  File "models.pyc", line 292, in data
TypeError: argument 1 of QVariant() has an invalid type
Traceback (most recent call last):
  File "models.pyc", line 292, in data
Traceback (most recent call last):
  File "main.py", line 466, in on_editButton_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "models.pyc", line 292, in data
TypeError: argument 1 of QVariant() has an invalid type
Traceback (most recent call last):
  File "main.py", line 466, in on_editButton_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 397, in setPlotData
IndexError: list index out of range
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 369, in setPlotData
IndexError: list index out of range
Traceback (most recent call last):
  File "main.py", line 352, in on_profileTable_clicked
  File "main.py", line 369, in setPlotData
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
Traceback (most recent call last):
  File "models.pyc", line 292, in data
TypeError: argument 1 of QVariant() has an invalid type
User avatar
jrfuda
 
Posts: 25
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Postby NebuK on Tue Jan 08, 2008 10:15 am

Heho,

the graph problem should be fixed by now.

thanks a bunch for the icon, it looks great!

as for the errors, they're uncritical and if they're not too disturbing i'm going to fix them at a later point when all the critical bugs are fixed and features are added - they're only cosmetical and signs of not-too-nice-programming-style :P (like, trying to load all the beans of a blend into the table but there arent any yet, so it throws a error - and similar).
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

Postby NebuK on Tue Jan 08, 2008 11:50 am

beans, blends and profiles are now sortable and adding/deleting marks in the edit dialog works ;P.

just those damned icons and notes ...
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

Postby jrfuda on Wed Jan 09, 2008 6:25 am

Nebuk,

I'm going to be on the road for the next 2-3 weeks so my testing time and ability to download new builds wil be severely constrained. Hopefully someone else will hop in and help with testing. After my 2-3 week hiatus, I'll have access to my roaster and can start recording some real profiles!

Thanks again for developing this. I'll stop in and check progress when I can over the next 3 weeks.
User avatar
jrfuda
 
Posts: 25
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Postby NebuK on Wed Jan 09, 2008 6:55 am

Heyho,

its not you who has to say thanks, its me. You tested my software through and gave me good tipps, thanks for that alot! I hope you will have fun "on the road", whatever you are doing :P.

Till then

- Dario
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

Postby NebuK on Sat Jan 12, 2008 7:29 pm

added a very basic "stock" management, do you think it is sufficent? if no, how would you like it to be?

greetings
- Dario
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

Postby Dieter01 on Mon Jan 14, 2008 2:59 pm

This sounds like an excellent tool! I would love to contribute but this is all way beyond my skills!

Great logo too! Perhaps flipping the BASE letters would be a good idea though?
User avatar
Dieter01
 
Posts: 173
Joined: Aug 02, 2007
Location: Norway

Postby NebuK on Tue Jan 15, 2008 1:53 pm

heho,

just put a small 'website' together at:
http://ghostdub.de/roasterBase

maybe its helpful ...

Greetings
- Dario
NebuK
 
Posts: 32
Joined: Nov 25, 2007
Location: Germany

PreviousNext

Return to Home Roasting