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

restarting pyrt #38

Open
Bravo13 opened this issue Aug 27, 2012 · 1 comment
Open

restarting pyrt #38

Bravo13 opened this issue Aug 27, 2012 · 1 comment

Comments

@Bravo13
Copy link

Bravo13 commented Aug 27, 2012

When trying to restart pyrt by
./pyrt resart
got erros in log
1 Traceback (most recent call last):
2 File "./pyrt", line 201, in
3 start(args.noupdate)
4 File "./pyrt", line 103, in start
5 serv.main(c)
6 File "/home/torrent/pyrt/modules/server.py", line 765, in main
7 application._pyrtRT = rtorrent.rtorrent(c.get("rtorrent_socket"))
8 File "/home/torrent/pyrt/modules/rtorrent.py", line 116, in init
9 self.availableMethods = self.conn.system.listMethods()
10 File "/home/torrent/pyrt/modules/xmlrpc2scgi.py", line 184, in call
11 xmlresp = SCGIRequest(self.url).send(xmlreq).replace("","").replace("","")
12 File "/home/torrent/pyrt/modules/xmlrpc2scgi.py", line 111, in send
13 scgiresp = self.__send(self.add_required_scgi_headers(data))
14 File "/home/torrent/pyrt/modules/xmlrpc2scgi.py", line 101, in __send
15 recvdata = resp = sock.recv(1024)
16 File "/home/torrent/pyrt/modules/server.py", line 705, in shutdown
17 if self._pyrtPID != os.getpid():
18 AttributeError: 'Main' object has no attribute '_pyrtPID'

@mountainpenguin
Copy link
Owner

I'll check if I can reproduce this, and report back later

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

No branches or pull requests

2 participants