uusDBHelper.py crashes in line 363, SQL syntax error.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Update Server |
Fix Released
|
High
|
Cameron Webb |
Bug Description
File "/home/
updateList = serv.getAvailab
File "/home/
dbResult = self.dbConn.
File "/home/
result = self.helper.
File "/home/
self.
File "/var/lib/
self.
File "/var/lib/
raise errorclass, errorvalue
ProgrammingError: (1064, 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'Common UNIX Printing System" and "CUPS" are trademarks of Easy\n Software Product\' at line 1')
Changed in luther-ubuntu-update-server: | |
status: | Fix Committed → Fix Released |
Random question:
what version of python are you running?
I can't recreate the problem. The main program just says "Loading..." over
and over a bunch.
On Mon, Nov 17, 2008 at 4:40 PM, Alex Stoppel <email address hidden> wrote:
> Public bug reported: alex/CS/ seniorproject/ devel/backend/ main.py" , line 6, in main leUpdates( ) alex/CS/ seniorproject/ devel/backend/ UbuntuUpdate. py", line 38, addPackage( package, self.machID) alex/CS/ seniorproject/ devel/database/ uusDBConnector. py", line addPackage( package) alex/CS/ seniorproject/ devel/database/ uusDBHelper. py", line execute( "insert into package %s values %s;"%(columns, python- support/ python2. 5/MySQLdb/ cursors. py", line 166, in er(self, exc, value) python- support/ python2. 5/MySQLdb/ connections. py", line 35, ubuntu- update- server /bugs.launchpad .net/bugs/ 299247 alex/CS/ seniorproject/ devel/backend/ main.py" , line 6, in main leUpdates( ) alex/CS/ seniorproject/ devel/backend/ UbuntuUpdate. py", line 38, addPackage( package, self.machID) alex/CS/ seniorproject/ devel/database/ uusDBConnector. py", line addPackage( package) alex/CS/ seniorproject/ devel/database/ uusDBHelper. py", line execute( "insert into package %s values %s;"%(columns, python- support/ python2. 5/MySQLdb/ cursors. py", line 166, in er(self, exc, value) python- support/ python2. 5/MySQLdb/ connections. py", line 35,
>
> File "/home/
> updateList = serv.getAvailab
> File "/home/
> in getAvailableUpdates
> dbResult = self.dbConn.
> File "/home/
> 31, in addPackage
> result = self.helper.
> File "/home/
> 363, in addPackage
> self.cursor.
> values))
> File "/var/lib/
> execute
> self.errorhandl
> File "/var/lib/
> in defaulterrorhandler
> raise errorclass, errorvalue
> ProgrammingError: (1064, 'You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to
> use near \'Common UNIX Printing System" and "CUPS" are trademarks of Easy\n
> Software Product\' at line 1')
>
> ** Affects: luther-
> Importance: Undecided
> Status: New
>
> --
> uusDBHelper.py crashes in line 363, SQL syntax error.
> https:/
> You received this bug notification because you are a member of Luther
> College Seniors, which is subscribed to Ubuntu Update Server.
>
> Status in Ubuntu Update Server: New
>
> Bug description:
> File "/home/
> updateList = serv.getAvailab
> File "/home/
> in getAvailableUpdates
> dbResult = self.dbConn.
> File "/home/
> 31, in addPackage
> result = self.helper.
> File "/home/
> 363, in addPackage
> self.cursor.
> values))
> File "/var/lib/
> execute
> self.errorhandl
> File "/var/lib/
> in defaulterrorhandler
> raise errorclass, errorvalue
> ProgrammingError: (1064, 'You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to
> use near \'Common UNIX Printing System" and "CUPS" are trademarks of Easy\n
> Software Product\' at line 1')
>