Rezept-Export

Auf die Gefahr hin, dass ich mich wiederhole:

  1. Ich kann leider noch immer keine Rezepte exportieren. Was mache ich falsch???
    Mein Vorgehen: Klick auf entsprechende Kategorie - Klick auf zu exportierendes Rezept - mit Rechter Maustaste auf Kategoriename klicken - Exportieren Auswählen - Verzeichnis auswählen - “Auswählen” klicken.
    Dann schließt sich das Fenster, ohne jeglichen weiteren Kommentar, im ausgewälten Ordner ist aber keine cml-Datei zu finden.

  2. Ich bin mir nicht sicher, ob ich in dem Moment wirklich 1 einzelnes Rezept exportieren würde oder die komplette Kategorie.

  3. Müsste nach dem Klicken des “Auswählen”-Button nicht ein Fenster aufgehen in dem ich den Dateiname eingeben kann?

Bei mir mir funktioniert das. Es wird die komplette Kategorie exportiert.

Nach dem Klick auf “Exportieren” wählt man das Verzeichnis aus in das eine Export-Datei angelegt wird. Diese heisst heute z.B. “rezeptExport-08-09-2011_1.cml”. Den Namen der Datei kann man nicht angeben, dieser Name wird automatisch vergeben.

Wenn es nicht funktioniert, bitte die Datei rezeptSuite.log zumailen. Diese befindet sich im Verzeichnis “C:\Users\DeinBenutzername\RezeptSuite”.

Ein möglicher Grund warum keine Export-Datei angelegt wird. Wenn RezeptSuite als normaler Benutzer gestartet wird (das ist in der Regel immer der Fall), dann darf RezeptSuzite auf bestimmte Verzeichnisse nicht schreiben. Das ist z.B. das Verzeichnis c:\programme und alles was darunter liegt. Bitte also ein Verzeichnis auswählen, z.B. ein anderes Laufwerk oder die Verzeichnisse “Meine Dokumente”, “Meine Bilder” usw… Hier darf RezeptSuite die zu exportierende Datei speichern.

Ich werde es in der nächsten Version soweit abändern, das eine Fehlermeldung angezeigt wird.

Okay, habe als normaler Nutzer und auch als Administrator (Programm geöffnet über rechte Maustaste “Öffnen als Administrator”) in verschiedensten Verzeichnissen versucht etwas zu exportieren.

Leider ohne Erfolg. :frowning:

Es hat vor einer Woche seltsamerweise einmal funktioniert, keine Ahnung was ich da anders gemacht hatte. Auch der Export in den gleichen Ordner wie diese Datei funktioniert nicht.

Was jetzt? Der Export wäre einfach als zusätzliche Datensicherung extrem sinnvoll für mich.
Ein Einbau von Fehlermeldungen ist aber sicher schonmal sinnvoll, dan weiß man (hoffentlich) zumindest warum es nihct klappt.

Starte bitte RezeptSuite, mache den Export-Vorgang, drücke STRG+L. Es sollte sich ein Fenster öffnen. Bitte den Inhalt dieses Fensters hier reinkopieren. Danke.

