← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 376434] Re: print app to run with extension manager doesn't work

 

Eduard,

I am closing the bug for now.
We would like to know your inputs again if you face any bug relevant to this.

Thank you for your time.

** Changed in: openobject-client
       Status: New => Invalid

-- 
print app to run with extension manager doesn't work
https://bugs.launchpad.net/bugs/376434
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Invalid

Bug description:
If you define a new extension for some format it doesn't work.

The bug shows up when calling subprocess.Popen() at line 160 in printer.py

Now cmd is a string, and subprocess call is subprocess.Popen(cmd). In Python documentation of subprocess, cmd must be a list when arguments are passed to the executable.

It can be solved doing subprocess.Popen([cmd, filename])