-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[v0.6.1] UI not displaying, SyntaxError: invalid property id app.533abea1.js:1:49107 #2279
Comments
Very strange, what browser is that? You shouldn't see minified stack traces (since the app comes bundled with sourcemaps). |
I have the same on windows. Firefox and chrome works nicely. Internet Explorer and Edge stay blank. Even with compatibility mode. Note: i do not see the "minified stack traces". I do see "We're sorry but gekko-vue-ui doesn't work properly without JavaScript enabled. Please enable it to continue" if i pull up the source of the page... |
@StevenHop I don't have access to a windows machine, so I am unable to test. Strange that it doesn't work on edge though. As for @151henry151, you did mention linux so I am curious as to your browser. Also:
Please edit the file located at |
Well Edge and IE have dropped the ball for me. I don't use them anymore. Not going to research why it doesnt work there. If Others work it is a Edge problem.. You're rigth about the UIconfig.js. He has altered the wrong version.. |
@askmike Thanks for taking a look; I am running Firefox ESR 52.8.1 on my local system (thinkpad):
Gekko is running on my remote system (crunch):
I tried editing gekko/web/vue/dist/UIconfig.js instead of gekko/web/vue/public/UIconfig.js but didn't see any change in the behavior. Could you possibly help me to understand why there are two different UIconfig.js and what the appropriate usage for each of them is? Thanks. |
Henry,
Could you possibly help me to understand why there are two different
UIconfig.js and what the appropriate usage for each of them is?
This is an unfortunate consequence with the new Gekko coming with an
updated version of the frontend framework (vue), here is some context:
#2280
The gist of the story is:
The Gekko UI is a web frontend project, whenever your browser loads it
needs to know where the gekko server (backend process) is running (host +
IP) as to even start talking to the server. The UIconfig file was the
easiest way to do this: it is served directly to your browser so the
frontend can directly know where to reach the backend.
This is kind of hacky solution, a better one is to have the frontend ask
the user for this data (some kind of a installation wizard) and store it in
a cache. The current UI is very old and I am already working on a new one
where this will be managed better, read more (outdated info) here:
https://forum.gekko.wizb.it/thread-1429.html
…----
As to your problem, I have not been able to reproduce it yet. When you
click on the error and it loads the minified code, does it highlight a
specific point in the long line (where it is complaining about an `id`)?
Column 49107 does not seem to be related.
On Sat, Jul 7, 2018 at 12:47 AM, Henry Romp ***@***.***> wrote:
@askmike <https://github.com/askmike> Thanks for taking a look; I am
running Firefox ESR 52.8.1 on my local system (thinkpad):
***@***.***:~$ uname -a
Linux thinkpad 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
***@***.***:~$ apt list firefox-esr
Listing... Done
firefox-esr/stable,now 52.8.1esr-1~deb9u1 amd64 [installed]
N: There is 1 additional version. Please use the '-a' switch to see it
***@***.***:~$ firefox-esr -v
Mozilla Firefox 52.8.1
Gekko is running on my remote system (crunch):
***@***.***:~/gekko (develop)$ uname -a
Linux crunch 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
***@***.***:~/gekko (develop)$ node -v
v8.11.3
***@***.***:~/gekko (develop)$ npm -v
5.6.0
I tried editing gekko/web/vue/dist/UIconfig.js instead of
gekko/web/vue/public/UIconfig.js but didn't see any change in the
behavior. Could you possibly help me to understand why there are two
different UIconfig.js and what the appropriate usage for each of them is?
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2279 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA7MD2XURHD0eETQf2w9TLRhRpr7sNHlks5uD5SfgaJpZM4VExND>
.
--
PGP key at keybase.io/mikevanrossum
<https://keybase.io/mikevanrossum/key.asc>
|
Thanks for your time;
When I click the error it does not highlight a specific point in the line; it opens a new tab with a url like "view-source:http://my.ip.address.here:3000/js/app.533abea1.js" which has that big block of text as one line, and then on a second line it has Here are some screenshots of anything I could see in the inspector/web console that I thought might be relevant: http://i.imgur.com/KJSjTvi.png I thought when I saw something saying "noscript" that I maybe had the noscript plugin installed, but I checked and I don't. It does look like my browser is using IcedTea; in my "plugins" section under "add-ons" I've got an entry called IcedTea which when I click on it says "IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (1.6.2-3.1))The IcedTea-Web Plugin executes Java applets." -- could that be related? Thanks again for any help and for all you've done already, and for making this awesome program! --Henry EDIT: |
Glad you were able to solve it. I am using Firefox myself as my main browser (but I'll be sure to test on Chrome as well). I have no issues whatsoever.
Firefox version 52 was released over a year ago, that might explain it. The framework I updated as part of Gekko 0.6 (vue) has the following configuration related to browser versions:
(see https://vuejs-templates.github.io/webpack/babel.html). And Your version is ~10 versions behind (I am running version 62). You can try updating firefox to see if that solves it. I am closing this as I am unable to reproduce and it does not appear to be effecting anyone else. (but feel free to keep commenting). |
Upgrading my firefox version resolved the issue. Thanks for the help Mike! 👍 |
`Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
git clone https://github.com/askmike/gekko.git
changed directory to ~/gekko and ran
npm install --only=production
changed directory to ~/gekko/exchange/ and ran and ran
npm install --only=production
edited ~/gekko/web/vue/public/UIconfig.js to reflect correct IP address (0.0.0.0 for api host and my machine's IP address for ui host) and set headless to "true"
ran
node gekko --ui
navigated to my.ip.address.here:3000 in web browser, see only blank white screen; nothing outputs in terminal when reloading the page.
Expected result (what you hoped would happen)
To see gekko UI in browser
Actual
result (unexpected outcome)
See only blank white page in browser.
In my browser console, I see
SyntaxError: invalid property id app.533abea1.js:1:49107
When I click
app.533abea1.js:1:49107
I see[edited out]
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
Thanks in advance for any assistance!
The text was updated successfully, but these errors were encountered: