ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: new upload/issue with t-vim?
       [not found] <mailman.0.1628416801.4772.ntg-context@ntg.nl>
@ 2021-08-08 11:13 ` Benjamin Buchmuller via ntg-context
  2021-08-08 12:31   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Buchmuller via ntg-context @ 2021-08-08 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Benjamin Buchmuller

I'm not sure if it's related to this latest:

ConTeXt  ver: 2021.08.07 22:53 LMTX  fmt: 2021.8.8  int: english/english

or a previous one, but with this one:

ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english

My document compiled fine.

When I use the t-vim module (freshly installed again from the garden; but I also tried to replace some files from the GitHub, but not sure if I did it right …), I now get an error when I do something like

\usemodule[vim]

\definevimtyping[vimR]

\typevimRfile{path_to_file.R} % specifically: {../sourcecodes/myfile.R}

--

lua error > lua error on line 2 in file virtual://block.sourcecode.7:

token call, execute: ...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: bad argument #1 to '?' (string expected, got nil)
stack traceback:
	[C]: in ?
	(...tail calls...)
	...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: in function 'io.loaddata'
	...onTeXt/tex/texmf-context/tex/context/base/mkiv/l-md5.lua:91: in upvalue 'checksum'
	...eXt/tex/texmf-context/tex/context/base/mkiv/grph-fil.lua:97: in field 'run'
	[ctxlua]:1: in main chunk
<empty file>

--

Any clues? For the moment, I switched back to the older version as I have to get some work finished, which is why I can't dig deeper at the moment. If a MWE would help, I'll try to make one later this week.

Thanks


Benjamin
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: new upload/issue with t-vim?
  2021-08-08 11:13 ` new upload/issue with t-vim? Benjamin Buchmuller via ntg-context
@ 2021-08-08 12:31   ` Hans Hagen via ntg-context
  2021-08-08 21:53     ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-08 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Benjamin Buchmuller

On 8/8/2021 1:13 PM, Benjamin Buchmuller via ntg-context wrote:
> I'm not sure if it's related to this latest:
> 
> ConTeXt  ver: 2021.08.07 22:53 LMTX  fmt: 2021.8.8  int: english/english
> 
> or a previous one, but with this one:
> 
> ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english
> 
> My document compiled fine.
> 
> When I use the t-vim module (freshly installed again from the garden; but I also tried to replace some files from the GitHub, but not sure if I did it right …), I now get an error when I do something like
> 
> \usemodule[vim]
> 
> \definevimtyping[vimR]
> 
> \typevimRfile{path_to_file.R} % specifically: {../sourcecodes/myfile.R}
> 
> --
> 
> lua error > lua error on line 2 in file virtual://block.sourcecode.7:
> 
> token call, execute: ...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: bad argument #1 to '?' (string expected, got nil)
i'll check it, i cleaned up some code but didn't realize that it was 
used in a module

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: new upload/issue with t-vim?
  2021-08-08 12:31   ` Hans Hagen via ntg-context
@ 2021-08-08 21:53     ` Aditya Mahajan via ntg-context
  2021-08-08 23:16       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan via ntg-context @ 2021-08-08 21:53 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Aditya Mahajan, Benjamin Buchmuller

[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]

On Sun, 8 Aug 2021, Hans Hagen via ntg-context wrote:

> On 8/8/2021 1:13 PM, Benjamin Buchmuller via ntg-context wrote:
> > I'm not sure if it's related to this latest:
> > 
> > ConTeXt  ver: 2021.08.07 22:53 LMTX  fmt: 2021.8.8  int: english/english
> > 
> > or a previous one, but with this one:
> > 
> > ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english
> > 
> > My document compiled fine.
> > 
> > When I use the t-vim module (freshly installed again from the garden; but I
> also tried to replace some files from the GitHub, but not sure if I did it
> right …), I now get an error when I do something like
> > 
> > \usemodule[vim]
> > 
> > \definevimtyping[vimR]
> > 
> > \typevimRfile{path_to_file.R} % specifically: {../sourcecodes/myfile.R}
> > 
> > --
> > 
> > lua error > lua error on line 2 in file virtual://block.sourcecode.7:
> > 
> > token call, execute:
> ...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: bad argument
> #1 to '?' (string expected, got nil)
> i'll check it, i cleaned up some code but didn't realize that it was 
> used in a module

This was also reported on t-vim's github page: https://github.com/adityam/filter/pull/48.

I basically use jobs.file.run to cache the results and I can easily write a module specific version of that, if needed. I'll look at it in a day or two (away from a stable internet connection until then).

Aditya

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: new upload/issue with t-vim?
  2021-08-08 21:53     ` Aditya Mahajan via ntg-context
@ 2021-08-08 23:16       ` Hans Hagen via ntg-context
  2021-08-14  3:46         ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2021-08-08 23:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Benjamin Buchmuller

On 8/8/2021 11:53 PM, Aditya Mahajan via ntg-context wrote:
> On Sun, 8 Aug 2021, Hans Hagen via ntg-context wrote:
> 
>> On 8/8/2021 1:13 PM, Benjamin Buchmuller via ntg-context wrote:
>>> I'm not sure if it's related to this latest:
>>>
>>> ConTeXt  ver: 2021.08.07 22:53 LMTX  fmt: 2021.8.8  int: english/english
>>>
>>> or a previous one, but with this one:
>>>
>>> ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english
>>>
>>> My document compiled fine.
>>>
>>> When I use the t-vim module (freshly installed again from the garden; but I
>> also tried to replace some files from the GitHub, but not sure if I did it
>> right …), I now get an error when I do something like
>>>
>>> \usemodule[vim]
>>>
>>> \definevimtyping[vimR]
>>>
>>> \typevimRfile{path_to_file.R} % specifically: {../sourcecodes/myfile.R}
>>>
>>> --
>>>
>>> lua error > lua error on line 2 in file virtual://block.sourcecode.7:
>>>
>>> token call, execute:
>> ...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: bad argument
>> #1 to '?' (string expected, got nil)
>> i'll check it, i cleaned up some code but didn't realize that it was
>> used in a module
> 
> This was also reported on t-vim's github page: https://github.com/adityam/filter/pull/48.
> 
> I basically use jobs.file.run to cache the results and I can easily write a module specific version of that, if needed. I'll look at it in a day or two (away from a stable internet connection until then).
blame me for this one

just wait for the update (i added the name,action interface again as i 
assumes the { filename =, action= } usage)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: new upload/issue with t-vim?
  2021-08-08 23:16       ` Hans Hagen via ntg-context
@ 2021-08-14  3:46         ` Aditya Mahajan via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan via ntg-context @ 2021-08-14  3:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Aditya Mahajan

[-- Attachment #1: Type: text/plain, Size: 1962 bytes --]

On Mon, 9 Aug 2021, Hans Hagen wrote:

> On 8/8/2021 11:53 PM, Aditya Mahajan via ntg-context wrote:
> > On Sun, 8 Aug 2021, Hans Hagen via ntg-context wrote:
> > 
> > > On 8/8/2021 1:13 PM, Benjamin Buchmuller via ntg-context wrote:
> > > > I'm not sure if it's related to this latest:
> > > > 
> > > > ConTeXt  ver: 2021.08.07 22:53 LMTX  fmt: 2021.8.8  int: english/english
> > > > 
> > > > or a previous one, but with this one:
> > > > 
> > > > ConTeXt  ver: 2021.07.30 00:57 LMTX  fmt: 2021.8.8  int: english/english
> > > > 
> > > > My document compiled fine.
> > > > 
> > > > When I use the t-vim module (freshly installed again from the garden;
> > > > but I
> > > also tried to replace some files from the GitHub, but not sure if I did it
> > > right …), I now get an error when I do something like
> > > > 
> > > > \usemodule[vim]
> > > > 
> > > > \definevimtyping[vimR]
> > > > 
> > > > \typevimRfile{path_to_file.R} % specifically: {../sourcecodes/myfile.R}
> > > > 
> > > > --
> > > > 
> > > > lua error > lua error on line 2 in file virtual://block.sourcecode.7:
> > > > 
> > > > token call, execute:
> > > ...ConTeXt/tex/texmf-context/tex/context/base/mkiv/l-io.lua:70: bad
> > > argument
> > > #1 to '?' (string expected, got nil)
> > > i'll check it, i cleaned up some code but didn't realize that it was
> > > used in a module
> > 
> > This was also reported on t-vim's github page:
> > https://github.com/adityam/filter/pull/48.
> > 
> > I basically use jobs.file.run to cache the results and I can easily write a
> > module specific version of that, if needed. I'll look at it in a day or two
> > (away from a stable internet connection until then).
> blame me for this one
> 
> just wait for the update (i added the name,action interface again as i assumes
> the { filename =, action= } usage)

For the record, the vim module is working again with version 2021.08.10. Thanks Hans!

Aditya

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-14  3:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.0.1628416801.4772.ntg-context@ntg.nl>
2021-08-08 11:13 ` new upload/issue with t-vim? Benjamin Buchmuller via ntg-context
2021-08-08 12:31   ` Hans Hagen via ntg-context
2021-08-08 21:53     ` Aditya Mahajan via ntg-context
2021-08-08 23:16       ` Hans Hagen via ntg-context
2021-08-14  3:46         ` Aditya Mahajan via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).