ricklamers / gridstudio

Grid studio is a web-based application for data science with full integration of open source data science frameworks and languages.
GNU Affero General Public License v3.0
8.88k stars 1.5k forks source link

It does not work correctly in macos #81

Closed databill closed 5 years ago

databill commented 5 years ago

My laptop:

Chrome 76
MacOS 10.13.6

any program can not run correctly:

sheet("B1", 100)
sheet("C1", 1000)

only C1 is set, while B1 not.

Even a very simple for loop can not execute including the examples in the repo:

for i in range(1,10):
    print (i)

The trace log is:

Traceback (most recent call last):
  File "python/init.py", line 282, in getAndExecuteInput
  File "<string>", line 1, in <module>
NameError: name 'i' is not defined
wookim789 commented 5 years ago

Hello databill. Im my DeskTop is window > vmware (ubuntu).

I'm just user at grid studio and I had same problem. First Question about sheet method is well functioned. So i could'nt help you.. image image

But for loop case, I had same issue like you. Solution is like that. Select the for loop code and execute at once. image

It code editor do not work when multi line code, so you should darg all the multi code line and then execute.

I hope this will help. thank you.

databill commented 5 years ago

OK, understood. I should select the codes, and then execute.