www.counterculturecoffee.com: coffee driven people, people driven coffee

Roasting Profiles Database - Page 2

Discuss roast levels and profiles for espresso, equipment for roasting coffee.

Link to "Roasting Profiles Database"by 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: 23
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany
www.espressoparts.com: espresso machines, grinders, brewing equipment & parts
www.espressoparts.com: espresso machines, grinders, brewing equipment & parts

Link to "Roasting Profiles Database"by 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.
Table:
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: 23
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by 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: 23
Joined: Dec 05, 2007
Location: San Antonio, TX (temporarily displaced from NC)

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by 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: 15
Joined: Aug 02, 2007
Location: Norway

Link to "Roasting Profiles Database"by 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: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by NebuK on Thu Jan 17, 2008 4:01 pm

Heho,

josh and me have just been able to build a working (although first testing so far ;P) version of roasterbase on osx.
You can grab the tarball with the .app on the homepage. Any testing is greatly appreciated.

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

Link to "Roasting Profiles Database"by DavidMLewis on Fri Jan 18, 2008 9:31 am

Hi Dario,

I grabbed the OS X version out of the Subversion repository. Unfortunately, when it tried to load the first library it failed. My machine is an older PowerPC Mac, and the Qt on the machine on which you did the build appears to be Intel rather than Universal. That's my guess, at least. Here's the message:

Table:
Traceback (most recent call last):
  File "/Users/david/roasterbase/trunk/main.app/Contents/Resources/__boot__.py", line 137, in <module>
    _run('main.py')
  File "/Users/david/roasterbase/trunk/main.app/Contents/Resources/__boot__.py", line 134, in _run
    execfile(path, globals(), globals())
  File "/Users/david/roasterbase/trunk/main.app/Contents/Resources/main.py", line 4, in <module>
    from PyQt4 import Qt
  File "PyQt4/Qt.pyc", line 18, in <module>
  File "PyQt4/Qt.pyc", line 11, in __load
ImportError: dlopen(/Users/david/roasterbase/trunk/main.app/Contents/Resources/lib/python2.5/lib-dynload/PyQt4/Qt.so, 2): no suitable image found.  Did find:
   /Users/david/roasterbase/trunk/main.app/Contents/Resources/lib/python2.5/lib-dynload/PyQt4/Qt.so: mach-o, but wrong architecture
2008-01-18 05:27:26.420 main[4528] main Error
2008-01-18 05:27:26.423 main[4528] main Error
An unexpected error has occurred during execution of the main script

Note the line near the bottom saying that Qt.so is mach-o format, but wrong architecture.

Best,
David
DavidMLewis
 
Posts: 212
Joined: May 08, 2005
Location: Santa Cruz, California

Link to "Roasting Profiles Database"by NebuK on Fri Jan 18, 2008 10:05 am

Hi,

the .app build seems to have 2 problems atm. One of them - which you ran into - is that our app is not a universal binary and built on PPC. I already mailed Josh asking whether he knows a decent way to build universals and included some hints i found on that. Just a bit patience :P.

The other problem is that the subversion metafiles seem to break the .app even on PPC(?). I was planning on getting rc1 (aka, all features there, database scheme *stable*) this weekend, so i will move the builds out of svn by that time.

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

Link to "Roasting Profiles Database"by DavidMLewis on Fri Jan 18, 2008 7:14 pm

NebuK wrote:the .app build seems to have 2 problems atm. One of them - which you ran into - is that our app is not a universal binary and built on PPC.

I am on PPC, so the problem lies elsewhere. I'm running a 10.4 system, though, so if Josh is running Leopard he may have a different version; I don't know.

Best,
David
DavidMLewis
 
Posts: 212
Joined: May 08, 2005
Location: Santa Cruz, California

Link to "Roasting Profiles Database"by NebuK on Sat Feb 16, 2008 12:02 pm

0.1-RC1 is finished, every feature in there should be working by
now. "Raw" Python files and a Windows Build are on the Website,
http://ghostdub.de/roasterBase

I'm looking forward to some more items for my ToDo-List for the
Program ;P.

Greetings
-Dario
NebuK
 
Posts: 30
Joined: Nov 25, 2007
Location: Germany
espresso machines at 1st-line.com
espresso machines at 1st-line.com

Link to "Roasting Profiles Database"by NebuK on Thu Mar 27, 2008 4:03 am

Hi,

meanwhile its RC-7 with many new features and major cleanups. Iw ould be happy to get some feedback from the Roasters on HB too ;P.

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

Link to "Roasting Profiles Database"by Abe Carmeli on Thu Mar 27, 2008 3:50 pm

I downloaded it, and it looks very nice. Is there any documentation how to use it?
Abe Carmeli
Abe Carmeli
 
Posts: 761
Joined: May 08, 2005
Location: New York, NY

Link to "Roasting Profiles Database"by NebuK on Thu Mar 27, 2008 3:52 pm

Sorry, not yet. I thought it wasnt necessary, but it has grown since i came up with that thought.

You're right, i should write some ;P. Maybe a "Screencast". Thanks for the pointer.
NebuK
 
Posts: 30
Joined: Nov 25, 2007
Location: Germany

Link to "Roasting Profiles Database"by NebuK on Tue Apr 01, 2008 9:16 am

Took a bit longer than expected, sorry. Had to add another feature first ;P.
Here's some preliminary docs...
http://ghostdub.de/roasterBase/doc

Hope it helps.
NebuK
 
Posts: 30
Joined: Nov 25, 2007
Location: Germany

Previous

Return to Home Roasting