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

Test on other platforms #57

Open
Myoldmopar opened this issue Jan 18, 2017 · 10 comments
Open

Test on other platforms #57

Myoldmopar opened this issue Jan 18, 2017 · 10 comments
Assignees
Labels
Milestone

Comments

@Myoldmopar
Copy link
Owner

I can probably do them, but I can imagine plenty of candidates.

@Myoldmopar Myoldmopar modified the milestone: Version 1.0 Jan 18, 2017
@Myoldmopar Myoldmopar self-assigned this Jan 18, 2017
@mitchute
Copy link

mitchute commented Jan 18, 2017

Tried on my Windows 7 machine with PyCharm (Python 2.7.11). I am hitting this error.

C:\Python27\python.exe D:/EnergyPlus/Projects/ep-transition/eptransition/transition.py
Traceback (most recent call last):
  File "D:/EnergyPlus/Projects/ep-transition/eptransition/transition.py", line 6, in <module>
    from eptransition.exceptions import ManagerProcessingException
ImportError: No module named eptransition.exceptions

@Myoldmopar
Copy link
Owner Author

Cool man, thanks. You have pip installed?

@mitchute
Copy link

Aye

@Myoldmopar
Copy link
Owner Author

Myoldmopar commented Jan 18, 2017 via email

@mitchute
Copy link

Looks like that is getting closer (I didn't pass any files)

C:\Python27\python.exe D:/EnergyPlus/Projects/ep-transition/eptransition/transition.py
usage: transition.py [-h] [-o OUTPUT] [-p PREVIDD] [-n NEWIDD] [-v]
                     original_input
transition.py: error: too few arguments

Why can't I run the transition file before pip installing?

@mitchute
Copy link

I tried building the docs locally and got this error

D:\EnergyPlus\Projects\ep-transition\docs>make html
Running Sphinx v1.4.8
making output directory...

Extension error:
Could not import extension sphinxcontrib.spelling (exception: No module named sphinxcontrib.spelling)

@Myoldmopar
Copy link
Owner Author

The spelling package you are missing is available through pip as shown in the test descriptions, let me know if pip installing this works.

@mitchute
Copy link

Looks like it can't find the IDD. Is it supposed to be brought in with pip?

C:\Users\Matt\Desktop>eptransition
usage: eptransition [-h] [-v] input_files [input_files ...]
eptransition: error: too few arguments

C:\Users\Matt\Desktop>eptransition GSHP-GLHE.idf
Traceback (most recent call last):
  File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\eptransition.exe\__main__.py", line 9, in <module>
  File "C:\Python27\lib\site-packages\eptransition\transition.py", line 56, in m
ain
    manager.perform_transition()
  File "C:\Python27\lib\site-packages\eptransition\manager.py", line 139, in per
form_transition
    raise eFAE(self.original_idd_file, eFAE.CANNOT_FIND_FILE, eFAE.ORIGINAL_DICT
_FILE)
eptransition.exceptions.FileAccessException: File access problem occurred:
  Trying to operate on *original dictionary file* at "C:\Python27\lib\site-packa
ges\eptransition\versions\8.5\Energy+.idd"
  Problem: cannot find file

@Myoldmopar
Copy link
Owner Author

Very interesting! Yeah it is supposed to. I'll check it out.

@mitchute
Copy link

Looks like it's working now! W00t! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants