Giter Club home page Giter Club logo

gourmet's People

Contributors

agsimmons avatar ahrendsen avatar cydanil avatar eginhard avatar fbobraga avatar friedrichfroebel avatar gnarlyquack avatar googlymog avatar holocronweaver avatar jraber avatar kelvinhammond avatar kirienko avatar kratz00 avatar lamecarlate avatar lyra2108 avatar maweki avatar miska avatar mrshark avatar nbeaver avatar ockham avatar ozarkshepherd avatar pando85 avatar pounamu avatar rebeccaloran avatar sappjw avatar saxon-s avatar takluyver avatar thinkle avatar vollkorn1982 avatar wummel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gourmet's Issues

Cannot add new receipe in Fedora 14

Converted from SourceForge issue 3124276, submitted by SourceForge user jraber on 2010-12-01 06:00:32 UTC.

Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=657780

According to the documentation in /usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py (Line: ~2296), 'lastrowid' is probably not what we want here. The attached patch replaces the references to 'lastrowid' with 'inserted_primary_key[0]'. I do not know how this patch might affect installations using sqlalchemy < 0.6.0

Mastercook plaintext Importer Fix

Converted from SourceForge issue 3104708, submitted by SourceForge user sauliusl on 2010-11-07 17:18:32 UTC.

The current MasterCook importer misses first line of ingredients due to two issues:

  1. self.dash_matcher skips the underline line before the ingredients thus the columns are not parsed properly.
  2. The ingredient column parser detects a failure to parse columns from dash lines and tries to parse them from ingredients, but skips the first line.

The patch fixes the issues by moving the dash_matcher check after the check for the ingredient columns.
So it now acts as a check whether to skip the line or parse the ingredients. It also correctly skips the dashed line in the very end of file.

Tested with http://fp.enter.net/~rburk/fruit/strawberries/strawberries2/pudding.txt

[PATCH]Cannot add to shopping list from the main screen

Converted from SourceForge issue 3135758, submitted by SourceForge user jraber on 2010-12-12 09:08:52 UTC.

Steps to reproduce:
Open gourmet. Select a recipe. Right Click. Choose Add to Shopping List.

Result:
Nothing happens. The text below appears in the terminal.

Traceback (most recent call last):
File "/home/jeff/grecipe-manager/src/foo/gourmet/GourmetRecipeManager.py", line 800, in shop_recs
d=shopgui.getOptionalIngDic(self.rd.get_ings(r),mult,self.prefs,self)
AttributeError: 'module' object has no attribute 'getOptionalIngDic'

Updated POTFILES.in

Converted from SourceForge issue 2858483, submitted by SourceForge user prokoudine on 2009-09-14 09:50:36 UTC.

The POTFILES.in files inside i18n is way too old. Here is an updated version.

