Griffith - media collection manager
May 21, 2012, 06:50:32 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please check ask.griffith.cc and wiki.griffith.cc before asking questions.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Suchfunktion macht Probleme unter Ubuntu 10.10  (Read 995 times)
Hestelo
Newbie
*
Offline Offline

Posts: 10


View Profile
« on: December 25, 2010, 07:28:11 AM »

Ich nutze Griffith schon etwas länger und bin eigentlich sehr zufrieden. Jetzt hab ich auf Ubuntu 10.10 upgedatet. Doch jetzt funktionieren die Suchfunktionen nicht mehr. Wenn ich also in das Suchfeld etwas eintrage, so bleibt das ohne Wirkung. Auch wenn ich vorgefertigte Suchmasken verwende und sie anwähle passiert nichts. Nur die Standards Verliehen und Ungesehen funktionieren. Ich habe Griffith 0.11 und Ubuntu 10.10 die Datenbank ist SQLite3.

Ich hoffe mir kann jemand helfen.
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #1 on: December 29, 2010, 03:49:02 PM »

Kannst Du bitte Griffith mit der Option --debug starten und die Debug-Ausgaben hier posten!?
Logged
Hestelo
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #2 on: January 03, 2011, 11:22:21 AM »

Ich hab das mal gemacht, ich hoffe es hilft.
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #3 on: January 03, 2011, 05:10:47 PM »

Ok, ich glaube, ich war nicht ganz eindeutig.  Cheesy

Also mit --debug starten und dann die Suchfunktion ausprobieren (damit sozusagen den Fehler reproduzieren) und dann die Debug-Ausgabe hier posten.
Du hast, glaube ich, nur Griffith gestartet und direkt danach die Ausgabe hier reingestellt. Zumindest steht zu wenig in der Datei drin.
Logged
Hestelo
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #4 on: January 04, 2011, 09:46:59 AM »

Gut, hier also was im Terminal steht und wieder der anhang der Textdatei.... nicht dass da nachher was fehlt Wink

peter@peter-desktop:~$ griffith --debug >debug_gr.txt
/usr/share/griffith/lib/db/tables.py:31: SADeprecationWarning: The Binary type has been renamed to LargeBinary.
  Column('data', Binary(1048576), nullable=False))
2011-01-04T09:43:15: DEBUG: Griffith(gconsole:86): Starting Griffith 0.11
2011-01-04T09:43:15: DEBUG: Griffith(gconsole:87): Platform: Linux-2.6.35-24-generic-x86_64-with-Ubuntu-10.10-maverick (posix)
2011-01-04T09:43:15: DEBUG: Griffith(gconsole:88): Dependencies:
2011-01-04T09:43:15: DEBUG: Griffith(griffith:1467): config file used: /home/peter/.griffith/griffith.cfg
2011-01-04T09:43:15: INFO: Griffith(initialize:102): Using Griffith directory: /home/peter/.griffith
/usr/share/griffith/lib/initialize.py:140: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  define_widgets(self, gtk.glade.XML(gf))
/usr/share/griffith/lib/widgets.py:364: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'] = gtk.Tooltips()
/usr/share/griffith/lib/widgets.py:365: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['epdf_reader'], _('Define here the PDF reader you want to use within Griffith. Popular choices are xpdf, gpdf, evince or kpdf. Make sure you have this program installed and working first.'))
/usr/share/griffith/lib/widgets.py:366: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['spell_lang'], _("Here you can define the desired language to use while spell checking some fields. Use you locale setting. For example, to use european portuguese spell checking enter 'pt'"))
/usr/share/griffith/lib/widgets.py:367: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['mail_smtp_server'], _("Use this entry to define the SMTP server you want to use to send e-mails. On *nix systems, 'localhost' should work. Alternatively, you can use your Internet Service Provider's SMTP server address."))
/usr/share/griffith/lib/widgets.py:368: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['mail_email'], _("This is the from e-mail address that should be used to all outgoing e-mail. You want to include your own e-mail address here probably."))
/usr/share/griffith/lib/widgets.py:369: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['mail_smtp_port'], _("Here you can define the smtp server port to use. If you want to use your gmail account service to send e-mails, try to enter '587' here. Default (and the most common one) is '25'"))
/usr/share/griffith/lib/widgets.py:370: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(self.widgets['preferences']['mail_use_tls'], _("If you need TLS support, please check this checkbox. This is needed, for example, when using gmail service to send your reminder e-mails."))
/usr/share/griffith/lib/plugins/extensions/__init__.py:70: DeprecationWarning: object.__new__() takes no parameters
  obj = object.__new__(class_, *args, **kwargs)
/usr/share/griffith/lib/initialize.py:537: DeprecationWarning:
  ext.toolbar_icon_widget = toolbar.insert_stock(module.toolbar_icon, module.description, None, ext._on_toolbar_icon_clicked, None, -1)
/usr/share/griffith/lib/main_treeview.py:152: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(w['region'], self._regions[0]) # N/A
2011-01-04T09:43:19: DEBUG: Griffith(sql:262): SELECT movies.number, movies.o_title, movies.title, movies.director, movies.poster_md5, movies.genre, movies.seen, movies.year, movies.runtime, movies.rating
FROM movies ORDER BY movies.number ASC
/usr/share/griffith/lib/main_treeview.py:145: DeprecationWarning: Use the new widget gtk.Tooltip
  self.widgets['tooltips'].set_tip(w['region'], self._regions[int(item['region'])])
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1129, in filter_txt
    quick_filter.change_filter(self)
  File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter
    self.populate_treeview(statement)
  File "/usr/bin/griffith", line 976, in populate_treeview
    main_treeview.populate(self, statement, where)
  File "/usr/share/griffith/lib/main_treeview.py", line 374, in populate
    if qf and not movies or isinstance(movies, Select): # if ".execute().fetchall()" not invoked on movies yet
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__
    raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1129, in filter_txt
    quick_filter.change_filter(self)
  File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter
    self.populate_treeview(statement)
  File "/usr/bin/griffith", line 976, in populate_treeview
    main_treeview.populate(self, statement, where)
  File "/usr/share/griffith/lib/main_treeview.py", line 374, in populate
    if qf and not movies or isinstance(movies, Select): # if ".execute().fetchall()" not invoked on movies yet
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__
    raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1129, in filter_txt
    quick_filter.change_filter(self)
  File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter
    self.populate_treeview(statement)
  File "/usr/bin/griffith", line 976, in populate_treeview
    main_treeview.populate(self, statement, where)
  File "/usr/share/griffith/lib/main_treeview.py", line 374, in populate
    if qf and not movies or isinstance(movies, Select): # if ".execute().fetchall()" not invoked on movies yet
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__
    raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1160, in filter_using_advfilter_rule
    quick_filter.change_filter(self)
  File "/usr/share/griffith/lib/quick_filter.py", line 46, in change_filter
    self.populate_treeview(statement)
  File "/usr/bin/griffith", line 976, in populate_treeview
    main_treeview.populate(self, statement, where)
  File "/usr/share/griffith/lib/main_treeview.py", line 374, in populate
    if qf and not movies or isinstance(movies, Select): # if ".execute().fetchall()" not invoked on movies yet
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/sql/expression.py", line 1296, in __nonzero__
    raise TypeError("Boolean value of this clause is not defined")
TypeError: Boolean value of this clause is not defined

Ich hoffe das es nun weiterhilft
Logged
mike
Global Moderator
Hero Member
*****
Offline Offline

Posts: 996


View Profile WWW
« Reply #5 on: January 04, 2011, 11:34:10 AM »

Jetzt hat es gereicht.  Smiley

Das Problem ist eine Inkompatibilität zwischen Griffith kleiner als Version 0.12 und SQLAlchemy >= 0.6.
Letzteres ist eine Bibliothek, welche von Griffith genutzt wird.

Folgende Varianten hast Du:
1. auf Version 0.12.1 wechseln
oder
2. die Anpassungen für SQLAlchemy 0.6 in Deiner 0.11er Installation von Griffith manuell nachziehen
(http://svn.berlios.de/wsvn/griffith/?op=revision&rev=1438&peg=1484)
oder
3. ein Downgrade von SQLAlchemy auf Version 0.5

Das Beste wäre ein Update auf Griffith 0.12.1. Eventuell mußt du das manuell durchführen oder es gibt irgendein "experimental/unstable" Repository von Ubuntu, in welchen die Version enthalten ist. Da kenne ich mich leider zu wenig mit Ubuntu aus.
Logged
Hestelo
Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #6 on: January 04, 2011, 01:54:31 PM »

OK,- Danke.
Update auf 0.12.1 war erfolgreich.

Da Du nicht weißt wie es geht, und sicherlich irgendwer mal hier rein schaut und auch so ein Problem hat hier die Installationsanweisung.

Einfach auf die Griffith Seite wechseln,- oder oben auf Griffith 0.12.1 verfügbar klicken.
Dann unter dem Eintrag Ubuntu die Datei griffith_0.12-1_all.deb anklicken, und mit dem Softwaremanager von Ubuntu öffnen. Danach auf installieren klicken und fertig.

Kleiner Tipp, immer vorher Datensicherung der Filmdatenbank machen. Hab ich zwar nicht gebraucht, aber man weiß ja nie, welche Überraschungen so ein Computer parat hält  Tongue
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!