local variable 'stages' referenced before assignment
As image i set ubuntun13.04 as portable dtive /dev/sdc - 7560 mib sd card Reserver 256 mib
And i always got an error
./portablelinux Running command: ['which', 'gksu'] ./portablelinux:294: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated gtk.glade.XML.init(self,os.path.join(get_shared_path(),'portablelinux.glade')) ./portablelinux:374: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated self.get("persistent_size").set_adjustment(adj) Exception in thread MakePortableLinux: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "./portablelinux", line 171, in run for stage in stages.split(): UnboundLocalError: local variable 'stages' referenced before assignment
Exception in thread MakePortableLinux: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "./portablelinux", line 171, in run for stage in stages.split(): UnboundLocalError: local variable 'stages' referenced before assignment
Exception in thread MakePortableLinux: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "./portablelinux", line 171, in run for stage in stages.split(): UnboundLocalError: local variable 'stages' referenced before assignment
Exception in thread MakePortableLinux: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 808, in __bootstrap_inner self.run() File "./portablelinux", line 171, in run for stage in stages.split(): UnboundLocalError: local variable 'stages' referenced before assignment
had the same error, in line 170, change else: "unmountfs ... to else: stages = "unmountfs ...
I am getting the same, using python 2.7, already changed line 170 as suggested but still nuttin':
root@tacubronxsrvr:/home/ivansabik/Downloads/portablelinux-master# portablelinux
Running command: ['which', 'gksu']
/usr/local/bin/portablelinux:294: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
gtk.glade.XML.__init__(self,os.path.join(get_shared_path(),'portablelinux.glade'))
/usr/local/bin/portablelinux:374: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.get("persistent_size").set_adjustment(adj)
Exception in thread MakePortableLinux:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/local/bin/portablelinux", line 171, in run
for stage in stages.split():
UnboundLocalError: local variable 'stages' referenced before assignment