thomas037 / augustus

Automatically exported from code.google.com/p/augustus
0 stars 0 forks source link

Problem running occupancyExample #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Followed the steps outlined in doc/augustus-project-example.html.  The exact 
same steps work fine in 0.3.3.1, so I've verfied it's not a problem with 
following the instructions.

What is the expected output? What do you see instead?

Here's an attempt to run the producer on the first traffic data file:
[bmiller@archy:scripts]% python produce.py -f traffic-24h-2007-11-01 -t 10      

(0.000 secs)  Beginning timing  
(0.000 secs)  Creating configuration file
(3.610 secs)  Creating input PMML file
(0.000 secs)  Starting producer
producer 2010-05-09 14:41:09,907 Read Config File
ERROR:root:event failed: SingleFileFramer: None
Traceback (most recent call last):

  File "/home/bmiller/src/python/augustus-trunk-read-only/augustus/runlib/any_reader.py", line 185, in feed_pipe
    return_val = head.feed(data)

  File "/home/bmiller/src/python/augustus-trunk-read-only/augustus/runlib/any_reader.py", line 627, in feed
    self.read_more()

  File "/home/bmiller/src/python/augustus-trunk-read-only/augustus/runlib/any_reader.py", line 620, in read_more
    if self.handle.closed:

AttributeError: 'path' object has no attribute 'closed'

(0.013 secs)  Inputting model
Traceback (most recent call last):
  File "produce.py", line 124, in <module>
    main(fileTree.project, options)
  File "produce.py", line 107, in main
    Producer.main(config, timing, False)
  File "/home/bmiller/src/python/augustus-trunk-read-only/augustus/modellib/baseline/producer/Producer.py", line 1043, in main
    mine.inputPMML()
  File "/home/bmiller/src/python/augustus-trunk-read-only/augustus/modellib/baseline/producer/Producer.py", line 483, in inputPMML
    reader.parse(str(self.__input))
AttributeError: Producer instance has no attribute '_Producer__input'
(3.666 secs)  Lifetime of timer

What version of the product are you using? On what operating system?

Tried on Augustus 0.4.1.1 and trunk with the same results.  Using Python 2.6 
and Numpy 1.4.0.  As mentioned, this exact same setup works just fine with 
Augustus 0.3.3.1.

Please provide any additional information below.

It's not specific to this one example either.  I've attempted speedExample and 
volumeExample with the same results.  Note that it does get far enough to 
create a .pmml file in occupancyExample/producer, but this file is still of 
PMML version 3.1.

Original issue reported on code.google.com by bm3...@gmail.com on 23 Jun 2010 at 7:24

GoogleCodeExporter commented 8 years ago
I will look into the issue.

Bug 30 was also about another one of the examples, so we might have broken 
something and missed it when we released 0.4.1 or 0.4.1.1.  I will review all 
of the examples and work on them in the trunk for the upcoming release in 
August.

Original comment by collinbe...@gmail.com on 25 Jun 2010 at 12:22

GoogleCodeExporter commented 8 years ago
There is a release scheduled for August, and I'd rather not push any bug fixes 
before then so that everything can be tested together.  I will try to get this 
and the last few reported bugs included in the release.

Original comment by collinbe...@gmail.com on 29 Jul 2010 at 2:32

GoogleCodeExporter commented 8 years ago
It turns out that this issue is the same as issue 30.

Original comment by RedWallK...@gmail.com on 19 Aug 2010 at 10:59