22:08:41 ERROR - Exception in thread “AWT-EventQueue-0”
22:08:41 ERROR - java.lang.NullPointerException
22:08:41 ERROR - at iM.a(Unknown Source)
22:08:41 ERROR - at iM.a(Unknown Source)
22:08:41 ERROR - at C.b(Unknown Source)
22:08:41 ERROR - at cc.actionPerformed(Unknown Source)
22:08:41 ERROR - at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
22:08:41 ERROR - at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
22:08:41 ERROR - at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
22:08:41 ERROR - at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
22:08:41 ERROR - at javax.swing.AbstractButton.doClick(Unknown Source)
22:08:41 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
22:08:41 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
22:08:41 ERROR - at java.awt.Component.processMouseEvent(Unknown Source)
22:08:41 ERROR - at javax.swing.JComponent.processMouseEvent(Unknown Source)
22:08:41 ERROR - at java.awt.Component.processEvent(Unknown Source)
22:08:41 ERROR - at java.awt.Container.processEvent(Unknown Source)
22:08:41 ERROR - at java.awt.Component.dispatchEventImpl(Unknown Source)
22:08:41 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:08:41 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:08:41 ERROR - at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
22:08:41 ERROR - at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
22:08:41 ERROR - at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
22:08:41 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:08:41 ERROR - at java.awt.Window.dispatchEventImpl(Unknown Source)
22:08:41 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue.access$000(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:08:41 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:08:41 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:08:41 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:08:41 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:08:41 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:08:41 ERROR - at java.awt.EventQueue.dispatchEvent(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:08:41 ERROR - at java.awt.EventDispatchThread.run(Unknown Source)
22:09:45 ERROR - Exception in thread “AWT-EventQueue-0”
22:09:45 ERROR - java.lang.NullPointerException
22:09:45 ERROR - at iM.a(Unknown Source)
22:09:45 ERROR - at iM.a(Unknown Source)
22:09:45 ERROR - at C.b(Unknown Source)
22:09:45 ERROR - at cc.actionPerformed(Unknown Source)
22:09:45 ERROR - at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
22:09:45 ERROR - at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
22:09:45 ERROR - at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
22:09:45 ERROR - at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
22:09:45 ERROR - at javax.swing.AbstractButton.doClick(Unknown Source)
22:09:45 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
22:09:45 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
22:09:45 ERROR - at java.awt.Component.processMouseEvent(Unknown Source)
22:09:45 ERROR - at javax.swing.JComponent.processMouseEvent(Unknown Source)
22:09:45 ERROR - at java.awt.Component.processEvent(Unknown Source)
22:09:45 ERROR - at java.awt.Container.processEvent(Unknown Source)
22:09:45 ERROR - at java.awt.Component.dispatchEventImpl(Unknown Source)
22:09:45 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:09:45 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:09:45 ERROR - at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
22:09:45 ERROR - at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
22:09:45 ERROR - at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
22:09:45 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:09:45 ERROR - at java.awt.Window.dispatchEventImpl(Unknown Source)
22:09:45 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue.access$000(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:09:45 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:09:45 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:09:45 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:09:45 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:09:45 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:09:45 ERROR - at java.awt.EventQueue.dispatchEvent(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:09:45 ERROR - at java.awt.EventDispatchThread.run(Unknown Source)
22:21:47 ERROR - Exception in thread “AWT-EventQueue-0”
22:21:47 ERROR - java.lang.NullPointerException
22:21:47 ERROR - at iM.a(Unknown Source)
22:21:47 ERROR - at iM.a(Unknown Source)
22:21:47 ERROR - at C.b(Unknown Source)
22:21:47 ERROR - at cc.actionPerformed(Unknown Source)
22:21:47 ERROR - at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
22:21:47 ERROR - at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
22:21:47 ERROR - at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
22:21:47 ERROR - at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
22:21:47 ERROR - at javax.swing.AbstractButton.doClick(Unknown Source)
22:21:47 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
22:21:47 ERROR - at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
22:21:47 ERROR - at java.awt.Component.processMouseEvent(Unknown Source)
22:21:47 ERROR - at javax.swing.JComponent.processMouseEvent(Unknown Source)
22:21:47 ERROR - at java.awt.Component.processEvent(Unknown Source)
22:21:47 ERROR - at java.awt.Container.processEvent(Unknown Source)
22:21:47 ERROR - at java.awt.Component.dispatchEventImpl(Unknown Source)
22:21:47 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:21:47 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:21:47 ERROR - at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
22:21:47 ERROR - at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
22:21:47 ERROR - at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
22:21:47 ERROR - at java.awt.Container.dispatchEventImpl(Unknown Source)
22:21:47 ERROR - at java.awt.Window.dispatchEventImpl(Unknown Source)
22:21:47 ERROR - at java.awt.Component.dispatchEvent(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue.access$000(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
22:21:47 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:21:47 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:21:47 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue$2.run(Unknown Source)
22:21:47 ERROR - at java.security.AccessController.doPrivileged(Native Method)
22:21:47 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
22:21:47 ERROR - at java.awt.EventQueue.dispatchEvent(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
22:21:47 ERROR - at java.awt.EventDispatchThread.run(Unknown Source)

Nachdem dort so oft Java steht - ich habe Gestern (!!!) ein Java-Update durchgeführt.

Da ist eine Konstellation die ich nicht nachvollziehen kann. Könnte ich die Rezept-Datenbank haben? Gezippt per Mail?

Habe den Fehler vermutlich gefunden. Es ist vermutlich ein Rezept ohne Zubereitungsdauer oder Bewertung dabei. Da “schmiert” der Export ab. Werde versuchen über das Wochenende eine neue Version rauszubringen.

Aaaaaha! Klar - ich nutze die Möglichkeit Rezepte zu bewerten eigenlich so gut wie gar nicht. Dann habe ich vermutlich bei dem einmaligen Erfolg per Zufall eine Kategorie erwischt, in der nur bewertete Rezepte drin waren…

Okay, wenn ich die Bewertung einstelle, dann klappt der Export problemlos. Das Folgeproblem ist jetzt allerdings, dass ich diese Datei nicht mehr importieren kann. Auch nicht als Admin. (Habe einfach mal als Test eine Kategorie mit einem Rezept exportiert, gelöscht und anschließend wieder importiert.)

Er meldet mir nach dem Import Vorgang in einem Fesnter “0 Rezepte importiert”, obwohl ja 100% 1 Rezept in der vorher exportierten Kategorie vorhanden war.

Ich hänge gleich mal die aktuelle LOG (wieder über Strg+F erhalten) an:

08:17:04 ERROR - Exception in thread “AWT-EventQueue-0”
08:17:04 ERROR - java.lang.IndexOutOfBoundsException: Invalid index
08:17:04 ERROR - at javax.swing.DefaultRowSorter.convertRowIndexToModel(Unknown Source)
08:17:04 ERROR - at javax.swing.JTable.convertRowIndexToModel(Unknown Source)
08:17:04 ERROR - at javax.swing.JTable.getValueAt(Unknown Source)
08:17:04 ERROR - at javax.swing.JTable.prepareRenderer(Unknown Source)
08:17:04 ERROR - at org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3491)
08:17:04 ERROR - at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
08:17:04 ERROR - at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
08:17:04 ERROR - at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.plaf.ComponentUI.update(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintComponent(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JViewport.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at org.jdesktop.swingx.JXPanel.paint(JXPanel.java:383)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JLayeredPane.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintChildren(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paintToOffscreen(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.JComponent.paint(Unknown Source)
08:17:04 ERROR - at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
08:17:04 ERROR - at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
08:17:04 ERROR - at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
08:17:04 ERROR - at java.awt.Container.paint(Unknown Source)
08:17:04 ERROR - at java.awt.Window.paint(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
08:17:04 ERROR - at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
08:17:04 ERROR - at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
08:17:04 ERROR - at java.awt.event.InvocationEvent.dispatch(Unknown Source)
08:17:04 ERROR - at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
08:17:04 ERROR - at java.awt.EventQueue.access$000(Unknown Source)
08:17:04 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
08:17:04 ERROR - at java.awt.EventQueue$1.run(Unknown Source)
08:17:04 ERROR - at java.security.AccessController.doPrivileged(Native Method)
08:17:04 ERROR - at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
08:17:04 ERROR - at java.awt.EventQueue.dispatchEvent(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
08:17:04 ERROR - at java.awt.EventDispatchThread.run(Unknown Source)

Funktioniert es mit der aktuellen Version?

Ja, sieht derzeit gut aus. :slight_smile: Werd’s mal noch eine Weile beobachten… Aber ich bin zuversichtlich!
Danke!