Quantcast

Re: [Tiki-devel] commit 62058

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] commit 62058

Jonny Bradley-4
Hi Victor

Replying via the dev list in case others are experiencing this...

When i did the update locally i feared this sort of error but didn't get any problems, but i did clear the caches before running composer install (via setup.sh), and then cleared them again probably and it worked fine.

Maybe we need to add another test in \TikiInit::getContainer to detect this sort of change in the future... deleting temp/cache/container.php will usually solve this sort of problem.

jonny




> On 6 Apr 2017, at 08:05, Victor Emanouilov <[hidden email]> wrote:
>
> Hi Jonny,
>
> Saw that you updated to symfony 3 components, including the dependency-injection but now I receive the following error when trying to do anything in tiki 17 (console c:c or access the tiki via web interface):
>
> PHP Fatal error:  Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php:170
> Stack trace:
> #0 /home/vicy/work/tiki-17/temp/cache/container.php(33): Symfony\Component\DependencyInjection\Container->set('service_contain...', Object(TikiCachedContainer))
> #1 /home/vicy/work/tiki-17/lib/init/initlib.php(84): TikiCachedContainer->__construct()
> #2 /home/vicy/work/tiki-17/lib/tikilib.php(59): TikiInit::getContainer()
> #3 /home/vicy/work/tiki-17/console.php(68): TikiLib::lib('user')
> #4 {main}
>  thrown in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>
> Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>
> Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container". in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>
> Call Stack:
>    0.0001     251392   1. {main}() /home/vicy/work/tiki-17/console.php:0
>    0.0412    7398736   2. TikiLib::lib() /home/vicy/work/tiki-17/console.php:68
>    0.0412    7398736   3. TikiInit::getContainer() /home/vicy/work/tiki-17/lib/tikilib.php:59
>    0.0412    7399552   4. TikiCachedContainer->__construct() /home/vicy/work/tiki-17/lib/init/initlib.php:84
>    0.0412    7401512   5. Symfony\Component\DependencyInjection\Container->set() /home/vicy/work/tiki-17/temp/cache/container.php:33
>
>
> Maybe something inadvertently changed in the dependency injection v3 and we need to change our tiki container? Or maybe something else I am missing?
>
> Regards,
> Victor
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] commit 62058

Bernard Sfez-3

I had the same issue this morning (was testing ElascticSearch 5 by the way = work ! :)) it went away after svnup Victor's last commit. 

On 6 Apr 2017, at 12:05 , Jonny Bradley <[hidden email]> wrote:

Hi Victor

Replying via the dev list in case others are experiencing this...

When i did the update locally i feared this sort of error but didn't get any problems, but i did clear the caches before running composer install (via setup.sh), and then cleared them again probably and it worked fine.

Maybe we need to add another test in \TikiInit::getContainer to detect this sort of change in the future... deleting temp/cache/container.php will usually solve this sort of problem.

jonny




On 6 Apr 2017, at 08:05, Victor Emanouilov <[hidden email]> wrote:

Hi Jonny,

Saw that you updated to symfony 3 components, including the dependency-injection but now I receive the following error when trying to do anything in tiki 17 (console c:c or access the tiki via web interface):

PHP Fatal error:  Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php:170
Stack trace:
#0 /home/vicy/work/tiki-17/temp/cache/container.php(33): Symfony\Component\DependencyInjection\Container->set('service_contain...', Object(TikiCachedContainer))
#1 /home/vicy/work/tiki-17/lib/init/initlib.php(84): TikiCachedContainer->__construct()
#2 /home/vicy/work/tiki-17/lib/tikilib.php(59): TikiInit::getContainer()
#3 /home/vicy/work/tiki-17/console.php(68): TikiLib::lib('user')
#4 {main}
thrown in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170

Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container". in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170

