Here i am showing how to fix Hue 500 error while empty trash.
When you click on "empty trash" you may get "500 server error". When you click More info, it will show below info
When you click on "empty trash" you may get "500 server error". When you click More info, it will show below info
File Name | Line Number | Function Name |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 112 | get_response |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 371 | inner |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 41 | inner |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 1129 | trash_purge |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 968 | generic_op |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 165 | purge_trash |
/opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/l | 38 | __getattr__ |
Solution:
We have to insert"_" inside proxyfs.py file which is located in opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/lib/hue/desktop/core/src/desktop/lib/fs
So replace like below
Before: for fs in self.fs_set:
After: for fs in self._fs_set
Then restart Hue
Sign up here with your email
ConversionConversion EmoticonEmoticon