Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Does not work in Latest Nightly. #77

Closed
scrapmac opened this Issue · 25 comments

4 participants

@scrapmac

I downloaded the whole repo just now, packed the proper files into xpi, installed. Tested on youtube and facebook. The big play button with two button below it giving the option to choose flash and shumway appear. Clicking on either shumway or the big play button blanks the flash area, with a shumway label in bottom right and nothing else. I get these errors in error console :

Timestamp: 1/12/2013 8:38:20 PM
Error: ReferenceError: EXECUTION_MODE is not defined
Source File: resource://shumway/web/viewer.html
Line: 327

Timestamp: 1/12/2013 8:38:20 PM
Error: ReferenceError: enableVerifier is not defined
Source File: resource://shumway/web/avm2utils.js
Line: 1

Timestamp: 1/12/2013 8:38:20 PM
Error: ReferenceError: metrics is not defined
Source File: resource://shumway/web/viewer.html
Line: 56

@yurydelendik

proper way to package the extension is to run 'make build-extension'

@scrapmac

And how to do that on windows ?

@yurydelendik

Closing as invalid and duplicate of #31

@scrapmac

#31 has nothing to do with this issue.

@yurydelendik

Tested on youtube and facebook

That's mostly video players

@scrapmac

so ?

@scrapmac

Now that the Downloads tab is gone from github, I think that the xpi should also be uploaded along the source code, so that user can easily download and test. Not only the users who are contributing to this project, but anyone.

@yurydelendik

@scrapmac , it's available for download at http://mozilla.github.com/shumway/

@scrapmac

Thanks :)

@scrapmac

Oh, I downloaded that version initially only, it gave a couple of more errors:

Timestamp: 1/12/2013 8:59:03 PM
Error: TypeError: avm2.applicationDomain.getClass(...) is undefined
Source File: resource://shumway/flash/display/Loader.js
Line: 431

Seems like an older version than what I packed into the xpi.

Also, I tried the steps on the wiki page. The command is erroring out at :

c:\Users\Girish Sharma\Desktop\shumway-master\utils\playerGlobal>c:\Users\Girish Sharma\Desktop\shumway-master\utils\playerGlobal..\apparat\scala-2.8.0.final\bin\scala.bat -cp ".;c:\Users\Girish S
harma\Desktop\shumway-master\utils\playerGlobal..\apparat\apparat-1.0-RC9*" apparat.tools.reducer.Reducer -i ./bin/library.swf -o ./bin/library.min.swf -m
'c:\Users\Girish' is not recognized as an internal or external command,
operable program or batch file.
make[2]: *** [bin/library.min.swf] Error 1
make[2]: Leaving directory /c/Users/Girish Sharma/Desktop/shumway-master/utils/playerGlobal'
make[1]: *** [build-playerglobal] Error 2
make[1]: Leaving directory
/c/Users/Girish Sharma/Desktop/shumway-master/utils'
make: *** [build-playerglobal] Error 2

@yurydelendik

Looks like it does not like spaces in the path

@scrapmac

Moved to a spaceless directory /d/shumway-master

still errors out:

$ make build-playerglobal
make -C utils/ build-playerglobal
make[1]: Entering directory /d/shumway-master/utils'
make -C playerGlobal/ build
which: base64: unknown command
make[2]: Entering directory
/d/shumway-master/utils/playerGlobal'
unzip -n ./bin/playerglobal.swc library.swf -d ./bin
Archive: ./bin/playerglobal.swc
cmd //c runreducer.bat -i ./bin/library.swf -o ./bin/library.min.swf -m

d:\shumway-master\utils\playerGlobal>d:\shumway-master\utils\playerGlobal..\apparat\scala-2.8.0.final\bin\scala.bat -cp ".;d:\shumway-master\utils\playerGlobal..\apparat\apparat-1.0-RC9*" appara
t.tools.reducer.Reducer -i ./bin/library.swf -o ./bin/library.min.swf -m
The system cannot find the path specified.
make[2]: *** [bin/library.min.swf] Error 1
make[2]: Leaving directory /d/shumway-master/utils/playerGlobal'
make[1]: *** [build-playerglobal] Error 2
make[1]: Leaving directory
/d/shumway-master/utils'
make: *** [build-playerglobal] Error 2

@yurydelendik

works for me. try to cleanup or start fresh (instead of moving)

@scrapmac

Cloned in a fresh new location. Similar errors while trying ot do 'make build-playerglobal'

@yurydelendik

Was the make install-utils run?

@scrapmac

that gives this error :

Originally written by Hrvoje Niksic hniksic@xemacs.org.
echo "Checking the presence of java..."
Checking the presence of java...
java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
echo "Checking the presence of node..."
Checking the presence of node...
node -v
make: node: Command not found
make: *** [check-system] Error 127

@yurydelendik

So you are not following anything that asked in the wiki, right?

@scrapmac

I am following each and every step of https://github.com/mozilla/shumway/wiki/Building-Firefox-Extension

but until your last comment was not following https://github.com/mozilla/shumway/wiki/

IMHO, if there are any dependencies for building the extension, they should all be listed in the first page itself.

Anyways, it would have been really nice if up to date xpi would have been provided somewhere.
Thanks for replying. Will not disturb you again.

@scrapmac

Please reopen the issue, as the issue is regarding the xpi not working, even the one that I installed from http://mozilla.github.com/shumway/ . And not regarding how difficult or not it is to build the latest xpi, or am I able to build the extension or not.

@yurydelendik

The Shumway is an experimental project. I'm not sure what's your expectations at this moment. From https://blog.mozilla.org/research/2012/11/12/introducing-the-shumway-open-swf-runtime-project/ : "Please be aware that Shumway is very experimental, is missing features, contains many defects, and is evolving rapidly" .

@scrapmac

Does any of that mean that the issue should be closed without actually fixing or looking into the bug ?
If you are narrowing down the supported version to some specific versions, then its okay. Please note that I am not new to shumway or Mozilla and have already read that blog. It also says that "try it out" and that was what I was trying to do.

@yurydelendik

Does any of that mean that the issue should be closed without actually fixing or looking into the bug ?

I did. Looks like a dup of #31.

@magcius

Error: TypeError: avm2.applicationDomain.getClass(...) is undefined
Source File: resource://shumway/flash/display/Loader.js
Line: 431

This means that Shumway hasn't implemented a specific class from Flash yet, because, as mentioned, it's experimental.

@xsoh

by the way, why don't you add this link in the main github page of shumway?
http://mozilla.github.com/shumway/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.