Re: Dependency problem of ipython 7.16.1-1
On 27.07.2020 18:18, ggl329 via Cygwin wrote: Hi all, Recently, I upgraded python36-ipython to 7.16.1-1 and got an error shown below. The upgraded ipython seems to depend on backcall module (https://github.com/takluyver/backcall). But cygwin doesn't have python-backcall package. Is there anyone who will provide python-backcall package? it is now up. Install python36-backcall $ /usr/bin/ipython3.6 Python 3.6.10 (default, Jun 8 2020, 19:37:31) Type 'copyright', 'credits' or 'license' for more information IPython 7.16.1 -- An enhanced Interactive Python. Type '?' for help. In [1]: if you find other problems let us know. I am aware that "iptest" requires "nose", I am working on it. Regards Marco -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Problem with output from gawk software in recent Cygwin installation
On 2020-07-27 15:58, Bryan VanSchouwen wrote: > On Mon, Jul 27, 2020 at 4:20 PM Brian Inglis wrote: >> On 2020-07-27 11:50, Michel LaBarre wrote: >>> On July 27, 2020 12:52 PM, Eliot Moss wrote: On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote: > I just tried executing an awk script using the most recent version > of gawk, but the output did not turn out the way that it was supposed > to. > This script uses the following command to print the output data to > the output file: > print(cai[i], rpi[i], i) > > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat" > and previously, this command always printed the values of the three > variables on a single line, separated by spaces; however, now the > gawk software is automatically adding hard-returns between the > values, resulting in the three values being printed on separate lines > within the data file. > What is going on here, and how do I permanently make it stop?? >>> Here's a wondering: Could it have to do with line endings? If Windows >>> CRLF is getting in there, then the variables might get a CR in them, >>> which might do weird things. This assumes those are string variables, >>> not numeric. >> Better yet, how about an example using manifest constants in a one line >> sample to eliminate impact of arrays or changes in input data as in: gawk >> 'BEGIN {print(1,2,3)}' or gawk 'BEGIN {print(1,2,3) > "xxx.txt"}'> > No problem with awk or gawk: > $ for ((i = 0; i < 10; ++i)) > do > printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4)) > done > test.txt > $ awk '{print($1, $2, $3)}' test.txt > 1 2 3 > 2 3 4 > 3 4 5 > 4 5 6 > 5 6 7 > 6 7 8 > 7 8 9 > 8 9 10 > 9 10 11 > 10 11 12 > So the issue appears to be with your command line, script, or input data > file: please show the command line used to execute the script, attach the > complete awk script, and input data file for diagnosis, or selections of the > latter piped through or output using cat -A to show control characters. > Here they are (attached). The script was executed with the following > command:> gawk -f peak_intensity_correln_plot_compile.awk Input files have \r\n line terminators and those are carried thru at the ends of the string fields: $ gawk -f peak_intensity_correln_plot_compile.awk $ file *cPuMP*.dat 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF line terminators cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF line terminators Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text, with CR, LF line terminators $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head 1571697^M 1716833^M 224$ 2672863^M 2894992^M 225$ 2184902^M 9710015^M 226$ 4393362^M 4095908^M 227$ 3828609^M 4218978^M 229$ 6285045^M 4008320^M 233$ 3936959^M 4104667^M 234$ 1698322^M 1942553^M 237$ 4144791^M 4346435^M 238$ 2546328^M 2804338^M 239$ You could change your input line terminators to "\r\n" e.g. option -vRS="\r\n", insert '{ sub( /\r$/, ""); before each 'split(x, s, " ")', convert your input fields from strings to numbers by adding zero i.e. cai[i] += 0; rpi[i] += 0; or use belts, braces, and suspenders with all three, e.g. $ gawk -vRS="\r\n" -f peak_intensity_correln_plot_compile.awk $ file *cPuMP*.dat 2NH2-cPuMP_nh_-_pk_Fit_Height_data.dat:ASCII text, with CRLF line terminators cPuMP_nh_-_pk_Fit_Height_data.dat: ASCII text, with CRLF line terminators Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat: ASCII text $ cat -A Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat | head 1571697 1716833 224$ 2672863 2894992 225$ 2184902 9710015 226$ 4393362 4095908 227$ 3828609 4218978 229$ 6285045 4008320 233$ 3936959 4104667 234$ 1698322 1942553 237$ 4144791 4346435 238$ 2546328 2804338 239$ -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
setting up a cygwin cross compiler on linux
I want to cross compile cygwin programs on linux. I vaguely recall there was a debian package for this years ago. No luck now. All my web searches talk about cross compiling on cygwin for linux. I wonder if there's a pre-assembled kit to do this (i.e. include files, libraries, and specs file) marty -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Problem with output from gawk software in recent Cygwin installation
On 2020-07-27 11:50, Michel LaBarre wrote: >> On July 27, 2020 12:52 PM, Eliot Moss wrote: >> On 7/27/2020 11:47 AM, Bryan VanSchouwen wrote: >>> I just tried executing an awk script using the most recent version of > gawk, >>> but the output did not turn out the way that it was supposed to. >>> >>> This script uses the following command to print the output data to the >>> output file: >>> print(cai[i], rpi[i], i) > >>> "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat" >>> >>> and previously, this command always printed the values of the three >>> variables on a single line, separated by spaces; however, now the gawk >>> software is automatically adding hard-returns between the values, > resulting >>> in the three values being printed on separate lines within the data > file. >>> >>> What is going on here, and how do I permanently make it stop?? >> Here's a wondering: Could it have to do with line endings? If Windows >> CRLF is getting in there, then the variables might get a CR in them, >> which might do weird things. This assumes those are string variables, >> not numeric. > Better yet, how about an example using manifest constants > in a one line sample to eliminate impact of arrays or changes in input data > as in: >gawk 'BEGIN {print(1,2,3)}' > or > gawk 'BEGIN {print(1,2,3) > "xxx.txt"}' No problem with awk or gawk: $ for ((i = 0; i < 10; ++i)) do printf "%d %d %d %d\n" $((i+1)) $((i+2)) $((i+3)) $((i+4)) done > test.txt $ awk '{print($1, $2, $3)}' test.txt 1 2 3 2 3 4 3 4 5 4 5 6 5 6 7 6 7 8 7 8 9 8 9 10 9 10 11 10 11 12 So the issue appears to be with your command line, script, or input data file: please show the command line used to execute the script, attach the complete awk script, and input data file for diagnosis, or selections of the latter piped through or output using cat -A to show control characters. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
RE: Problem with output from gawk software in recent Cygwin installation
> -Original Message- > From: Cygwin [mailto:cygwin-boun...@cygwin.com] On Behalf Of Eliot Moss > Sent: July 27, 2020 12:52 PM > To: Bryan VanSchouwen; cygwin@cygwin.com > Subject: Re: Problem with output from gawk software in recent Cygwin > installation > > On 7/27/2020 11:47 AM, Bryan VanSchouwen via Cygwin wrote: > > Hello. > > > > I just tried executing an awk script using the most recent version of gawk, > > but the output did not turn out the way that it was supposed to. > > > > This script uses the following command to print the output data to the > > output file: > > print(cai[i], rpi[i], i) > > > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat" > > > > and previously, this command always printed the values of the three > > variables on a single line, separated by spaces; however, now the gawk > > software is automatically adding hard-returns between the values, resulting > > in the three values being printed on separate lines within the data file. > > > > What is going on here, and how do I permanently make it stop?? > > Here's a wondering: Could it have to do with line endings? If Windows > CRLF is getting in there, then the variables might get a CR in them, > which might do weird things. This assumes those are string variables, > not numeric. [Michel LaBarre] Better yet, how about an example using manifest constants in a one line sample to eliminate impact of arrays or changes in input data as in: gawk 'BEGIN {print(1,2,3)}' or gawk 'BEGIN {print(1,2,3) > "xxx.txt"}' > > Best - EM > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation:https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Meld 3.18.0-1 does not start
On 7/27/2020 12:57 PM, Ken Brown via Cygwin wrote: On 7/27/2020 9:50 AM, Rabbe Fogelholm wrote: I am having problems with meld 3.18.0-1. On startup I get "fatal: external diff died, stopping at ", where is a file to be inspected. My workaround is to downgrade to 3.16.4-1, which works. I am running cygwin on Windows 10. My cygwin installation is recently updated, except I am using version 3.0.7-1 of the cygwin DLL. That's your problem. meld is a python3 script. python3 won't work with cygwin-3.0.7-1. I should have said "the current release of python3". -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Meld 3.18.0-1 does not start
On 7/27/2020 9:50 AM, Rabbe Fogelholm wrote: I am having problems with meld 3.18.0-1. On startup I get "fatal: external diff died, stopping at ", where is a file to be inspected. My workaround is to downgrade to 3.16.4-1, which works. I am running cygwin on Windows 10. My cygwin installation is recently updated, except I am using version 3.0.7-1 of the cygwin DLL. That's your problem. meld is a python3 script. python3 won't work with cygwin-3.0.7-1. Ken -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Problem with output from gawk software in recent Cygwin installation
On 7/27/2020 11:47 AM, Bryan VanSchouwen via Cygwin wrote: Hello. I just tried executing an awk script using the most recent version of gawk, but the output did not turn out the way that it was supposed to. This script uses the following command to print the output data to the output file: print(cai[i], rpi[i], i) > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat" and previously, this command always printed the values of the three variables on a single line, separated by spaces; however, now the gawk software is automatically adding hard-returns between the values, resulting in the three values being printed on separate lines within the data file. What is going on here, and how do I permanently make it stop?? Here's a wondering: Could it have to do with line endings? If Windows CRLF is getting in there, then the variables might get a CR in them, which might do weird things. This assumes those are string variables, not numeric. Best - EM -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Problem with output from gawk software in recent Cygwin installation
Bryan VanSchouwen via Cygwin writes: > I just tried executing an awk script using the most recent version of gawk, > but the output did not turn out the way that it was supposed to. ... > and previously, this command always printed the values of the three > variables on a single line, separated by spaces; however, now the gawk > software is automatically adding hard-returns between the values The script hasn't changed, but before we know it's gawk that's changed, we need to check that the _input_ hasn't changed. Can you show us a sample? ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Dependency problem of ipython 7.16.1-1
Hi all, Recently, I upgraded python36-ipython to 7.16.1-1 and got an error shown below. The upgraded ipython seems to depend on backcall module (https://github.com/takluyver/backcall). But cygwin doesn't have python-backcall package. Is there anyone who will provide python-backcall package? $ ipython3.6 Traceback (most recent call last): File "/usr/bin/ipython3.6", line 5, in from IPython import start_ipython File "/usr/lib/python3.6/site-packages/IPython/__init__.py", line 56, in from .terminal.embed import embed File "/usr/lib/python3.6/site-packages/IPython/terminal/embed.py", line 15, in from IPython.core.interactiveshell import DummyMod, InteractiveShell File "/usr/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 43, in from IPython.core.events import EventManager, available_events File "/usr/lib/python3.6/site-packages/IPython/core/events.py", line 16, in from backcall import callback_prototype ModuleNotFoundError: No module named 'backcall' -- ggl329 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
RE: missing Python 3.7 for python3 package version
> > > Question: any reason to not use python 3.8 ? > For me, it's because when you moved to 3.8 from 3.6, a "core" (popular?) number of python38-* packages weren't moved to 3.8 either. I didn't want 3 Pythons installed b/c of the move to 3.8. And I didn't want to add to the packages (the handful of python37-* I use) I build/maintain myself for my Cygwin installs. Currently, I have to change Setup for those Python packages for 3.8 I don't want upgraded/installed. It's an annoyance but it is what it is. Why can't Cygwin pick one Python horse and ride it now that Python 2.7 is gone? /allen Disclaimer Confidentiality Notice: This e-mail, and any attachments and/or documents linked to this email, are intended for the addressee and may contain information that is privileged, confidential, proprietary, or otherwise protected by law. Any dissemination, distribution, or copying is prohibited. This notice serves as a confidentiality marking for the purpose of any confidentiality or nondisclosure agreement. If you have received this communication in error, please contact the original sender. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Problem with output from gawk software in recent Cygwin installation
Hello. I just tried executing an awk script using the most recent version of gawk, but the output did not turn out the way that it was supposed to. This script uses the following command to print the output data to the output file: print(cai[i], rpi[i], i) > "Fit_Height_correln_plot_-_cPuMP_vs_2NH2-cPuMP.dat" and previously, this command always printed the values of the three variables on a single line, separated by spaces; however, now the gawk software is automatically adding hard-returns between the values, resulting in the three values being printed on separate lines within the data file. What is going on here, and how do I permanently make it stop?? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Meld 3.18.0-1 does not start
I am having problems with meld 3.18.0-1. On startup I get "fatal: external diff died, stopping at ", where is a file to be inspected. My workaround is to downgrade to 3.16.4-1, which works. I am running cygwin on Windows 10. My cygwin installation is recently updated, except I am using version 3.0.7-1 of the cygwin DLL. Any ideas welcome, BR / Rabbe Fogelholm -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Relating device names in /dev/ to drive letters in Windows.
On 2020-07-27 05:24, Hamish McIntyre-Bhatty via Cygwin wrote: Please maintain threading using Reply to List or Reply/All to keep the discussion together in email clients using proper References headers for threads, rather than just Subject, and also please retain some quoted context for your replies. > smartmontools does help - I can see make and model, which is definitely > helpful. > Oh, I guess I just didn't have blkid installed then. I'll fix that. >> $ which blkid >> /sbin/blkid >> $ cygcheck -f /sbin/blkid >> util-linux-2.33.1-2 >> >> Everyone has util-linux installed as it is in the Base category. > I'd be happy to attempt implementing this, but I'm not sure where to > start. With the information you've given me I should be able to figure > something out, but I'm not sure how this is done in Linux/a POSIX > compliant way. Would be be through a file and directory structure or > through some libraries? See what libraries are used by the package, whether and what system dependencies each has, clone the source repo or download the sources and create a local repo, so you can follow a similar structure with a Cygwin port. Using a (git) repo to track your information, documentation, research, proofs of concept, and changes will make life easier for all. > I know a little bit of C and C++, so if I do have to write a library I > should be able to muddle through, and probably learn quite a lot, but > I'm not sure quite where to start here, with either the Linux side or > the Cygwin side (would this be part of the Cygwin DLL?). First you need to research what information you need to deliver to your client or consumer, based on the system dependencies found above, and how to find that information under Windows. You could make that process into a proof of concept in some interpreted script running under an elevated admin shell to access /proc/..., /proc/registry/..., /proc/sys/... etc. and get at the information you require. Then you could research how you could implement that process with Windows APIs by searching online docs, including e.g. SO: pay attention to supported versions in MS docs. If you isolate system interfaces into independent modules, they could be reimplemented in the DLL if appropriate. > I'm aware this might not be the right mailing list, but would appreciate > if anyone knowledgeable in this area could give me a few pointers to > help me get started - I'd love to contribute more to Cygwin :) Check out the newlib-cygwin source repo and read the sources (starting with short .cc files under winsup/cygwin/) to see how system interfaces are implemented using Windows APIs. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Relating device names in /dev/ to drive letters in Windows.
On Jul 27 12:24, Hamish McIntyre-Bhatty via Cygwin wrote: > Thanks Corinna and Brian. > > smartmontools does help - I can see make and model, which is definitely > helpful. > > Oh, I guess I just didn't have blkid installed then. I'll fix that. > > Brian, > > I'd be happy to attempt implementing this, but I'm not sure where to > start. With the information you've given me I should be able to figure > something out, but I'm not sure how this is done in Linux/a POSIX > compliant way. Would be be through a file and directory structure or > through some libraries? In theory, the Cygwin DLL has to provide stuff through ioctl's after opening the device file. There are already quite a few ioctl's supported, namely HDIO_GETGEO, BLKGETSIZE, BLKGETSIZE64, BLKRRPART, BLKSSZGET, BLKIOMIN, BLKIOOPT, BLKPBSZGET, BLKALIGNOFF, RDIOCDOP subcommand RDSETBLK, RDIOCGET. Whatever is missing *and* is provided by the WinAPI function DeviceIoControl (or, actually, any other way) can be added to Cygwin's ioctl API as you see fit. Corinna -- Corinna Vinschen Cygwin Maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Relating device names in /dev/ to drive letters in Windows.
Thanks Corinna and Brian. smartmontools does help - I can see make and model, which is definitely helpful. Oh, I guess I just didn't have blkid installed then. I'll fix that. Brian, I'd be happy to attempt implementing this, but I'm not sure where to start. With the information you've given me I should be able to figure something out, but I'm not sure how this is done in Linux/a POSIX compliant way. Would be be through a file and directory structure or through some libraries? I know a little bit of C and C++, so if I do have to write a library I should be able to muddle through, and probably learn quite a lot, but I'm not sure quite where to start here, with either the Linux side or the Cygwin side (would this be part of the Cygwin DLL?). I'm aware this might not be the right mailing list, but would appreciate if anyone knowledgeable in this area could give me a few pointers to help me get started - I'd love to contribute more to Cygwin :) Hamish 0x87B761FE07F548D6.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: tcsh 6.22.02 , can we please get it for wildcard expansion bugfix?
On Jul 25 13:19, Reik Reid via Cygwin wrote: > There is an unpleasant wildcard expansion bug in tcsh since around version > 6.21.00, and that got fixed in 6.22.02. Can we please get 6.22.02 in cygwin? I uploaded tcsh-6.22.02. Thanks for the reminder. Corinna -- Corinna Vinschen Cygwin Maintainer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] tcsh 6.22.02-1
The following packages have been uploaded to the Cygwin distribution: * tcsh-6.22.02-1 Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh is a command language interpreter which can be used both as an interactive login shell and as a shell script command processor. Tcsh includes a command line editor, programmable word completion, spelling correction, a history mechanism, job control and a C language like syntax. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple