bugGNU Health - Bugs: bug #36316, QR Code Module throwing error...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36316: QR Code Module throwing error after upgrading to 1.4.5

Submitted by:  Paras Jasani <parasj>
Submitted on:  Thu 26 Apr 2012 01:34:56 PM UTC  
 
Category: UpgradeSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Luis Falcon <meanmicio>
Open/Closed: ClosedRelease: 1.4.5
Module: QRCode

Thu 26 Apr 2012 02:10:22 PM UTC, comment #2:

Hi Paras

The qrcode library has changed since version 2.4 and GNU Health 1.4.5 works with qrcode library 2.3.1

You can do a: pip uninstall qrcode
And then: pip install qrcode==2.3.1

For the upcoming GNU Health 1.6 version, we will fix the bug, to make it work with the last qrcode version.

Regards

Sebastián Marró <smarro>
Thu 26 Apr 2012 01:40:58 PM UTC, comment #1:

Hi Paras

What is the qrcode library version that you are using ?

Bests

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Thu 26 Apr 2012 01:34:56 PM UTC, original submission:

QR Code Module throwing error after upgrading to 1.4.5

The following is the traceback

ERROR:common.message:Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 108, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 147, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 155, in dispatch
res = getattr(obj, method)(args_without_context, *kargs)
File "/trytond/model/modelsql.py", line 638, in read
res2 = self._columns[field].get(ids, self, field_list, values=res)
File "/trytond/model/fields/function.py", line 89, in get
res[name] = getattr(model, self.getter)(ids, name)
File "/trytond/modules/health_qrcodes/health_qrcodes.py", line 67, in make_qrcode
qr_image.save(holder, format='PNG')
TypeError: save() got an unexpected keyword argument 'format'

Paras Jasani <parasj>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by smarro (Posted a comment)
  • -unavailable- added by meanmicio (Posted a comment)
  • -unavailable- added by parasj (Submitted the item)
  • -unavailable- added by parasj
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 May 2012 08:19:20 PM UTCmeanmicioStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Thu 26 Apr 2012 01:40:58 PM UTCmeanmicioStatusNone=>Need Info
      Assigned toNone=>meanmicio
      ReleaseNone=>1.4.5
    Thu 26 Apr 2012 01:34:56 PM UTCparasjCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1