bugGNU Health - Bugs: bug #41299, Application Error when trying to...

 
 

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

bug #41299: Application Error when trying to print a prescription

Submitted by:  Selvakumar <vselva>
Submitted on:  Wed 22 Jan 2014 07:34:01 AM UTC  
 
Category: Demo environmentSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Luis Falcon <meanmicio>
Open/Closed: ClosedRelease: 2.3.0
Module: Prescriptions

Wed 22 Jan 2014 12:37:42 PM UTC, comment #3:

Fixed in changeset 1156:a80c571044d0

We'll update the demo server with the fix.

Please report back if you find any issues.

Best,

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 22 Jan 2014 12:09:34 PM UTC, comment #2:

The error arises when calling function for formatting the dates for start and end of the treatment.

<formatLang(lines.start_treatment.strftime('%Y-%m-%d'), user.language, date=True)>

We'll make the fix now and get back to you.

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 22 Jan 2014 11:55:50 AM UTC, comment #1:

Thanks for reporting !

I confirm the bug, and are working on the fix. More soon !

Best,

Luis Falcon <meanmicio>
Project AdministratorIn charge of this item.
Wed 22 Jan 2014 07:34:01 AM UTC, original submission:

I am testing GNU Health on demo server as following:
Server: health.gnusolidario.org:8000
Database: health24rc1
User name: admin
Password: gnusolidario

Tryton version: 3.0.2

When I tried to print the prescription I got the following Application Error:

Traceback (most recent call last):
File "tryton", line 5, in <module>
NameError: name '__file__' is not defined

Find the attached image for screen shot!

Selvakumar <vselva>

 

Attached Files
file #30335:  gnu-health-prescription-print-bug.jpg added by vselva (248KiB - image/jpeg - Screen Shots)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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
    Wed 22 Jan 2014 12:37:42 PM UTCmeanmicioStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 22 Jan 2014 11:55:50 AM UTCmeanmicioStatusNone=>Confirmed
      Assigned toNone=>meanmicio
      ReleaseNone=>2.3.0
    Wed 22 Jan 2014 07:34:01 AM UTCvselvaAttached File-=>Added gnu-health-prescription-print-bug.jpg, #30335

    Back to the top


    Powered by Savane 3.1-cleanup1