Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/ Removed os.path.walk call in windows development mode

2011-02-07 Thread Hanno Schlichting
On Mon, Feb 7, 2011 at 2:59 PM, yuppie  wrote:
> If someone knows a better way to detect NTFS, please let me know.

I looked for better ways, but there's nothing good in default Python or pywin32.

The only real approach seems to involve calling the external diskpart
command with a script like "list volumes" and parsing the output...
nothing I'd want to do. And if I remember correctly diskpart isn't
available on old Windows versions either.

Hanno
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/ Removed os.path.walk call in windows development mode

2011-02-07 Thread yuppie
Alan Runyan wrote:
> just for record, having the behavior makes development a complete nightmare. 
> adding an additional environment variable is probably best way.

I hope this resolves the issue:
http://svn.zope.org/?rev=120180&view=rev

If someone knows a better way to detect NTFS, please let me know.

Cheers, Yuppie
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/ Removed os.path.walk call in windows development mode

2011-02-07 Thread Alan Runyan
just for record, having the behavior makes development a complete nightmare. 
adding an additional environment variable is probably best way. 

Alan Runyan
Enfold Systems

On Feb 7, 2011, at 5:47 AM, yuppie  wrote:

> yuppie wrote:
>> yuppie wrote:
>> DebugModeTests have been disabled by default. Now I see 3 errors on
>> FAT32 and one error on NTFS:
>> 
>> Error in test test_DeleteAddEditMethod
>> (Products.CMFCore.tests.test_DirectoryView.DebugModeTests)
>> Traceback (most recent call last):
>>File "...\Python26\lib\unittest.py", line 279, in run
>>  testMethod()
>>File
>> "...\src\Products.CMFCore\Products\CMFCore\tests\test_DirectoryView.py",
>> line 290, in test_DeleteAddEditMethod
>>  self.assertEqual(self.ob.fake_skin.test2(),'test2.2')
>> AttributeError: test2
>> 
>> Someone has to figure out if this can be fixed without using the old
>> code for NTFS as well.
> 
> Just for the record: The test was broken, not the tested feature.
> 
> Cheers, Yuppie
> ___
> Zope-CMF maillist  -  Zope-CMF@zope.org
> https://mail.zope.org/mailman/listinfo/zope-cmf
> 
> See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


[Zope-CMF] CMF Tests: 7 OK

2011-02-07 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Sun Feb  6 12:00:00 2011 UTC to Mon Feb  7 12:00:00 2011 UTC.
There were 7 messages: 7 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Mon Feb  7 01:32:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014291.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Mon Feb  7 01:34:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014292.html

Subject: OK : CMF-2.2 Zope-2.12 Python-2.6.5 : Linux
From: CMF Tests
Date: Mon Feb  7 01:36:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014293.html

Subject: OK : CMF-2.2 Zope-2.13 Python-2.6.5 : Linux
From: CMF Tests
Date: Mon Feb  7 01:38:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014294.html

Subject: OK : CMF-trunk Zope-2.12 Python-2.6.5 : Linux
From: CMF Tests
Date: Mon Feb  7 01:40:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014295.html

Subject: OK : CMF-trunk Zope-2.13 Python-2.6.5 : Linux
From: CMF Tests
Date: Mon Feb  7 01:42:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014296.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.5 : Linux
From: CMF Tests
Date: Mon Feb  7 01:44:08 EST 2011
URL: http://mail.zope.org/pipermail/cmf-tests/2011-February/014297.html

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests


Re: [Zope-CMF] SVN: Products.CMFCore/trunk/Products/CMFCore/ Removed os.path.walk call in windows development mode

2011-02-07 Thread yuppie
yuppie wrote:
> yuppie wrote:
> DebugModeTests have been disabled by default. Now I see 3 errors on
> FAT32 and one error on NTFS:
>
> Error in test test_DeleteAddEditMethod
> (Products.CMFCore.tests.test_DirectoryView.DebugModeTests)
> Traceback (most recent call last):
> File "...\Python26\lib\unittest.py", line 279, in run
>   testMethod()
> File
> "...\src\Products.CMFCore\Products\CMFCore\tests\test_DirectoryView.py",
> line 290, in test_DeleteAddEditMethod
>   self.assertEqual(self.ob.fake_skin.test2(),'test2.2')
> AttributeError: test2
>
> Someone has to figure out if this can be fixed without using the old
> code for NTFS as well.

Just for the record: The test was broken, not the tested feature.

Cheers, Yuppie
___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests