Author Topic: annoying error when adding files to project  (Read 1896 times)

Ben

  • Community Member
  • Posts: 16
  • Hero Points: 0
annoying error when adding files to project
« on: May 13, 2008, 08:17:31 pm »
hi

I work in a project "myproject" and I have a subfolder "mysubfolder":

on SE: myworkspace/myproject/mysubfolder

on Filessystem ~/myproject/myfolder

here's what I try to do:

1. -> project -> right mouseclick -> new file
2. -> choose the folder "myfolder" in the file picker
3. -> give a name "foobar.py" -> press OK
4. -> SCM-message window pops up -> type in a message -> OK
5. -> question pop-up: do you want to add all files in "mysubfolder" (note: there aren't any files in mysubfolder and myfolder yet)
6.-> "yes" (because its the supposed to be the default behavior, I don't want to have to think about this)
7. ERROR-WINDOW: "Invalid argument: file=vc.ex offset=28580"

slick-c stack:
==========
Invalid argument
vc.ex 28580 vc:GetAllChildFiles(-1,<empty>)   p_window_id: 35   p_object: OI_TREE_VIEW   p_name: _proj_tooltab_tree
vc.ex 28910 vc:GetFileListFromTree(<empty>,Add)   p_window_id: 35   p_object: OI_TREE_VIEW   p_name: _proj_tooltab_tree
vc.ex 31309 vcadd(/loop_through_file.py,initial )
   p_window_id: 35
   p_object: OI_TREE_VIEW
   p_name: _proj_tooltab_tree
project.ex 36960 _MaybeAddFilesToVC(
   1:   
  • =/loop_through_file.py

   p_window_id: 35
   p_object: OI_TREE_VIEW
   p_name: _proj_tooltab_tree
project.ex 37262 _AddAndRemoveFilesFromVC(
   1:   
  • =/loop_through_file.py

   2:   <empty>
   3:   /repo/my-Repo.vpj
   p_window_id: 35
   p_object: OI_TREE_VIEW
   p_name: _proj_tooltab_tree
ptoolbar.ex 8528 ptoolbar:_projecttbAddFiles2(/loop_through_file.py,
   2:   /repo/Jakbot-Repo.vpj
   3:   python-language
   p_window_id: 35
   p_object: OI_TREE_VIEW
   p_name: _proj_tooltab_tree
ptoolbar.ex 7492 projecttbAddNewFile()   p_window_id: 35   p_object: OI_TREE_VIEW   p_name: _proj_tooltab_tree


what's wrong here?
ben

« Last Edit: May 13, 2008, 08:29:32 pm by Ben »

Dan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1959
  • Hero Points: 81
Re: annoying error when adding files to project
« Reply #1 on: May 14, 2008, 04:28:52 pm »
I can see about what is happening here, but so far I cannot reproduce it.  I have to ask some more questions (some might seem silly):
  • Exactly which menu item are you selecting, and what what dialogs are you seeing?
  • If you right click on the project and pick "Auto Folder", what is selected?
  • Can you send me the project file? (no source, just the project file)