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 Thu 18 Sep 2014, 15:51
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Pmount stopped working in Puppy 4.1
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Author Message
DOSDEMIGOD


Joined: 13 Oct 2008
Posts: 3
Location: New York

PostPosted: Fri 24 Oct 2008, 17:43    Post subject:  Pmount stopped working in Puppy 4.1
Subject description: Pmount no longer working after theme / Window manager change?
 

Hello all,

Pmount has just stopped working. It was right after I switched to IceWM.

I am not sure why. It opens..but when I attempt to mount a drive it just closes and does nothing. I installed Pdrive which seems to work perfectly. I can mount and unmount no problem. Any ideas?

Thanks in advance.

_________________
Garbage In Garbage Out..it is only idiot proof if you remove the idiots.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Mon 10 Nov 2008, 07:25    Post subject:  Pmount is broken in 4.1.1  

Yes, I may have the same problem. I just got 4.1.1 (never had 4.10) and started setting it up, but Pmount stopped working - not sure if it was caused by changing the locale or the jwm or GTK theme or the wm settings or what. The rox buttons work, but it just closes when I click the refresh button, the mount buttons or the settings button.
I certainly hope we've broken something and it never happens to anyone else, because any user that it happens to should be put off Puppy all together Sad

The new desktop icons thing isn't working for me either. Clicking on a drive just opens pmount, even if the drive is already mounted. I don't think it should open pmount even if the drive is unmounted.
And it really should have a feature to automount drives at bootup - I'm pretty sure that's the main thing people liked Hotpup for.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Mon 10 Nov 2008, 09:14    Post subject:  

Oh boy,
Same for me in 4.1.1 and jwm.
I didn't notice as I use always the desktop icons for the devices.
Not very helpful, huh.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Wed 12 Nov 2008, 23:57    Post subject:  

Pmount exits at line 295
Code:
[ -s /tmp/pmounterr ] && exit


I'm afraid I don't really understand what line 294 is doing.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Thu 13 Nov 2008, 08:36    Post subject:  

Interesting. I was trying xfce, so I installed xfce_pupevent_410.pet as well and pmount now works, although the desktop icons still just open pmount when I click on them...
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
alienjeff


Joined: 08 Jul 2006
Posts: 2291
Location: Winsted, CT - USA

PostPosted: Thu 13 Nov 2008, 09:30    Post subject:  

Barry has noted both this and a USB bug in his dev blog,

Reference: http://puppylinux.com/blog/?viewDetailed=00484

_________________
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Thu 13 Nov 2008, 10:54    Post subject:  

This problem has nothing to do with Barry's comment about USB.
I have the same problem when trying to mount IDE HDD's.
It's definitely a problem in the pmount script. (or another script related)

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Thu 13 Nov 2008, 13:35    Post subject:  

I ran pmount from rxvt, mounted sda1, and umounted it, and then quit. I had to ctrl-c out of the rxvt to get it to terminate even though the gui had exited. So pmount *apparently* worked for me, but the rxvt session was not clean:

Code:
# pmount
/usr/sbin/pmount: line 289: 26804 Terminated              yaf-splash -font "8x16" -outline 0 -margin 4 -bg orange -text "Puppy Drive Mounter

Please wait, probing hardware..."
# /usr/sbin/pmount: line 294: 27398 Terminated              yaf-splash -font "8x16" -outline 0 -margin 4 -bg orange -text "Puppy Drive Mounter

Please wait, probing hardware..."
/usr/sbin/pmount: line 294: 28067 Terminated              yaf-splash -font "8x16" -outline 0 -margin 4 -bg orange -text "Puppy Drive Mounter

Please wait, probing hardware..."

#


I am not using xfce or icewm, just the standard jwm.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Thu 13 Nov 2008, 18:09    Post subject:  

Sorry, just to clarify - it was broken before I tried xfce.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
DOSDEMIGOD


Joined: 13 Oct 2008
Posts: 3
Location: New York

PostPosted: Thu 13 Nov 2008, 23:21    Post subject: Was anyone able to resolve this issue?
Subject description: PMOUNT
 

I guess this is still unresolved issue? Thanks for your posts guys. I was running Puppy 4.1 and it seemed to be working fine until I loaded the new window manager and themes. I am new to linux..so I am not sure why this would affect a utility that mounts drives.
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Fri 14 Nov 2008, 00:19    Post subject:  

Quote:
I am new to linux..so I am not sure why this would affect a utility that mounts drives.

It shouldn't.

When I can think clearly again I'm going to try to replicate the problem and figure out what's going on. It will probably be a few days though.
In the meantime, you could try installing the .pet that fixed it for me. Search for xfce in the additional software part of the forum. It's not xfce itself, but a little .pet they recommended for the event manager.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Thu 20 Nov 2008, 06:27    Post subject:  

OK, I've been unable to replicate the MUT problem, but as well as finding that installing the xfce event manager .pet fixed mut, I found that after uninstalling it both MUT and the desktop icons are fixed Smile I guess that .pet must have overwritten whichever file(s) caused the problems...
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6435
Location: Auckland, New Zealand

PostPosted: Thu 04 Dec 2008, 03:51    Post subject:  

Barry sent me a PM trying to track this problem down:
Quote:

I have a problem with finding the bug in Pmount that you have reported, as I don't have enough information...
...What I need are the contents of those files, after the crash. In /tmp you will find:
/tmp/pmountdlg.txt_${MYPID}
/tmp/pmounterr

The ${MYPID} will be some number, different each time Pmount runs. The latest run will normally have a higher number.

Would appreciate that info!


Does anybody have this problem at the moment, and can help with this?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1473
Location: UK

PostPosted: Thu 04 Dec 2008, 14:59    Post subject:  

Hi

I have experienced this, using Puppy-4.1.1-retro,
and i am able to replicate it.

I set up a fresh frugal install, the only thing i did, was to setup the connection.
Pmount was working as one would expect it to.
So i made a backup of this from another puppy install.


Upon booting back into said frugal install,
i decided to download and install this: icewm-1.2.35Latestv2.pet
As posted here: icewm for Puppy 4.0 Plus extras !!!!!2.6MB pet

I am not accusing ttuuxxx or anything, just stating facts.

After the install of the icewm package was finished (i did not restart X),
still in JWM i tried Pmount again, and found that it was broken.


Further investigation revealed that: /usr/share/themes/Gradient-grey
was overwritten when the above mentioned icewm was installed.

Going to: Menu > Desktop > Chtheme GTK theme chooser
Pmount works Ok, using any one of the following EXCEPT Gradient-grey.

    Citrus-cut
    Default
    Emacs
    Gradient-brown
    Gradient-grey
    Raleigh
    Stardust


Looking at the contents of /tmp/xerrs.log
i saw quite a few WARNINGS,
such as:
Code:

(gtkdialog2:3112): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
(ROX-Filer:5161): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
(geany:5368): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
(seamonkey-bin:8064): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
(ROX-Filer:13485): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",
(gtk-chtheme:16664): Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks",



So i did a quick search of the forum for clearlooks.
I found, downloaded and installed this: gtk2-engines_2.12.2.pet
As posted here: gtk2-engines theme clearlooks puppy 4.0+
And Gradient-grey is now fixed, and Pmount works when using the Gradient-grey theme.



The files BarryK requested (amongst others) are in the attached file: pmount-problem-411-retro.tar.gz
there are 3 directories inside it

1 = after installing icewm, then trying Pmount.
2 = after a reboot.
3 = after installing gtk2-engines.


Hope this helps
CatDude
.
pmount-problem-411-retro.tar.gz
Description  The files requested by BarryK (plus a few others)
gz

 Download 
Filename  pmount-problem-411-retro.tar.gz 
Filesize  4.12 KB 
Downloaded  359 Time(s) 

_________________

Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Thu 04 Dec 2008, 19:02    Post subject:  

CatDude,
Thanks for your response.

Looking in your xerrs.log, it has this many times:

/sbin/pup_event_frontend_d: line 503: [: too many arguments

Line 503 in pup_event_frontend_d is this:

if [ $RAMSAVEINTERVAL -ne 0 -a $SAVECNT -gt $RAMSAVEINTERVAL ];then

Now, SAVECNT is a count variable inside pup_event_frontend_d, however
RAMSAVEINTERVAL is got out of /etc/eventmanager. Looking earlier in
the script:

. /etc/eventmanager #has RAMSAVEINTERVAL, ICONDESK, HOTPLUGNOISY, ICONPARTITIONS, BACKENDON
RAMSAVEINTERVAL=`expr $RAMSAVEINTERVAL \* 60` #convert minutes to seconds.

Now, also in xerrs.log, I see this:

expr: syntax error
/sbin/pup_event_frontend_d: line 503: [: too many arguments

...the first time that the "too many arguments" is reported.

By logical deduction, something is wrong with your RAMSAVEINTERVAL in
/etc/eventmanager.
Could you please post what it is?

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [28 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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
[ Time: 0.0910s ][ Queries: 13 (0.0081s) ][ GZIP on ]