[Beremiz-devel] Fwd: bug report

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] Fwd: bug report

Rickard Andersson
Error on trying to set Location of variable


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

bug_report_2019_02_21__15-02-51.txt (2K) Download Attachment
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] Fwd: bug report

skv
Administrator
Hi Rickard,

thank you for the report. This issue should be already fixed by this
commit:

https://bitbucket.org/automforge/beremiz/commits/5b8a7dd43f9f

and shouldn't happen if you use latest version.

On 19-02-21 15:17, Rickard Andersson wrote:
> Error on trying to set Location of variable

> app-title:
> plcopeneditor
>
> app-version:
> 1.2
>
> cwd:
> C:\Users\Rickard Andersson\OpenPLC\PLCopen Editor
>
> date:
> Thu Feb 21 15:02:51 2019
>
> e-type:
> <type 'exceptions.KeyError'>
>
> e-value:
> u'Alla'
>
> locals:
>     self: <dialogs.BrowseLocationsDialog.BrowseLocationsDialog; proxy of <Swig Object of type 'wxDialog *' at 0x693ce90> >
>
> platform:
> Windows-post2008Server-6.2.9200
>
> python-version:
> 2.7.2
>
> self:
>     VarTypeSize: 'X'
>     TreeImageList: <wx._gdi.ImageList; proxy of <Swig Object of type 'wxImageList *' at 0x6b8cc50> >
>     this: <Swig Object of type 'wxDialog *' at 0x693ce90>
>     LocationsTree: <wx._controls.TreeCtrl; proxy of <Swig Object of type 'wxPyTreeCtrl *' at 0x6bd7468> >
>     Locations: []
>     BaseVarType: 'BOOL'
>     Controller: <PLCControler.PLCControler object at 0x0643B9F0>
>     TypeFilterChoice: <wx._controls.ComboBox; proxy of <Swig Object of type 'wxComboBox *' at 0x6b797f8> >
>     VarType: 'BOOL'
>     DirFilterChoice: <wx._controls.ComboBox; proxy of <Swig Object of type 'wxComboBox *' at 0x6b79690> >
>     TreeImageDict: {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5}
>
> traceback:
>   File "C:\Users\Rickard Andersson\OpenPLC\PLCopen Editor\Editor\controls\LocationCellEditor.py", line 88, in OnBrowseButtonClick
>     dialog = BrowseLocationsDialog(self, self.VarType, self.Controller)
>   File "C:\Users\Rickard Andersson\OpenPLC\PLCopen Editor\Editor\dialogs\BrowseLocationsDialog.py", line 156, in __init__
>     self.RefreshFilters()
>   File "C:\Users\Rickard Andersson\OpenPLC\PLCopen Editor\Editor\dialogs\BrowseLocationsDialog.py", line 162, in RefreshFilters
>     self.DirFilter = DIRFILTERCHOICE_OPTIONS[self.DirFilterChoice.GetStringSelection()]
> <type 'exceptions.KeyError'>: u'Alla'
>
> wx-platform:
> __WXMSW__
>
> wx-version:
> 2.8.12.1
>

> _______________________________________________
> Beremiz-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/beremiz-devel


--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment