← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

This bug is really old, I don't know if 5.0 and trunk have this bug

Cheers,

-- 
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: New

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])