| Summary: | Kile / Kate no syntax highlighting | ||
|---|---|---|---|
| Product: | TDE | Reporter: | hauke |
| Component: | tdelibs | Assignee: | Michele Calgaro <michele.calgaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, hauke, michele.calgaro, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2246 | ||
| Attachments: |
1st error message when I try to open a LaTeX file
2nd error message when I try to open a LaTeX file Simple LaTeX file |
||
|
Description
hauke
2015-06-09 07:40:32 CDT
I think the assignment to tdelibs was correctly. Hi, what do you mean exactly by "file with empty file name"? Could you also provide the file (or just a small section of it) to help troubleshooting the problem? Created attachment 2517 [details]
1st error message when I try to open a LaTeX file
Created attachment 2518 [details]
2nd error message when I try to open a LaTeX file
Created attachment 2519 [details]
Simple LaTeX file
Hi, there are these two error messages (2 PNG attachements). The first says "Error - Kate: could not be opened". I would assume that there should be the name of the file before the word "could", but there is none. So I think that the string variable, that should contain the file name is empty. After clicking on "Ok", the 2nd error message is shown "Information - Kate: There was an error opening the highlight description. This highlight mode is deactivated." For me I get the error with any LaTeX document. I've attached a simple LaTeX file that produces the error messages on my system. Thanks for your time :-) Hi, there are these two error messages (2 PNG attachements). The first says "Error - Kate: could not be opened". I would assume that there should be the name of the file before the word "could", but there is none. So I think that the string variable, that should contain the file name is empty. After clicking on "Ok", the 2nd error message is shown "Information - Kate: There was an error opening the highlight description. This highlight mode is deactivated." For me I get the error with any LaTeX document. I've attached a simple LaTeX file that produces the error messages on my system. Thanks for your time :-) I saved the simple.tex file and opened in Kate: all went well and the latex highlithing was selected. Then I tried to play around with the "no filename" thing since I am not sure of what it means. I tried hidden file style (.filename) and it was ok and tried " " (one blank character only, no quotes) as filename and again it was ok. So, I might need a little help here. What do you mean by "file without filename" and how do you create one from simple.tex? Hi, I attached two screenshots and translated them from German to English in my comment 7 & 8 (double post, sorry): The first says "Error - Kate: could not be opened". I would assume that there should be the name of the file before the word "could", but there is none. I found the messages of both screenshots in the file /opt/trinity/share/locale/de/LC_MESSAGES/katepart.mo. There is "%1 lÀsst sich nicht öffnen" (my translation: "could not be opened") in it. I think "%1" marks a placeholder, where the name of the file, that could not be opened should be inserted. For me the both error messages are shown, if i open the simple.tex and than simple.tex is opened in kate but without highlighting. Would it help, if I create a VirtualBox VM, upload it and post the link? > Would it help, if I create a VirtualBox VM, upload it and post the link?
Wow! if you are willing to make the effort, why not? It may help troubleshooting the problem since it looks like I can't reproduce it otherwise.
Hi, I've created a minimalistic VM based on Debian 8 with TDE packages from mirror.xcer.cz/trinity-sb and uploaded it: http://sourceforge.net/projects/dodger-tools/files/vms/Debian_8_TDE.ova/download Login with user/password: test/test. root password is "test" too. The VM uses static IP settings. On test's desktop is a link to kate. I've included a kate session that opens a simple LaTeX file which produces the error messages. Thank you :-) >I've created a minimalistic VM based on Debian 8 with TDE packages
Thank you very much, you have gone a long way to help us debugging the problem.
I have downloaded the VM, I will try to work on this next week.
Hi Hauke, I have spent some time on this bug lately. Would it be possible for you to create the same VM but for 64 bit systems instead of 32 bits? That would allow me to debug the problem is much more depth. Thanks. Hi Michele, I will build and upload an 64 bit VM, hopefully at the end of this week. Thank you for your work :-) Thanks, sorry for the extra work required - all my development environment is 64 bit ;-) Hi, I've uploaded a new 64 bit VM, that produces the same error: http://sourceforge.net/projects/dodger-tools/files/vms/Debian_8_TDE-64bit-LaTeX_error.ova/download Happy debugging :-) Thanks, downloading now ;-) Good news, thanks to the new VM I have been able to track down the bug and I can also reproduce it on my own local system. I need further analysis but most likely it is something that I introduced more than a year ago during one of the Kate syntax highlighting update. Fixed in commit 4e55a1c (master) and 1d878f2 (r14.0.x). Tested on my system and on the 64 bit VM provided by Hauke. |