hbarnard / cclite

Cclite: Community Currency Software
http://www.hughbarnard.org/content/alternative-currency-software
11 stars 4 forks source link

Error on trying to create a new user #3

Open gnuday opened 11 years ago

gnuday commented 11 years ago

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers,

John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

hbarnard commented 11 years ago

Hi John

Have you a created registry [trading group]? The error is probably here in Ccclitedb.pm:

#FIXME: better return needed if databases has gone away...
if ( length($dbh) && ( !length($registry_error) ) ) {
    my $update = _sqlupdate( $dbh, $table, $useid, $fieldsref, $token );
    my $sth = $dbh->prepare($update);
    $sth->execute();
} else {
    return undef;
}

in which case it's marked for improvement, should return something better than undef but clearly that may not be the problem.

Best regards Hugh

On 24 February 2013 00:06, gnuday notifications@github.com wrote:

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers, John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

gnuday commented 11 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi Hugh,

I managed to create a new user. This actually happens when you try to create a user for a registry/database that doesn't exist. I'd misspelt the name of the registry/database.

Thanks.

Regards, John

On 24/02/13 04:49, Hugh Barnard wrote:

Hi John

Have you a created registry [trading group]? The error is probably here in Ccclitedb.pm:

FIXME: better return needed if databases has gone away...

if ( length($dbh) && ( !length($registry_error) ) ) { my $update = _sqlupdate( $dbh, $table, $useid, $fieldsref, $token ); my $sth = $dbh->prepare($update); $sth->execute(); } else { return undef; }

in which case it's marked for improvement, should return something better than undef but clearly that may not be the problem.

Best regards Hugh

On 24 February 2013 00:06, gnuday notifications@github.com wrote:

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers, John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14003497.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRKe/rAAoJEJDWDcq/312/m9IP/1+G74WTxB/2u3MYs4ncJ+nV zBMWwtfsT9hgkJy6isjx/TGdYJle6/kDjHgojDp2lVWlRs34pmJ0KhsofQf7+EDs YRPFu/0CcOwIPfwm4/smPOfFv7dM1E3ZJQLptK9ocNqQ5s1visFvlHpQnlQjKVu7 kqTkgIPO/AMj0nge714f3qPBwd5Szo0jnJX7dyJjcfOlmMqnUWuN2yQIiGQlitFA tc3UjXcsyHiUicxBaCvnuDlcfmsesGHqjpA4L3TQCnKuan6Bd4Kc97FXMiWisxER lE1FHKWxLffpfn7Ds8rTf6Yu2t2+y9gKvVuSzw7BlNuI92GZFGBZo8hg7dI3teeS 3d1m0RJmffErNbYJHwAgtU27mijx4RxNu6KoQBploQiuDf8txWtvOT9TOUpAhkYY 3jkEmxHh7HBjTgD2/3kNI+r2wZmLHryprNr03tAANmTUeeCWw9/J2ucmcxs6SCbD OEE8/CfCi2fljzRfIfRXeQTTcOwBn8+Mbg+abzzBZ7rKE1B+pDL3LlBL/6OwossB dLNxNwDFPs3GiMTZ9Dt8HONoLrfDKIR4zPTtybFtgQrfbdyhWywN9xx5UXLoQqNd E9jo0O7iOf91Czf2jcvbZQa7fdQJaBq6omUZMpQYprdC/9Lz0CE1I3rKg6v0cjdn QJAnQyUjqOPMLTtmdpWi =mqi5 -----END PGP SIGNATURE-----

hbarnard commented 11 years ago

Hi John,

Thanks, I need to prevent that in a more meaningful way. Incidentally, if you want to contribute ideas/[but preferable also!]code that's would be welcome. I have a 'list' as usual but am also snowed under and moving house.

Best regards Hugh

On 24 February 2013 10:49, gnuday notifications@github.com wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi Hugh,

I managed to create a new user. This actually happens when you try to create a user for a registry/database that doesn't exist. I'd misspelt the name of the registry/database.

Thanks.

Regards, John

On 24/02/13 04:49, Hugh Barnard wrote:

Hi John

Have you a created registry [trading group]? The error is probably here in Ccclitedb.pm:

FIXME: better return needed if databases has gone away...

if ( length($dbh) && ( !length($registry_error) ) ) { my $update = _sqlupdate( $dbh, $table, $useid, $fieldsref, $token ); my $sth = $dbh->prepare($update); $sth->execute(); } else { return undef; }

in which case it's marked for improvement, should return something better than undef but clearly that may not be the problem.

Best regards Hugh

On 24 February 2013 00:06, gnuday notifications@github.com wrote:

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers, John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14003497.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRKe/rAAoJEJDWDcq/312/m9IP/1+G74WTxB/2u3MYs4ncJ+nV zBMWwtfsT9hgkJy6isjx/TGdYJle6/kDjHgojDp2lVWlRs34pmJ0KhsofQf7+EDs YRPFu/0CcOwIPfwm4/smPOfFv7dM1E3ZJQLptK9ocNqQ5s1visFvlHpQnlQjKVu7 kqTkgIPO/AMj0nge714f3qPBwd5Szo0jnJX7dyJjcfOlmMqnUWuN2yQIiGQlitFA tc3UjXcsyHiUicxBaCvnuDlcfmsesGHqjpA4L3TQCnKuan6Bd4Kc97FXMiWisxER lE1FHKWxLffpfn7Ds8rTf6Yu2t2+y9gKvVuSzw7BlNuI92GZFGBZo8hg7dI3teeS 3d1m0RJmffErNbYJHwAgtU27mijx4RxNu6KoQBploQiuDf8txWtvOT9TOUpAhkYY 3jkEmxHh7HBjTgD2/3kNI+r2wZmLHryprNr03tAANmTUeeCWw9/J2ucmcxs6SCbD OEE8/CfCi2fljzRfIfRXeQTTcOwBn8+Mbg+abzzBZ7rKE1B+pDL3LlBL/6OwossB dLNxNwDFPs3GiMTZ9Dt8HONoLrfDKIR4zPTtybFtgQrfbdyhWywN9xx5UXLoQqNd E9jo0O7iOf91Czf2jcvbZQa7fdQJaBq6omUZMpQYprdC/9Lz0CE1I3rKg6v0cjdn QJAnQyUjqOPMLTtmdpWi =mqi5 -----END PGP SIGNATURE-----

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3#issuecomment-14006630.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

gnuday commented 11 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi Hugh,

Sorry, I don't mean to be a pest :-) I hope your house move goes well. I just went through that whole nightmare a month ago! Is the google list the preferred way to report bugs? I was using github as I thought it gave the best visibility and possibility for others contributing and bug fixing. I don't expect instant fixes or responses etc. I just thought it would be good to note bugs I discover as I go along.

I'm also rather short on time at the moment so would only be able to offer small contributions to the project in the short term

Kind Regards, John

On 24/02/13 11:08, Hugh Barnard wrote:

Hi John,

Thanks, I need to prevent that in a more meaningful way. Incidentally, if you want to contribute ideas/[but preferable also!]code that's would be welcome. I have a 'list' as usual but am also snowed under and moving house.

Best regards Hugh

On 24 February 2013 10:49, gnuday notifications@github.com wrote:

Hi Hugh,

I managed to create a new user. This actually happens when you try to create a user for a registry/database that doesn't exist. I'd misspelt the name of the registry/database.

Thanks.

Regards, John

On 24/02/13 04:49, Hugh Barnard wrote:

Hi John

Have you a created registry [trading group]? The error is probably here in Ccclitedb.pm:

FIXME: better return needed if databases has gone away...

if ( length($dbh) && ( !length($registry_error) ) ) { my $update = _sqlupdate( $dbh, $table, $useid, $fieldsref, $token ); my $sth = $dbh->prepare($update); $sth->execute(); } else { return undef; }

in which case it's marked for improvement, should return something better than undef but clearly that may not be the problem.

Best regards Hugh

On 24 February 2013 00:06, gnuday notifications@github.com wrote:

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers, John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14003497.

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3#issuecomment-14006630.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14006859.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRKgxwAAoJEJDWDcq/312/W7EP/0VlQ0IfmRI4B5gOQlnWS+9p QWRb3FBxPEAvq99Oi/chJc+7vKCDvUGYrkpGJIsgKwuuakuUY3k4ccu7GRLoHMyR 3n7jzcXGtOy6vdKR5kCrOTzyVhankSD+1m17EYFlmXHwy0ulzEpJnFxW1QqAMMWU UK3Z4d1mOptNgoYPoBXWN4vc90U8L4RDkNUMyeDWVZyYF21eBXZLQBrbnX0sEMsH V0f/xcE3R3TbH8Q417ng62WP2Z2EfoLSil/HTvW/eWyUGE6CbL1i2ZI2YfAgKYAq EPtH/X+X4rf9466veqhhEL5rzlOps1KO5TbZR+HnV3MtrXOuaG+SG8P8p1IsCHhN ZLnP18Ij/F034mMEG1y2IijgnewIBsDdd5/tz5je+KUSmBm7doWsff1sezGPnYWY N5RHG56+KPZ+SEmnmMUPao8Kckd0qURhHOO6PJqilF88fL0Mxv14c2NkkFFOgzzu mFpYKNnKxn8A5N3KtMACWTYM7d6DvRGorMAkkmnd/GrovT5zDFJqdGVpIhEXf608 h3FkA7Y2mKM/CW+WQPqbcj6RkdeZ3ApgwaDOnilyic2WxkV0oB8lz+RFJMpcKqyb 2VM9FcjjR8b996oQhOJPDTnUNtSvUiajG7MJOAiQPd4sQdTNyA10AwS7Yz86eCas BJ/NS4zicp32v8dr17Hn =WnE2 -----END PGP SIGNATURE-----

