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:  Upgrade Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Luis Falcon <meanmicio>
Open/Closed:  Closed Release:  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.


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 ?


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
  • -email is unavailable- added by smarro (Posted a comment)
  • -email is unavailable- added by meanmicio (Posted a comment)
  • -email is unavailable- added by parasj (Submitted the item)
  • -email is unavailable- added by parasj

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

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-05-13 meanmicio StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2012-04-26 meanmicio StatusNone => Need Info
        Assigned toNone => meanmicio
        ReleaseNone => 1.4.5
    2012-04-26 parasj Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.7