Coder Social home page Coder Social logo

Comments (4)

dgud avatar dgud commented on June 8, 2024

terminate: {plugin,sel_groups} (wx_deleted)
Comes from wpc_sel_win:293

setCurrent failure probably comes when you are deleting a geometry window, should be ok most of the time.

from wings.

dgud avatar dgud commented on June 8, 2024

We are supposed to make the new version so good they never will turn back :-)

from wings.

Micheus avatar Micheus commented on June 8, 2024

I think I already comment about this before (by email, maybe)...

Because the code is using the preferences variable saved_windows to store the float windows if we dock all the windows we were using the in old Wings3d version the preferences is getting both variables (saved_windows and saved_cont_windows) filled with the same windows:

{saved_cont_windows,[{split,splitVertically,836},
                     {split_rev,splitVertically,169},
                     {geom,{-1,-1},
                           {-1,-1},
                           [{show_info_text,true},
                            {show_groundplane,true},
                            {show_axes,true},
                            {fov,45.0},
                            {clipping_planes,{0.1,1.0e4}}]},
                     {split,splitHorizontally,490},
                     {{plugin,sel_groups},
                      {-1,-1},
                      {-1,-1},
                      [{module,wpc_sel_win}]},
                     {split,splitHorizontally,634},
                     {{plugin,saved_views},
                      {-1,-1},
                      {-1,-1},
                      [{module,wpc_views_win}]},
                     {palette,{-1,-1},{-1,-1},[]},
                     {split,splitHorizontally,539},
                     {wings_outliner,{-1,-1},{-1,-1},[]},
                     {{object,geom},{-1,-1},{-1,-1},[]}]}. 
{saved_windows,[{geom,{0,53},
                      {1062,614},
                      [{rollup,false},
                       {show_info_text,true},
                       {show_groundplane,true},
                       {show_axes,true},
                       {fov,52.385815},
                       {clipping_planes,5.91,1.0e4},
                       {toolbar_hidden,false}]},
                {outliner,{1277,0},{201,292},[{rollup,false}]},
                {palette,{1277,573},{201,75},[{rollup,false}]},
                {{object,geom},{1277,311},{201,243},[{rollup,false}]},
                {wpc_views_win,{{plugin,saved_views},
                                {0,362},
                                {142,208},
                                [{rollup,true}]}},
                {wpc_sel_win,{{plugin,sel_groups},
                              {0,149},
                              {142,193},
                              [{rollup,false}]}}]}. 

Here is the crash dump and I attached my preferences file

=ERROR REPORT==== 18-Sep-2016::10:12:24 ===
Error in process <0.56.0> with exit value:
{{key_exists,palette},
 [{gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,318}]},
  {gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,297}]},
  {gb_trees,insert_1,4,[{file,"gb_trees.erl"},{line,280}]},
  {gb_trees,insert,3,[{file,"gb_trees.erl"},{line,277}]},
  {wings_wm,new,3,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,134}]},
  {wings_wm,toplevel,4,
            [{file,"f:/unixlike/src/wings/src/wings_wm.erl"},{line,1310}]},
  {wings_palette,create_window,4,
                 [{file,"f:/unixlike/src/wings/src/wings_palette.erl"},
                  {line,81}]},
  {wings_frame,'-import_layout/2-lc$^0/1-0-',2,
               [{file,"f:/unixlike/src/wings/src/wings_frame.erl"},
                {line,148}]},
  {wings_frame,import_layout,2,
               [{file,"f:/unixlike/src/wings/src/wings_frame.erl"},
                {line,148}]},
  {wings,init,1,[{file,"f:/unixlike/src/wings/src/wings.erl"},{line,142}]}]}

=ERROR REPORT==== 18-Sep-2016::10:12:24 ===
** wx object server {local,wings_frame} terminating 
** Last message in was {'EXIT',<0.56.0>,
                           {{key_exists,palette},
                            [{gb_trees,insert_1,4,
                                 [{file,"gb_trees.erl"},{line,318}]},
                             {gb_trees,insert_1,4,
                                 [{file,"gb_trees.erl"},{line,297}]},
                             {gb_trees,insert_1,4,
                                 [{file,"gb_trees.erl"},{line,280}]},
                             {gb_trees,insert,3,
                                 [{file,"gb_trees.erl"},{line,277}]},
                             {wings_wm,new,3,
                                 [{file,
                                      "f:/unixlike/src/wings/src/wings_wm.erl"},
                                  {line,134}]},
                             {wings_wm,toplevel,4,
                                 [{file,
                                      "f:/unixlike/src/wings/src/wings_wm.erl"},
                                  {line,1310}]},
                             {wings_palette,create_window,4,
                                 [{file,
                                      "f:/unixlike/src/wings/src/wings_palette.erl"},
                                  {line,81}]},
                             {wings_frame,'-import_layout/2-lc$^0/1-0-',2,
                                 [{file,
                                      "f:/unixlike/src/wings/src/wings_frame.erl"},
                                  {line,148}]},
                             {wings_frame,import_layout,2,
                                 [{file,
                                      "f:/unixlike/src/wings/src/wings_frame.erl"},
                                  {line,148}]},
                             {wings,init,1,
                                 [{file,"f:/unixlike/src/wings/src/wings.erl"},
                                  {line,142}]}]}}

Preferences.txt

from wings.

dgud avatar dgud commented on June 8, 2024

Fixed by saving all window info in 'saved_windows2' pref for new wings versions in pref files.

from wings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.