Call Stack:
  0.0001     251392   1. {main}() /home/vicy/work/tiki-17/console.php:0
  0.0412    7398736   2. TikiLib::lib() /home/vicy/work/tiki-17/console.php:68
  0.0412    7398736   3. TikiInit::getContainer() /home/vicy/work/tiki-17/lib/tikilib.php:59
  0.0412    7399552   4. TikiCachedContainer->__construct() /home/vicy/work/tiki-17/lib/init/initlib.php:84
  0.0412    7401512   5. Symfony\Component\DependencyInjection\Container->set() /home/vicy/work/tiki-17/temp/cache/container.php:33


Maybe something inadvertently changed in the dependency injection v3 and we need to change our tiki container? Or maybe something else I am missing?

Regards,
Victor




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

Bernard Sfez | bsfez.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Tiki-devel] commit 62058

Jonny Bradley-4

Hmm, just got caught with this one myself, even though i thought i have done lots of cache clearing... doing

    rm temp/cache/container.php

...fixed it, sorry for the noise, dev dogfood! :)

jb


> On 6 Apr 2017, at 10:23, Bernard Sfez <[hidden email]> wrote:
>
>
> I had the same issue this morning (was testing ElascticSearch 5 by the way = work ! :)) it went away after svnup Victor's last commit.
>
>> On 6 Apr 2017, at 12:05 , Jonny Bradley <[hidden email]> wrote:
>>
>> Hi Victor
>>
>> Replying via the dev list in case others are experiencing this...
>>
>> When i did the update locally i feared this sort of error but didn't get any problems, but i did clear the caches before running composer install (via setup.sh), and then cleared them again probably and it worked fine.
>>
>> Maybe we need to add another test in \TikiInit::getContainer to detect this sort of change in the future... deleting temp/cache/container.php will usually solve this sort of problem.
>>
>> jonny
>>
>>
>>
>>
>>> On 6 Apr 2017, at 08:05, Victor Emanouilov <[hidden email]> wrote:
>>>
>>> Hi Jonny,
>>>
>>> Saw that you updated to symfony 3 components, including the dependency-injection but now I receive the following error when trying to do anything in tiki 17 (console c:c or access the tiki via web interface):
>>>
>>> PHP Fatal error:  Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php:170
>>> Stack trace:
>>> #0 /home/vicy/work/tiki-17/temp/cache/container.php(33): Symfony\Component\DependencyInjection\Container->set('service_contain...', Object(TikiCachedContainer))
>>> #1 /home/vicy/work/tiki-17/lib/init/initlib.php(84): TikiCachedContainer->__construct()
>>> #2 /home/vicy/work/tiki-17/lib/tikilib.php(59): TikiInit::getContainer()
>>> #3 /home/vicy/work/tiki-17/console.php(68): TikiLib::lib('user')
>>> #4 {main}
>>> thrown in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>>>
>>> Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>>>
>>> Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: You cannot set service "service_container". in /home/vicy/work/tiki-17/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
>>>
>>> Call Stack:
>>>   0.0001     251392   1. {main}() /home/vicy/work/tiki-17/console.php:0
>>>   0.0412    7398736   2. TikiLib::lib() /home/vicy/work/tiki-17/console.php:68
>>>   0.0412    7398736   3. TikiInit::getContainer() /home/vicy/work/tiki-17/lib/tikilib.php:59
>>>   0.0412    7399552   4. TikiCachedContainer->__construct() /home/vicy/work/tiki-17/lib/init/initlib.php:84
>>>   0.0412    7401512   5. Symfony\Component\DependencyInjection\Container->set() /home/vicy/work/tiki-17/temp/cache/container.php:33
>>>
>>>
>>> Maybe something inadvertently changed in the dependency injection v3 and we need to change our tiki container? Or maybe something else I am missing?
>>>
>>> Regards,
>>> Victor
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> TikiWiki-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> Bernard Sfez | bsfez.com
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
> TikiWiki-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
TikiWiki-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Loading...