hbarnard commented 11 years ago

Hi John

No, not a pest, feedback/bug reports are always very useful, but I may not be able to pump out fixes or 'features' right away. I'm also going to forward you a critique of the current manual from Mary Fee at Letslink, I haven't replied but will do so.

If there's anything that's a total disaster, I'll try and fix immediately, of course. The main direction is away from web towards use-as-engine [from external CMS, for example], SMS and later smartphone at the moment but the database will always be forward compatible,

Yes, googlegroups is preferred please then lots of people get the benefit of the conversation.

Best regards Hugh

On 24 February 2013 12:51, gnuday notifications@github.com wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Hi Hugh,

Sorry, I don't mean to be a pest :-) I hope your house move goes well. I just went through that whole nightmare a month ago! Is the google list the preferred way to report bugs? I was using github as I thought it gave the best visibility and possibility for others contributing and bug fixing. I don't expect instant fixes or responses etc. I just thought it would be good to note bugs I discover as I go along.

I'm also rather short on time at the moment so would only be able to offer small contributions to the project in the short term

Kind Regards, John

On 24/02/13 11:08, Hugh Barnard wrote:

Hi John,

Thanks, I need to prevent that in a more meaningful way. Incidentally, if you want to contribute ideas/[but preferable also!]code that's would be welcome. I have a 'list' as usual but am also snowed under and moving house.

Best regards Hugh

On 24 February 2013 10:49, gnuday notifications@github.com wrote:

Hi Hugh,

I managed to create a new user. This actually happens when you try to create a user for a registry/database that doesn't exist. I'd misspelt the name of the registry/database.

Thanks.

Regards, John

On 24/02/13 04:49, Hugh Barnard wrote:

Hi John

Have you a created registry [trading group]? The error is probably here in Ccclitedb.pm:

FIXME: better return needed if databases has gone away...

if ( length($dbh) && ( !length($registry_error) ) ) { my $update = _sqlupdate( $dbh, $table, $useid, $fieldsref, $token ); my $sth = $dbh->prepare($update); $sth->execute(); } else { return undef; }

in which case it's marked for improvement, should return something better than undef but clearly that may not be the problem.

Best regards Hugh

On 24 February 2013 00:06, gnuday notifications@github.com wrote:

Hi Hugh,

I got this error with a fresh install on Debian wheezy installing from .deb package. I satisfied all the dependencies with stock wheezy packages except: cpan Digest::SHA2 cpan GD::Graph::sparklines

Any ideas?

Cheers, John

Software error:

Can't call method "prepare" on an undefined value at ../lib/Cclitedb.pm line 881, line 312.

Please use the Cclite Google Group for help, if necessary

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14003497.

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3#issuecomment-14006630.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/

— Reply to this email directly or view it on GitHub https://github.com/hbarnard/cclite/issues/3#issuecomment-14006859.

-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRKgxwAAoJEJDWDcq/312/W7EP/0VlQ0IfmRI4B5gOQlnWS+9p QWRb3FBxPEAvq99Oi/chJc+7vKCDvUGYrkpGJIsgKwuuakuUY3k4ccu7GRLoHMyR 3n7jzcXGtOy6vdKR5kCrOTzyVhankSD+1m17EYFlmXHwy0ulzEpJnFxW1QqAMMWU UK3Z4d1mOptNgoYPoBXWN4vc90U8L4RDkNUMyeDWVZyYF21eBXZLQBrbnX0sEMsH V0f/xcE3R3TbH8Q417ng62WP2Z2EfoLSil/HTvW/eWyUGE6CbL1i2ZI2YfAgKYAq EPtH/X+X4rf9466veqhhEL5rzlOps1KO5TbZR+HnV3MtrXOuaG+SG8P8p1IsCHhN ZLnP18Ij/F034mMEG1y2IijgnewIBsDdd5/tz5je+KUSmBm7doWsff1sezGPnYWY N5RHG56+KPZ+SEmnmMUPao8Kckd0qURhHOO6PJqilF88fL0Mxv14c2NkkFFOgzzu mFpYKNnKxn8A5N3KtMACWTYM7d6DvRGorMAkkmnd/GrovT5zDFJqdGVpIhEXf608 h3FkA7Y2mKM/CW+WQPqbcj6RkdeZ3ApgwaDOnilyic2WxkV0oB8lz+RFJMpcKqyb 2VM9FcjjR8b996oQhOJPDTnUNtSvUiajG7MJOAiQPd4sQdTNyA10AwS7Yz86eCas BJ/NS4zicp32v8dr17Hn =WnE2 -----END PGP SIGNATURE-----

— Reply to this email directly or view it on GitHubhttps://github.com/hbarnard/cclite/issues/3#issuecomment-14007950.

http://www.hughbarnard.org http://www.twitter.com/hughbarnard http://www.big-wave-heuristics.com/ http://www.hackney-environment-network.org.uk/