[Stoq-devel] [Bug 3554] New: Erro ao tentar gerar uma lista dos objetos ServiceView

bugzilla-daemon at async.com.br bugzilla-daemon at async.com.br
Wed Sep 26 16:11:49 BRT 2007


http://bugs.async.com.br/show_bug.cgi?id=3554

           Summary: Erro ao tentar gerar uma lista dos objetos ServiceView
           Product: Stoqlib
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: (unset)
          Priority: (unset)
         Component: General
        AssignedTo: nobody at async.com.br
        ReportedBy: fabio at async.com.br
         QAContact: stoq-devel at async.com.br
            Blocks: 3437
   Estimated Hours: 0.0


Ao executar o comando list(ServiceView.select(connection=trans)) retorna o erro
abaixo:

Traceback (most recent call last):
  File
"/home/fabio/devel/test/stoqlib/stoqlib/reporting/tests/test_reporting.py",
line 133, in testServiceReport
    services = list(ServiceView.select(connection=self.trans))
  File "/home/fabio/devel/test/stoqlib/external/sqlobject/sresults.py", line
169, in __iter__
    return iter(list(self.lazyIter()))
  File "/home/fabio/devel/test/stoqlib/external/sqlobject/viewable.py", line
346, in lazyIter
    conn, conn.getConnection(), self, keepConnection=True)))
  File "/home/fabio/devel/test/stoqlib/external/sqlobject/viewable.py", line
325, in __init__
    self.dbconn._executeRetry(self.rawconn, self.cursor, self.query)
  File "/home/fabio/devel/test/stoqlib/external/sqlobject/dbconnection.py",
line 306, in _executeRetry
    return cursor.execute(query)
psycopg2.ProgrammingError: syntax error at or near "JOIN"
LINE 1: ...us, sellable_unit.description AS unit FROM  INNER JOIN servi...


-- 
Configure bugmail: http://bugs.async.com.br/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Stoq-devel mailing list