Environment variables expansion failed


#1

When I started my program in AppStudio get this message:

08:46:32: Environment variables expansion failed: missing ‘)’ at position 5 in ‘l2$(’.
08:46:32: Environment variables expansion failed: missing ‘)’ at position 9 in ‘mid(l3$(’.
08:46:32: Environment variables expansion failed: missing ‘)’ at position 9 in ‘mid(l2$(’.

Program is running normally, what to do to find this error?


#2

Can you send a screen shot, so we can know the context?


#3

This message is popup when I started AppStudio.
The program thats is showing up is working as it should!


#4

This message is also popup on every program I stop and start again!


#5
  1. Is there anything in the log? You can see it in the About screen.

  2. What date format does your system use?

  3. If you click on the Details icon, does it show more information?

  4. Are you on Mac OS?


#6

1:
log is empty, but in log folder find this:
2017-07-14 14:50:00,419 - main - INFO - * Starting at level: 10
2017-07-14 14:50:00,419 - main - INFO - * Install Dir: /Applications/AppStudio.app/Contents/MacOS
2017-07-14 14:50:00,419 - main - INFO - * Frozen: True
2017-07-14 14:50:00,419 - main - INFO - ****************************************
2017-07-14 14:50:00,419 - main - INFO - * Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
2017-07-14 14:50:00,419 - main - INFO - * wxPython 3.0.3.0.b20160914 osx-cocoa (classic)
2017-07-14 14:50:00,419 - main - INFO - * ecdsa 0.13
2017-07-14 14:50:00,419 - main - INFO - * jsbeautifier 1.5.4
2017-07-14 14:50:00,419 - main - INFO - * paramiko 1.15.2
2017-07-14 14:50:00,419 - main - INFO - * pycrypto 2.6.1
2017-07-14 14:50:00,419 - main - INFO - * pysftp 0.2.8
2017-07-14 14:50:00,419 - main - INFO - * PyYAML 3.11
2017-07-14 14:50:00,420 - main - INFO - * requests 2.10.0
2017-07-14 14:50:00,420 - main - INFO - * six 1.10.0
2017-07-14 14:50:00,420 - main - INFO - * verlib (no version in module)
2017-07-14 14:50:00,420 - main - INFO - * Native OpenSSL 0.9.8zh 14 Jan 2016
2017-07-14 14:50:00,420 - main - INFO - * Python OpenSSL 1.0.2h 3 May 2016
2017-07-14 14:50:00,420 - main - INFO - * ndg.httpsclient (no version in module)
2017-07-14 14:50:00,420 - main - INFO - ****************************************
2017-07-14 14:50:00,476 - main - INFO - Registration: eJxNkE1LxEAMhv/KkqttyUg/dufsQfTiQbwOaZu6A9NpnUyLi/jfnbaIQk4Pb8Lz5gtWDmInDxrqAguEDJzt2Asn8sAru2nmkGhvhVrHPeiBnHAGnsYt80T+9Bym8TotMcWEgyWX+FvZ5DXW+fnymPAceODAvmMB7RfnMgj8sbBE01Pc7tyjanJMU74q1FWpsbpD1LgZ/Uap7wNLugBnLKq6UI0qLvU/OROYZC+TYGuds/7dDPu6724Hnuk2so9m5HidUh14+ets+HO2geLxkF1JqaR02k0OGVla6YKdt5CRSHHZhKiLdmX4/gEXaml5
2017-07-14 14:50:00,606 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): www.nsbasic.com
2017-07-14 14:50:01,442 - PropertiesPanel - WARNING - Property does not exist: _parent
2017-07-14 14:50:01,443 - PropertiesPanel - WARNING - Property does not exist: method
2017-07-14 14:50:01,443 - PropertiesPanel - WARNING - Property does not exist: onsubmit
2017-07-14 14:50:01,443 - PropertiesPanel - WARNING - Property does not exist: _uuid
2017-07-14 14:50:01,443 - PropertiesPanel - WARNING - Property does not exist: action
2017-07-14 14:50:02,127 - IDEController - WARNING - Ignoring duplicate selection request.
2017-07-14 14:55:46,907 - main - INFO - ****************************************
2017-07-14 14:55:46,907 - main - INFO - * Welcome to NSB/AppStudio 6.2.6.3
2017-07-14 14:55:46,907 - main - INFO - * Starting at level: 10
2017-07-14 14:55:46,907 - main - INFO - * Install Dir: /Applications/AppStudio.app/Contents/MacOS
2017-07-14 14:55:46,907 - main - INFO - * Frozen: True
2017-07-14 14:55:46,907 - main - INFO - ****************************************
2017-07-14 14:55:46,907 - main - INFO - * Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
2017-07-14 14:55:46,907 - main - INFO - * wxPython 3.0.3.0.b20160914 osx-cocoa (classic)
2017-07-14 14:55:46,907 - main - INFO - * ecdsa 0.13
2017-07-14 14:55:46,907 - main - INFO - * jsbeautifier 1.5.4
2017-07-14 14:55:46,907 - main - INFO - * paramiko 1.15.2
2017-07-14 14:55:46,907 - main - INFO - * pycrypto 2.6.1
2017-07-14 14:55:46,907 - main - INFO - * pysftp 0.2.8
2017-07-14 14:55:46,907 - main - INFO - * PyYAML 3.11
2017-07-14 14:55:46,907 - main - INFO - * requests 2.10.0
2017-07-14 14:55:46,907 - main - INFO - * six 1.10.0
2017-07-14 14:55:46,908 - main - INFO - * verlib (no version in module)
2017-07-14 14:55:46,908 - main - INFO - * Native OpenSSL 0.9.8zh 14 Jan 2016
2017-07-14 14:55:46,908 - main - INFO - * Python OpenSSL 1.0.2h 3 May 2016
2017-07-14 14:55:46,908 - main - INFO - * ndg.httpsclient (no version in module)
2017-07-14 14:55:46,908 - main - INFO - ****************************************
2017-07-14 14:55:46,966 - main - INFO - Registration: eJxNkE1LxEAMhv/KkqttyUg/dufsQfTiQbwOaZu6A9NpnUyLi/jfnbaIQk4Pb8Lz5gtWDmInDxrqAguEDJzt2Asn8sAru2nmkGhvhVrHPeiBnHAGnsYt80T+9Bym8TotMcWEgyWX+FvZ5DXW+fnymPAceODAvmMB7RfnMgj8sbBE01Pc7tyjanJMU74q1FWpsbpD1LgZ/Uap7wNLugBnLKq6UI0qLvU/OROYZC+TYGuds/7dDPu6724Hnuk2so9m5HidUh14+ets+HO2geLxkF1JqaR02k0OGVla6YKdt5CRSHHZhKiLdmX4/gEXaml5
2017-07-14 14:55:47,033 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): www.nsbasic.com
2017-07-14 14:55:47,752 - PropertiesPanel - WARNING - Property does not exist: _parent
2017-07-14 14:55:47,752 - PropertiesPanel - WARNING - Property does not exist: method
2017-07-14 14:55:47,752 - PropertiesPanel - WARNING - Property does not exist: onsubmit
2017-07-14 14:55:47,753 - PropertiesPanel - WARNING - Property does not exist: _uuid
2017-07-14 14:55:47,753 - PropertiesPanel - WARNING - Property does not exist: action
2017-07-14 14:55:48,378 - IDEController - WARNING - Ignoring duplicate selection request.
2:
Apple America (time.apple.com)

3:
14:55:46: Environment variables expansion failed: missing ‘)’ at position 5 in ‘l2$(’.
14:55:46: Environment variables expansion failed: missing ‘)’ at position 9 in ‘mid(l3$(’.
14:55:46: Environment variables expansion failed: missing ‘)’ at position 9 in ‘mid(l2$(’.

4:
macOS Siera
Version 10.12.5
64 bit


#7

Thank you.

In System Preferences, what are your settings for Language & Region?

In that same screen, go to Advanced. What is showing in General and Dates?


#8

I remember that when I started again with this latest version I had not this problem. I have tried some examples, but without this message.
Lastweek when I worked on the Satellite program at once I get this messages out of the blue


#9

What is on your Datums screen?


#10

What are you meaning with this question?


#11

You show the “Algemeen” tab. What is under the “Datums” tab?


#12


#13

Thank you - we will look into this.

Other than the error, is everything working OK?


#14

Yes all works fine tested my program output agains my python part, exact the same answers


#15

Let’s remove the registry entry:

On a Mac, you need to delete

~/Library/Preferences/App Studio Preferences

You will need to enter your serial number on restart.