However, if that doesn't fix everything.

  1. Data from gourmet.desktop.in doesn't go in.
  2. all src/lib/plugins/*.gourmet-plugin translatable content isn't localizable
  3. All tabs captions (Preferences, Plugin manager) don't show up as translated
  4. "_Search for" and "Search _Results" are always in English, all search options too
  5. "%s recipes" is in English and probably not plural forms aware
  6. Not translatable:

src/lib/plugins/import_export/pdf_plugin/pdf_exporter.py: label='PDF Options',

src/lib/plugins/import_export/archive_plugin/zip_importer_plugin.py: name = 'Archive (zip, tarball.)'

Fix for chopping text in recipeDetailsWindow

Converted from SourceForge issue 1541735, submitted by SourceForge user hathawsh on 2006-08-17 04:25:28 UTC.

My wife loves Gourmet. It's the best recipe program
she has used yet.

She's been bugged by a recipe card display problem,
however. The text in the left pane usually gets cut
off slightly on the right edge. Apparently, the
viewport is a little too wide.

I dug in and discovered that if I change the constant
in flow_my_text_on_allocate() from 0.75 to 0.5, the
problem disappears. Old line:

widg_width = int(xsize * 0.75)

New line:

widg_width = int(xsize * 0.5)

I hope you will include this change in the next
release. Keep up the good work!

can not add more pictures

Converted from SourceForge issue 3252867, submitted by SourceForge user abhijitnavale on 2011-03-28 14:56:22 UTC.

When i import recipe from any webpage i can only add 'one' photo from the website.
But in real i need to add more than one photo from the webpage to my recipe.
Reason - take example of fish recipe - now i need two photos.
one for how original fish look when i go to market to buy it
and second photo or more photos to show the decoration, or to show the cooking process step by step graphically.
I am using Ubuntu 10.04 - 64 bit and gourmet 0.15.3-0ubuntu2

Allow weeks and months as units of time measure

Converted from SourceForge issue 3200327, submitted by SourceForge user xelkarin on 2011-03-05 08:38:14 UTC.

I experiment a lot with fermentation and I've been using gourmet to organize my recipes. These recipes require time measurements extending to weeks and months. I've been calculating by day so far, but allowing preparation time to be entered as 4 weeks or 8 months would be a great shortcut. A week would of course be equivalent to 7 days. A month would work fine as 30 days (it doesn't have to be calendar exact).

things to add

Converted from SourceForge issue 3486671, submitted by SourceForge user purplesongs on 2012-02-10 23:56:27 UTC.

  1. Equipment section in recipe card
  2. let you permanently add choices to the pull down menus - you can type anything you want but it doesn't keep it in the list
  3. Create cookbooks - Divide and save recipes into cookbooks: would make organization and searches easier

html export with microdata or microformats support

Converted from SourceForge issue 3565626, submitted by SourceForge user no. 3480783 on 2012-09-07 17:10:03 UTC.

I would love two things:

  1. html export with a rich snippets (microdata, microformats, and RDFa) tagging (better if we can choose between standards)
  2. html should not have any formatting, CSS could be used instead.
    Once the html export tagging is implemented, css formatting would be very easy, sort of skinnable.
    I'm not able to develop such export plugin feature, but I could contribute writiung CSS to create such skins (screen/ipade/print ready).
    It would be also be great for the export plugin to be able to create an index page to linking to all the axported recipes, when exporting many.
    References:
    http://microformats.org/wiki/hrecipe
    http://schema.org/Recipe
    I would be glad to contribute, but I'm not a programmer.

Home server database

Converted from SourceForge issue 3396654, submitted by SourceForge user nobody on 2011-08-22 22:37:16 UTC.

In my home I keep an inventory system in my pantry and a touch screen in my kitchen both connected to a server. It would be nice to have both access the same recipe database on the server. Gourmet would be installed on all systems but only access one recipe database on the server. Adding a recipe on one system would be accessed by all. Also I would be able to generate shopping list from any system and later access, update or print from any of the other systems.

display font size

Converted from SourceForge issue 3392013, submitted by SourceForge user link886 on 2011-08-15 15:20:00 UTC.

hi ! thanks for your soft !
we could have a possibility to change the font size on the screen, to use the computer in the kitchen. For example, do a "full screen" for the recipe card, with large font size, to see from few meters.

thanks !

Provide support for recipes expressed in baker's percent

Converted from SourceForge issue 3479921, submitted by SourceForge user aabya on 2012-01-26 03:16:24 UTC.

Some recipes are more accurately expressed using weight rather than volume measurements. In particular, those using flour, brown sugar, raisins etc where the ingredients may be more or less densely packed. An even more useful expression for bread recipes in particular is baker's percent where flour is 100% and the other ingredients are expressed relative to flour. For example, a recipe for French bread might be expressed as 100% all purpose flour, 65% water, 2 % salt, and 1% yeast. Given the weight of one ingredient or the total desired weight of the dough, it is easy to calculate the weights of the ingredients. Scaling a recipe becomes trivial.

Support for Allrecipes.com

Converted from SourceForge issue 3547750, submitted by SourceForge user edgimar on 2012-07-24 00:13:54 UTC.

When trying to import a recipe from allrecipes.com, one get's a lot of messages like "This page requires that scripting be enabled in your browser to function properly." in the scraped text. Pasting the same URL into a browser on a different computer works just fine. So, maybe this is a limitation of the scraping library being used for importing the content of the URLs? Maybe a library like Beautiful Soup (http://www.crummy.com/software/BeautifulSoup ) would be better suited for this than urllib?

Import hashlib instead of md5

Converted from SourceForge issue 2744580, submitted by SourceForge user arkarin on 2009-04-08 15:52:30 UTC.

When starting Gourmet with Python2.6 you get a message, that you should use hashlib instead of md5.
So I did my first little fix.
Now src/lib/gtk_extras/thumbnails.py trys to use haslib and if it is not possible(if the Python version is < 2.6) it uses md5.
I hope this will help a little bit :)

arkarin

Plural Handling Fix

Converted from SourceForge issue 3420657, submitted by SourceForge user nanokatz on 2011-10-08 20:57:27 UTC.

Just a quick patch to fix a bug in default.py.
The function for converting a plural to a singular unit had two issues.
a) WORD_TO_SING_PLUR_PAIR keys are lowercase but the word being handed to the function could be in any case
b) if the word is not in WORD_TO_SING_PLUR_PAIR it does nothing, this patch tries lang.guess_singulars before giving up.

Update to Food Network importer, recipeMerger.py issue

Converted from SourceForge issue 1895297, submitted by SourceForge user psgraham on 2008-02-17 08:05:04 UTC.

To start off with, I just wanted to say I really like Gourmet and it's features. My wife frequently uses the Web for recipes and I am quite interested in using Gourmet for grabbing recipes off the Web for her.

I have the latest released code 0.13.7 and tried to update the Food Network importer. Since it is the first time I've looked at Gourmet's code, the updates are probably not perfect, but they are a start. I tried it out with a few recipes, but I noticed the rules didn't catch all of the instructions from the following recipe due to the "p" tags embedded in the "span":

http://www.foodnetwork.com/food/recipes/recipe/0%2c1977%2cFOOD_9936_34245%2c00.html

In any case, it seems to be an improvement over the existing 0.13.7 code.

Also, I noticed what I think is a bug in "recipeMerger.py". My guess is this has already been fixed, but, just in case, I thought I would mention it. Basically, when an import succeeds and there are no duplicates found, the "show_if_there_are_dups" method of "RecipeMergerDialog" calls "self.destroy()" which, as far as I can tell, doesn't exist. I changed this to just call "self.close()" instead, not having a better obvious option.

To apply the patches to the 0.13.7 code base, change to the "gourmet-0.13.7" directory and then apply the patch using "patch -p1 < (path to patch)/patch-gourmet-0.13.7-pg.patch". Let me know if you have problems.

Hope the info is helpful. BTW, what is the best way to submit things like this in the future? I couldn't send the patch to the devel mailing list for some reason.

Regards,

Paul

Locale fixes for Windows

Converted from SourceForge issue 1791256, submitted by SourceForge user enfant_terrible on 2007-09-09 22:00:09 UTC.

The attached patch fixes locale issues with Windows that arise from Windows' different locale names (e.g. German_Austria instead of de_AT) by translating the current (user) language settings to the latter kind using functions from os, win32api and locale. This applies to both the defaults_*.py files as well as the gettext-based translations; for the latter, the patch also fixes file location inconsistencies (under Windows, most scripts are currently looking for the mo files in DATADIR/i18n, while setup.py actually creates DATADIR and i18n as subfolders of a common parent). Also, as gettext is selecting the language it translates to via the LANGUAGE, LC_ALL, LC_LANG etc and LANG environment variables (in this order), LC_ALL is set to the OS's language settings. (Purely setting it manually from a shell before starting gourmet did in fact not work while testing under Vista.)

(Patch against current CVS.)

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.