Artyom, great you're still around!
I'll try to execute the querry and test again and then I'll
write
back. Also I'm not sure if I'm doing right by executing rake
db:dev:redo
Thanks for the help,
greetings!
On Sun, Mar 23, 2008 at 9:18 PM, Artyom Syazantsev
<siasiamail gmail.com> wrote:
> Also concerning Bruno's problem. I think you must fix a
query in fixture
> script which is making such insert for column
'use_lang_subdomains' to
> contain some not NULL-ish value.
> I marked a value to change with red:
>
> INSERT INTO `global_configs` (`anonymous_user_id`,
`member_power`,
>
> `anonymous_power`, `default_tag_id`, `half_life`,
`admin_user_id`,
> `my_openid_affiliate_id`, `default_time_zone_name`,
> `header_description`, `minimum_diff_size`, `domain`,
`home_tag_id`,
> `default_country`, `header_keywords`,
`maximum_logi_size`, `progress`,
> `public_peer_group_id`, `maximum_logi_version_size`,
> `peer_group_tag_id`, `public_user_group_id`,
`daily_fraction`,
> `enabled_language_codes_string`, `powerless_age`,
> `use_language_subdomains`,
`default_language_prefs_string`,
> `system_user_group_id`, `title_line`,
`user_group_tag_id`,
> `admin_power`, `domain_levels`, `float`,
`main_tag_id`) VALUES(NULL,
> 1.0, 0.1, NULL, 7, NULL, 108, 'Europe/bond', '', 8,
'', NULL,
> 'United Kingdom', '', 400000, 1, NULL, 40000, NULL,
NULL, NULL,
> 'en,de,fr,es,nl,it', 7, NULL, NULL, NULL, '', NULL,
3.0, NULL, NULL,
> NULL)
>
> This must be TRUE I think. Depends on column's type.
Maybe this is a
> BOOLEAN, so TRUE would be the best.
> В Пнд, 24/03/2008 в 02:11 +0200, Artyom Syazantsev
пишет:
>
>
>
> > Hi, guys.
> >
> > Trouble with mysql socket can happen
because DB server is not
> > started or connections via socket is not
allowed, also this
> > can happen because of incorrect socket
path(there is no any
> > support of sockets in Windows by the way,
if you're using
> > Windows). Socket are stored in /var
directory commonly.
> > Sorry, you could not look at your torment
indifferently
> > Please don't remove me from the project.
I'm very interested
> > in its future.
> >
> > Best regards, Artyom.
> > В Вск, 23/03/2008 в 19:08 -0300, Bruno Sarlo
пишет:
> >
> > > Hi Rens,
> > >
> > > It doesn't looks like the same error as far
as I can tell... Could
> > > your error have something to do with
permissions? I don't really know
> > > much about this, but it could be related to
permisions to create the
> > > mysql.sock...
> > >
> > > On Sun, Mar 23, 2008 at 6:40 PM, RWA van
Summeren
> > > <rwavansummeren student.ru.nl> wrote:
> > > > I installed LL on my laptop yesterday,
and I am getting a similar
> > > > error (or maybe a totally different
one :P), when running rake db:dev:redo :
> > > >
> > > > rake aborted!
> > > > No such file or directory -
/tmp/mysql.sock
> > > >
> > > > Rens
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Bruno Sarlo <brunosarlo gmail.com>
> > > > Date: Sunday, March 23, 2008 8:15 pm
> > > > Subject: [LogiLogi-list] Can't run LL
> > > >
> > > > > Hi all,
> > > > >
> > > > > I've updated to the head revision
of the svn and now LL won't work.
> > > > > While rebulding the database here
is the trace of the error, at least
> > > > > the last part:
> > > > >
> > > > > rake db:fixtures:load_inc_config
--trace RAILS_ENV=development
> > > > > (in
/mnt/windowsFAT/work/logilogi.org/trunk)
> > > > > ** Invoke
db:fixtures:load_inc_config (first_time)
> > > > > ** Invoke environment
(first_time)
> > > > > ** Execute environment
> > > > > Install the ruby-openid gem to
enable OpenID support
> > > >
> > > >
> > > > > ** Execute
db:fixtures:load_inc_config
> > > > > rake aborted!
> > > > > Mysql::Error: #23000Column
'use_language_subdomains' cannot be null:
> > > > > INSERT INTO `global_configs`
(`anonymous_user_id`, `member_power`,
> > > > > `anonymous_power`,
`default_tag_id`, `half_life`, `admin_user_id`,
> > > > > `my_openid_affiliate_id`,
`default_time_zone_name`,
> > > > > `header_description`,
`minimum_diff_size`, `domain`, `home_tag_id`,
> > > > > `default_country`,
`header_keywords`, `maximum_logi_size`, `progress`,
> > > > > `public_peer_group_id`,
`maximum_logi_version_size`,
> > > > > `peer_group_tag_id`,
`public_user_group_id`, `daily_fraction`,
> > > > > `enabled_language_codes_string`,
`powerless_age`,
> > > > > `use_language_subdomains`,
`default_language_prefs_string`,
> > > > > `system_user_group_id`,
`title_line`, `user_group_tag_id`,
> > > > > `admin_power`, `domain_levels`,
`float`, `main_tag_id`) VALUES(NULL,
> > > > > 1.0, 0.1, NULL, 7, NULL, 108,
'Europe/bond', '', 8, '', NULL,
> > > > > 'United Kingdom', '', 400000, 1,
NULL, 40000, NULL, NULL, NULL,
> > > > > 'en,de,fr,es,nl,it', 7, NULL,
NULL, NULL, '', NULL, 3.0, NULL, NULL,
> > > > > NULL)
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/abstract_adapter
.rb:150:in`log'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb
:281:in`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/abstract/databas
e_statements.rb:156:in`insert_sql'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb
:291:in`insert_sql'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/abstract/databas
e_statements.rb:44:in`insert_without_query_dirty'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/abstract/query_c
ache.rb:19:in`insert'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/base.rb:2272:in`create_without_callb
acks'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/callbacks.rb:226:in`create_without_t
imestamps'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/timestamp.rb:29:in`create'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/base.rb:2238:in`create_or_update_wit
hout_callbacks'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/callbacks.rb:213:in`create_or_update
'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/base.rb:1972:in`save_without_validat
ion'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/validations.rb:934:in`save_without_t
ransactions'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:108:in`save'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/connection_adapters/abstract/databas
e_statements.rb:66:in`transaction'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:80:in`transaction'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:100:in`transaction'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:108:in`save'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:120:in`rollback_acti
ve_record_state!'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/transactions.rb:108:in`save'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/app/models/global_co
nfig.rb:98:in
> > > > > `initial_to_db'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/lib/extensions/fixtu
res.rb:26:in
> > > > > `create_fixtures'
> > > > >
/usr/lib/ruby/gems/1.8/gems/activerecord-
> > > > >
2.0.2/lib/active_record/base.rb:1198:in`silence'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/lib/extensions/fixtu
res.rb:23:in
> > > > > `create_fixtures'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/lib/tasks/db.rake:36
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`call'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`each'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in
`invoke'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
> > > > >
`invoke_task'/usr/lib/ruby/gems/1.8/gems/rake-
> > > > > 0.8.1/lib/rake.rb:1909:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`each'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > > > > `standard_exception_handling'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
`run'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > > > > `standard_exception_handling'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in
`run'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
> > > > > /usr/bin/rake:19:in `load'
> > > > > /usr/bin/rake:19
> > > > > rake aborted!
> > > > > Command failed with status (1):
[rake db:fixtures:load_inc_config --
> > > > > trace R...]
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:899:in
`sh'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in
`call'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in
`sh'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:985:in
`sh'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/lib/tasks/db.rake:9
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`call'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`each'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in
`invoke'
> > > > >
/mnt/windowsFAT/work/logilogi.org/trunk/lib/tasks/db.rake:24
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`call'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`each'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
`execute'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
> > > > > `invoke_with_call_chain'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in
`invoke'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
> > > > >
`invoke_task'/usr/lib/ruby/gems/1.8/gems/rake-
> > > > > 0.8.1/lib/rake.rb:1909:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`each'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > > > > `standard_exception_handling'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
`top_level'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
`run'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in
> > > > > `standard_exception_handling'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in
`run'
> > > > >
/usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
> > > > > /usr/bin/rake:19:in `load'
> > > > > /usr/bin/rake:19
> > > > >
> > > > > Am I missing something?
> > > > > any ideas?
> > > > >
> > > > > --
> > > > > Bruno
> > > > >
> > > > >
------------------------------------------------------------
--------
> > > > > -----
> > > > > This SF.net email is sponsored
by: Microsoft
> > > > > Defy all challenges. Microsoft(R)
Visual Studio 2008.
> > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
> > > > >
_______________________________________________
> > > > > LogiLogi-list mailing list
> > > > > LogiLogi-list lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/logilogi-
list
> > > > >
> > > > >
> > > >
> > > >
> > > >
------------------------------------------------------------
-------------
> > > > This SF.net email is sponsored by:
Microsoft
> > > > Defy all challenges. Microsoft(R)
Visual Studio 2008.
> > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
> > > >
_______________________________________________
> > > > LogiLogi-list mailing list
> > > > LogiLogi-list lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/logilogi-
list
> > > >
> > >
> > >
> > >
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
> _______________________________________________
> LogiLogi-list mailing list
> LogiLogi-list lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/logilogi-
list
>
--
Bruno
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
a>
_______________________________________________
LogiLogi-list mailing list
LogiLogi-list lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/logilogi-
list
|