-
Notifications
You must be signed in to change notification settings - Fork 15
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
Create new Debian package under new name #4
Comments
@johanvdw the previous debian package had the following installed: |
I actually started working on this: So far it does not work well - so I Johan |
For the record: it does install, the package can be imported, but for some reason the mapslicer script itself fails. Strangely it does run when I use execfile("/usr/bin/mapslicer.py") from python but not when run from the commandline. |
Temporary solution added through fpm to have something for the OSGeoLive 8.5 release. |
Thanks, I have a lot of other work this week - happy you found a quick solution. Johan On Mon, Feb 16, 2015 at 9:43 PM, Angelos Tzotsos [email protected]
|
I'm suspecting that if you execute the program from a location other than its own folder, then it will fail to load the other resources. Here's what I do to ensure programs run proper from wherever they're executed: root = os.path.dirname(__file__)
# then, all other files and folders have the root prefixed
routesFolder = os.path.join(root,'routes')
configRules = json.load(open(os.path.join(root,"config.json"))) |
No description provided.
The text was updated successfully, but these errors were encountered: