maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Maemo 5] MaePad (Maemopad+ for fremantle) (https://talk.maemo.org/showthread.php?t=42471)

mello73 2010-08-22 14:36

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Hi, every time i launch the application as soon as i choose new or open it crash. If i launch it from terminal the following message is show:

ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached
Aborted.

I am using latest version 1.6 from extras-(testing/devel) on N900 software PR 1.2.

Could someone help me ? Thanks.

thp 2010-08-23 10:59

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by mello73 (Post 794985)
Hi, every time i launch the application as soon as i choose new or open it crash. If i launch it from terminal the following message is show:

ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached
Aborted.

Make sure that you run it as user "user" in the terminal, not as root. Does it work then? Please paste the output of the following command:

Code:

gconftool -R /apps/maepad
Also, it will usually show the "lastdocument" key there - please try renaming the file - it contains all your MaePad data (if any) - and if it starts working afterwards, please send it to me (via PM), so I can investigate.

mello73 2010-08-23 16:55

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by thp (Post 795686)
Make sure that you run it as user "user" in the terminal, not as root. Does it work then? Please paste the output of the following command:
Code:

gconftool -R /apps/maepad

i am already running the program as "user"

in gconf there is no entry (i think the program crash even before creating it)

Quote:

Originally Posted by thp (Post 795686)
Also, it will usually show the "lastdocument" key there - please try renaming the file - it contains all your MaePad data (if any) - and if it starts working afterwards, please send it to me (via PM), so I can investigate.

This is the first time i am installing maepad so there is no "lastdocument".

Thanks

WhiteWolf 2010-09-08 12:52

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I have exactly the same problem and is a facility without previous documents

Wille_W 2010-09-25 09:52

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I also got the problem with the dbus error above using the latest version. Any ideas to why? First install of the program so i don't have any previos configs or the like

thp 2010-09-26 12:49

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Ok. So the problem seems to be cases where some file or gconf entry has not been created yet. That should be enough to help me get started on fixing the issue =)

thp 2010-09-26 12:53

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I've now tried removing the gconf entry for MaePad, so that it thinks its a fresh install, however, I was not able to reproduce this bug. I still get the "Welcome to MaePad" dialog where I can choose to create a new file (and then saving it, etc.. works fine).

You can remove the gconf entry with this command:

Code:

gconftool-2 -u /apps/maepad/general/lastdocument

Wille_W 2010-09-30 21:36

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by thp (Post 826614)
I've now tried removing the gconf entry for MaePad, so that it thinks its a fresh install, however, I was not able to reproduce this bug. I still get the "Welcome to MaePad" dialog where I can choose to create a new file (and then saving it, etc.. works fine).

You can remove the gconf entry with this command:

Code:

gconftool-2 -u /apps/maepad/general/lastdocument

Hello! Sorry for the late response, i though that i would get an email when someone wrote a response in the thread. I did try to remove the settings but I still get the same error..

$ maepad
Init: 0x46567270
**
ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached
Aborted

Do you want me to try something else?

Thanks!

thp 2010-10-26 09:04

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I've implemented live search (filter down the list of memos with the keyboard) yesterday, but it kind of conflicts (obviously) with the keyboard shortcuts (like "o", "w", jkl, ...) in the main view, so I'm not sure what would be the best way to add this:
  • Get rid of keyboard shortcuts on the main page / move them to arrows+return where possible
  • Have live search be started with "/" only, which makes searching a bit more difficult, but does not conflict with the other bindings

I found that I accidentally hit "o" or "w" in the main view, because I got so used to it, and I figured that other users might, too - what do you think? Would having live search be more important than the keyboard shortcuts? Would "/" be okay or should it be "normal" live search (as soon as you type something)?

ebzzry 2010-10-26 09:38

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I suggest, that you stick with the current key bindings (h,j,k,l, etc) and have "/", or something else, as the search key

Remember that you intended you make it feel like vi. Making it non-modal will surprise users, unless that is your intention.

ototo 2010-10-26 09:47

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by thp (Post 851585)
I'm not sure what would be the best way to add this:
  • Get rid of keyboard shortcuts on the main page / move them to arrows+return where possible
  • Have live search be started with "/" only, which makes searching a bit more difficult, but does not conflict with the other bindings

I'm voting for "/" as the key to initiate live search. It is also compatible with vi. :)

