gedit install

2022-11-04 Thread Tatsuro MATSUOKA via Cygwin
I have installed gedit using the Cygwin setup.
I executed gedit and the below appeared.

(gedit:959): dconf-WARNING **: failed to commit changes to dconf: Failed to 
execute child process “dbus-launch” (No such file or directory)

(gedit:959): dconf-WARNING **: failed to commit changes to dconf: Failed to 
execute child process “dbus-launch” (No such file or directory)

And I could not set the line number presentation.

I have installed dbus-x11 using the cygwin setup and I could set the line 
number presentation.

Tatsuro


-- 
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


Accessing long filesystem paths using Python

2022-11-04 Thread Fritjof Bornebusch
Hi,

I need to write files whose path exceed the maximum value of 260 characters.
Using Windows paths, you can add \\?\ as prefix, e.g., 
\\?\C:\Users\foo\bar\

However, it seems like this is not the case in Cygwin. When I use 
\\?\/home/foo/bar, I get no file pointer back.

Does someone have a clue how I can bypass this?

Best,
Fritjof

-- 
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: Accessing long filesystem paths using Python

2022-11-04 Thread marco atzeri
On Fri, Nov 4, 2022 at 1:16 PM Fritjof Bornebusch
 wrote:
>
> Hi,
>
> I need to write files whose path exceed the maximum value of 260 characters.
> Using Windows paths, you can add \\?\ as prefix, e.g., 
> \\?\C:\Users\foo\bar\
>
> However, it seems like this is not the case in Cygwin. When I use 
> \\?\/home/foo/bar, I get no file pointer back.
>
> Does someone have a clue how I can bypass this?
>
> Best,
> Fritjof
>

Have you tried POSIX style ?
/cygdrive/C/Users/foo/bar..

-- 
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: Resource unavailable error

2022-11-04 Thread marco atzeri
On Thu, Nov 3, 2022 at 11:02 AM Ramya D CSE KIOT  wrote:
>
> Dear sir/madam,
>  I have installed cygwin 3.3 from the cygwin.com (given install
> from internet option) for windows 7 32-bit system. I have followed the
> instructions to install. after installing cygwin I tried to install ns2 in
> the cygwin command prompt. I received the error as *gcc* not found. Again i
> tried to install but i couldnt fint the gcc package in the list. how to
> rectify it?

set in Select Packages window the View as full and search for gcc-core

select the last version to be installed.

-- 
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: Accessing long filesystem paths using Python

2022-11-04 Thread Fritjof Bornebusch
Jep,

No success.

-Original Message-
From: marco atzeri  
Sent: Friday, 4 November 2022 13:57
To: Fritjof Bornebusch 
Cc: cygwin@cygwin.com
Subject: Re: Accessing long filesystem paths using Python

On Fri, Nov 4, 2022 at 1:16 PM Fritjof Bornebusch 
 wrote:
>
> Hi,
>
> I need to write files whose path exceed the maximum value of 260 characters.
> Using Windows paths, you can add \\?\ as prefix, e.g., 
> \\?\C:\Users\foo\bar\
>
> However, it seems like this is not the case in Cygwin. When I use 
> \\?\/home/foo/bar, I get no file pointer back.
>
> Does someone have a clue how I can bypass this?
>
> Best,
> Fritjof
>

Have you tried POSIX style ?
/cygdrive/C/Users/foo/bar..

-- 
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


Incorrect results from 'cygpath -w' when having anaconda installed

2022-11-04 Thread enrique

Hello!

I am having incorrect results from 'cygpath -w':

### I have the cygwin root directory in C:\cygwin64, as confirmed by 
'cmd':

$ cmd
Microsoft Windows [Version 10.0.22621.674]
(c) Microsoft Corporation. Med enerett.

C:\cygwin64\home\Enrique>exit

### Cygwin thinks my home directory is:
$ pwd
/home/Enrique

### But 'cygpath -w' thinks ...
$ cygpath -w /home/Enrique
C:\Users\Enrique\anaconda3\Library\home\Enrique

### Investigating, I found that there is no 'home' in 
C:\Users\Enrique\anaconda3\Library.

### Then I discovered this:
$ mount
C:/Users/Enrique/anaconda3/Library on / type ntfs (binary,noacl,auto)
C:/Users/Enrique/anaconda3/Library/usr/bin on /bin type ntfs 
(binary,noacl,auto)

C: on /cygdrive/c type ntfs (binary,noacl,posix=0,user,noumount,auto)

Huh ??? How does this work?
Is there a way to hide the mounts done by anaconda?

I guess some anaconda binaries want to find the 'Library' directory as 
the root, but cygwin continues to find its own root under C:/cygwin64. 
Why does it get tripped by the anaconda install just when doing the path 
translation?



-Enrique

--
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: Resource unavailable error

2022-11-04 Thread Ramya D CSE KIOT
Ok, I will check.

On Fri, 4 Nov 2022, 6:31 pm marco atzeri,  wrote:

> On Thu, Nov 3, 2022 at 11:02 AM Ramya D CSE KIOT  wrote:
> >
> > Dear sir/madam,
> >  I have installed cygwin 3.3 from the cygwin.com (given
> install
> > from internet option) for windows 7 32-bit system. I have followed the
> > instructions to install. after installing cygwin I tried to install ns2
> in
> > the cygwin command prompt. I received the error as *gcc* not found.
> Again i
> > tried to install but i couldnt fint the gcc package in the list. how to
> > rectify it?
>
> set in Select Packages window the View as full and search for gcc-core
>
> select the last version to be installed.
>

-- 
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


Resource unavailable error

2022-11-04 Thread Ramya D CSE KIOT
Dear Sir/Madam,

 I have installed cygwin and ns2 through install from local directory
option(dowloaded packages priorly). I got a successful in installation. I
have executed the .tcl file in xwin and got the output and properly exited
the windows. After sometime I came to execute other .tcl program but i got
an error when i give *startxwin * in the cygwin prompt. the error is*
"startxwin:
Resource temporarily unavailable. Another X server instance is running at
DISPLAY:0"*. How to rectify this error.


THANK YOU.

 WARM REGARDS,
RAMYA D

-- 
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