View Single Post
Old 09-13-2016, 07:23 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,739
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
@roger64: The plugin assumes that a Desktop folder exists. If you've installed a French Arch Linux version the Desktop folder is most likely called Bureau, which most likely caused your problem.

If that's the case, please change the following line from:

Code:
        output_dir = os.path.join(expanduser('~'), 'Desktop')
to

Code:
        output_dir = os.path.join(expanduser('~'), 'Bureau')
or whatever the Desktop folder is called in the French Linux version.

Alternatively, you could also change the output folder in PrincePDF.json:

Code:
{
  "page_size": "A4",
  "style": true,
  "output_dir": "/home/roger/Bureau"
}
(The first two lines are optional. If you use them make sure to terminate them with a comma.)
Doitsu is offline   Reply With Quote