Coder Social home page Coder Social logo

Comments (9)

RobinMeis avatar RobinMeis commented on July 17, 2024

Did you already add new commands and which Python version are you running?

from siri-api.

hans-peter123 avatar hans-peter123 commented on July 17, 2024

No, the version is newly installed.
I started the server with python3.

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

Okay, can you try to run python3 and enter version() after that to get the version of Python 3.

from siri-api.

hans-peter123 avatar hans-peter123 commented on July 17, 2024

Sorry I can't, this shows up:

pi@pi ~ $ python3
Python 3.2.3 (default, Mar 1 2013, 11:53:50)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.

version()
Traceback (most recent call last):
File "", line 1, in
NameError: name 'version' is not defined

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

My mistake ;) , but anyway it returned that you are running Python 3.2.3. It is the same version I'm running on my raspberry pi. Did you already try to open the file using nano commands.py? Could you also read the encoding by running file -bi commands.py and post the output here?

I'm currently not shure why the problem occours. Do you work locally on the raspberry pi or did you connect over SSH?

from siri-api.

hans-peter123 avatar hans-peter123 commented on July 17, 2024

I am connected over SSH.
Yes, I can open the the commands.py
and the output is:
file -bi commands.py

It is possible that an error has occurred during compile?

from siri-api.

hans-peter123 avatar hans-peter123 commented on July 17, 2024

Should I try it again directly on the pi?

from siri-api.

RobinMeis avatar RobinMeis commented on July 17, 2024

You can try it directly on the Pi. This would ensure that there aren't any encoding issues over SSH. If this doesn't help try to download the Siri API source code again. Maybe there was just an error during the transfer. If this also does not help the problem might be in your Python3 installation. You could try to reinstall it by running apt-get remove python3 and after that apt-get install python3. Don't forget to reboot your Pi after that.

The compilation process can't cause the problem because it is of squid proxy and not of Siri API

from siri-api.

hans-peter123 avatar hans-peter123 commented on July 17, 2024

Many many thanks, now everything works perfectly
After I setup my Raspberry new and execute all commands directly on the Pi.

Thank you for these cool software! :)

from siri-api.

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.