Notices


Reply
Thread Tools
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#31
Originally Posted by ivgalvez View Post
Would you try to upload it to the repos?
Code:
crunch@crunch:/opt/QtSDK/builds/flopswap_build_0.0.4$ scp flopswap_0.0.4.tar.gz flopswap_0.0.4_source.changes flopswap_0.0.4.dsc sixwheeledbeast@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle/
Permission denied (publickey).
lost connection
crunch@crunch:/opt/QtSDK/builds/flopswap_build_0.0.4$
Just tried again.
A TMO member has kindly offered to put applications in the repos for me.
The issue is I can't easily maintain anything myself if there is a issue found in FlopSwap.
While I know how much of a pain it is, I would prefer to be able to provide updates myself from here for the short term.

As soon as I can upload to the repos effectively it will be there.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#32
I was messaging with ade, he also had some issues with uploading to the repos via scp, he pointed out that you can't use uppercase or underscores in the package name (could this be the issue in here, too?)
 

The Following User Says Thank You to misiak For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#33
Originally Posted by misiak View Post
could this be the issue in here, too?
Just renamed the files and tried again, same error.
Was worth a go, I am confident it's setup in garage correct.
Thanks anyway.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#34
Nah, sixwheeledbeast's issue is the permission to upload itself, as the key is not accepted.
 

The Following 2 Users Say Thank You to ade For This Useful Post:
Posts: 262 | Thanked: 315 times | Joined on Jun 2010
#35
@sixwheeledbeast, how about making your app able to accept a command on the command line. Then we can all automate switching swap partitions using cron or alarmed or any other way we choose.

i.e. just add an optional one word argument to flopswap for the actions the main buttons do. If the app receives one of these arguments, it might do a quick sanity check and then action and exit, without displaying the GUI.

Later you can still add your own means of setting up automated switching from inside flopswap. What do you think?
 

The Following User Says Thank You to Xagoln For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#36
Originally Posted by Xagoln View Post
@sixwheeledbeast, how about making your app able to accept a command on the command line. Then we can all automate switching swap partitions using cron or alarmed or any other way we choose.

What do you think?
Have you looked in /opt/flopswap/script/

Remember at the moment this is a GUI to run scripts, all the scripts in this file should run from CLI, with application open or not.
However I wouldn't press a button and fire a CLI command at the same time.
The application is written in a way that QProcess shouldn't allow two buttons to run at the same time.


To Switch Swaps
Code:
sh /opt/flopswap/script/swapswitch.sh
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-12-18 at 12:33.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#37
Wiki page created, most of OP moved there.
Still waiting for garage to be stable, so still use the QRc in OP.
Thanks.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 432 | Thanked: 917 times | Joined on Jun 2011
#38
Flopswap doesn't show me the "swap status" anymore. It used to works fine until last week. I don't know what i did but im getting this:
Code:
 $ sh /opt/flopswap/script/swapused.sh 
ublocks
/opt/flopswap/script/swapused.sh: line 38: arithmetic syntax error
All others commands are working ok. I already did uninstall and reinstall but no joy. Here is the line 38:
Code:
ubytes=$(($ublocks*512))
Could someone help me to debbug that ?
Thanks.
 

The Following User Says Thank You to saponga For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#39
Originally Posted by saponga View Post
Flopswap doesn't show me the "swap status" anymore. It used to works fine until last week. I don't know what i did but im getting this:
Code:
 $ sh /opt/flopswap/script/swapused.sh 
ublocks
/opt/flopswap/script/swapused.sh: line 38: arithmetic syntax error
All others commands are working ok. I already did uninstall and reinstall but no joy. Here is the line 38:
Code:
ubytes=$(($ublocks*512))
Could someone help me to debbug that ?
Thanks.
I had this before, it's due to busybox.

Out interest what's your uptime?

Two things to try if you can please.

Install bash and edit the script to run with "bash" instead of sh, this should make it work again.

Turn the script back to "sh" and reboot, this should also make the script work again.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post:
Posts: 432 | Thanked: 917 times | Joined on Jun 2011
#40
Thanks man... I'll do that as soon as i could get a PC.
About the uptime:
$ uptime
21:01:50 up 1 day, 1:22, 0 users, load average: 0.08, 0.43, 0.47
i'll report back. Thanks again.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:25.