[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Julien Nabet changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Assignee|libreoffice-b...@lists.free |serval2...@yahoo.fr |desktop.org | CC||olivier.hallot@libreoffice. ||org --- Comment #6 from Julien Nabet --- Thank you for the feedback Racho! Olivier: I put you in cc of https://gerrit.libreoffice.org/c/help/+/159899 don't hesitate to comment if needed. (I put "C:\en-US.pot" or "C:\myFile.pot" to show it requires to put the path in addition to the filename) -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 --- Comment #5 from Racho --- Yes, you are right, thx! Then bug is no in code but in help :-). In this line of help: myPO.ExportToPOTFile("en-US.pot") should be: myPO.ExportToPOTFile("/path-to/en-US.pot") or something similar. Ok, I see now that is: FileSystem.FileNaming in description, but taking the example you are confused :-) Thank you very much and sorry for the false alarm r :-) -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Julien Nabet changed: What|Removed |Added Ever confirmed|1 |0 CC||j...@ledure.be Status|NEW |UNCONFIRMED --- Comment #4 from Julien Nabet --- I debugged it and I think you should just replace: myPO.ExportToPOTFile("myFile.pot", Header := "First line of the header\nSecond line of the header") by: myPO.ExportToPOTFile("c:\myFile.pot", Header := "First line of the header\nSecond line of the header") I mean, on Linux, when putting: myPO.ExportToPOTFile("/tmp/myFile.pot", Header := "First line of the header\nSecond line of the header") I got a myFile.pot in /tmp containing: # # This pristine POT file has been generated by LibreOffice/ScriptForge # Full documentation is available on https://help.libreoffice.org/ # # First line of the header # Second line of the header # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: https://bugs.libreoffice.org/enter_bug.cgi?product=LibreOffice_status=UNCONFIRMED=UI\n; "POT-Creation-Date: 2023-11-25 12:59:35\n" "PO-Revision-Date: -MM-DD HH:MM:SS\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: en_US\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: LibreOffice - ScriptForge\n" "X-Accelerator-Marker: ~\n" msgid "This is a string to be included in a POT file" msgstr "" msgctxt "CTX1" msgid "A string with a context" msgstr "" #. Do not translate the word String msgid "Provide a String value" msgstr "" so perhaps not a bug after all. Jean-Pierre: put you in cc if you got some opinion here. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Julien Nabet changed: What|Removed |Added OS|Windows (All) |All -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Julien Nabet changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #3 from Julien Nabet --- Thank you for the file, I could reproduce this. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Racho changed: What|Removed |Added CC||proj...@tongtang.pl --- Comment #2 from Racho --- Created attachment 191033 --> https://bugs.documentfoundation.org/attachment.cgi?id=191033=edit TestExportToPOTFile BASIC sub Error reproduction macro. -- You are receiving this mail because: You are the assignee for the bug.
[Libreoffice-bugs] [Bug 158364] Crash during the execution of BASIC macro with L10N procedures on ExportToPOTFile
https://bugs.documentfoundation.org/show_bug.cgi?id=158364 Julien Nabet changed: What|Removed |Added Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 CC||serval2...@yahoo.fr --- Comment #1 from Julien Nabet --- There are several snippets in the help page, could you attach a file with the macro so it would be quick to reproduce? -- You are receiving this mail because: You are the assignee for the bug.