SharpScratchMod / Sharp

Sharp Scratch Mod - In Development!
http://sharpscratchmod.github.io
GNU General Public License v2.0
7 stars 2 forks source link

Current web-test of Sharp doesn't work #22

Open Tymewalk opened 8 years ago

Tymewalk commented 8 years ago

When I go here, all I get is a white screen.

Testing with Firefox/Linux and Chrome/Linux.

NoMod-Programming commented 8 years ago

Can you give some version numbers? And GNU-Linux distro?

ghost commented 8 years ago

it works for me, you just need to wait a while Windows 8.1 Chrome Version 53.0.2785.143 m

Mrcomputer1 commented 8 years ago

It works for me as well. Windows 10, Firefox 49.0.1. I also tested it in my Linux VM (Ubuntu 14.04 LTS, Firefox 38.0). It worked.

But as @algmwc5 said you may need to wait a while for it to load. The first time it loads (and after every update to it) it may take a few extra seconds (to download the SWF). The second time it may take 2-3 seconds to load.

But if it is white still after 30 seconds and the page is not still loading then what we might need is:

ghost commented 8 years ago

Okay, I experienced this issue a few minutes ago, but to fix it just reload the page

Tymewalk commented 8 years ago

I tried reloading the page, although it still didn't work.

There is a Flash SOMETHING there, my browser loads that, but it doesn't show Sharp's interface.

Tymewalk commented 8 years ago

@NoMod-Programming Firefox 49 and Google Chrome 53.0.2785.143, both for Ubuntu Linux 14.04 LTS. Flash version being Flash 11.2 (release 202) for Firefox.

Not sure about Chrome because they use Pepperflash on Linux which is different.

ghost commented 8 years ago

@NoMod-Programming Firefox 49 and Google Chrome 53.0.2785.143, both for Ubuntu Linux 14.04 LTS. Flash version being Flash 11.2 (release 202) for Firefox.

That might explain the issue, we built the SWF using ./gradlew build -Ptarget=11.6 (it's the default when you run ./gradlew build) which is not compatible with your version of Flash. I think I have a solution for this...

ghost commented 8 years ago

Welp

λ gradlew build -Ptarget=10.6
Defining custom 'build' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
Target is: 10.6
Commit ID for scratch-flash is: 17174dd-dirty

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\...\My Documents\Github\Sharp\scratch.gradle' line: 46

* What went wrong:
A problem occurred evaluating script.
> Cannot invoke method replace() on null object

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.859 secs

building with -Ptarget=10.6 failed

Mrcomputer1 commented 8 years ago

@algmwc5 I removed build-failed because it doesn't real make sense to have that on an issue unless it is a checklist for adding a feature

@Tymewalk To get Flash version on chrome chromeversion

It seems to work for me on Ubuntu 14.04 LTS, Firefox 49.0, Flash 11.2 (release 202) (11.2.202.468)

Tymewalk commented 8 years ago

@Mrcomputer1

Google Chrome 53.0.2785.143 (Official Build) (64-bit)

Flash 23.0.0.185

Tymewalk commented 8 years ago

Oh.

I tried it again in Chrome and it works.

The only problem is Firefox/Linux.

ghost commented 8 years ago

@Tymewalk Have you tried clearing the cache?

NoMod-Programming commented 7 years ago

@algmwc5 Could you try building it in ant? By default it builds for both targets, and in my opinion (but maybe not yours), it makes building for both versions significantly easier.

Mrcomputer1 commented 7 years ago

I think I found why @algmwc5's build failed.

In config.groovy (where the targets are defined) it is 10.2 not 10.6

Building with -Ptarget=10.2 is successful for me. I tried -Ptarget=10.6 and got the same error as @algmwc5.


Anyway should I add a 10.2 option to the Sharp website?