Author Topic: Import File List error w/ v12.0.3.0 and WinXP  (Read 5930 times)

mikesart

  • Community Member
  • Posts: 56
  • Hero Points: 11
Import File List error w/ v12.0.3.0 and WinXP
« on: August 27, 2007, 12:35:34 am »
I upgrade to v12.0.30 and now importing file list for a project appears to be broken. I'm getting this stack trace:

Quote
Slick-C STACK TRACE ******************************
 Created on 8/26/2007 at 17:23:15 (546 ms)
 SlickEdit Version 12.0.3.0 Copyright 1988-2007 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-2073
 This property or method is not allowed on this object

project.ex 49190 _import_list_form.ctlok.\x{1c73}()   p_window_id: 251   p_object: OI_EDITOR   p_name:.
dlgeditv.ex 7360 show(-modal _import_list_form)   p_window_id: 162   p_object: OI_COMMAND_BUTTON   p_name: ctlimport
project.ex 17645 _project_form.ctlimport.\x{d21}()   p_window_id: 118   p_object: OI_FORM   p_name:.
dlgeditv.ex 7360 show(-mdi -modal -xy _project_form,C:\slm\slickedit_projects\pixo9\pixo9.vpj,3,)
   p_window_id: 118
   p_object: OI_FORM
   p_name:.
project.ex 379 static(,C:\slm\slickedit_projects\pixo9\pixo9.vpj)
   p_window_id: 118
   p_object: OI_FORM
   p_name:.
project.ex 532 project_edit()   p_window_id: 118   p_object: OI_FORM   p_name:.

My file list (pixo9_filelist.txt) looks like this:

Quote
pixo9_filelist.txt:
c:\dev\smac\pixo9_sse\*.cpp
c:\dev\smac\pixo9_sse\*.c
c:\dev\smac\pixo9_sse\*.h
c:\dev\smac\pixo9_sse\*.inl
c:\dev\smac\pixo9_sse\*.asm
c:\dev\smac\pixo9_sse\*.inc
c:\dev\smac\pixo9_sse\*.php
c:\dev\smac\pixo9_sse\*.bat
c:\dev\smac\pixo9_sse\*.rc
c:\dev\smac\pixo9_sse\*.rctpl
c:\dev\smac\bin\*.bat
c:\dev\smac\bin\*.php

I've got "Recurse directories" checked and that's it. Is anyone else having problems with this at all?
Thanks.

hs2

  • Senior Community Member
  • Posts: 2736
  • Hero Points: 288
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #1 on: August 27, 2007, 11:04:10 am »
Hi Mike, seems to be a bug. Got a similar problem on WXP.
You could try this fix to continue working... (works for me)

project.e - ctlok.lbutton_up() [line 8534]: v12.03
Code: [Select]
   // HS2-CHG: p_window_id is changed in generate_file_list - so save and restore it properly
   wid := p_window_id;
   temp_wid := generate_file_list();
   p_window_id = wid;
   p_active_form._delete_window(temp_wid);

HS2

mikesart

  • Community Member
  • Posts: 56
  • Hero Points: 11
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #2 on: August 27, 2007, 06:46:49 pm »
Work for me too. Thank you very much HS2.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4672
  • Hero Points: 375
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #3 on: August 31, 2007, 05:49:11 pm »
Nice catch HS2!

ronneseth

  • Community Member
  • Posts: 7
  • Hero Points: 0
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #4 on: December 06, 2007, 12:18:21 am »
I think I have the same problem, but I'm in Linux (SE 12.0.3.0). 

Here's the stack trace:

Code: [Select]

 Slick-C STACK TRACE ******************************
 Created on 12/5/2007 at 16:58:54 (717 ms)
 SlickEdit Version 12.0.3.0 Copyright 1988-2007 SlickEdit Inc.
 Edit module and type "st -f <offset>" to get the
 run-time error position

 error code=-2088
 Invalid object handle

project.ex 49409 _import_list_form.ctlok.\x{1c4c}()   p_window_id: 282   p_object: OI_COMMAND_BUTTON   p_name: ctlok
dlgeditv.ex 7415 show(-modal _import_list_form)   p_window_id: 177   p_object: OI_COMMAND_BUTTON   p_name: ctlimport
project.ex 17860 _project_form.ctlimport.\x{d1b}()   p_window_id: 13   p_object: OI_FORM   p_name:
dlgeditv.ex 7415 show(-mdi -modal -xy _project_form,/home/andreas/vs_projects/live_495/live_495.vpj,
   3:   3
   4:
   p_window_id: 13
   p_object: OI_FORM
   p_name:
project.ex 281 static(,/home/andreas/vs_projects/live_495/live_495.vpj)
   p_window_id: 13
   p_object: OI_FORM
   p_name:
project.ex 434 project_edit()   p_window_id: 13   p_object: OI_FORM   p_name:


Before I see the stack trace, I see a pop-up box that says "File not found!" and I can only hit "OK" on this before the crash.

I tried your fix.  My file file_list.txt looks as follows:

Code: [Select]
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finserv/*.cpp
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finserv/*.h
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finclient/*.cpp
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finclient/*.h
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finserv_shared/*.cpp
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finserv_shared/*.h
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finsys/*.cpp
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finsys/*.h
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finsys_util/*.cpp
/home/andreas/snaps/ucmhome/aronneseth_live-496_unix/vobs/code/finsys_util/*.h

Any help would be appreciated, although it seems to be the same problem as described above.  I exited SlickEdit and went back in to "reload" the project.e macro (which for me is located in /opt/slickedit/macros/)

Best regards,
Andreas

hs2

  • Senior Community Member
  • Posts: 2736
  • Hero Points: 288
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #5 on: December 06, 2007, 12:36:46 am »
Just to be sure - did you re-load the module after applying the fix ?
Sorry - didn't read the whole posting - HS2

hs2

  • Senior Community Member
  • Posts: 2736
  • Hero Points: 288
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #6 on: December 06, 2007, 12:48:06 am »
Did you a install the latest hotfix pack (r19) ? - HS2

Edit: Tried to force the problem here (WXP-SP2) but no luck. It's working even with 'File not found'.
Seems that this is up the real experts ...
« Last Edit: December 06, 2007, 12:56:42 am by hs2 »

ronneseth

  • Community Member
  • Posts: 7
  • Hero Points: 0
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #7 on: December 06, 2007, 11:11:33 pm »
Thank you for your responses HS2.  You are indeed  helpful!

I installed the latest hotfix, but didn't seem to make a difference.  I guess I'm out of luck for now...

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1246
  • Hero Points: 125
Re: Import File List error w/ v12.0.3.0 and WinXP
« Reply #8 on: December 07, 2007, 07:16:11 pm »
Whoops, I just discovered that fix for the Slick-C stack on Import File List had not yet been incorporated into the hotfix release (currently release 19).  I am correcting that oversight, and we should have a new hotfix available very soon.