Hi,
New to Cudatext and have it running happily on Debian and Windows. There is however a problem with the terminal plugin when running it under Wine.
The following error is displayed in the console
Init: cuda_terminal
Init: cudatext
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 973, in _bootstrap_inner
File "D:\cudatext\py\cuda_terminal\__init__.py", line 89, in run
pp1 = self.Cmd.p.stdout.tell()
OSError: [Errno 22] Invalid argument
Anyone able to assist.
Thanks
Terminal plugin wont start correctly in wine
-
- Posts: 2533
- Joined: 25.08.2021 18:15
Re: Terminal plugin wont start correctly in wine
I repeated the error on Terminal and Terminal_Plus plugins. On Ubuntu 22.04 with default Wine.
On 3rd plugin, ExTerminal, I got new error messagebox:
>Plugin does not support Windows older than 10.
It may mean that python-API used by plugin is OK only under Win10 or newer, not under current Wine.
so, try to avoid Wine.
On 3rd plugin, ExTerminal, I got new error messagebox:
>Plugin does not support Windows older than 10.
It may mean that python-API used by plugin is OK only under Win10 or newer, not under current Wine.
so, try to avoid Wine.
-
- Posts: 4
- Joined: 17.06.2025 04:35
Re: Terminal plugin wont start correctly in wine
Thanks for the quick response Alexey.
Is there any chance that installing any of the older python packages might help. If so how would you do that.
and on another topic, I've been setting up a lexer for my language and have not been able to find any documentation as to the the numeric values of the token types. (especially in relation to code folding - they look like binary values ie. 256,512,1024 etc)
and another.. Cudtext takes about 5 seconds to close on my Debian system. During that time my entire system is unresponsive. Any clues ??
Thanks in advance Alexey
and.... What is it about these 2 statements that means the code tree will be populated...
item
DisplayName = 'BeginSub'
StyleName = 'fmt-Aqua'
Expression = '(?i)(?<=begin.sub ).*$'
ColumnFrom = 0
ColumnTo = 0
end>
BlockRules = <
item
DisplayName = 'label'
ConditionList = <
item
TokenTypes = 1
end>
HighlightPos = cpAny
NoEndRule = True
IgnoreAsParent = False
end
Is there any chance that installing any of the older python packages might help. If so how would you do that.
and on another topic, I've been setting up a lexer for my language and have not been able to find any documentation as to the the numeric values of the token types. (especially in relation to code folding - they look like binary values ie. 256,512,1024 etc)
and another.. Cudtext takes about 5 seconds to close on my Debian system. During that time my entire system is unresponsive. Any clues ??
Thanks in advance Alexey
and.... What is it about these 2 statements that means the code tree will be populated...
item
DisplayName = 'BeginSub'
StyleName = 'fmt-Aqua'
Expression = '(?i)(?<=begin.sub ).*$'
ColumnFrom = 0
ColumnTo = 0
end>
BlockRules = <
item
DisplayName = 'label'
ConditionList = <
item
TokenTypes = 1
end>
HighlightPos = cpAny
NoEndRule = True
IgnoreAsParent = False
end
-
- Posts: 2533
- Joined: 25.08.2021 18:15
Re: Terminal plugin wont start correctly in wine
>Is there any chance that installing any of the older python packages might help.
No, it will not help. what may help is reworking (a little) of Terminal code, to replace process.tell() with some similar operators. AI suggested this to me. I won't do it, but others may try.
No, it will not help. what may help is reworking (a little) of Terminal code, to replace process.tell() with some similar operators. AI suggested this to me. I won't do it, but others may try.
-
- Posts: 2533
- Joined: 25.08.2021 18:15
Re: Terminal plugin wont start correctly in wine
>and on another topic, I've been setting up a lexer for my language and have not been able to find any documentation as to the the numeric values of the token types. (especially in relation to code folding - they look like binary values ie. 256,512,1024 etc)
I don't understand. what 'token types'? did you look into all of my OpenOffice files at
https://github.com/Alexey-T/CudaText/tr ... /tutorials
?
if you did, show a screenshot (SynWrite lexer editor dlg) with red underlines of 'token types'.
pls create a new forum topic in 'Lexers' part.
I don't understand. what 'token types'? did you look into all of my OpenOffice files at
https://github.com/Alexey-T/CudaText/tr ... /tutorials
?
if you did, show a screenshot (SynWrite lexer editor dlg) with red underlines of 'token types'.
pls create a new forum topic in 'Lexers' part.
Last edited by main Alexey on 18.06.2025 07:08, edited 1 time in total.
-
- Posts: 2533
- Joined: 25.08.2021 18:15
Re: Terminal plugin wont start correctly in wine
>>Cudtext takes about 5 seconds to close on my Debian system. During that time my entire system is unresponsive.
I know about pause-issues on START, but not on CLOSE.
wiki info:
https://wiki.freepascal.org/CudaText
51.15 Unix: Program takes 25 seconds to start
51.16 Unix: Program takes 60 seconds to start
maybe wiki info can help with 'your pause'?
if not, try to deinstall plugins one by one, who is the culprit?
>>What is it about these 2 statements that means the code tree will be populated...
Pls elaborate. Make a new topic in 'lexers' part.
I know about pause-issues on START, but not on CLOSE.
wiki info:
https://wiki.freepascal.org/CudaText
51.15 Unix: Program takes 25 seconds to start
51.16 Unix: Program takes 60 seconds to start
maybe wiki info can help with 'your pause'?
if not, try to deinstall plugins one by one, who is the culprit?
>>What is it about these 2 statements that means the code tree will be populated...
Pls elaborate. Make a new topic in 'lexers' part.