Re: [Dbix-class] dbix + perl5.18

2014-01-28 Thread Bernhard Bauch
Dear Peter,

oh great to hear that.
i skipped the upgrade-task a while ago(or better moved to the future),
and did not touch things, since our last conversation.

but the time will come within the next months to contiune the upgrade
of modules-project.
that means, right now, i cant test your fix.
i'll try to get back my test-devel environment soon, and let you know if
your fix, solved the problem.

cherrz,
bernhard

On 24.01.14 09:33, Peter Rabbitson wrote:
 On Wed, Jun 12, 2013 at 03:42:20PM +0200, Bernhard Bauch wrote:
 dear dbix-folks,

 i just upgraded to the latest perl 5.18
 and from that time i got problems with loading my dbix:class Schema

 errors for example look like this (only one at a time ..randomly):
 
 This is *finally* fixed in DBIC 0.08250_0*. If you are still on this 
 project please test the latest devrel to make sure it solves your 
 problem:
 
 https://metacpan.org/release/RIBASUSHI/DBIx-Class-0.08250_06
 https://twitter.com/dbix_class/status/426621707843948546
 
 Cheers
 
 
 ___
 List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
 IRC: irc.perl.org#dbix-class
 SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
 Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
 
 !DSPAM:52e289f016543634715495!
 
 

-- 
Bernhard Bauch, Webdevelopment
ZSI - Zentrum für soziale Innovation
ba...@zsi.at
Skype: berni-zsi



signature.asc
Description: OpenPGP digital signature
___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

[Dbix-class] Test failures on upgrade to 0.08260

2014-01-28 Thread Ekki Plicht (DF4OR)
Hi,
environment is Ubuntu server with an older kernel
2.6.32-45-generic-pae, Perl is version 5.10.1.

When trying to upgrade from 0.08250 to 0.08260 I get the following
test failures:

#   Failed test 'results ok after group_by on related column with a having'
#   at t/prefetch/standard.t line 155.
#  got: 3
# expected: 2

#   Failed test 'Correct columns selected with rows'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 54.
# Structures begin differing at:
#  $got-[2] = 'Programming Perl'
# $expected-[2] = Does not exist

#   Failed test 'Correct columns selected with rows'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 99.
# Structures begin differing at:
#  $got-[0] = Does not exist
# $expected-[0] = 'Dynamical Systems'

#   Failed test 'Correct columns selected with rows'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 138.
# Structures begin differing at:
#  $got-[0] = Does not exist
# $expected-[0] = 'Newton'

#   Failed test 'Expected array slice on complex ordered limited
gensubq (3 : 5)'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 200.
# Structures begin differing at:
#  $got-[0] = Does not exist
# $expected-[0] = HASH(0x90cc190)

#   Failed test 'Expected array slice on complex ordered limited
gensubq (4 : 6)'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 200.
# Structures begin differing at:
#  $got-[0] = Does not exist
# $expected-[0] = HASH(0x90cc2b0)

#   Failed test 'Expected array slice on complex ordered limited
gensubq (0 : 2)'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 200.
# Structures begin differing at:
#  $got-[3] = HASH(0x91157e8)
# $expected-[3] = Does not exist

#   Failed test 'Expected array slice on complex ordered limited
gensubq (1 : 3)'
#   at t/sqlmaker/limit_dialects/generic_subq.t line 200.
# Structures begin differing at:
#  $got-[0] = Does not exist
# $expected-[0] = HASH(0x90c6e38)


The following dependencies are installed:
[Core Features]
- DBD::SQLite  ...loaded. (1.29 = 1.29)
- File::Temp   ...loaded. (0.22 = 0.22)
- Package::Stash   ...loaded. (0.29 = 0.28)
- Test::Deep   ...loaded. (0.108 = 0.101)
- Test::Exception  ...loaded. (0.31 = 0.31)
- Test::More   ...loaded. (0.98 = 0.94)
- Test::Warn   ...loaded. (0.23 = 0.21)
- Class::Accessor::Grouped ...loaded. (0.10010 = 0.10010)
- Class::C3::Componentised ...loaded. (1.0009 = 1.0009)
- Class::Inspector ...loaded. (1.24 = 1.24)
- Config::Any  ...loaded. (0.20 = 0.20)
- Context::Preserve...loaded. (0.01 = 0.01)
- DBI  ...loaded. (1.609 = 1.57)
- Data::Compare...loaded. (1.22 = 1.22)
- Data::Dumper::Concise...loaded. (2.020 = 2.020)
- Data::Page   ...loaded. (2.02 = 2.00)
- Devel::GlobalDestruction ...loaded. (0.11 = 0.09)
- Hash::Merge  ...loaded. (0.12 = 0.12)
- List::Util   ...loaded. (1.21 = 1.16)
- MRO::Compat  ...loaded. (0.12 = 0.12)
- Module::Find ...loaded. (0.08 = 0.07)
- Moo  ...loaded. (1.004002 = 1.002)
- Path::Class  ...loaded. (0.18 = 0.18)
- SQL::Abstract...loaded. (1.77 = 1.77)
- Scope::Guard ...loaded. (0.03 = 0.03)
- Sub::Name...loaded. (0.05 = 0.04)
- Text::Balanced   ...loaded. (2.0.0 = 2.00)
- Try::Tiny...loaded. (0.09 = 0.07)
- namespace::clean ...loaded. (0.24 = 0.24)


Unfortunately I am lost on where to start looking for the source of
these failures. I checked the mailing list, and searched the net for
some hints, but no luck.

Any hints?

TIA,
Ekki

___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk


Re: [Dbix-class] Test failures on upgrade to 0.08260

2014-01-28 Thread Dagfinn Ilmari Mannsåker
ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) writes:

 All the failing tests involve integer bind values, which are mentioned
 in the changelog for 1.34_02, but I haven't got time to investigate the
 details right now.

A git bisect run with a DBD::SQLite 1.34_01 installed reveals the
DBIC-side culprit to be the following commit:

commit 04ab4eb1fea37384f78394fbff2a463774a0db9c
Author: Peter Rabbitson ribasu...@cpan.org
Date:   2013-10-09 00:51:25 +0200

Many improvements of bigint handling across various DBD::SQLite versions

Changing the bind attribute for integers back from SQL_BIGINT to
SQL_INTEGER fixes it, but would break binding large integers on 32bit
perls, which is what the above commit was about.

-- 
The surreality of the universe tends towards a maximum -- Skud's Law
Never formulate a law or axiom that you're not prepared to live with
 the consequences of.  -- Skud's Meta-Law


___
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk