Comments (15)
We should/need to support that, also in the GUI.
@yGoerguelue and @CGingter could you fix that? Is it possible to implement UnitTests also for GUI
from teaser.
There is no reason why the controller should not have a init.py but teaser behaves really weird in Python 2.7. This looks like a lot of research/work so i would propose to give it to @yGoerguelue because i got only one week left.
from teaser.
Please specify what you mean by "behaves really weird"? Because all functions that are implemented in the unit tests (almost all containend in Logic) run in python 2.7 and python 3.4!
from teaser.
Ok so for example the load building function lets you only select .xml files which is nowhere specified. When you load a building the paint function gets called infinite times and the program gets shut down. That was the only thing i tested so far but it is really strange.
from teaser.
Oh wait he just starts an older version...which is still weird...let me look into it!
from teaser.
Ok so for example the load building function lets you only select .xml files which is nowhere specified. When you load a building the paint function gets called infinite times and the program gets shut down. That was the only thing i tested so far but it is really strange.
I don't understand this. what "paint" function do you mean? And how can I select a .xml file that is nowhere defined? Maybe like a hardcoded path somewhere?
Update:
Ahh understand the .XML problem now, still not thinkng that this is a python 2.7 / 3.4 problem
from teaser.
That's not what i meant. For some reason if i select the python 2.7 interpreter it uses an old teaser 4 version. In this version you could only select .xml files in the file dialog when you clicked on Load Building and also some newer buttons are missing. The paint function is a PYQT function that draws all the controls and it breaks when trying to fill in the zone lists, but this is of no concern since it is most likely just a bug in this old version.
So the question is why does it load an old version and not the current one?
from teaser.
Maybe you need to update you installation of teaser with pip for 2.7
from teaser.
Got it figured out...well actually i just deleted my workspace and made a new one but hey whatever works...
Still getting some errors, can hopefully solve it today!
from teaser.
@MichaMans I can start the GUI ordinary under Python 2.7. Maybe you don't have the package(PyQt4) that is needed. Look if you can find the folder PyQt4 in "C:\Python27\Lib\site-packages".
from teaser.
@PRemmen Strange things are happening, if i start the GUI in branch (issue57...) with python27 and load a Project into it. Everything works, but if I do a double click on the zone element and nothing happens. If I start the GUI in another branch like issue47 or issue41 everything works fine.
from teaser.
So i looked into the development branch. its not starting with python 2.7. I think a coding decleration would help here (since i get and ASCII error in a commented block). like first line
# -*- coding: utf-8 -*-
But i'm not sure if this will help or if this is a right solution.
from teaser.
That's the problem with the German language, we can't use german characters like ß,ö,ä, ü. For now we shouldn't use german characters. I will fix it tomorrow and search for an alternative solution.
from teaser.
To circumvent the ASCII error you can use the html escaped string instead of the character. You can search in the MainUI class for & # 1 7 6; which is °. ß for example would be & # 2 2 3;. Good luck!
Just write it together and ignore the spaces between & and ; because else this website converts it to the symbol. Whoops!
from teaser.
To do
- Language differences and workarounds
from teaser.
Related Issues (20)
- multizone post processing missing connection
- Setter functions of buildingobjects in ThermalZone not working
- Extending the predefined archetypes by a school and kindergarden type HOT 3
- Allow more current lighting usages HOT 3
- Danish tabula archetypes
- Handling (custom) weather data HOT 3
- Orientation of roof in SFH
- Missing solid wall in Tabula_de TypeElements HOT 1
- remove webtool from readme
- Add BESMod output
- wrong call to c1_korr in _calc_inner_elements() HOT 3
- Italian tabula archetypes integration HOT 1
- Update CI templates
- Update docs HOT 2
- Typo in example e6_generate_building HOT 1
- Add TABULA archetypes for Eastern Germany
- Add KfW Efficiency House wall structures
- Uses AixLib v 1.3.2
- Add __Dymola_selection option to AixLib export HOT 1
- Bug in class DataClass when loading read-only files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teaser.