question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.X Regression: Windows support broken

See original GitHub issue

While older versions were running e.g. on git-bash, this fails with 4.x

 kscript "println(1+1)"
[kscript] [ERROR] compilation of scriplet failed
[kscript] [ERROR] Command     : bash -c kotlinc   -d 'C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\scriplet.jar' C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\Scriplet.kts C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\Main_Scriplet.kt
[kscript] [ERROR] Exit Code   : 1
[kscript] [ERROR] Stdout      :
[kscript] [ERROR] Stderr      :
[kscript] [ERROR] error: source file or directory not found: C:Usersbrandl.kscriptcachejar_2ccd53e06b0355d3573a4ae8698398feScriplet.kts
[kscript] [ERROR] error: source file or directory not found: C:Usersbrandl.kscriptcachejar_2ccd53e06b0355d3573a4ae8698398feMain_Scriplet.kt
[kscript] [ERROR] .stderr

Not sure why, because the preparation of the commands looks pretty mach the same as before

FYI @aartiPl

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
aartiPlcommented, May 5, 2022

I have applied already some patches to improve Windows support. But first I have to solve #345 as it breaks kscript on my computer. Adding proper support for Cygwin/Mingw/Windows shouldn’t be that difficult in new code. Only testing on different environments might require more work…

0reactions
aartiPlcommented, Aug 13, 2022

Fixed and tested in kscript 4.1 branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

netTcpBinding - regression in default values for listenBacklog ...
In a .NET WCF client configuration file, netTcpBinding has various configuration attributes including listenBacklog and maxConnections.
Read more >
Regression in 15.6: nUnit TestCase support broken
6, support for nUnit 2 tests that use TestCase is broken. Visual Studio Test Explorer finds tests that use TestCase just fine. When...
Read more >
583571 - Regression:Arrow button appears broken after re ...
3.Click on 'Run' button and resize the devtools window to R.H.S and observe arrow button for 'network utilization' & 'web page...' Actual: Arrow ......
Read more >
Windows 10 October 2018 update may break network access ...
This issue is a result of a regression bug in Windows 10. ... can modify the network access profile and change the Use...
Read more >
Calculating and displaying regression statistics in Excel
These instructions apply to Excel for Windows. You will need to have the Data Analysis add-in installed to your version of Excel to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found