Opened 16 years ago
Closed 16 years ago
#213 closed defect (fixed)
digitizer: errors at copying categories
Reported by: | msieczka | Owned by: | martinl |
---|---|---|---|
Priority: | major | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | svn-develbranch6 |
Keywords: | Cc: | grass-dev@… | |
CPU: | x86-64 | Platform: | Linux |
Description
- enter digitizer
- select "Copy categories" tool
- pick a feature with the left mouse key
- press the middle key to de-select it
- pick the same feature again with the left key - error:
Traceback (most recent call last): File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma pdisp.py", line 923, in MouseActions self.OnLeftUp(event) File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma pdisp.py", line 1336, in OnLeftUp 'distance=%f' % qdist]) File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gcmd.py", line 365, in __init__ self.PrintModuleOutput())) gui_modules.gcmd . CmdError
Change History (6)
follow-up: 2 comment:1 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 16 years ago
Replying to martinl:
'Copy categories' is currently implemented only in slow 'vedit' interface (Config->Preferences->Advanced). For now I have disabled this tool when 'vdigit' is used. I tested 'vedit' interface, seems to work.
I tried the tool in vedit and no errors as I played around, but I didn't manage to copy a category from feature to feature. How does one actually use the tool?
Enough to close this ticket?
BTW: There are two important TODOs for vdigit:
- implement 'copy category'
- rewrite undo which is not working correctly now
Given that tickets fro these two issues are open, I guess we can close this one.
follow-up: 4 comment:3 by , 16 years ago
Replying to msieczka:
I tried the tool in vedit and no errors as I played around, but I didn't manage to copy a category from feature to feature. How does one actually use the tool?
- Select 'from' feature by left mouse button (click), right button to confirm selection.
- Select 'to' feature by left mouse button (click), right button to confirm selection, categories are copied.
Martin
comment:4 by , 16 years ago
Replying to martinl:
Replying to msieczka:
I tried the tool in vedit and no errors as I played around, but I didn't manage to copy a category from feature to feature. How does one actually use the tool?
- Select 'from' feature by left mouse button (click), right button to confirm selection.
- Select 'to' feature by left mouse button (click), right button to confirm selection, categories are copied.
Using the tool exactly this way I still can't get it work (in vedit). Also, as I use it errors are printed:
Traceback (most recent call last): File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma pdisp.py", line 927, in MouseActions self.OnLeftDown(event) File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma pdisp.py", line 1138, in OnLeftDown if self.parent.dialogs['attributes'].IsShown(): File "/usr/lib/python2.5/site- packages/wx-2.8-gtk2-unicode/wx/_core.py", line 9110, in IsShown return _core_.Window_IsShown(*args, **kwargs) TypeError : in method 'Window_IsShown', expected argument 1 of type 'wxWindow const *'
6.4 SVN r32000.
comment:5 by , 16 years ago
Copy categories in now available in wxGUI/vdigit (r33166).
- Choose 'from' feature -- by left mouse button -- point (only one)
- Choose 'to' feature -- by left mouse button -- point or bbox (multiple allowed)
You can decide if to copy categories or duplicate attributes. It means to add new category and add records to the attribute table based on 'from' category(ies).
Please test. Martin
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
'Copy categories' is currently implemented only in slow 'vedit' interface (Config->Preferences->Advanced). For now I have disabled this tool when 'vdigit' is used. I tested 'vedit' interface, seems to work. Enough to close this ticket?
BTW: There are two important TODOs for vdigit:
Martin