[Beremiz-devel] running Beremiz runtime on Windows/Linux Ubuntu Error:object has no attribute '__getitem__'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] running Beremiz runtime on Windows/Linux Ubuntu Error:object has no attribute '__getitem__'

sky99915
Hi Mr. Andrey Skvortsov,

I'm trying installed it under two systems.
  a.Windows-install from "https://cloud.woelkli.com/s/wSKLa8Gcron3Byn"
  b.Linux Ubuntu - by following the instructions provided in
     "https://bitbucket.org/automforge/beremiz/src/default/" -Build on Linux

I'm write a simple codel to try it,but when i build project the following
error appears


app-title:
beremiz

app-version:
1.2-69fefac5760e

cwd:
C:\Program Files (x86)\Beremiz\mingw\bin

date:
Wed Sep 05 14:47:34 2018

e-type:
<type 'exceptions.TypeError'>

e-value:
'NoneType' object has no attribute '__getitem__'

locals:
    p: None

platform:
Windows-7-6.1.7601-SP1

python-version:
2.7.3

traceback:
  File "C:\Program Files
(x86)\Beremiz\python\lib\site-packages\wx-3.0-msw\wx\_core.py", line 16766,
in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "C:\Program Files (x86)\Beremiz\beremiz\IDEFrame.py", line 922, in
_Refresh
    self.RefreshFunctions[element]()
  File "C:\Program Files (x86)\Beremiz\beremiz\BeremizIDE.py", line 481, in
RefreshTitle
    projectname = self.CTR.GetProjectName()
  File "C:\Program Files (x86)\Beremiz\beremiz\ProjectController.py", line
356, in GetProjectName
    return os.path.split(self.ProjectPath)[1]
  File "C:\Program Files (x86)\Beremiz\python\lib\ntpath.py", line 170, in
split
    d, p = splitdrive(p)
  File "C:\Program Files (x86)\Beremiz\python\lib\ntpath.py", line 125, in
splitdrive
    if p[1:2] == ':':
<type 'exceptions.TypeError'>: 'NoneType' object has no attribute
'__getitem__'

wx-platform:
__WXMSW__

wx-version:
3.0.2.0

Windows -
<http://beremiz-devel.2374573.n4.nabble.com/file/t16/1.jpg>
<http://beremiz-devel.2374573.n4.nabble.com/file/t16/2.jpg>
<http://beremiz-devel.2374573.n4.nabble.com/file/t16/3.jpg>

Linux Ubuntu -
<http://beremiz-devel.2374573.n4.nabble.com/file/t16/linuxError.jpg>

Best regards




--
Sent from: http://beremiz-devel.2374573.n4.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel