Tuesday, November 4, 2008

Chinese Tutor - ZDT: Can't make the launcher work properly - Ubuntu -








> Learning Chinese > Chinese Computing and Technology > ZDT Flashcards Forum
ZDT: Can't make the launcher work properly - Ubuntu
Home New Posts

Login: Pass: Log in or register for standard view and full access.








Dod_basim -

hey!

i want to launch ZDT from my desktop, when i make a launcher to ./zdt i get an error while
processing ZDT (see attachment #1). After ZDT is on i get this screen (attachment #2) and i can't
use my flashcards.

when i click on zdt or run it on terminal every thing works fine.


what is wrong?


yoav



Pleco Software Learn Chinese with our Dictionaries for Palm and Pocket PC.
Learn Chinese in China Learn to speak Chinese 1MonthChinese.com -Mandarin School in China.
Chinese Textbooks Wide range, cheap, varied languages. Also Chinese cartoons, toys, gifts.
Study Chinese in Beijing Affordable Mandarin language courses at BLCU with ChinaUnipath.com.
HNHSoft Dictionary Learn Chinese on Smartphone and PDA with real person's voice.
XueXueXue IQChinese Get beyond the plateau.Take your Mandarin to a new level.
Chinese in Lijiang Short term Chinese study in a beautiful town with a focus on daily life.
MandarinTube Chinese Access to current everyday Chinese language and culture, 24/7.
Learn Chinese Homestay Chinese course, cultural activities & volunteer events in China.
Learn Chinese Online 1-on-1 instant tutoring, diverse courses, native teachers. FREE trial now!
Nihao Chinese Progam Free one-on-one Chinese lesson. Win 5-years of free lessons now!


About Ads (and how to hide them) -- Your message here









Soupbean -

when you run the program from terminal do you add sudo?

have you checked your priviledges so your user name can modify content?

hope this helps.

*edit*

do your settings in:
window-->preferences-->database
point to the script file?

i found that i have to redirect it after i created an icon and then the information was saved to a
log file.










Dod_basim -

[solved]
thanks!

Just moved to KDE (kubuntu) this week and the only thing was needed was change the work path and
correct the command as in the attachment.

how can we make a proper installer for ZDT?










cwmccabe -

Any idea of how to fix this problem in Gnome? (I've had no replies to a post about this on Ubuntu
Forums yet.) The launchers and applications-menu items don't have the option to modify the "work
path." Is anyone aware of another way to modify the work path as the OP did in KDE?










bogleg -

On Ubuntu, you can right-click on the desktop and choose 'Create Launcher...'. Type in a name and
for Command, browse over to where you extracted the ZDT and select the executable. I just tried it
on my system and it seems to work ok.

Chris










cwmccabe -

Oops, I should have said "Applications menu item" rather than launcher. Anyway, I tried both the
menu items and creating a new launcher with no luck. In fact, in both cases, ZDT will start up.
The problem is that, once it starts up, I get the following error:



Quote:

Unable to access your user database file. Please check the location at user.script and check to
see if the file is missing or corrupted. You will be unable to access your categories or use your
flashcards until you fix the problem.

user.script definitely exists and isn't corrupted, so I'm guessing that ZDT just can't reference
it when the app is started from somewhere other than its directory.

This is the same problem that Dod_basim (the OP) had, but he was able to solve it by changing the
work path in his launcher. Apparently, a difference between KDE and Gnome is that Gnome doesn't
(easily?) allow you to change the work path of launchers or applications menu items...

EDIT: I should note that I've seen similar behavior on Windows as well. When I install ZDT and
then log in as a different user, it also cannot reference the user.script file and the same
problem ensues.










bogleg -

For your existing install, can you just try going to Preferences > Database and manually selecting
the location for the user.script file.

Also, as a test, could you try installing again (extract to a diff location) and follow the steps
I mentioned above and see if that works?

The Windows issue is kind of different. If you're trying to share the same user database with two
different users, you'll just have to copy the user.script and user.properties files to a common
location and point to it using the Preferences.

Chris










cwmccabe -

Ha, you're right! It works correctly now from the applications menu. Thanks so much!












All times are GMT +8. The time now is 06:43 PM.














Learn Chinese, Learn mandarin, Learning Materials, Mandarin audio lessons, Chinese writing lessons, Chinese vocabulary lists, About chinese characters, News in Chinese, Go to China, Travel to China, Study in China, Teach in China, Dictionaries, Learn Chinese Painting, Your name in Chinese, Chinese calligraphy, Chinese songs, Chinese proverbs, Chinese poetry, Chinese tattoo, Beijing 2008 Olympics, Mandarin Phrasebook, Chinese editor, Pinyin editor, China Travel, Travel to Beijing,

No comments: