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

Versions of requirements #2

Open
dhblum opened this issue Jun 15, 2023 · 0 comments
Open

Versions of requirements #2

dhblum opened this issue Jun 15, 2023 · 0 comments

Comments

@dhblum
Copy link

dhblum commented Jun 15, 2023

Started with a clean clone of this repo and following instructions to start up. I have the multizone_office_simple_air test case running and in a different terminal run commands with following outputs:

$ python BopTestProxy.py simple.ttl
usage: BopTestProxy.py [-h] [--buggers] [--debug [DEBUG [DEBUG ...]]]
                       [--color] [--route-aware] [--ini INI]
                       [--baseurl BASEURL]
                       brick_model start_time warmup_period
BopTestProxy.py: error: too few arguments

Then tried

$ python BopTestProxy.py simple.ttl 19740 3600
Traceback (most recent call last):
  File "BopTestProxy.py", line 291, in <module>
    main()
  File "BopTestProxy.py", line 276, in main
    create_objects(this_application, args.brick_model)
  File "BopTestProxy.py", line 103, in create_objects
    g.parse(configfile)
  File "/home/dhbubu18/.local/lib/python2.7/site-packages/rdflib/graph.py", line 1078, in parse
    parser.parse(source, self, **args)
  File "/home/dhbubu18/.local/lib/python2.7/site-packages/rdflib/plugins/parsers/rdfxml.py", line 579, in parse
    self._parser.parse(source)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 224, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
    raise exception
xml.sax._exceptions.SAXParseException: file:///home/dhbubu18/git/boptest-bacnet/boptest-bacnet-proxy/simple.ttl:1:0: not well-formed (invalid token)

I'm using Python 2.7, rdflib==5.0.0, bacpypes==0.18.5. Wanted to double check first this isn't a version issue? @epaulson Can you indicate what versions of packages you're using? Might be good to anyway include in the requirements.txt and/or on readme.

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

1 participant