Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4126] Linux: Fastdev: After starting fastdev server it gives exception when you check status or do a restart-app

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2011-05-24T16:54:50.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sRelease 1.7.0, Sprint 2011-21
ComponentsAndroid
Labelsexception, fastdev, linux, mac, status, tbs-1.7.1
ReporterNatalie Huynh
AssigneeBill Dawson
Created2011-05-17T16:27:28.000+0000
Updated2011-05-24T22:48:32.000+0000

Description

Steps to Reproduce: 1. Create a new project in tiStudio 2. start fastdev server 'titanium fastdev start' 3. check status 'titanium fastdev status' Actual Result Exception thrown (See attached file) Expected Result: To return the status of the running server

Attachments

FileDateSize
LinuxFastdev.txt2011-05-17T16:27:28.000+00001729

Comments

  1. Marshall Culpepper 2011-05-19

    Moving this to TBS-1.7.1, can't repro in my personal Ubuntu 9.10, will need more time to verify
  2. Max Stepanov 2011-05-20

    I integrated FastDev support into TiStudio and seeing the same error for FastDev process in Console view. MacOSX
  3. Natalie Huynh 2011-05-24

    Cannot restart-app or kill-app from the command line ---------------------------------------- Exception happened during processing of request from ('127.0.0.1', 34996) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 582, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.7/SocketServer.py", line 639, in __init__ self.handle() File "/home/labuser/.titanium/mobilesdk/linux/1.7.0/android/fastdev.py", line 115, in handle if not server.is_serving(): AttributeError: ThreadingTCPServer instance has no attribute 'is_serving' ----------------------------------------
  4. Bill Dawson 2011-05-24

    Use 2.7 server attributes when appropriate.
  5. Natalie Huynh 2011-05-24

    Tested with May 24 2011 16:00 r4c9bc010

JSON Source