Notices


Reply
Thread Tools
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#251
No clue, and it seems that the original developer is on vacation, and the people who picked it up after him have gone silent as well.

I do not think creating folders without hitting activate is the problem. I think all that activate does is rename the "hildon.menu" file in the /home/user/.config/menus/ folder. I think what was discovered a while ago was that there's a different hildon.menu file somewhere deeper in the system files, and that if you stick another hildon.menu in the ~/.config/menus path, Hildon will use that one. Sorta like conky uses the conky.conf in MyDocs instead of the one that's preinstalled if you have one in that folder.

Anyway, as I understand it, ApMeFo's activate/deactivate buttons rename that file, so if you deactivate it, Hildon just uses the normal system file, and if you activate it, it sees the new hildon.menu appear again, which has higher priority, and reloads that one. If everything is working correctly, that SHOULDN'T cause any bugs.
 
Posts: 85 | Thanked: 15 times | Joined on Sep 2010
#252
Originally Posted by Mentalist Traceur View Post
I can confirm cmsjkung's bug - today I reinstalled ApMeFo (haven't bothered to since reflash) - it can no longer edit the applications in the folders. I tried "editing" a folder, saving it with the same picture as it was, and it still did nothing. Then I tried deleting the folder and make a new one with same name and image. Nothing shows up in the "Add Apps" tab. <-- Meaning, you can press the "select" button, and the folder list shows up - that's fine. But the app list doesn't load, so you can't remove, re-order, or add programs. (Plus button doesn't bring up anything.)

To be clear, I reinstalled the repos version, I figured I'd wait until your modifications were merged with the original, Hrw, or until you put your fork in the repos by itself. Given that this happened, I might uninstall and install your version, less user-friendly though the process may be.

Edit:

I just checked the /home/user/.local/share/applications/hildon folder.

Every file in there ends with "directory". I thought it was supposed to be "desktop"? Could this have to do with the issue?

Edit 2: Okay, I was wrong. .desktop simply makes the folder disappear from ApMeFo and the menu enirely. .directory is what it needs to be.

For now I'm going back to the manual editing of .menu files in /home/user/.config/menus/submenus - but it's not ideal, obviously.

Edit 3: cmsjkung: Why did you uninstall ApMeFo in the first place. I must note: I reinstalled ApMeFo on a system that did not have all the apps that the original system contained before my N900 went all boot-loop on me. Is it possible that not having all the .desktop application files in /usr/share/applications/hildon/ that the .menu files of ApMeFo refer to is the cause? (Gonna test this by deleting references to the no-longer installed programs from the .menu files.)

- Didn't have time to save edit before figuring this out - didn't work. Other note: Permissions for the .menu folders are -RW-R--R-- . Shouldn't they have another W in one of the latter two sections in order for ApMeFo to be able to write to them?
I was having this problem. Following the instructions here : http://talk.maemo.org/showpost.php?p...&postcount=212 fixed it for me. It was a bad .desktop file. edited it per the instructions in the linked post and the Add Apps tab now works again as intended.
 

The Following User Says Thank You to ThePooBurner For This Useful Post:
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#253
I thought I had fixed that, and the fix persisted through reflash. If that's really all it is I'm going to be very disappointed with myself for now checking. Massive thanks to you if that's the case though.

EDIT:
Heh, that was exactly it. Works now. I can't believe I didn't think of that (and you may have noticed I had already thanked that post before - when I originally was installing gas-balls seeing that advice after hearing about it break apmefo was what made me actually go for gas-balls at all) - I honestly had this vague impression that .desktop files would still be safe post-fiasco-image reflash. In retrospect, the filepath should've cued me in.

Last edited by Mentalist Traceur; 2010-10-20 at 05:33. Reason: Confirmation
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#254
Looks like I have to revert some work (folders window) and release a bit updated version.

Wrong .desktop files problem I have fixed long time ago.
__________________
http://marcin.juszkiewicz.com.pl/
irc: hrw
jabber: hrw@jabber.org
 
Posts: 32 | Thanked: 4 times | Joined on Feb 2010 @ Malaysia
#255
hi, I got some problems when trying to add shortcut to my submenus, previously, I'm still able to add shortcut, but now its totally not working after selecting a folder.

after running

python /opt/ApMeFo/Main.py

I got the following error

Code:
Traceback (most recent call last):
  File "/opt/ApMeFo/ui/appFolders.py", line 161, in on_btnAppAdd_released
    filenames = self.mainApp.foldercontent.selectApp(self)
  File "/opt/ApMeFo/classes/folderContent.py", line 123, in selectApp
    self.readAllApps()
  File "/opt/ApMeFo/classes/folderContent.py", line 197, in readAllApps
    part = self.folderlist.getNameFromDirFile(self.folderlist.DirpathGlobal + file)
  File "/opt/ApMeFo/classes/folderList.py", line 100, in getNameFromDirFile
    filetxt = filecontent.split("Name=")[1]
IndexError: list index out of range
 
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#256
I get no errors running
python /opt/ApMeFo/Main.py

But I am unable to add shortcuts to folders. I click the + but no list is brought up.

FIXED: Edited the gass-balls .desktop file

Last edited by James_Littler; 2010-10-22 at 09:19.
 
Posts: 32 | Thanked: 4 times | Joined on Feb 2010 @ Malaysia
#257
there's something called

"IndexError: list index out of range" in verbosed mode

and yeah, same here, I click on the "+" icon and get nothing shows up.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#258
Hrw, I myself knew you fixed it a while ago (wasn't sure if you released the fix though) but some of us are still using the version in the repos. For me it's a convenience thing, others might feel more comfortable that way. *Shrug*

Is there any chance you would upload your fork into extras devel, just call it ApMeFo(specific letter or number or word combination you feel appropriate), and stick "Hrw's fork of ApMeFo," (Optionally: "making certain much requested improvements") in the description?

Or can we get the original developer to hand over maintainer status to you, if he's not working on it anymore? (That said, if Nathabrien still wants to work on it, I'd be more than happy to have your updates pushed to his version.)
 
Hrw's Avatar
Posts: 137 | Thanked: 170 times | Joined on Jul 2008
#259
I can not promise anything - will take a look at it after UDS-N (so in November).
__________________
http://marcin.juszkiewicz.com.pl/
irc: hrw
jabber: hrw@jabber.org
 

The Following User Says Thank You to Hrw For This Useful Post:
Posts: 1,418 | Thanked: 1,541 times | Joined on Feb 2008
#260
Any hope to see a native rewrite of this application (i.e. C/C++, not Python)?
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:58.