Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes prompted by errors on multiple systems in system installs and virtual env. #17

Closed
wants to merge 4 commits into from

Conversation

MPlugInSpace
Copy link

The error is below.

Traceback (most recent call last):                                                                                                                       File "./my_daemon.py", line 67, in <module>
    main()
  File "./my_daemon.py", line 59, in main
    daemon.start()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 98, in start
    self.daemonize()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 60, in daemonize
    so = open(self.stdout, 'a+')
OSError: [Errno 29] Illegal seek

Your Name and others added 4 commits March 16, 2018 11:06
'''
$ ./my_daemon.py start
Traceback (most recent call last):                                                                                                                       File "./my_daemon.py", line 67, in <module>
    main()
  File "./my_daemon.py", line 59, in main
    daemon.start()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 98, in start
    self.daemonize()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 60, in daemonize
    so = open(self.stdout, 'a+')
OSError: [Errno 29] Illegal seek
'''
… virtual env.

'''
Traceback (most recent call last):                                                                                                                       File "./my_daemon.py", line 67, in <module>
    main()
  File "./my_daemon.py", line 59, in main
    daemon.start()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 98, in start
    self.daemonize()
  File "/usr/local/lib/python3.5/dist-packages/sqs_listener/daemon.py", line 60, in daemonize
    so = open(self.stdout, 'a+')
OSError: [Errno 29] Illegal seek
'''
@jegesh
Copy link
Owner

jegesh commented Mar 26, 2018

Is this standard practice? I don't really have the time at the moment to look into best practices of writing to stdout, but it seems a bit strange to be truncating it with 'w' flag. Maybe there's another way to solve the problem you experienced?

@posix4e
Copy link
Contributor

posix4e commented Mar 11, 2019

Let's close this for now. I don't think this is useful anymore

@MPlugInSpace
Copy link
Author

MPlugInSpace commented Mar 11, 2019 via email

@jegesh jegesh closed this Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants