I tried to extract the pot file from footnotes.module but I get the following error:


Warning: fwrite(): supplied argument is not a valid stream resource in
footnotes-5/potx.inc on line 569

I copied potx-cli.php and potx.inc to the footnotes directory (with I set as writeable), and accessed potx-cli.php with my browser (I don't know how to use php for the cli: my linux box doesn't seem to be setup for that).

The file general.pot seems to be properly generated, but I still get the error above.

Comments

gábor hojtsy’s picture

Status: Active » Fixed

Well, use potx module on the web interface, it is all so much easier :) I am not sure we left any support for a web interface anyway in potx-cli.php, it is named CLI after command line interface, so it is not to be called over the web. The previous extractor.php had a web mode, but now we have a fancy module which adds a menu item to the locale admin interface on the site, and you can export templates from there.

gábor hojtsy’s picture

Category: bug » support
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.