Jump to content

vBulletin 4 Importer: Rebuild Task - Sorry, you do not have permission for that!


Recommended Posts

Posted

Hi

Just trying the latest build with an import but I am getting:

Quote

Sorry, you do not have permission for that!

1S111/1

This happens with the back ground tasks for rebuilding and breaks the cron, that error appears manually running after a few minutes.

Could contain: Text

I suspect its to do with Deleting empty topics as it appears to try that before it errors although that says its at 32.84% above the task states Processing DeleteEmptyTopics - 1979 / 1979 initially.

It seems to get on a bit further when I retry the manual tasks.

The system log has an error of type "multiredirect" with the following:

InvalidArgumentException::0

#0 /home/ipb/htdocs_4.6.12/system/File/File.php(1559): IPS\_Image::create('')
#1 /home/ipb/htdocs_4.6.12/applications/convert/extensions/core/Queue/RebuildProfilePhotos.php(94): IPS\_File->thumbnail('core_Profile', 240, 240, true)
#2 /home/ipb/htdocs_4.6.12/system/Task/Task.php(47): IPS\convert\extensions\core\Queue\_RebuildProfilePhotos->run(Array, 0)
#3 /home/ipb/htdocs_4.6.12/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue()
#4 /home/ipb/htdocs_4.6.12/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}(Array)
#5 /home/ipb/htdocs_4.6.12/applications/core/modules/admin/system/background.php(136): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url\Internal), Object(Closure), Object(Closure))
#6 /home/ipb/htdocs_4.6.12/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\system\_background->process()
#7 /home/ipb/htdocs_4.6.12/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute()
#8 /home/ipb/htdocs_4.6.12/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute()
#9 /home/ipb/htdocs_4.6.12/admin/index.php(13): IPS\_Dispatcher->run()
#10 {main}

 

I dont know if there is any problem in it, it didnt happen with my last import on 4.6.10

 

Thanks

Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

Posted

Any pointers for getting it to complete?

 

I manually triggered the cron and got a more full error:

Exception:
InvalidArgumentException Object
(
    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home/{PATH TO MY INSTALL HTDOCS}/system/Image/Image.php
    [line:protected] => 108
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/system/File/File.php
                    [line] => 1559
                    [function] => create
                    [class] => IPS\_Image
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [1] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/applications/convert/extensions/core/Queue/RebuildProfilePhotos.php
                    [line] => 94
                    [function] => thumbnail
                    [class] => IPS\_File
                    [type] => ->
                    [args] => Array
                        (
                            [0] => core_Profile
                            [1] => 240
                            [2] => 240
                            [3] => 1
                        )

                )

            [2] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/system/Task/Task.php
                    [line] => 47
                    [function] => run
                    [class] => IPS\convert\extensions\core\Queue\_RebuildProfilePhotos
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [app] => 1
                                    [count] => 3491
                                    [completed] => 2
                                )

                            [1] => 0
                        )

                )

            [3] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/applications/core/tasks/queue.php
                    [line] => 43
                    [function] => runQueue
                    [class] => IPS\_Task
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/system/Task/Task.php
                    [line] => 367
                    [function] => IPS\core\tasks\{closure}
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/applications/core/tasks/queue.php
                    [line] => 55
                    [function] => runUntilTimeout
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Closure Object
                                (
                                    [this] => IPS\core\tasks\queue Object
                                        (
                                            [caches:protected] => Array
                                                (
                                                )

                                            [_data:protected] => Array
                                                (
                                                    [id] => 5
                                                    [app] => core
                                                    [key] => queue
                                                    [frequency] => P0Y0M0DT0H1M0S
                                                    [next_run] => 1651849571
                                                    [running] => 1
                                                    [enabled] => 1
                                                    [plugin] => 
                                                    [lock_count] => 3
                                                    [last_run] => 1651838791
                                                )

                                            [_new:protected] => 
                                            [changed] => Array
                                                (
                                                    [running] => 1
                                                    [next_run] => 1651849571
                                                )

                                            [skipCloneDuplication] => 
                                        )

                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/system/Task/Task.php
                    [line] => 266
                    [function] => execute
                    [class] => IPS\core\tasks\_queue
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/system/Task/Task.php
                    [line] => 229
                    [function] => run
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /home/{PATH TO MY INSTALL HTDOCS}/applications/core/interface/task/task.php
                    [line] => 58
                    [function] => runAndLog
                    [class] => IPS\_Task
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
)

 

Posted

Hey,

Just to say with the changes that are for rebuilding profile photos (avatars) the rebuilt image seems lose transparency with .gif files it appears so far.

I have the modified file you sent so I wasnt sure if I should report it here or in a fresh thread.

Posted
11 minutes ago, Jim M said:

Do you have an example we can take a look at here? I can then have it investigated further.

Sorry its my fault, having dug in further it appears its a css background colour thats showing and when I opened the image separately in the browser its background for transparent images was the same colour.

I realised when I saved the images to compare.

  • 1 month later...
Posted

This issue has been resolved in 4.7.0 which has recently been released. Please upgrade to that version to resolve this, and of course, let us know if you are still seeing any issues.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...