Edgewall Software
Modify

Opened 16 years ago

Last modified 13 years ago

#351 new defect

ParseError: not well formed, and TypeError: 'NoneType' object is not callable

Reported by: Dan Boresjo <Dan.Boresjo@…> Owned by: cmlenz
Priority: major Milestone:
Component: Build master Version: 0.5.3
Keywords: Cc:
Operating System: Linux

Description

When I run bitten-master and bitten slave on the same machine I get:

Listening to connections on homer.uk.zetes.com:7633
Checking for unused snapshot archives...
Scheduling event _enqueue_builds to run at 2009-01-14 16:50:51.796497
Connected to 127.0.1.1:52065
Send greeting with profiles: ['http://bitten.cmlenz.net/beep/orchestration']
Sending frame [RPY 0 0 . 0 119]
Handling frame [RPY 0 0 . 0 49]
Handling frame [MSG 0 0 . 49 124]
Start channel 1 for profile <http://bitten.cmlenz.net/beep/orchestration>
Sending frame [RPY 0 0 . 119 98]
Handling frame [MSG 1 0 . 0 162]
Slave homer matched target platform "any"
Scheduling event _initiate_builds to run at 2009-01-14 16:49:22.637425
Registered slave "homer"
Sending frame [RPY 1 0 . 0 43]
Checking for pending builds...
Initiating build of "core" on slave homer
Sending frame [MSG 1 0 . 43 958]
Scheduling event _enqueue_builds to run at 2009-01-14 16:52:53.641068
Enqueuing build of configuration "core" at revision [4202] on any
Scheduling event _initiate_builds to run at 2009-01-14 16:51:17.867674
Scheduling event _cleanup to run at 2009-01-14 16:54:29.867947
Checking for pending builds...
Scheduling event _enqueue_builds to run at 2009-01-14 16:54:53.870601
Traceback (most recent call last):
  File "/usr/bin/bitten-master", line 7, in ?
    sys.exit(
  File "build/bdist.linux-i686/egg/bitten/master.py", line 437, in main
  File "build/bdist.linux-i686/egg/bitten/util/beep.py", line 149, in run
  File "build/bdist.linux-i686/egg/bitten/master.py", line 61, in _enqueue_builds
  File "build/bdist.linux-i686/egg/bitten/queue.py", line 154, in populate
  File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 100, in sync
    repos_youngest = self.repos.youngest_rev
  File "/var/lib/python-support/python2.4/trac/versioncontrol/api.py", line 193, in <lambda>
    youngest_rev = property(lambda x: x.get_youngest_rev())
  File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 384, in get_youngest_rev
    self.youngest = fs.youngest_rev(self.fs_ptr, self.pool())
TypeError: 'NoneType' object is not callable

and

[DEBUG   ] Send greeting with profiles: []
[DEBUG   ] Sending frame [RPY 0 0 . 0 49]
[DEBUG   ] Connecting to homer:7633
[DEBUG   ] Connected to peer at homer:7633
[DEBUG   ] Handling frame [RPY 0 0 . 0 119]
[DEBUG   ] Requesting start of channel 1 with profiles ['http://bitten.cmlenz.net/beep/orchestration']
[DEBUG   ] Sending frame [MSG 0 0 . 49 124]
[DEBUG   ] Handling frame [RPY 0 0 . 119 98]
[DEBUG   ] Channel 1 started with profile http://bitten.cmlenz.net/beep/orchestration
[INFO    ] Registering with build master as homer
[DEBUG   ] Properties: {'machine': 'i686', 'version': '2.6.18-6-686', 'os': 'Linux', 'processor': '', 'family': 'posix'}
[DEBUG   ] Sending frame [MSG 1 0 . 0 162]
[DEBUG   ] Handling frame [RPY 1 0 . 0 43]
[INFO    ] Registration successful
[DEBUG   ] Handling frame [MSG 1 0 . 43 958]
[ERROR   ] not well-formed (invalid token): line 1, column 1
Traceback (most recent call last):
  File "asyncore.py", line 69, in read
    obj.handle_read_event()
  File "asyncore.py", line 391, in handle_read_event
    self.handle_read()
  File "asynchat.py", line 137, in handle_read
    self.found_terminator()
  File "build/bdist.linux-i686/egg/bitten/util/beep.py", line 278, in found_terminator
  File "build/bdist.linux-i686/egg/bitten/util/beep.py", line 311, in _handle_frame
  File "build/bdist.linux-i686/egg/bitten/util/beep.py", line 465, in handle_data_frame
  File "build/bdist.linux-i686/egg/bitten/slave.py", line 98, in handle_msg
  File "build/bdist.linux-i686/egg/bitten/util/xmlio.py", line 182, in parse
ParseError: not well-formed (invalid token): line 1, column 1
[WARNING ] Peer homer:7633 closed connection
[INFO    ] Session terminated

My build recipe is very simple:

<build xmlns:sh="http://bitten.cmlenz.net/tools/sh">
  <step id="build" description="build">
    <sh:exec executable="mvn" args="clean -o -Dtarget=production -Ddatabase=oracle10g compile package install"/>
  </step>
</build>

I am running trac 0.10.3 and Bitten 0.5.3 on Debian/stable

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by Dan Boresjo <Dan.Boresjo@…>

I should also mention that I am running:

svn, version 1.4.2 (r22196)
   compiled Nov 10 2006, 17:39:50

comment:2 Changed 15 years ago by osimons

#156 closed as duplicate.

comment:3 Changed 15 years ago by osimons

0.5.x won't be maintained anymore, and it is very unlikey that it will be researched and fixed. Please report back when using Trac 0.11.x and Bitten trunk (0.6dev). Does the error still occur?

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain cmlenz.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.