This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics

flavio [...]
legless [...]
pjm [...]

Broken in:
Fixed in:
(no value)

Subject: Test directory stray file cgisess.db
File: CGI-Session-4.03.tar.gz uname -a: Linux flaviox 2.4.20-flavio-qos #1 Mon Nov 10 13:03:54 CET 2003 i686 unknown perl -v: This is perl, v5.8.6 built for i386-linux I had to delete the cgisess.db file that was in the "t" directory before having the test suite pass. Adding the following line diag(CGI::Session->errstr()); in "t/api3_db_file.t" just before test #9 (i.e. between lines 45 and 46) yelds: failed: load(): couldn't retrieve data: _tie_db_file(): couldn't tie 't/cgisess.db': File exists This was an hint to delete the offending file, which made the test suite happy. The tests continue to work even if that the file has been re-created. I'm marking this as "Important" because this error could prevent others from installing the module. Suggested solution: delete t/cgisess.db file from the distribution package.
Subject: make test fail - cgisess.db is "Inappropriate file type or format"
CGI-Session-4.03 Perl 5.8.7 Platform: Dec Alpha, OSF/1 Everything is fine up to 'make test', in file t/api3_db_file.t Debugging the code I discovered tie returned "Error number 79 occured", or as it says in my errno.h file "Inappropriate file type or format". Simply removing the files t/ and t/cgisess.db solved the problem and the test passed - the file got created because it didn't already exist. All other tests passed too. I assume that because I'm on a non x86 Linux platform I got this problem?? Removing the cgisess files would be wise though :)
Subject: Won't install, bug in tests: t/cgisess.db somehow invalid
Could not install CGI::Session on Mac OS X 10.4.5, Perl 5.8.6. Following error output from tests: Checking if your kit is complete... Looks good Writing Makefile for CGI::Session Running [/usr/bin/make test]... PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/api3_db_file.................. # Failed test in t/api3_db_file.t at line 46. Can't call method "id" on an undefined value at t/api3_db_file.t line 48. After some debugging, I deleted the t/cgisess.db file. It was dated Oct 5, 2005. Running the test again recreated the file and all the tests passed. Installation was successful.
This has been fixed in SVN, to be released in 4.04, soonish.

This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with to