The Following 4 Users Say Thank You to ade For This Useful Post: | ||
![]() |
2011-11-24
, 13:57
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#152
|
IDon't,
I'm experiencing something that looks like some bug in busybox-power_1.19.3power2. But it is strange I have heard no one else about it.
Yesterday I noticed Python apps started losing their skin/buttons.
I traced it down to this:
For some reason, TMPDIR is not set (or unset) in the user shell (it is still set in the root shell).
Because it is not set, python starts looking in /tmp for the sapwood-engine entry (/tmp/sapwood-:0.0), but is is running in /var/tmp. First exporting TMPDIR to /var/tmp before starting solves it for that session.
When I reverted back to busybox-power_1.19.3power1, TMPDIR was set again. Upgraded to busybox-power_1.19.3power2 again, and TMPDIR was gone.
Setting the export in /etc/profile or ~/.profile does not work. The problem does not occur in the bash shell.
The Following 2 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2011-11-24
, 14:02
|
|
Posts: 723 |
Thanked: 519 times |
Joined on Nov 2010
@ Kuching:Malaysia
|
#153
|
The Following 2 Users Say Thank You to pusak gaoq For This Useful Post: | ||
![]() |
2011-11-24
, 14:05
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#154
|
The Following User Says Thank You to ade For This Useful Post: | ||
![]() |
2011-11-24
, 14:08
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#155
|
removing(purge) then re-installed didn't help....still no skin/button on theme customizer,advanced clock plugin,CSSU features configuration, recaller & etc....
echo $TMPDIR
![]() |
2011-11-24
, 14:18
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#156
|
The Following User Says Thank You to karam For This Useful Post: | ||
![]() |
2011-11-24
, 14:20
|
|
Posts: 158 |
Thanked: 355 times |
Joined on Sep 2011
|
#157
|
echo $TMPDIR
/var/tmp
![]() |
2011-11-24
, 14:24
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#158
|
![]() |
2011-11-24
, 14:52
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#159
|
In this case it should be okay. but did you test correctly?
You must use the sh shell and be user.
echo $0
must return: sh
id
must return: uid=29999(user) gid=29999(users) groups=20(dialout),29(audio),44(video),670(pulse-access),29999(users)
Then do you still get /var/tmp as a value for TMPDIR?
The Following 3 Users Say Thank You to Rob1n For This Useful Post: | ||
![]() |
2011-11-24
, 14:54
|
|
Posts: 723 |
Thanked: 519 times |
Joined on Nov 2010
@ Kuching:Malaysia
|
#160
|
In this case it should be okay. but did you test correctly?
You must use the sh shell and be user.
echo $0
must return: sh
id
must return: uid=29999(user) gid=29999(users) groups=20(dialout),29(audio),44(video),670(pulse-access),29999(users)
Then do you still get /var/tmp as a value for TMPDIR?
I'm experiencing something that looks like some bug in busybox-power_1.19.3power2. But it is strange I have heard no one else about it.
Yesterday I noticed Python apps started losing their skin/buttons.
I traced it down to this:
For some reason, TMPDIR is not set (or unset) in the user shell (it is still set in the root shell).
Because it is not set, python starts looking in /tmp for the sapwood-engine entry (/tmp/sapwood-:0.0), but is is running in /var/tmp. First exporting TMPDIR to /var/tmp before starting solves it for that session.
When I reverted back to busybox-power_1.19.3power1, TMPDIR was set again. Upgraded to busybox-power_1.19.3power2 again, and TMPDIR was gone.
Setting the export in /etc/profile or ~/.profile does not work. The problem does not occur in the bash shell.
Edit: the issue is visable then a sh shell is opened in a existing shell. TMPDIR is not passed on to the next shell.
Last edited by ade; 2011-11-24 at 15:46.