-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Open NC assistant, click on translate tab.
- Enter a simple sentence, e.g. "Das ist ein Fisch" (German for "This is a fish.")
- Click on "translate"
- Wait for the result
- Inspect the result
Expected behaviour
The result box should contain the translated phrase, here "This is a fish".
Actual behaviour
The result box contains the correct translation twice, here "This is a fish. This is a fish.".
Server configuration
Web server: Apache
Database: Maria
PHP version: 8.4
Nextcloud version: (see Nextcloud admin page)
NC V32, compiled from Git, i.e. the current stable32 branch.
List of activated apps
Enabled:
- activity: 5.0.0-dev.0
- announcementcenter: 7.2.2
- app_api: 32.0.0
- appointments: 2.6.1
- assistant: 2.9.0
- audioplayer: 3.6.0
- bav: 1.0.0-rc2
- cafevdb: 9.1.0
- cafevdbmembers: 0.0.3
- calendar: 6.0.2
- calendar_resource_management: 0.10.0
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- collectives: 3.2.1
- comments: 1.22.0
- contacts: 8.0.4
- contactsinteraction: 1.13.1
- context_chat: 5.0.0
- dashboard: 7.12.0
- dav: 1.34.2
- dokuwiki: 1.1.2
- emlviewer: 2.0.1
- event_update_notification: 2.7.0
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_archive: 1.2.8
- files_external: 1.24.0
- files_lock: 32.0.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.0
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- fileslibreofficeedit: 2.0.1
- forms: 5.2.2
- groupfolders: 20.1.2
- htmlviewer: 32.0.1
- ldap_write_support: 1.14.0
- libresign: 12.0.1
- logreader: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- mail: 5.5.11
- mail_roundcube: 1.2.2
- maps: 1.6.0
- notes: 4.12.3
- notifications: 5.0.0-dev.0
- notify_push: 1.2.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- pdf_downloader: 1.2.9
- photos: 5.0.0-dev.1
- polls: 8.5.0
- previewgenerator: 5.10.0
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recognize: 10.0.4
- recommendations: 5.0.0-dev.0
- redaxo: 1.0.2
- related_resources: 3.0.0-dev.0
- richdocuments: 9.0.1
- richdocumentscode: 25.4.504
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- suspicious_login: 10.0.0-dev.0
- systemtags: 1.22.0
- tasks: 0.17.0
- terms_of_service: 4.6.0
- text: 6.0.1
- theming: 2.7.0
- twofactor_admin: 4.8.0
- twofactor_backupcodes: 1.21.0
- twofactor_email: 2.8.2
- twofactor_gateway: 2.0.0
- twofactor_nextcloud_notification: 6.0.0-dev.0
- twofactor_totp: 14.0.0
- updatenotification: 1.22.0
- user_ldap: 1.23.0
- user_sql: 4.7.1
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- whiteboard: 1.3.0
- workflow_ocr: 1.32.0
- workflow_pdf_converter: 3.0.0
- workflowengine: 2.14.0
Disabled:
- admin_audit: 1.22.0 (installed 1.9.0)
- apporder: 0.15.0 (installed 0.15.0)
- eidlogin: 1.0.19 (installed 1.0.19)
- electronicsignatures: 3.0.5 (installed 3.0.5)
- encryption: 2.20.0
- end_to_end_encryption: 1.18.0 (installed 1.18.0)
- external: 7.0.0 (installed 6.0.2)
- files_automatedtagging: 3.0.0 (installed 3.0.0)
- files_markdown: 2.4.1 (installed 2.4.1)
- files_texteditor: 2.15.1 (installed 2.15.1)
- ldap_contacts_backend: 1.12.0 (installed 1.11.1)
- memories: 7.7.0 (installed 7.7.0)
- news: 25.0.0-alpha8 (installed 25.0.0-alpha6)
- scanner: 0.2.3 (installed 0.2.3)
- side_menu: 5.1.3 (installed 5.1.3)
- spreed: 22.0.0 (installed 22.0.0)
- testing: 1.22.0
- twofactor_u2f: 6.4.0-alpha.1 (installed 6.3.0)
Nextcloud configuration
{
"system": {
"default_timezone": "Europe\/Berlin",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"dev3.home.claus-justus-heine.de",
"localhost"
],
"allow_local_remote_servers": true,
"default_phone_region": "DE",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.1.1",
"overwrite.cli.url": "https:\/\/dev3.home.claus-justus-heine.de",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"query_log_file": "",
"installed": true,
"ldapIgnoreNamingRules": false,
"loglevel": 0,
"logfilemode": 432,
"theme": "",
"maintenance": false,
"debug": true,
"debug.enable-unsafe-eval": false,
"knowledgebaseenabled": true,
"knowledgebase.embedded": true,
"updater.release.channel": "stable",
"verbose_exceptions": true,
"session_lifetime": 300,
"user_backend_priorities": {
"LDAP": 1000,
"User SQL": 0,
"Database": -10
},
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"dbindex": 0
},
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.debug": false,
"files_no_background_scan": true,
"enabledPreviewProviders": [
"OC\\Preview\\Imaginary",
"OC\\Preview\\GIF",
"OC\\Preview\\Image",
"OC\\Preview\\JPEG",
"OC\\Preview\\Krita",
"OC\\Preview\\MP3",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\PDF",
"OC\\Preview\\PNG",
"OC\\Preview\\SVG",
"OC\\Preview\\TIFF",
"OC\\Preview\\TXT",
"OC\\Preview\\XBitmap",
"OC\\Preview\\HEIC",
"OC\\Preview\\Movie"
],
"app_install_overwrite": {
"0": "dokuwikiembedded",
"1": "roundcube",
"2": "keeporsweep",
"3": "bruteforcesettings",
"5": "gpgmailer",
"6": "cafevdb",
"7": "redaxo4embedded",
"8": "ocr",
"9": "appointments",
"10": "bav",
"11": "ownpad",
"12": "polls",
"13": "tasks",
"14": "user_sql",
"15": "ldap_contacts_backend",
"16": "forms",
"17": "files_external_ftp",
"18": "audioplayer",
"19": "apporder",
"20": "circles",
"21": "richdocumentscode",
"22": "twofactor_admin",
"23": "files_texteditor",
"24": "files_markdown",
"25": "event_update_notification",
"26": "emlviewer",
"27": "twofactor_email"
},
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtpauth": 1,
"mail_sendmailmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_allowed_recipients_regexp": "\/^.*@claus-justus-heine.de\/i",
"mail_disallowed_recipients_receiver": "admin+nc32-anaxagoras@claus-justus-heine.de",
"check_data_directory_permissions": true,
"check_app_dirs_with_different_owner": false,
"integrity.check.disabled": true,
"memories.db.triggers.fcu": true,
"memories.vod.path": "\/var\/www\/dev3\/htdocs\/nextcloud-git-32\/apps\/memories\/bin-ext\/go-vod-amd64",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"memories.vod.disable": false,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.vaapi": true,
"memories.gis_type": 1,
"memories.exiftool": "\/var\/www\/dev3\/htdocs\/nextcloud-git-32\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
"log_rotate_size": 8388608,
"forbidden_filename_basenames": [
"con",
"prn",
"aux",
"nul",
"com0",
"com1",
"com2",
"com3",
"com4",
"com5",
"com6",
"com7",
"com8",
"com9",
"com\u00b9",
"com\u00b2",
"com\u00b3",
"lpt0",
"lpt1",
"lpt2",
"lpt3",
"lpt4",
"lpt5",
"lpt6",
"lpt7",
"lpt8",
"lpt9",
"lpt\u00b9",
"lpt\u00b2",
"lpt\u00b3"
],
"forbidden_filename_characters": [
"<",
">",
":",
"\"",
"|",
"?",
"*",
"\\",
"\/"
],
"forbidden_filename_extensions": [
" ",
".",
".filepart",
".part"
]
}
}
from within your Nextcloud installation folder
Browser
Browser name: Firefox
Browser version: 144.0
Operating system: Gentoo Linux
Browser log
The browser log just shows that the request is submitted with a single phrase, i.e. there is a post to the OCS task-processing endpoint with workload
{"input":{"origin_language":"auto","target_language":"en","input":"Das ist ein Fisch."},"type":"core:text2text:translate","appId":"assistant","customId":""}
After a while there polling the task-processing endpoint return the correct result, but the translated text is duplicated, i.e.
{
"ocs": {
"meta": {
"status": "ok",
"statuscode": 200,
"message": "OK"
},
"data": {
"task": {
"id": 10,
"type": "core:text2text:translate",
"lastUpdated": 1761233542,
"status": "STATUS_SUCCESSFUL",
"userId": "claus",
"appId": "assistant",
"input": {
"origin_language": "auto",
"input": "Das ist ein Fisch.",
"target_language": "en"
},
"output": {
"output": "This is a fish. This is a fish."
},
"customId": "",
"completionExpectedAt": 1761233536,
"progress": 1,
"scheduledAt": 1761233536,
"startedAt": null,
"endedAt": 1761233542,
"allowCleanup": true
}
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working