Giter Site home page Giter Site logo

Comments (1)

melnarte avatar melnarte commented on June 3, 2024

ROS melodic
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
python 2.7
when I want to upstart my own package, I write

rosrun robot_upstart install qr_configuration/launch/configuration.launch

then show the error:

/lib/systemd/systemd
Traceback (most recent call last):
File "/path/robot_upstart/scripts/install", line 32, in
exit(main())
File "/path/robot_upstart/src/robot_upstart/install_script.py", line 123, in main
j.install(Provider=provider)
File "/path/robot_upstart/src/robot_upstart/job.py", line 162, in install
installation_files = p.generate_install()
File "/path/robot_upstart/src/robot_upstart/providers.py", line 179, in generate_install
"content": self._fill_template("templates/systemd_job.conf.em"), "mode": 0o644}
File "/path/robot_upstart/src/robot_upstart/providers.py", line 229, in _fill_template
self.interpreter.file(f)
File "/usr/lib/python2.7/dist-packages/em.py", line 2359, in file
self.safe(scanner, done, locals)
File "/usr/lib/python2.7/dist-packages/em.py", line 2401, in safe
self.parse(scanner, locals)
File "/usr/lib/python2.7/dist-packages/em.py", line 2421, in parse
token.run(self, locals)
File "/usr/lib/python2.7/dist-packages/em.py", line 1107, in run
interpreter.write(self.data)
File "/usr/lib/python2.7/dist-packages/em.py", line 2172, in write
self.stream().write(data)
File "/usr/lib/python2.7/dist-packages/em.py", line 538, in write
self.filter.write(data)
TypeError: unicode argument expected, got 'str'

from robot_upstart.

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.