PS. Hope to get to other keys (as we've previously discussed) soon. Work is taking all the time ATM.

thp 2010-10-26 17:06

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
The search feature ("/") is now implemented for the main view, and the "before selection" and "after selection" insert features for checklists (p/P, o/O) have also been implemented as suggested by ototo. Let's see if there is anything else I could add - otherwise a new release will be rolled soon for you to test :)

ebzzry 2010-10-27 01:33

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
A way to rearrange items (if not yet implemented) would be good. Something like: dd, some j, some k, then p

ototo 2010-10-27 04:17

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by ebzzry (Post 852435)
A way to rearrange items (if not yet implemented) would be good. Something like: dd, some j, some k, then p

Should work as described by you in the upcoming version.

WhiteWolf 2010-10-27 07:11

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Colleagues,

This program does not work either with the firmware 1.3

Long ago I can not use.

thp 2010-10-27 10:52

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by WhiteWolf (Post 852789)
This program does not work either with the firmware 1.3

It works fine for me (on PR1.3). Please reflash your device with vanilla PR1.3 and try again.

thp 2010-10-27 11:04

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by ebzzry (Post 852435)
A way to rearrange items (if not yet implemented) would be good. Something like: dd, some j, some k, then p

Yes, that will work for the checklist. It does not yet work for the node list, but the node list already has a context menu (longpress) with which you can move items up and down. It's a bit more tedious, but the feature is there if you need it.

WhiteWolf 2010-10-27 21:05

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by thp (Post 853161)
It works fine for me (on PR1.3). Please reflash your device with vanilla PR1.3 and try again.

VANILLA prove PR version 1.3.

This Saturday, check to see if it works.

thp 2010-10-28 10:01

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
For people not watching the planet:

MaePad 1.8 "Herr Tichy" is out. Changes:
  • Live search in the list of memos using "/"
  • Checklist: p and o now insert after the current item
  • Checklist: P and O now insert before the current item

Please test and vote: Extras-Testing page for MaePad 1.8

Also, MaePadWeb (a Web UI running directly on the device for editing MaePad databases from your computer) is currently in the works and should be available soon:

http://thp.io/2010/maepad/maepadweb.png

ebzzry 2010-10-29 13:45

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Having the ability to do those things in the top-level list (memos) would be great.

thp 2010-10-30 00:05

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by ebzzry (Post 856621)
Having the ability to do those things in the top-level list (memos) would be great.

The problem with doing this on the top level is that if you cut something ("dd"), you might not paste it at all (which means deleting it -- maybe not something you want to do that easily) or that you might paste it multiple times (these duplicates then would need to have their items duplicated as well).

Again, there is the context menu if you really want to reorder things for now. The MaePad codebase (based on Maemopad+) is quite confusing/bloated in some areas, especially the memo handling, as it grew out of the slightly different Maemo 4 UI, and some assumptions are not true anymore on Maemo 5.

Also, recent experience from MaePadWeb shows that implementing something from scratch in Python might be even easier (apart from the sketch widget which would have to be rewritten, but if we would rewrite that one, we could have it store data as SVG, which would be quite cool..). I personally only use checklists most of the time. Is rich text / sketch something that gets used a lot by MaePad users?

Wille_W 2010-10-31 15:35

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached

I have now checked which line in the code that causes the crash, maybe that can help you find the problem. Seems like it's possible Nokias closed source binaries that has the problem..

When pressing new file the program crashes when running this line of code in interface.c, function interface_file_chooser():

dialog = hildon_file_chooser_dialog_new(GTK_WINDOW(mainview->data->main_view), action);

Any ideas?

thp 2010-10-31 15:39

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by Wille_W (Post 858585)
ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached

I have now checked which line in the code that causes the crash, maybe that can help you find the problem. Seems like it's possible Nokias closed source binaries that has the problem..

When pressing new file the program crashes when running this line of code in interface.c, function interface_file_chooser():

dialog = hildon_file_chooser_dialog_new(GTK_WINDOW(mainview->data->main_view), action);

Any ideas?

What's the value of "action" before executing that line? Maybe it's a bug in the hildon file chooser code? I assume mainview->data->main_view points to the correct window? Due to this being ported from Maemo 4 to Maemo 5, there might be values that are deprecated and cause the UI to crash. I assume the file chooser works for you in other areas of the system, right?

Wille_W 2010-10-31 16:00

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Problem solved! :) I don't know why though but some other guys solved it today in the tread for Xournal: http://forums.internettablettalk.com...&postcount=396

I didn't have any problems with Xournal though but as can be seen in the tread it's a little bit erratic..

Short story to fix this problem:
ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached

Uninstall the application "File Transfer".

Thanks for your quick response!

thp 2010-10-31 16:33

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by Wille_W (Post 858604)
Problem solved! :) I don't know why though but some other guys solved it today in the tread for Xournal: http://forums.internettablettalk.com...&postcount=396

Great. Can you make the maintainer of the monorail package aware of this issue? Thanks :)

WhiteWolf 2010-10-31 19:47

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I confirm that uninstalling "File Transfer" will solve the problem of opening Maemopad

anidel 2010-10-31 19:52

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by Wille_W (Post 830433)
Hello! Sorry for the late response, i though that i would get an email when someone wrote a response in the thread. I did try to remove the settings but I still get the same error..

$ maepad
Init: 0x46567270
**
ERROR:dbus-gproxy.c:2269:dbus_g_proxy_marshal_args_to_message : code should not be reached
Aborted

Do you want me to try something else?

Thanks!

People had the same issue with my Xournal.
It seems that Monorail is the culprit .. do you have it installed?
Try removing it and see if MaePad runs.

anidel 2010-10-31 19:53

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by WhiteWolf (Post 858839)
I confirm that uninstalling "File Transfer" will solve the problem of opening Maemopad

Exactly, I think File Transfers uses Monorail.

anidel 2010-10-31 19:55

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
ops, just read Wille_W message :)

Wille_W 2010-10-31 20:17

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
I have sent an email to the maintanier of File Transfers, Jonny Lamb, just to make him aware of the problem. I gave him links to both this and the Xournal thread.

fab 2010-11-01 16:07

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Very strange: I do not see anymore "create as a child" checkbox when creating a new memo. I still see the parents-child indentation in memo list, but I cannot create childs any more.

PR1.3 and Maepad 1.8. I don't know when exactly I lost the functionnality...

ototo 2010-11-01 18:22

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by fab (Post 859812)
Very strange: I do not see anymore "create as a child" checkbox when creating a new memo. I still see the parents-child indentation in memo list, but I cannot create childs any more.

Same here. :cool:

WhiteWolf 2010-11-01 21:14

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by anidel (Post 858846)
Exactly, I think File Transfers uses Monorail.

But it worked perfect with me Xournal "File Transfer" installed.

It's strange.

thp 2010-11-02 09:02

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by fab (Post 859812)
Very strange: I do not see anymore "create as a child" checkbox when creating a new memo. I still see the parents-child indentation in memo list, but I cannot create childs any more.

PR1.3 and Maepad 1.8. I don't know when exactly I lost the functionnality...

When you upgraded to MaePad 1.8. It's been removed, as the tree structure does not work right with the search-as-you-type functionality, and I consider the search functionality more important than the tree functionality. Also, if you used the tree to group memos by project / type, you can do so now by simply adding the project name to the memo title and then simply search for the project name, and your list will be filtered down. It's more like tagging, and more powerful in this way (imagine you have four memos: PROJA TASKS, PROJB TASKS, PROJA IDEAS, PROJB IDEAS). If you now want to search for all memos related to project A, you can search for "proja". If you are interested in open tasks independent of the project, you can search for "tasks". This also allows for more sophisticated organization structures - whatever works best for you.

The problem with the tree-based lists was that child nodes were not always found, even if they matched correctly, because their parent nodes did not match. This could have been worked around, but I figured as it's not used by me that much and searching kind of reduces the need for tree-based structures (and the tree-based structure was not that ideally implemented visually), we'd rather get rid of it and gain search functionality :)

thp 2010-11-02 13:11

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
MaePadWeb 2.0 is here:

http://farm5.static.flickr.com/4128/...554dce6226.jpg

Grab it from Extras-Devel.

More information: http://thpmaemo.blogspot.com/2010/11...-anywhere.html

WhiteWolf 2010-11-02 21:10

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Downloaded and tested!

WhiteWolf 2010-11-02 21:16

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
1 Attachment(s)
I can view but not modify the elements.

Are there plans?

thp 2010-11-03 11:42

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by WhiteWolf (Post 861410)
I can view but not modify the elements.

Are there plans?

Only checklists are editable at the moment. Sketches are probably never going to be editable (not that it's not technically possible, but it's difficult) and rich text depends.. I could make it editable "as source" (so you get a textarea with HTML in it that you can edit).

Also, you can't create/edit/rename memos now (but that's also something that can be added in the future). The main use case right now is to view and edit lists of things on your computer (so you can gather ideas while on the go and then open up MaePadWeb on your computer when you come home and process the ideas).

ofels 2010-11-03 14:08

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Quote:

Originally Posted by thp (Post 862004)
Sketches are probably never going to be editable (not that it's not technically possible, but it's difficult)

An HTML upload of a sketch image from the desktop would propably be an option.
Choosing an image from file system and upload it into MaePad could be rather helpful here.

fab 2010-11-04 13:51

Re: [Maemo 5] MaePad (Maemopad+ for fremantle)
 
Some remarks on tree structure disappearing:

- It's a shame. The tree structure is a good starting point. It's not enough, of course, and searching is a good way to make tag system available, I agree. But the first list with a structure is important. I miss the functionnality.

- The current application does not comply with all the descriptions (sourceforge, the package itself, my-maemo.org...) where node tree approach is stated.

- If we speak about limitations of the tree structured approach, may I suggest that what is really needed is a way to store all links between memos and a way to give a semantic value for the link: a memo may be linked to another one for many reasons:
o it talks about the same subject
o there is a thought association between them
o one is the next memo in a set
o they are both memos from a containing one (like pages in a book)
o ...

- Last but not least: some child memos are lost when editing the parent one.


All times are GMT. The time now is 13:29.

vBulletin® Version 3.8.8