bugVirtual File System - Bugs: bug #5985, Command: mkvol, Addpath is not...

 
 

bug #5985: Command: mkvol, Addpath is not processed correctly, see the logfile

Submitted by:  Hans van Buitenen <hansvb>
Submitted on:  Wed 15 Oct 2003 08:05:04 PM UTC  
 
Category: general perl source errorSeverity: 2,5
Item Group: non-fatal errorStatus: Fixed
Privacy: PublicAssigned to: Hans van Buitenen <hansvb>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 15 Oct 2003 08:31:14 PM UTC, comment #2:

sub read_keyb_lin
{
--//--
sysread STDIN,$lin,80;

Changed to
sysread STDIN,$lin,250;

Hans van Buitenen <hansvb>
Project AdministratorIn charge of this item.
Wed 15 Oct 2003 08:24:34 PM UTC, comment #1:

The error occurs when reading from the console, found in
the "level-2" logfile:

Tracing Subr: txt_commandline.pl

  • Arg Cnt = 5
  • Command = mkvol
  • Word arg 1 = mkvol
  • Name = C!T-DVD004
  • Longname = C!T_DVD_4
  • Mount point = /mnt/cdrom/software
  • Add path = /Soft
  • Make volume C!T-DVD004

Tracing Subr: txt_commandline.pl

  • Arg Cnt = 1
  • Command = ware-CD/C!T
  • Word arg 1 = ware-CD/C!T

! Warning: Command invalid

Hans van Buitenen <hansvb>
Project AdministratorIn charge of this item.
Wed 15 Oct 2003 08:05:04 PM UTC, original submission:

At the top you see that recognizing the switch goes wrong or the entire commandline string is trimmed somehow

###### vfsclienttxt main loop ######
Tracing Subr: keyb_control.pl
Exit: keyb_control.pl
Tracing Subr: txt_commandline.pl

  • Arg Cnt = 5
  • Command = mkvol
  • Word arg 1 = mkvol
  • Name = C!T-DVD004
  • Longname = C!T_DVD_4
  • Mount point = /mnt/cdrom/software
  • Add path = /Soft
  • Make volume C!T-DVD004

Tracing Subr: vfs_set_query.pl

  • Initializing query mkvol

Exit: vfs_set_query.pl
Tracing Subr: mysql_prep_execute.pl

  • Query = INSERT INTO volumes VALUES

(
NULL, # Item
'c!t-dvd004', # Volume name
'/mnt/cdrom/software', # Mount point
'C!T_DVD_4', # Volume name (Long)
CURRENT_TIMESTAMP, # Vol Cre Date
CURRENT_TIMESTAMP, # DBDateTime
0, # Merged
'/Soft', #
'' #
);
Exit: mysql_prep_execute.pl

Hans van Buitenen <hansvb>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 15 Oct 2003 09:42:38 PM UTChansvbStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
Wed 15 Oct 2003 08:17:33 PM UTChansvbCategoryNone=>(Error - Not Found)
  Item GroupNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1