Skip Menu |
 

This queue is for tickets about the Prty CPAN distribution.

Report information
The Basics
Id: 122355
Status: open
Priority: 0/
Queue: Prty

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.113
  • 1.120
Fixed in: (no value)



Subject: FileHandle.t hangs on Windows
Download (untitled) / with headers
text/plain 3.5k
1..21 ok 1 - use Prty::FileHandle; ok 2 - Testdaten ok 3 - new: Test auf Klasse ok 4 - new: in-memory File ok 5 - new: in-memory File über geblesste Referenz ok 6 - destroy: Test auf Klasse ok 7 - destroy: Datei geschlossen ok 8 - destroy: Schließen einer geschlossenen Handle ok 9 - getc: erstes Zeichen not ok 10 - Exception: # PATH-00002: Datei löschen fehlgeschlagen # Path: # /tmp/getc.tst # Stacktrace: # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t] # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] # # Failed test 'Exception: # PATH-00002: Datei löschen fehlgeschlagen # Path: # /tmp/getc.tst # Stacktrace: # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t] # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] # ' # at t/bin/Prty/FileHandle.t line 240. ok 11 - print: Daten geschrieben ok 12 - print: Dateiinhalt not ok 13 - seek # Failed test 'seek' # at t/bin/Prty/FileHandle.t line 145. # got: ' # ' # expected: 'Zeile2 # ' not ok 14 - Exception: # PATH-00002: Datei löschen fehlgeschlagen # Path: # /tmp/seek.tst # Stacktrace: # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t] # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] # # Failed test 'Exception: # PATH-00002: Datei löschen fehlgeschlagen # Path: # /tmp/seek.tst # Stacktrace: # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] # Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t] # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] # ' # at t/bin/Prty/FileHandle.t line 240. not ok 15 - tell # Failed test 'tell' # at t/bin/Prty/FileHandle.t line 166. # got: '8' # expected: '7' ok 16 - lock: shared lock ok 17 - lock: shared lock, non-blocking (hangs) -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #122355] FileHandle.t hangs on Windows
Date: Fri, 7 Jul 2017 17:10:18 +0200
To: bug-Prty [...] rt.cpan.org
From: Frank Seitz <fs [...] fseitz.de>
Download (untitled) / with headers
text/plain 4.4k
Hello Alexandr, thank you for the information, but unfortunately I don't use Windows and have no idea how to fix the problem. I think, the library is not useable on Windows. Regards Frank On 07/04/2017 11:47 AM, Alexandr Ciornii via RT wrote: Show quoted text
> Tue Jul 04 05:47:25 2017: Request 122355 was acted upon. > Transaction: Ticket created by CHORNY > Queue: Prty > Subject: FileHandle.t hangs on Windows > Broken in: 1.113 > Severity: Important > Owner: Nobody > Requestors: CHORNY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122355 > > > > 1..21 > ok 1 - use Prty::FileHandle; > ok 2 - Testdaten > ok 3 - new: Test auf Klasse > ok 4 - new: in-memory File > ok 5 - new: in-memory File über geblesste Referenz > ok 6 - destroy: Test auf Klasse > ok 7 - destroy: Datei geschlossen > ok 8 - destroy: Schließen einer geschlossenen Handle > ok 9 - getc: erstes Zeichen > not ok 10 - Exception: > # PATH-00002: Datei löschen fehlgeschlagen > # Path: > # /tmp/getc.tst > # Stacktrace: > # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] > # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t] > # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] > # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] > # > # Failed test 'Exception: > # PATH-00002: Datei löschen fehlgeschlagen > # Path: > # /tmp/getc.tst > # Stacktrace: > # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] > # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::FileHandle::Test::test_getc() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::Path::delete() [+108 t/bin/Prty/FileHandle.t] > # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] > # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] > # ' > # at t/bin/Prty/FileHandle.t line 240. > ok 11 - print: Daten geschrieben > ok 12 - print: Dateiinhalt > not ok 13 - seek > # Failed test 'seek' > # at t/bin/Prty/FileHandle.t line 145. > # got: ' > # ' > # expected: 'Zeile2 > # ' > not ok 14 - Exception: > # PATH-00002: Datei löschen fehlgeschlagen > # Path: > # /tmp/seek.tst > # Stacktrace: > # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] > # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t] > # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] > # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] > # > # Failed test 'Exception: > # PATH-00002: Datei löschen fehlgeschlagen > # Path: > # /tmp/seek.tst > # Stacktrace: > # Prty::Test::Class::runTests() [+240 t/bin/Prty/FileHandle.t] > # (eval) [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::FileHandle::Test::test_seek() [+568 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Test/Class.pm] > # Prty::Path::delete() [+148 t/bin/Prty/FileHandle.t] > # Prty::Object::throw() [+1248 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Path.pm] > # Prty::Stacktrace::asString() [+252 C:\strawberry160\cpan\build\Prty-1.113-uFBPAZ\blib\lib/Prty/Object.pm] > # ' > # at t/bin/Prty/FileHandle.t line 240. > not ok 15 - tell > # Failed test 'tell' > # at t/bin/Prty/FileHandle.t line 166. > # got: '8' > # expected: '7' > ok 16 - lock: shared lock > ok 17 - lock: shared lock, non-blocking > (hangs) >
-- Dipl.-Inform. Frank Seitz IT Consultant / {Web, Database, Linux} Developer Tel: +49-176-78243503, Hauptstr. 32-34, D-25462 Rellingen Blog: http://fseitz.de/blog


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.