The time now is Sun 19 May 2013, 07:51
All times are UTC - 4 |
|
Page 3 of 3 [35 Posts] |
Goto page: Previous 1, 2, 3 |
| Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
willhunt

Joined: 05 Oct 2005 Posts: 495
|
Posted: Mon 09 Jul 2007, 16:44 Post subject:
|
|
I think the problem is in here somewhere as I get no
list of files 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
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
willhunt

Joined: 05 Oct 2005 Posts: 495
|
Posted: 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
vlc-0.8.6c-i586.pet
vlc-0.8.6c-i586.pet
Last edited by willhunt on Mon 16 Jul 2007, 04:47; edited 1 time in total
|
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 4001 Location: Arizona, U.S.A.
|
Posted: 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
|
|
 |
|
|
Page 3 of 3 [35 Posts] |
Goto page: Previous 1, 2, 3 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|