![]() |
Re: DialCentral 0.9.0
Quote:
|
Re: DialCentral 0.9.0
I don't think it's necessary since you can choose between them from the drop-down, but it certainly isn't a big deal.
|
Re: DialCentral 0.9.0
Id definitely like to see just the names of my contacts and not GV or GC or anything
|
Re: DialCentral 0.9.0
While I would like SMS included I also realize it's not that great. Because it then means I have to keep the application open just to send or receive SMS messages. It would be better integrated into a mail client or a chat program.
|
Re: DialCentral 0.9.0
I dont mind having to keep a webpage open, but i dont like having to refresh the page to see if i got a new message...want it to be like it was when you could use the built in im client with gtalk...have it just show up, like an IM
|
Re: DialCentral 0.9.0
Yeah, hopefully we'll get something like that..
In other news, I upgraded to Google Voice (might as well since they're going be forcing us to upgrade eventually). It seems that the new DialCentral is having trouble recognizing the & symbol. Edit: Hmm is there anyway to port a recognizable CSV file from Evolution? (also where do I put the CSV files) Or for the Dialer to recognize setup groups in Google Voice so the contacts aren't dumped all into one place? |
Re: DialCentral 0.9.0
Quote:
Quote:
I treat the first line of the CSV as column headers. I look for a "name" column and either "phone" or "mobile" columns and use those. If an evolution export does not work, if you just give me the first line of the CSV, I'll try and add support for it. Sorry I'm lazy and try and find excuses to not use evolution. |
Re: DialCentral 0.9.0
Quote:
Evolution's can be done to whatever I want. I think I used the default..(given_name, family_name, id, nickname, email, home_phone, mobile_phone). So if I made something similar to just name, and phone it would work? I tried to use the export from Evolution and only some of them showed up (trying to identify what's causing those to show up versus the others ont showing up). What do you use to generate and maintain CSV files? Perhaps that'll be easier for me lol. |
Re: DialCentral 0.9.0
Quote:
Quote:
The algorithm that I use is this: Code:
for each column name in header rowIf for some reason it is skipping contacts that with that algorithm should show up, then its a bug and I would like to fix it. If I its not a problem with my algorithm then I would be fully willing to try and add support for the default export from evolution. I would ask for a sample (sanitized is fine) since I tend to hate evolution. I tried to create a sample myself but ran into some issues (and serious annoyances that reminded me why I avoid it). On my system (Ubuntu 8.10 with Evolution 2.24.3) I can't even find an export option besides vcard and backup which both wouldn't work. |
Re: DialCentral 0.9.0
By notebook do you mean the contacts? If so it's in contacts > Google Voice. And it's names like BB&T Customer Service, or Cugini's Pizza that I have saved.
Hmm, perhaps if I re-arrange the columns in Evolution to your layout (name then phone #) maybe it would work better. I'll report back Saturday or Sunday with the news (going out to eat soon and then gf will be over so no messing with electronics). Though that still doesn't explain the oddity of it including some contacts and not others when they're all setup like that. Actually I think I might have figured it out. Evolution stupidly repeats categories such a "home phone" and if it does that. It won't show the # listed under home phone until you change the other category to something else. So I think I'll also fix all of these and try again. And if all that fails I'll give you a mostly santized file. Btw, I had to Google how to export to CSV myself. (there's no GUI tool for it). The command for Ubuntu 8.10 is /usr/bin/evolution-addressbook-export --format=csv >whateveryouwanttocallit.csv It'll be in your home folder then after that. Edit: epage, thanks for being willing to help! Also, is it possible to have more then one CSV file at a time? |
Re: DialCentral 0.9.0
Quote:
|
Re: DialCentral 0.9.0
Quote:
|
Re: DialCentral 0.9.0
Here is a script that for each evolution contact it will print the contacts details and from that what I gleam as the contact name and phone numbers. This is modified from DialCentral source, so it does things the same way.
Using your info I was able to export my evolution contacts that I imported from a GoogleContacts CSV. I found that though a quick look at the contacts in evolution looked fine, it completely messed it up and had phone numbers in all sorts of random places. Sounds like you actually use evolution, so your contacts are probably in better shape, but I am curious what this would produce (once you have time and interest of course) Code:
#!/usr/bin/env python |
Re: DialCentral 0.9.0
I guess I just save that as a script, make it executable and run it from the tablet? Though judging by the last line
read_csv("/home/epage/.dialcentral/contacts/EvoIsEvil.csv") I should be running this on my tablet? Though normally on the tablets it's named user unless you managed to change it somehow..(if so how did you do it? o.O) So I would change that to say "/home/user/.dialcentral.contacts/contacts.csv" Right now I'm just sorting through the list myself and fixing the # categories. So yeah.. |
Re: DialCentral 0.9.0
Your guess sounds correct to me. It can also run on the desktop (Windows or Linux, just need python installed). In theory all you need to do is change the filename passed in as you pointed out.
Thanks for the understanding in helping to get this to work out. |
Re: DialCentral 0.9.0
Where exactly do I run the python file? I tried the home directory and it didn't work. I put it in the "/home/user/.dialcentral/contacts/" and it still comes up with
Code:
~/.dialcentral/contacts $ sh Evo |
Re: DialCentral 0.9.0
When running it through "sh Evo" it doesn't seem to be picking up the shebang (#!) which tells it to treat the file as a Python script. I recommend either running "python2.5 Evo" or if you ran "chmod +x Evo" then just "./Evo"
|
Re: DialCentral 0.9.0
Thanks, I did that and then it said couldn't do a loadop file or something like that due to authorization. So I did it as root and it outputted many lines
Code:
{'Birth Day': '',Edit: It seems that Evolution doesn't like me messing around with its categories and will default back to the regular ones (thus getting rid of all my work. >.<) Edit2: Ok I left it as default categories and just put the numbers where default categories are. Let's see how this works. I've also noticed a bug. DialCentral doesn't seem to remember what # you choose for it to use, so before it will dial a # you have to go to account then choose one of your #s from there. Edit3: If you leave it with the default categories then it seems to work. Though it only uses its first name and not the full one.. odd. It's because it's only using the "given_name" category. Edit4: Tried the script again with the new .csv (with readjustments from Edit2). it seems whenever the script's done and I try to use dialcentral it no longer shows my contacts...It seems to get stuck trying to read the CSV file the script outputs. |
Re: DialCentral 0.9.0
Question... I've upgraded to google voice, can I still login to grandcentral using old username/passwd?
I got "login failed"... |
Re: DialCentral 0.9.0
Quote:
As for the evolution mess, I'm not too sure what to make of this unfortunately. When logged in to your GoogleVoice account it should remember the callback number between calls but if you close and reopen it, it will not remember. Before we were lazy and relied and google setting a cookie to store the default phone number. I'm guessing the cookie doesn't exist anymore so we currently have no way to persist it between sessions. I'm wanting to fix this along with remembering username and password beyond the cookie but first I need to feel satisfied with the security of the solution. EDIT: I found the cookie and in the next release it should remember your callback number Quote:
|
Re: DialCentral 0.9.0
I think the Evolution issue is just a crapshoot at this point. It seems to do ways in its own thing. (for example, if you change the default email or phone categories around it'll reset them on next run).
From what I've learned from this experience, I think I learned enough on how to manipulate it enough to form a CSV for my own purposes. |
Re: DialCentral 0.9.0
I'm glad you got something out of this pain. Sorry I couldn't be more help with it.
|
Re: DialCentral 0.9.0
Suggestions seemed to slow down, so I posted what I have so far. See first post in this thread for 0.9.3 info
|
Re: DialCentral 0.9.0
Epage, on semi related note do you know if it is possible to make a google voice sms notifier for the statusbar, similar to the webmail notifier we already have. I know they closed off outside IM support, but just want to be able to know when I have an sms so I can go to the website.
|
Re: DialCentral 0.9.0
Currently we are using a hybrid of screen scraping the mobile site and an API.
A sms notifier could be created but it would require pollling the website for updates. Email notification might be a bit more robust and better on the battery. |
Re: DialCentral 0.9.0
Ive thought about email notification, but I think Id rather just have a small notifier to check every 5 minutes or so and have the Icon come up only when theres a new sms, like the app update notifier, and flash the led and make a sound.
|
Re: DialCentral 0.9.0
0.9.3 fails trying to import maxutils in gv_backend.py on my tablet
|
Re: DialCentral 0.9.0
Quote:
Is it possible at all to copy the text outputted when running it from the command prompt to see if anything else is triggering this? Boy, the random deployment issues are fun |
Re: DialCentral 0.9.0
1 Attachment(s)
AfterI updated to version 0.9.3-0 my DialCentral stop working what happened if bc google voice or what?
|
Re: DialCentral 0.9.0
Works fine for me... You should get a login dialog. Just choose to login to Google Voice, instead of GrandCentral. If you don't get the dialog, go to the account tab, and clear the authentication information.
|
Re: DialCentral 0.9.0
Quote:
The hard thing about this is we are using a technique called "screen scraping" where we download webpages and do searches on them. Unfortunately its hard to predict from one account to another what subtle things might be different that can break the screen scraping. My hope is eventually they will have an official API and this issue will go away. With 0.9.3 you have a choice of whether to login to your GrandCentral account or your GoogleVoice account. Does either one work? Can you even get that far? Do you feel comfortable running a program from the command line? Doing so can get a lot of diagnostic information that can help in resolving the issue. The program is Code:
python2.5 /usr/bin/dialcentral.pyI'm thinking I might want to add logging support to make this a bit easier. |
Re: DialCentral 0.9.0
/usr/lib/dialcentral/dc_glade.py:86: GtkWarning: gtk_widget_grab_default: assertion `GTK_WIDGET_CAN_DEFAULT (widget)' failed self._widgetTree = gtk.glade.XML(path) Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner File "/usr/lib/python2.5/threading.py", line 446, in run File "/usr/lib/dialcentral/dc_glade.py", line 190, in _idle_setup import gv_backend File "/usr/lib/dialcentral/gv_backend.py", line 36, in <module> from xml.sax import saxutils ImportError: No module named sax here is the output from my n800 diablo |
Re: DialCentral 0.9.0
Quote:
BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash) Enter 'help' for a list of built-in commands. /home/user # python2.5 /usr/bin/dialcentral.py /usr/lib/dialcentral/dc_glade.py:86: GtkWarning: gtk_widget_grab_default: assertion `GTK_WIDGET_CAN_DEFAULT (widget)' failed self._widgetTree = gtk.glade.XML(path) process 4302: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory See the manual page for dbus-uuidgen to correct this issue. D-Bus not built with -rdynamic so unable to print a backtrace Aborted |
Re: DialCentral 0.9.0
@EL_EASY: Interesting. I haven't been needing to run commands with "/usr/bin/run-standalone.sh" since I got my n810 with Diablo, but its looking like you're needing it. I'll test adding it back in tonight and try and get and update out, though that might not come till tomorrow. In the mean time could you try running "run-standalone.sh python2.5 /usr/bin/dialcentral.py"?
|
Re: DialCentral 0.9.0
Quote:
/home/user # "run-standalone.sh python2.5 /usr/bin/dialcentral.py"? /bin/sh: run-standalone.sh python2.5 /usr/bin/dialcentral.py?: not found |
Re: DialCentral 0.9.0
I think the dependencies in your control file need to include python2.5-xml.
|
Re: DialCentral 0.9.0
to:epage
I see u guys couldn't help me to fix my problem, but what i did went back 9.2 and it works now...I will update when u add sms, other than that i will leave it like that... thanks for u great work!! |
Re: DialCentral 0.9.0
Quote:
Hmm, somehow I missed this post |
Re: DialCentral 0.9.0
Quote:
|
Re: DialCentral 0.9.0
As a side note, in my work on DoneIt, I've seen some seemingly random network issues. I've added a check in SVN to DialCentral to make sure we receive the whole response from them.
If anyone gets an error about response lengths once I get this package out, please let me know. If no one does, I'll hold off harassing the Python people about this issue since I'll assume only DoneIt has it and my hack in DoneIt works around it. |
| All times are GMT. The time now is 10:10. |
vBulletin® Version 3.8.8