horiator / beamproject

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

Static path built into package #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Log-file

Traceback (most recent call last):
  File "Beam.py", line 34, in <module>
  File "bin\beamsettings.pyo", line 32, in <module>
  File "bin\beamsettings.pyo", line 54, in BeamSettings
IOError: [Errno 2] No such file or directory: 
'C:\\Users\\develop\\Build\\beam03\\dist\\resources\\text\\strings.txt'

Installed om Milos machine. Somehow this is baked into the code.

Original issue reported on code.google.com by mikael.h...@gmail.com on 3 Feb 2015 at 11:29

GoogleCodeExporter commented 9 years ago
setup.py and beamsettings.py are the same for 0.22 and 0.24. 

Will try to get a clean version from repository and to combine the build 
build-files for Mac and Windows to minimize manual handling.

Original comment by mikael.h...@gmail.com on 3 Feb 2015 at 2:54

GoogleCodeExporter commented 9 years ago
The section of the code that generates the cached/static path

# strings resources JSON format
filename = os.path.join(os.getcwd(), 'resources', 'text', 'strings.txt')
stringResources = json.load(open(filename, "r"))

Original comment by mikael.h...@gmail.com on 4 Feb 2015 at 12:13

GoogleCodeExporter commented 9 years ago

Original comment by mikael.h...@gmail.com on 12 Feb 2015 at 8:10

GoogleCodeExporter commented 9 years ago
Confirmed to work with 0.3

Original comment by mikael.h...@gmail.com on 19 Feb 2015 at 7:26