Code Monkey home page Code Monkey logo

Comments (9)

jisqyv avatar jisqyv commented on July 24, 2024

Strange.... What happens if you comment out that line (you can, it is just printing debugging information)?

from appinventor-sources.

themadrobot avatar themadrobot commented on July 24, 2024

tried that now get the following error when I run aiDaemon.py

C:\AI\appinventor-sources\appinventor\misc\emulator-support>python aiDaemon.py
Traceback (most recent call last):
File "aiDaemon.py", line 2, in
from bottle import run,route,app,request,response,template,default_app,Bottl
e,debug,abort
File "C:\AI\appinventor-sources\appinventor\misc\emulator-support\bottle.py",
line 373
except re.error, e:
^
SyntaxError: invalid syntax

C:\AI\appinventor-sources\appinventor\misc\emulator-support>

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

I'm not sure what is going on here. I suspect that the copy of aiDaemon.py and bottle.py that you have are corrupt in some way, but I'm not sure what way. How did you obtain them?

-Jeff

from appinventor-sources.

themadrobot avatar themadrobot commented on July 24, 2024

Got the latest version from github master branch. downloaded using the command

git pull upstream master

to make sure I had the latest version of MIT AI2 code

I can email my aiDeamon.py and bottle.py if you would like to check them?

from appinventor-sources.

josmas avatar josmas commented on July 24, 2024

I think this is fixed now. closing; feel free to re-open.

from appinventor-sources.

themadrobot avatar themadrobot commented on July 24, 2024

In windows I don't think this is fixed yet as in aiDeamon.py it is missing the PLATDIR = for windows. I have been able to do a work around to sort this out by moving the install AI setup files from
"C:\Program Files (x86)\AppInventor" to "C:\AppInventor" then in the aiDeamon.py I set "PLATDIR = 'C:/AppInventor/''"

I wasn't able to get it working with PLATDIR = 'C:/Program Files (x86)/AppInventor/'

I'm not up to speed on Python sorry

from appinventor-sources.

josmas avatar josmas commented on July 24, 2024

Sorry, thought I'd heard one of you two mentioned that it was sorted... will reopen it now.

from appinventor-sources.

jisqyv avatar jisqyv commented on July 24, 2024

Are you able to use the latest setup tools?

from appinventor-sources.

josmas avatar josmas commented on July 24, 2024

Closing now; old thread.

from appinventor-sources.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.