[SOLVED] Karma MOD vs MPV

Discussion forum for MOD Writers regarding MOD Development.
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

[SOLVED] Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 1:48 pm

Hello,

I have a little error with Karma MOD or MPV.
When i'm trying to check new version of Karma MOD with MPV i have this report:
MPV user notice found at functions_compress.php line 316: Unexpected header, ending loopValidation results: (Validating zip)

[ NOTICE ] Please note that all checks are done by an automated tool. In some cases a FAIL/WARNING can be valid/allowed usage of a function.
[ FAIL ] No MODX files found in package
[ FAIL ] You are missing the required XSL file for displaying the XML file in the browser.
[ FAIL ] You are missing the required license.txt file.

Report made by MPV $Rev: 184 $ || MPV server: mpv1
Time : 9.795s | Memory Usage: 1.51 MiB
But when i'm checking it by local-copy of MPV it works perfectly.
As i see at report on of us have an error at zip-packaging, but my archive perfectly opens on Windows and Mac OS X Snow Leopard.
This archive was created by muCommander under Mac OS X Snow Leopard and has right file/folder structure.
So i have a question, i must check Karma MOD with local-copy of MPV or you(we?) will fix MPV?

Update: Checked with another MOD, works perfectly. Where is a problem? O_o

Sorry for wasting your time.
Last edited by m157y on Wed Feb 24, 2010 7:34 am, edited 1 time in total.
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Karma MOD vs MPV

Post by igorw » Sun Feb 21, 2010 2:39 pm

MPV user notice found at functions_compress.php line 316: Unexpected header, ending loop
This happens with malformed zips created by some programs on mac os x. Use an other program to create the zip, then it should work.
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 2:44 pm

Ouch, okay. I'll use another archiver.
But another question, why it works on my localhost?
Update: Khm, switched to command-line zip. MPV doesn't work with Karma MOD`s archive if it containts contrib folder. But it doesn't show NO MODX error. It just shows blank page. But when mod doesn't contain contrib folder it works perfectly.
P.S.
MPV on localhost works perfectly again.
P.P.S.
Also tested 2 another GUI-archivers, they have the same problem.
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 4:18 pm

Just another test.
Blank screen shows only when contrib consists files with names 1.0.0b3.to.1.4.0.xml, 1.0.3.to.1.4.0.xml, 1.1.3.to.1.4.0.xml.. But no problem with 1.2.3.to.1.4.0.xml..
And this was an idea for some another tests.
If replace those files with noproblem file like 1.0.0.to.1.4.0.xml error will be appear again.
But if remove all actions from those files it'll be parsed without any problems.

Update: I thinks that phpBB.com`s MPV contain new version(which doesn't placed at SVN), because Rev-numbers at svn and at phpBB.com are different. Can you share it(put at svn or attach here), i'll test it on localhost and will try to fix this problem if it'll be here. Thanks for your help.

Update2: About headers error.

Code: Select all

MPV user notice found at functions_compress.php line 316: Unexpected header, ending loopValidation results: (Validating zip)
It'll be here only if contrib-folder exists at mod archive, but when you'll delete it - problem will gone. Just tested now. Also this problem not from wrong zip-creating. Tested on command-line zip. I think that MPV need fixes now. :(
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Karma MOD vs MPV

Post by igorw » Sun Feb 21, 2010 5:27 pm

Try the unstable branch, this is what is used on phpBB.com: http://code.phpbb.com/svn/modxtools/mpv ... /unstable/.

The $Rev$ is inaccurate anyway because it only shows the revision of mpv.php and not the revision of the whole MPV directory.
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 5:33 pm

Of course i tried unstable branch and it works perfectly on localhost.
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17009
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Karma MOD vs MPV

Post by DavidIQ » Sun Feb 21, 2010 9:23 pm

Can you please report it to the bug tracker? We're planning up a patch. Please attach the original zip file to the bug ticket you create that was giving you problems as well. Thanks! :)
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 9:45 pm

As you wish: Ticket #57985
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17009
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Karma MOD vs MPV

Post by DavidIQ » Sun Feb 21, 2010 10:33 pm

Hopefully that fixes it. Thanks for reporting it :) and thanks to evil<3 for providing the patch of course.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Sun Feb 21, 2010 10:44 pm

Yep, already checked. Works on localhost and on phpbb.com :) thanks for your work guys :)
P.S.
i think that moderators can close this topic :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Mon Feb 22, 2010 2:27 pm

Khm, a little question.
Did you switched to old version? O_o
MPV doesn't work again.
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17009
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Karma MOD vs MPV

Post by DavidIQ » Mon Feb 22, 2010 3:18 pm

Nope. Is it giving the same error again?
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Mon Feb 22, 2010 4:38 pm

It's shows blank screen again with updated version of archive, but it was archived like previous with same software and archive contains 1.0.3.to.1.4.0.xml(and all other problem-files) again. And like at previous time on localhost it works perfectly.
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17009
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Karma MOD vs MPV

Post by DavidIQ » Mon Feb 22, 2010 4:49 pm

That's something else...a timeout. We're working on moving mpv to a more accessible server so timeouts are minimized. If your local mpv reports no issues I wouldn't worry about it too much.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: Karma MOD vs MPV

Post by m157y » Mon Feb 22, 2010 4:58 pm

Khm, timeout with 3 files? and if i'll delete another 3 file problem still here. Possible timeout caused by some another error with those files? Maybe you can enable full php-errors/warnings report for MPV and you/we will look for a problem?
P.S.
Of course, i'm checking it with local copy of MPV. :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter

Locked

Return to “[3.0.x] MOD Writers Discussion”