thinkle / gourmet

Gourmet Recipe Manager
GNU General Public License v2.0
338 stars 140 forks source link

Editing categories #275

Open ockham opened 11 years ago

ockham commented 11 years ago

Converted from SourceForge issue 3152663, submitted by SourceForge user nobody on 2011-01-06 22:39:41 UTC.

Trying to edit multiple records in Categories, v 0.17.4 on Ubuntu 10.10

Opening Gourmet

yves@yves-desktop:/usr/share/doc/gourmet$ gourmet /usr/share/gourmet/gourmet/gtk_extras/mnemonic_manager.py:312: GtkWarning: Invalid input string widget.set_text_withmnemonic(txt[0:index] + '' + txt[index:])

Opening the Field editor and chosing "Source"

\ (gourmet:22495): WARNING **: expected enumeration type PangoWrapMode, but got GtkWrapMode instead /usr/share/gourmet/gourmet/plugins/field_editor/fieldEditor.py:27: RuntimeWarning: missing handler 'on_deleteValueButton_toggled' 'on_otherFieldCombo_changed':self.otherFieldComboChangedCB, Ignoring sqlalchemy problem Traceback (most recent call last): File "/usr/share/gourmet/gourmet/backends/db.py", line 224, in save self.db.commit() File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/threadlocal.py", line 78, in commit trans = self._connections.trans.pop(-1) IndexError: pop from empty list

Trying to delete 3 sources names

Traceback (most recent call last): File "/usr/share/gourmet/gourmet/plugins/field_editor/fieldEditor.py", line 160, in dialog_response_cb count = self.rd.fetch_len(table,*_criteria) File "/usr/share/gourmet/gourmet/backends/db.py", line 690, in fetch_len return table.count(_make_simple_select_arg(criteria,table)).execute().fetchone()[0] File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1217, in execute return e._execute_clauseelement(self, multiparams, params) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1722, in _execute_clauseelement return connection._execute_clauseelement(elem, multiparams, params) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1237, in _execute_clauseelement return self.__execute_context(context) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1268, in __execute_context context.parameters[0], context=context) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1367, in _cursor_execute context) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py", line 1360, in _cursor_execute context) File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/default.py", line 288, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.InterfaceError: (InterfaceError) Error binding parameter 0 - probably unsupported type. u'SELECT count(recipe.id) AS tbl_row_count \nFROM recipe \nWHERE recipe.source == ?' (('or', ['EASY ENTERTAINING with Michael Chiarello - (Show # MO-1A02) - from the TV FOOD NETWORK', 'EASY ENTERTAINING with Michael Chiarello - (Show # MO-1A03) - from the TV FOOD NETWORK', 'EASY ENTERTAINING with Michael Chiarello - (Show # MO-1A04) - from the TV FOOD NETWORK']),)

Closing the editor

IndexError: pop from empty list

Closing Gourmet

Ignoring sqlalchemy problem Traceback (most recent call last): File "/usr/share/gourmet/gourmet/backends/db.py", line 224, in save self.db.commit() File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/threadlocal.py", line 78, in commit trans = self._connections.trans.pop(-1) IndexError: pop from empty list

ockham commented 11 years ago

Submitted by SourceForge user nobody on 2011-01-06 22:41:22 UTC.

sorry, the version is 0.15.7