Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 11:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Vdisktool testers please
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Mon 09 Jul 2007, 15:45    Post_subject:  

I'm not sure what part you're having trouble with, post just the erroring part.
If you're not sure, put "echo ($Value)" all through it to see the bad value.

Rather than: "find / -name '*.?fs' -fprint /tmp/found.vdisk", which searches
the entire files system which can take lots of time (I have 5 HD partitions).
Search only the most likely areas... The "/" of partitions, "/Vdisk", etc.
Back to top
View user's profile Send_private_message 
willhunt


Joined: 05 Oct 2005
Posts: 495

PostPosted: Mon 09 Jul 2007, 16:44    Post_subject:  

I think the problem is in here somewhere as I get no
list of files Smile and it's the part I don't understand lol
Code:

export Vdisk_GUI='
<wtitle> Virtual Disk</wtitle>
<vbox>
<notebook labels="Manage Vdisks|? Vdisks">
<hbox>
 <frame  All Vdisks found >
 <vbox>
  <hbox>
<table>
<variable>VDISKS</variable>
<input file>/tmp/found.vdisk</input>
</table>
<vbox>

_________________
176 Icewm Themes Exclamation
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Mon 09 Jul 2007, 17:46    Post_subject:  

There's no problem with the gtk file, is the file: /tmp/found.vdisk there?
And does it have anything in it? Probably there's no file or the file's empty.
That'd mean the find command isn't putting anything into the file.
As I said the find command should be changed anyway.

Try putting this in place of the find command:
Code:
# find .........
echo 'TEST item...' > /tmp/found.vdisk

When run the echoed string should show in the ListBox.
Back to top
View user's profile Send_private_message 
willhunt


Joined: 05 Oct 2005
Posts: 495

PostPosted: Mon 09 Jul 2007, 20:03    Post_subject:  

I had to run Vdisk setup to create the found.vdisk
file but it's there really I tried the echo statment still no joy
contents of found.vdisk follow
/initrd/mnt/dev_save/pup_save.2fs
/initrd/mnt/dev_save/pup_save-1.2fs
/initrd/mnt/dev_save/pup_save_muppy.3fs
/initrd/mnt/dev_save/mupp_212.sfs
/initrd/mnt/dev_save/pup_212.sfs
/initrd/mnt/dev_save/zdrv_212.sfs
/initrd/mnt/dev_save/devx_217.sfs
/initrd/mnt/dev_save/devx_216.sfs
/initrd/mnt/dev_save/pup_216.sfs
/initrd/mnt/dev_save/zdrv_216.sfs
/initrd/mnt/dev_save/Daviz_215.sfs

_________________
176 Icewm Themes Exclamation
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet

Edited_time_total
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Wed 11 Jul 2007, 17:07    Post_subject:  

Sorry... I haven't gotten any email notices of posts, this is the third I've found.

I didn't check the code, but GTKdialog is oddly picky.
Try this in place of the current piece of code:
Code:
  <table>
  <variable>VDISKS</variable>
  <input>cat /tmp/found.vdisk</input>
  </table>

Notice the <input> is changed to a "cat" command.
I assume the file /tmp/found.vdisk exists in the /tmp path.

Being as we seem to be the only folks talking anymore... Just PM me.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0550s ][ Queries: 13 (0.0099s) ][ GZIP on ]