ubuntuusers.de

Rezeptverwaltung (Kochrezepte)

Status: Gelöst | Ubuntu-Version: Ubuntu 22.04 (Jammy Jellyfish)
Antworten |

ujaudio

Anmeldungsdatum:
3. Dezember 2006

Beiträge: 681

Wohnort: Baden-Württemberg

Aktuell haben wir noch einen alten PC mit Ubuntu 18.04 und dort läuft Gourmet - solange bis der PC am Ende ist und das nähert sich nun. Auf nachfolgenden Versionen habe ich es nicht zum Laufen gebracht.

Bevor ich mich nun eingrabe möchte ich mal die hier vorhandenen Erkenntnisse erfahren. Was ich schon weiß:

  • RezeptSuite scheint eine gute Lösung zu sein (siehe https://forum.ubuntuusers.de/topic/howto-rezeptsuite-serverextension-fuer-headles/. Ob die Funktion für meine Frau und mich passt, muss ich ausprobieren. Es soll halt nur auf einem stand-alone Laptop laufen.

  • Tandori Recipes habe ich nur ganz kurz angeschaut, scheint wohl nur eine Client-Server-Lösung zu sein!? Dann müsste der Laptop eingeschaltet sein und mit einem Tablet kann man dann die Rezepte bekommen!? Die Installation muss wohl manuell in Ubuntu erfolgen https://docs.tandoor.dev/install/manual/.

  • LibreOffice Datenbank: ich bin zu doof einen Bericht zu erstellen (⇒ pdf-Datei). Weil ich daran scheitere, habe ich das nicht weiter verfolgt. Vor vielen Jahren hatte ich aber mächtig Spaß mit Datenbanken (damals mit MS-Access) trotzdem bleibt das noch eine Alternative, weil ich dann unabhängig von anderen bin.

Gibt es weitere Möglichkeiten / Ideen? Nach Weihnachten hätte ich irgendwie Lust das Thema anzugehen - ich muss mich nur entscheiden, wo ich mich eingrabe. Die größte Herausforderung wird sein, die >3.000 Rezepte aus Gourmet zu übertragen - nochmals abtippen geht nicht ☺

Danke für etwaige Tipps und Hinweise und eine schöne Zeit im restlichen Advent, ein frohes Fest und ein gutes neues Jahr.

Einen lieben Gruß Jürgen

dirkolus

Anmeldungsdatum:
17. Mai 2011

Beiträge: 2172

Wohnort: dahoam

Eine Art Zwischending wäre eine Sammlungs-Verwaltung (also Grafisches Programm mit Datenbank) mit Rezepten zu füttern. Ich verlinke mal ein paar Programme in Medienverwaltung, einige können mit eigenen Profilen ausgebaut werden (etwa Briefmarken, DVDs, Comics oder Musikalben), um eine bestimmte Art von Sammlung zu verwalten. Möglicherweise gibt es hier bereits auch Rezepte als Profil oder es lässt sich eins erstellen.

$0.02

Dirk

trollsportverein

Avatar von trollsportverein

Anmeldungsdatum:
21. Oktober 2010

Beiträge: 4660

Sogar auch für das Kinetic Kudu Release gibt es immer noch das gourmet Übergangspaket, welches dann gourmand installiert.

Auf einer frischen Installation sollte man sich das gourmet Übergangspaket sparen können, und gleich gourmand installieren können, im Terminal:

sudo apt-get install gourmand

Github Seite von Gourmand, mit größerem Screenshot und kurzer Programmbeschreibung als Fork von Gourmet:

Bencotto

Avatar von Bencotto

Anmeldungsdatum:
12. Januar 2018

Beiträge: 574

Wohnort: CH-6654 Cavigliano

ich habe RezeptSuite jetzt schon länger im Einsatz und bin eigentlich sehr zufrieden damit.

Zuvor hatte ich verschiedene andere, aber die haben mich alle nicht überzeugt. RezteptSuite ist ziemlich komplett und von der Bedienung her sehr übersichtlich und auch der Gesamtumfang, den ich gar nicht komplett nutze, ist für mich sehr umfangreich.

hakel2022

Anmeldungsdatum:
21. Februar 2022

Beiträge: 3051

In so einer Datenbank steckt ja oft sehr viel Arbeit, daher erscheint mir der Fork von Trollsportverein der richtige Weg.

Sonst könnte man eine VM mit 18.04 nutzen, wenn die neue Hardware da ist. Subforum "Kaufberatung"

Gourmet nutzt anscheinend SQLite. Da könnte man also die Daten extrahieren nach csv und dann nach Access oder Libre. In der Theorie ... ❗

Udalrich

Anmeldungsdatum:
15. Mai 2019

Beiträge: 533

Danke an alle Beteiligten für die guten Infos!

Frage: Wenn man mit dem alten, nicht mehr weiterentwickelten Programm „gourmet“ Rezepte einpflegt, kann man diese dann später mit dem neueren, aktiv entwickelten Fork „gourmand“ verlustlos übernehmen bzw. importieren?

Ich frage, weil bei unserem Familien-Raspberry-Pi mit aktuellem PiOS (Debian 11 Bullseye) nur das alte Paket „gourmet“ in den Apt-Quellen enthalten ist. Während in neuen Ubuntu-Versionen bereits das neuere Paket „gourmand“ enthalten ist, wie der Trollsportverein freundlicherweise erwähnt hat.

hakel2022

Anmeldungsdatum:
21. Februar 2022

Beiträge: 3051

Gourmet ist python2 (tot), gourmand (fork,Portierung) python3 - das ist vermutlich alles. Wäre sonst auch nicht sinnvoll. 🐸

Natürlich muß man damit rechnen, daß sich das irgendwann so weit auseinanderentwickelt, daß da eine Inkompatibilität entsteht. Also nicht zu lange mit der Migration warten!

Vielleicht sollte man im Wiki mal darauf hinweisen.

ujaudio

(Themenstarter)

Anmeldungsdatum:
3. Dezember 2006

Beiträge: 681

Wohnort: Baden-Württemberg

trollsportverein schrieb:

Sogar auch für das Kinetic Kudu Release gibt es immer noch das gourmet Übergangspaket, welches dann gourmand installiert.

Auf einer frischen Installation sollte man sich das gourmet Übergangspaket sparen können, und gleich gourmand installieren können, im Terminal:

sudo apt-get install gourmand

Github Seite von Gourmand, mit größerem Screenshot und kurzer Programmbeschreibung als Fork von Gourmet:

Danke für diesen Hinweis. Folgende Erfahrung habe ich damit gemacht:

  • Die Beschreibung für das Übergangspaket ist falsch (2x gourmet statt gourmand), was aber kein Problem war. Dennoch führt es am Ende zu einem Fehler.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
{{{
btnl@btnl-box:~$ sudo pip3 install gourmet-1.0.0-py3-none-any.whl
WARNING: Requirement 'gourmet-1.0.0-py3-none-any.whl' looks like a filename, but the file does not exist
Processing ./gourmet-1.0.0-py3-none-any.whl
ERROR: Could not install packages due to an OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/btnl/gourmet-1.0.0-py3-none-any.whl'

btnl@btnl-box:~$ sudo pip3 install gourmand-1.0.0-py3-none-any.whl
Processing ./gourmand-1.0.0-py3-none-any.whl
Collecting beautifulsoup4==4.9.3
  Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.8/115.8 KB 1.2 MB/s eta 0:00:00
Collecting lxml==4.6.3
  Downloading lxml-4.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 1.4 MB/s eta 0:00:00
Collecting sqlalchemy==1.3.22
  Downloading SQLAlchemy-1.3.22.tar.gz (6.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 1.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting pygobject==3.40.1
  Downloading PyGObject-3.40.1.tar.gz (714 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 714.9/714.9 KB 1.0 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: toml==0.10.2 in /usr/lib/python3/dist-packages (from gourmand==1.0.0) (0.10.2)
Requirement already satisfied: requests==2.25.1 in /usr/lib/python3/dist-packages (from gourmand==1.0.0) (2.25.1)
Collecting pillow==8.2.0
  Downloading Pillow-8.2.0.tar.gz (47.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.9/47.9 MB 1.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3/dist-packages (from beautifulsoup4==4.9.3->gourmand==1.0.0) (2.3.1)
Requirement already satisfied: pycairo>=1.16.0 in /usr/lib/python3/dist-packages (from pygobject==3.40.1->gourmand==1.0.0) (1.20.1)
Building wheels for collected packages: pillow, pygobject, sqlalchemy
  Building wheel for pillow (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
   exit code: 1
  ╰─> [175 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/BdfFontFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/_binary.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageChops.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageQt.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PaletteFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/Image.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageCms.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/__main__.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageTransform.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageDraw2.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PcfFontFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImagePalette.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageGrab.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/_version.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageMorph.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/CurImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageTk.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/FontFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/JpegPresets.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageStat.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageOps.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/BlpImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PdfParser.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageColor.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/TiffTags.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageSequence.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageFilter.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GimpGradientFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GifImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/_util.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/SunImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageWin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageFont.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageMode.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PngImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/TarIO.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/FliImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/WalImageFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ExifTags.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/_tkinter_finder.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/__init__.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/MicImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PSDraw.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ContainerIO.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/GdImageFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageFile.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageShow.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/features.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImagePath.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageEnhance.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageMath.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/PyAccess.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/MspImagePlugin.py -> build/lib.linux-x86_64-3.10/PIL
      copying src/PIL/ImageDraw.py -> build/lib.linux-x86_64-3.10/PIL
      running egg_info
      writing src/Pillow.egg-info/PKG-INFO
      writing dependency_links to src/Pillow.egg-info/dependency_links.txt
      writing top-level names to src/Pillow.egg-info/top_level.txt
      reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '*.c'
      warning: no files found matching '*.h'
      warning: no files found matching '*.sh'
      warning: no previously-included files found matching '.appveyor.yml'
      warning: no previously-included files found matching '.clang-format'
      warning: no previously-included files found matching '.coveragerc'
      warning: no previously-included files found matching '.editorconfig'
      warning: no previously-included files found matching '.readthedocs.yml'
      warning: no previously-included files found matching 'codecov.yml'
      warning: no previously-included files matching '.git*' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      no previously-included directories found matching '.ci'
      adding license file 'LICENSE'
      writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
      running build_ext
      
      
      The headers or library files could not be found for jpeg,
      a required dependency when compiling Pillow from source.
      
      Please see the install instructions at:
         https://pillow.readthedocs.io/en/latest/installation.html
      
      Traceback (most recent call last):
        File "/tmp/pip-install-c6fizwlo/pillow_3b862081df234197ae07f28de3e0c1b5/setup.py", line 976, in <module>
          setup(
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3.10/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "/usr/lib/python3.10/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "/usr/lib/python3/dist-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "/usr/lib/python3.10/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/tmp/pip-install-c6fizwlo/pillow_3b862081df234197ae07f28de3e0c1b5/setup.py", line 788, in build_extensions
          raise RequiredDependencyException(f)
      __main__.RequiredDependencyException: jpeg
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-c6fizwlo/pillow_3b862081df234197ae07f28de3e0c1b5/setup.py", line 1033, in <module>
          raise RequiredDependencyException(msg)
      __main__.RequiredDependencyException:
      
      The headers or library files could not be found for jpeg,
      a required dependency when compiling Pillow from source.
      
      Please see the install instructions at:
         https://pillow.readthedocs.io/en/latest/installation.html
      
      
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pillow
  Running setup.py clean for pillow
  Building wheel for pygobject (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pygobject (pyproject.toml) did not run successfully.
   exit code: 1
  ╰─> [42 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/pygtkcompat
      copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.10/pygtkcompat
      copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.10/pygtkcompat
      copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.10/pygtkcompat
      creating build/lib.linux-x86_64-3.10/gi
      copying gi/_option.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/module.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_constants.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/types.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/docstring.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/importer.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/__init__.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.10/gi
      copying gi/_error.py -> build/lib.linux-x86_64-3.10/gi
      creating build/lib.linux-x86_64-3.10/gi/repository
      copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.10/gi/repository
      creating build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.10/gi/overrides
      copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.10/gi/overrides
      running build_ext
      Package py3cairo was not found in the pkg-config search path.
      Perhaps you should add the directory containing `py3cairo.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'py3cairo' found
      Command '('pkg-config', '--print-errors', '--exists', 'py3cairo >= 1.16.0')' returned non-zero exit status 1.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pygobject
  Building wheel for sqlalchemy (setup.py) ... done
  Created wheel for sqlalchemy: filename=SQLAlchemy-1.3.22-cp310-cp310-linux_x86_64.whl size=1246898 sha256=bb7033c9cafb6bb9dce3f2d0e20f78ee9a1482204c4f567997927f6bf1f613de
  Stored in directory: /root/.cache/pip/wheels/37/f0/d7/9c7fd336b37c0b5a1d97ddaff84bbd765337353cfc8619f40b
Successfully built sqlalchemy
Failed to build pillow pygobject
ERROR: Could not build wheels for pygobject, which is required to install pyproject.toml-based projects
btnl@btnl-box:~$ 

* Versucht man dennoch gourmand zu starten funktioniert das erwartungsgemäß nicht.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
btnl@btnl-box:~$ gourmand
args = Namespace(db_url='', threads=False, gourmanddir='', thread_debug_interval=5.0, thread_debug=False, debug_file='', time=False, debug=None)
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/gourmand/plugins', '/usr/lib/python3/dist-packages/gourmand/plugins/import_export']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 300, in get_module
    self._loaded = __import__(self.module)
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/web_import_plugin/__init__.py", line 1, in <module>
    from . import generic_web_importer_plugin
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/web_import_plugin/generic_web_importer_plugin.py", line 6, in <module>
    from gourmand.plugins.import_export.website_import_plugins.state import \
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/__init__.py", line 1, in <module>
    from . import (about_dot_com_plugin, allrecipes_plugin,
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/allrecipes_plugin.py", line 3, in <module>
    from . import schema_org_parser
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/schema_org_parser.py", line 7, in <module>
    import scrape_schema_recipe
ModuleNotFoundError: No module named 'scrape_schema_recipe'
WARNING: Failed to load plugin web_import_plugin
ERROR:root:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 129, in load_active_plugins
    self.active_plugins.extend(self.available_plugin_sets[p].plugins)
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 312, in __getattr__
    return self.get_plugins()
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 320, in get_plugins
    return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
WARNING: Plugin module import failed
PATH: ['/usr/bin', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages', '/usr/lib/python3/dist-packages/gourmand/plugins', '/usr/lib/python3/dist-packages/gourmand/plugins/import_export']
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 300, in get_module
    self._loaded = __import__(self.module)
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/__init__.py", line 1, in <module>
    from . import (about_dot_com_plugin, allrecipes_plugin,
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/allrecipes_plugin.py", line 3, in <module>
    from . import schema_org_parser
  File "/usr/lib/python3/dist-packages/gourmand/plugins/import_export/website_import_plugins/schema_org_parser.py", line 7, in <module>
    import scrape_schema_recipe
ModuleNotFoundError: No module named 'scrape_schema_recipe'
WARNING: Failed to load plugin website_import_plugins
ERROR:root:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 129, in load_active_plugins
    self.active_plugins.extend(self.available_plugin_sets[p].plugins)
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 312, in __getattr__
    return self.get_plugins()
  File "/usr/lib/python3/dist-packages/gourmand/plugin_loader.py", line 320, in get_plugins
    return self.get_module().plugins
AttributeError: 'NoneType' object has no attribute 'plugins'
Plugin  copy_paste_plugin not found
First time? We're setting you up with yummy recipes.

(gourmand:7556): Gtk-WARNING **: 08:12:17.410: Unable to parse accelerator '<Strg>B' for action 'ItemToShoppingList'

(gourmand:7556): Gtk-WARNING **: 08:12:17.410: Unable to parse accelerator '<Strg>D' for action 'ItemToPantry'

(gourmand:7556): Gtk-WARNING **: 08:12:17.417: Unable to parse accelerator '<Strg>B' for action 'ItemToShoppingList'

(gourmand:7556): Gtk-WARNING **: 08:12:17.418: Unable to parse accelerator '<Strg>D' for action 'ItemToPantry'
DEBUG:   /usr/lib/python3/dist-packages/gourmand/Undo.py: 457 gui_update
DEBUG:   /usr/lib/python3/dist-packages/gourmand/Undo.py: 481 Nothing to undo, desensitizing widgets
DEBUG:   /usr/lib/python3/dist-packages/gourmand/Undo.py: 451 set_sensitive
DEBUG:   /usr/lib/python3/dist-packages/gourmand/Undo.py: 451 set_sensitive
DEBUG:   /usr/lib/python3/dist-packages/gourmand/Undo.py: 451 set_sensitive
btnl@btnl-box:~$ 

Aber 😉 Die Installation von gourmand mit

1
sudo apt-get install gourmand

funkioniert einwandfrei!

Ich kann auch die Rezepte von Gourmet (vom anderen PC) exportieren uind in Gourmand importieren. Einziges Manko: die duetsche Übersetzung ist nicht korrekt. Mal sehen, ob ich dazu etwas beitragen kann - habe ich noch nie gemacht...

Euch allen vielen Dank für die Hinweise. Nach Weihnachten bestelle ich den neuen Laptop, dann kommt Ubuntu drauf und dann schauen wir mal wie das so funktioniert.

VIelleicht auch einen Wiki-Beitrag hier für gourmand erstellen??!?

Für meine geliebte Ehefrau wäre damit alles gelöst, ich werde vielleicht noch RezeptSuite von @Bencotto ausprobieren (ich bin einfach neugierig 😉 )

tomtomtom Team-Icon

Supporter
Avatar von tomtomtom

Anmeldungsdatum:
22. August 2008

Beiträge: 55202

Wohnort: Berlin

Udalrich schrieb:

Ich frage, weil bei unserem Familien-Raspberry-Pi mit aktuellem PiOS (Debian 11 Bullseye) nur das alte Paket „gourmet“ in den Apt-Quellen enthalten ist. Während in neuen Ubuntu-Versionen bereits das neuere Paket „gourmand“ enthalten ist, wie der Trollsportverein freundlicherweise erwähnt hat.

gourmand ist ab testing in den Debian-Quellen, den Abhängigkeiten nach sollte das Paket auch in stable aka bullseye nutzbar sein.

# apt update
# wget http://ftp.de.debian.org/debian/pool/main/g/gourmand/gourmand_1.1.0+really1.0.0-2_all.deb
# apt install ./gourmand_1.1.0+really1.0.0-2_all.deb 

Udalrich

Anmeldungsdatum:
15. Mai 2019

Beiträge: 533

Herzlichen Dank, Tom³ !

Funktioniert sehr gut auf dem Pi und seinem Debian-Bullseye. Gourmand behebt somit auch auf dem Pi eine Menge Fehler, die im eingestellten Gourmet noch vorhanden waren.

ujaudio

(Themenstarter)

Anmeldungsdatum:
3. Dezember 2006

Beiträge: 681

Wohnort: Baden-Württemberg

Auf unserem neuen PC läuft Ubuntu 22.04 und Gourmand prinzipiell einwandfrei.

"Prinzipiell" weil das Programm noch ein paar kleine Fehlerchen hat, die aber nicht dem Ubuntu anzulasten sind.

Antworten |