IOError: [Errno 12] Not enough space

2017-04-11 Thread LnT
Hi,

version information

python 27
java version "1.8.0_111"
OS -Win 10 , 64Bit , 8GB RAM , 60GB HD

executing python test script (robotframework) for a we bapplication 
Application url will be invoked by Firefox 38.0

Please find below log:

Opening browser 'firefox' to base url 'https://onbdev.nbpa.com/zae'
[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No 
browser is open
| FAIL |
IOError: [Errno 12] Not enough space


I have cleared %TEMP% and reran the script.
But still I see this.

Could you please show me some Light ?

Regards,
LnT
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IOError: [Errno 12] Not enough space

2017-04-11 Thread LnT
Hello eryk sun,
Thanks so much for your input.

could you please advice.
1) Any workaround for this issue ?
2) is it good to report issue in Windows OS help desk ?

Regards,
LnT



On Wednesday, April 12, 2017 at 8:18:11 AM UTC+5:30, eryk sun wrote:
> On Tue, Apr 11, 2017 at 12:30 PM, LnT  wrote:
> > Opening browser 'firefox' to base url 'https://onbdev.nbpa.com/zae'
> > [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure:
> > No browser is open
> > | FAIL |
> > IOError: [Errno 12] Not enough space
> > 
> >
> > I have cleared %TEMP% and reran the script.
> 
> Errno 12 is ENOMEM. It's a memory error and has nothing to do with
> disk space. The fact that you're getting this error while doing I/O
> seems odd if you're really using Windows 10. In Windows 7 this error
> is not uncommon with console I/O, since a small 64K heap of shared
> memory is used for IPC between the client and the console host
> (conhost.exe). Buffers for reading from and writing to the console can
> be no larger than the largest contiguous block in this shared heap.
> Otherwise the request fails with ERROR_NOT_ENOUGH_MEMORY, which the
> CRT translates to the errno value ENOMEM. Windows 8+ uses a kernel
> device (ConDrv) for IPC between the client and console host, so it
> doesn't have this limitation.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IOError: [Errno 12] Not enough space

2017-04-11 Thread LnT
Hi Irmen,

1) yes. its Python 2.7
2) Since windows 10 machine is a VM ,Only drive is available C and is provided 
60GB for both OS and other softwares like java and python.

And still 20GB free space is available.

This python script does - open web application and capture the screenshot of 
the webpage incase any functionality Fail?

Hope this information is suffice.
Let me know , if you need more specific logs to be captured ?

Regards,
LnT


On Tuesday, April 11, 2017 at 10:41:36 PM UTC+5:30, Irmen de Jong wrote:
> On 11-4-2017 14:30, LnT wrote:
> > Hi,
> > 
> > version information
> > 
> > python 27
> 
> Please be more precise, there is no Python 27. (Yeah it is clear you meant 
> 2.7 but still)
> 
> > java version "1.8.0_111"
> That should not be relevant
> 
> > OS -Win 10 , 64Bit , 8GB RAM , 60GB HD
> 
> 60 GB is not a lot of space for windows...
> 
> 
> > executing python test script (robotframework) for a we bapplication 
> > Application url will be invoked by Firefox 38.0
> > 
> > Please find below log:
> > 
> > Opening browser 'firefox' to base url 'https://onbdev.nbpa.com/zae'
> > [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No 
> > browser is open
> > | FAIL |
> > IOError: [Errno 12] Not enough space
> > 
> 
> That's not much information. Is there really not anything else in the log? 
> Like a
> traceback, that may give some clues what the application is doing when it is 
> running out
> of disk space?
> 
> 
> > 
> > I have cleared %TEMP% and reran the script.
> > But still I see this.
> > 
> > Could you please show me some Light ?
> > 
> 
> Based on the info you provided, the only solution I can think of is: free 
> more space.
> Something in your application is trying to write stuff and there's simply not 
> enough
> space on the disk to do so.
> 
> 
> -i

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IOError: [Errno 12] Not enough space

2017-04-11 Thread LnT

Hi Irmen,

you may please find full log @ https://pastebin.mozilla.org/9018753

Regards,
LnT

On Tuesday, April 11, 2017 at 10:41:36 PM UTC+5:30, Irmen de Jong wrote:
> On 11-4-2017 14:30, LnT wrote:
> > Hi,
> > 
> > version information
> > 
> > python 27
> 
> Please be more precise, there is no Python 27. (Yeah it is clear you meant 
> 2.7 but still)
> 
> > java version "1.8.0_111"
> That should not be relevant
> 
> > OS -Win 10 , 64Bit , 8GB RAM , 60GB HD
> 
> 60 GB is not a lot of space for windows...
> 
> 
> > executing python test script (robotframework) for a we bapplication 
> > Application url will be invoked by Firefox 38.0
> > 
> > Please find below log:
> > 
> > Opening browser 'firefox' to base url 'https://onbdev.nbpa.com/zae'
> > [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No 
> > browser is open
> > | FAIL |
> > IOError: [Errno 12] Not enough space
> > 
> 
> That's not much information. Is there really not anything else in the log? 
> Like a
> traceback, that may give some clues what the application is doing when it is 
> running out
> of disk space?
> 
> 
> > 
> > I have cleared %TEMP% and reran the script.
> > But still I see this.
> > 
> > Could you please show me some Light ?
> > 
> 
> Based on the info you provided, the only solution I can think of is: free 
> more space.
> Something in your application is trying to write stuff and there's simply not 
> enough
> space on the disk to do so.
> 
> 
> -i

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: IOError: [Errno 12] Not enough space

2017-04-12 Thread LnT
On Wednesday, April 12, 2017 at 11:13:22 AM UTC+5:30, LnT wrote:
> Hello eryk sun,
> Thanks so much for your input.
> 
> could you please advice.
> 1) Any workaround for this issue ?
> 2) is it good to report issue in Windows OS help desk ?
> 
> Regards,
> LnT
> 
> 
> 
> On Wednesday, April 12, 2017 at 8:18:11 AM UTC+5:30, eryk sun wrote:
> > On Tue, Apr 11, 2017 at 12:30 PM, LnT  wrote:
> > > Opening browser 'firefox' to base url 'https://onbdev.nbpa.com/zae'
> > > [ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure:
> > > No browser is open
> > > | FAIL |
> > > IOError: [Errno 12] Not enough space
> > > 
> > >
> > > I have cleared %TEMP% and reran the script.
> > 
> > Errno 12 is ENOMEM. It's a memory error and has nothing to do with
> > disk space. The fact that you're getting this error while doing I/O
> > seems odd if you're really using Windows 10. In Windows 7 this error
> > is not uncommon with console I/O, since a small 64K heap of shared
> > memory is used for IPC between the client and the console host
> > (conhost.exe). Buffers for reading from and writing to the console can
> > be no larger than the largest contiguous block in this shared heap.
> > Otherwise the request fails with ERROR_NOT_ENOUGH_MEMORY, which the
> > CRT translates to the errno value ENOMEM. Windows 8+ uses a kernel
> > device (ConDrv) for IPC between the client and console host, so it
> > doesn't have this limitation.

Hi ,
you may please close this thread.
Resolved the issue.

Root cause - Post restart the Windows VM , Firefox browser was blocked @ 
Firewall.

Regards,
LnT
-- 
https://mail.python.org/mailman/listinfo/python-list